[vtkusers] extract only BoundaryCells

Johannes Holzmeister johannes.holzmeister at umit.at
Fri Aug 11 10:49:06 EDT 2006


hello!

 I clipped  a surface with a plane and I only want to get the polygons which are within the clipping-plane (=BoundaryCells).
With the "vtkExtractPolyDataGeometry" I get the the "BoundaryCells" plus the surface above or below the "BoundaryCells"!

 thanx for your help!



code:
vtkExtractPolyDataGeometry* extract = vtkExtractPolyDataGeometry::New();

extract->SetInput(objectContainer4);

extract->SetImplicitFunction(plane);

extract->ExtractInsideOff();

extract->ExtractBoundaryCellsOn();

extract->Update();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060811/c782c645/attachment.htm>


More information about the vtkusers mailing list