[vtkusers] deleting a face from polydata

John Hunter jdhunter at ace.bsd.uchicago.edu
Thu Apr 8 09:37:47 EDT 2004


>>>>> "Goodwin" == Goodwin Lawlor <goodwin.lawlor at ucd.ie> writes:

    Goodwin> Hi John, vtkPolyData::DeleteCell just marks a cells as a
    Goodwin> VTK_EMPTY_CELL type...  It doesn't actually delete it
    Goodwin> from the dataset.

    Goodwin> I have a class and tcl example that does what you
    Goodwin> want. You can get the source code here:
    Goodwin> http://www.bioengineering-research.com/vtk/vtkRemoveCellsFilter.htm


Ho Goodwin,    

That worked like a charm.  I'm surprised this is not part of the
standard VTK.  It seems like this would be a very common operation,
eg, in cleaning up a surface rendering by hand.

Thanks!
John Hunter 



More information about the vtkusers mailing list