[vtkusers] problem with DeletePoint

Petru Pau ppau at risc.uni-linz.ac.at
Wed Jun 9 04:39:50 EDT 2004


Thank you very much. Things are much clearer now.

As a matter of fact, I have used a vtkThreshold to do the job.
I've associated some scalars to the points and cells, and
pruned out the points and cells which have values under
a threshold.

Petru


Goodwin Lawlor wrote:

>Petru,
>
>[...] In particular, look how
>vtkDecimate::CreateOutput() creates an output vtkPolyData object that
>actually reflects the changes made by ::DeletePoint() and
>::DeleteCell().
>
>Another way of deleting a cell is by using vtkPolyData::CopyCells. Have
>a look at vtkRemoveCellsFilter to see how its done:
>http://www.bioengineering-research.com/vtk/vtkRemoveCellsFilter.htm
>
>
>  
>





More information about the vtkusers mailing list