[vtk-developers] vtkDataSetSurfaceFilter keeping internal face

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Mar 3 14:21:40 EST 2005


Hello,

	In order to fix the bug #867, I will need to change some internals of 
the class. Basically changing the hash entry from:

struct vtkFastGeomQuadStruct
{
   vtkIdType p0;
   vtkIdType p1;
   vtkIdType p2;
   vtkIdType p3;
   vtkIdType SourceId;
   struct vtkFastGeomQuadStruct *Next;
};


into

struct vtkFastGeomQuadStruct
{
   vtkIdType p0;
   vtkIdType p1;
   vtkIdType p2;
   vtkIdType p3;
   vtkIdType p4;
   vtkIdType p5;
   vtkIdType SourceId;
   struct vtkFastGeomQuadStruct *Next;
};


	Therefore the memory usage will slightly grow by number of entries * 
2*sizeof(vtkIdType).

Let me know if this is a problem for you

Mathieu



More information about the vtk-developers mailing list