[vtkusers] Getting contour of a polydata

Nithiananthan, Sajendra Sajendra.Nithiananthan at rmp.uhn.on.ca
Tue Jun 26 12:32:31 EDT 2007


Is vtkCutter perhaps what you are interested in?
http://www.vtk.org/doc/nightly/html/classvtkCutter.html
<http://www.vtk.org/doc/nightly/html/classvtkCutter.html> 
 
 

-----Original Message-----
From: vtkusers-bounces+sajendra.nithiananthan=rmp.uhn.on.ca at vtk.org
[mailto:vtkusers-bounces+sajendra.nithiananthan=rmp.uhn.on.ca at vtk.org]On
Behalf Of Meisam Aliroteh
Sent: Tuesday, June 26, 2007 12:21 PM
To: vtkusers at vtk.org
Subject: [vtkusers] Getting contour of a polydata


Hi,
 
I have a 3D model (a sphere located at (0,0,0) with radius of 50 pixels)
stored in a vtkPolyData and a plane (located at (0,0,0) with normal along
the z axis). Is there a class in vtk that can give me back the contour (
i.e. circle) that is resulted by cutting the model using the plane ?
 
I've tried vtkClipPolyData to clip the model using the plane but it does not
generate a contour, it just cuts the sphere and returns the remaining piece
!!!
There are a number of contouring classes in vtk and I am confused as to
which one I should be using !!!


This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070626/de6ce2d4/attachment.htm>


More information about the vtkusers mailing list