[vtkusers] Extract inner surface of a contour

arnaud marchadier amarchadier at yahoo.fr
Fri Jan 25 10:13:56 EST 2008


Hello everyone,

I started to work with VTK 3 weeks ago and i have a problem with vtkExtractGeometry.
I'll be very thankful if somebody could advise me how to extract a sub surface of vtkPolyData.

I try to extract the inner surface of contour made on the surface obtained by import a OBJ file with vtkOBJReader. 
I use vtkOBJReader to import OBJ files. I understand that the created object is type of vtkPolyData. After that, I pick some points (and/or cells) on the surface of the object by picking (and use of ray casting of the vtkPointPicker). I store the points in a vtkPoints. These points form a closed contour on the surface of the object.

I would remove from the surface the cells (and the associated points) that are inner the picked contour.

May i create a spline from the picked points ?
May i use vtkExtractPolyDataGeometry to extract the inner surface ?

It will be very nice if somebody could help me!
Thank you very much!



amarchadier at yahoo.fr


      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080125/7b5390b1/attachment.htm>


More information about the vtkusers mailing list