[vtkusers] Cutting non-convex surfaces
Dan Asimov
dan.asimov at gmail.com
Fri Aug 12 14:47:06 EDT 2011
Hi,
I've a non-convex shape that I need to cut through. The user draws two
contours parallel X-Y plane, then I generate the surface using
vtkVoxelContoursToSurfaceFilter. However, when I cut with a plane parallel
to x-y using vtkCutter, the order of the points of the generated result is
messed up (pls see the attachments). I tried to run many filters on this
result to get the expected one without success.
Can anyone help me on how to cut this surface to get the expected result?
Thanks,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110812/6eb761ff/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Contour1.png
Type: image/png
Size: 2508 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110812/6eb761ff/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Contour2.png
Type: image/png
Size: 2446 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110812/6eb761ff/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ContoursToSurface.png
Type: image/png
Size: 11278 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110812/6eb761ff/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CuttingResult.png
Type: image/png
Size: 3671 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110812/6eb761ff/attachment-0003.png>
More information about the vtkusers
mailing list