[vtkusers] manual segmentation

Dean Inglis dean.inglis at camris.ca
Fri Oct 7 10:46:13 EDT 2005


Isabelle,

have a look at classes vtkImageTracerWidget, vtkImageStencil, vtkImageMask,
vtkImageCanvasSource2D: some or all of these classes maybe useful depending
on your specific application.  I sometimes take vtkPolyData from a tracer
and
then pass the line segment points (converted to pixel integer coords) to be
drawn
on a vtkImageCanvasSource2D.

Some tracer widget examples:
VTK/Examples/GUI/ImageTracerWidget.tcl
VTK/Widgets/Testing/Cxx/TestImageTracerWidget.cxx

Dean





More information about the vtkusers mailing list