[vtkusers] Is there a better way to delete cells from PolyData then....

Terence Lim tlim at mda.ca
Fri Oct 12 19:46:05 EDT 2001


Is there a better way to delete cells from PolyData? or is this the best
method available?

using vtkDecimatePro:

-First do BuildCells().
-Then mark cells to delete with DeleteCell().
-Finally test every cell GetCellType() and copy to a second vtkCellArray if
type is VTK_TRIANGLE.

I've searched through the archives and this was the best advice I could
find. Does anyone have any other ideas? Thanks.

-Terence





More information about the vtkusers mailing list