[vtkusers] How to use vtkClipClosedSurface for Closed Surface Clipping ?

Ashika Umanga Umagiliya aumanga at biggjapan.com
Thu Dec 22 04:04:05 EST 2011


Greetings all,

I use vtkVoxelContoursToSurfaceFilter to generate Mesh(vtkActors) from
set of Contours.

Here is how my contour data look like :

http://oi51.tinypic.com/333fwnd.jpg

This is the generated mesh :

http://oi51.tinypic.com/2whqm0z.jpg


Now I want to remove the top and bottom surfaces/planes from the mesh.
I realized that may be I can use vtkClipClosedSurface  as described here  .

http://www.vtk.org/Wiki/VTK/Closed_Surface_Clipping

Any code examples on how to use this filter?

Thanks in advance,
umanga



More information about the vtkusers mailing list