[vtkusers] How to delete cells from vtkPolyData

Shoaib Ghias shoaib at wayne.edu
Sun Jul 11 05:06:37 EDT 2004


You can use the filter available at 
http://www.bioengineering-research.com/vtk/vtkRemoveCellsFilter.htm to 
remove cells from vtkPolyData.

Good luck,

       Shoaib

Hualiang Zhong wrote:

> Hi all,
>  
> I am wondering anybody know how to delete a cell from vtkPolyData?
> Its DeleteCell(i) method only marks the cell type as VTK_EMPTY_CELL, 
> but I still don't know how to really remove the cell from the polydata 
> before I visualize it.
>  
> Thanks for all sugestions!
>  
> Hualiang Zhong
>
>------------------------------------------------------------------------
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>  
>





More information about the vtkusers mailing list