[vtkusers] Re: vtk Gurus

dean.inglis at camris.ca dean.inglis at camris.ca
Wed Jul 6 23:25:11 EDT 2005


Darryl,

if you have a surface you could cut it with a
cutting filter to get a 2D polyline or polydata
and feed that slice by slice into a pipeline 
similar to what is done in the image stencil 
of Examples/GUI/Tcl/ImageTracerWidget.tcl
or (recent cvs) Widgets/Testing/Cxx/TestImageTracerWidget.cxx
or (formerly) Hybrid/Testing/Cxx/TestImageTracerWidget.cxx
and then use vtkImageThreshold to null out what
is inside the individual slices.  Try building
a simpler pipeline with one image slice to see
how this may work first.

ITK would probably do the 3D implementation more 
transparently though.


Dean




More information about the vtkusers mailing list