[vtk-developers] vtkCleanPolyData

Will Schroeder will.schroeder at kitware.com
Mon Oct 8 14:49:52 EDT 2001


Hi Folks-

I made some changes to vtkCleanPolyData that some of you folks may want to be aware of (hint John B.) I added a boolean, PointMerging, that when off means that a point locator is not used (saving memory and execution time). Rather, points are eliminated only if they are not used by any of the input cells.

This is in response to a support customer who found that the GetBounds() method, which was changed to return the bounds of the cells in the polydata (versus the bounds of the points), caused seg faults when feeding the polydata into a point locator (because the locator tried inserting points into its 3d bin where the bounds was not consistent with the bounds of the points).

Let me know if you see problems. The script cowHair2.tcl tests this feature.

Will




More information about the vtk-developers mailing list