[vtkusers] cutting or extracting surfaces (please help)

David.Pont at ForestResearch.co.nz David.Pont at ForestResearch.co.nz
Tue Feb 1 15:16:31 EST 2005

Hi Theodoros,
   try vtkClipPolyData. Note that you can use GenerateClippedOutput and
GetClippedOutput as well as GetOutput to get the parts inside and outside
an implicit function.
Dave P

Theodore Papatheodorou <tp500 at doc.ic.ac.uk> wrote on 02/02/2005 08:45:34:

> Hi all,
> I have been trying to write a program that will extract part of a
> cylinder. I define a box as an explicit fuction but I can't get it to
> work. The problems are that vtkCutter does not extract the whole
> geometry but instead just where the implicit fuction intersects the
> other surface.
> So I tried to use vtkExtractGeometry which takes all of the surface
> inside the area defined by the explicit function. That filter however,
> does not output the data as polydata.
> Any suggestions?
> The problem in simple terms is that I have a surface and I want to cut
> and keep half of it. Say I have a sphere, I want to keep half of it, as
> a polydata. Could someone give me some pointers before I waist my youth
> on this?
> theodoros
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.
> org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

More information about the vtkusers mailing list