[vtkusers] vtkPolyData Editing

D.M.P.Davies dmpd at onetel.net.uk
Thu Aug 29 14:43:14 EDT 2002



Daniele Bianchini wrote:

>  I need to delete some cells from a vtkPolyData structure. I tried to
> use vtkPolyData::DeleteCell() function, but when I render the
> vtkPolyData deleted cells are still visible.

I could only do this by giving cell some  (vtkScalar) values - vtk3.2.
Then I used vtkThreshold on these values.

If a wanted to delete a cell I made its value suitably high to fail the
threshold test. This works for unsturctured grids going through a
vtkGeometryFilter for the boundary polygons.

Dave Davies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020829/e9d8728d/attachment.htm>


More information about the vtkusers mailing list