[vtkusers] vtkClipClosedSurface()

Milan Augustin aaaugustin at gmail.com
Wed Jan 23 14:04:23 EST 2013


Hi, please advice how to properly use the "vtkClipClosedSurface ()" for
slice cutting, failing to slice model with cavity. I need a slice sample
photo (cuttr.jpg).

#??? ### ?????

self.clip = vtk.vtkClipClosedSurface()

self.clip.SetInputConnection(self.TrianglPl.GetOutputPort())

self.clip.GenerateFacesOff()

self.clip.GenerateFacesOn()

self.clip.SetActivePlaneColor(0.0, 1.0, 0)

 self.normals = vtk.vtkPolyDataNormals()

self.normals.SetInputConnection(self.clip.GetOutputPort())

self.normals.FlipNormalsOn()

### ?????


The entire code in Annex

Many thanks in advance  Augustin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130123/3d0429c4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cuttr.jpg
Type: image/jpeg
Size: 9005 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130123/3d0429c4/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CutterP.py
Type: application/octet-stream
Size: 5054 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130123/3d0429c4/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diry.7z
Type: application/octet-stream
Size: 55761 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130123/3d0429c4/attachment-0001.obj>


More information about the vtkusers mailing list