dgobbi at atamai.com
Fri Apr 21 16:42:11 EDT 2006
You could use a vtkCutter to cut through the polydata that the
segmentation produces, and then draw the resulting polyline on the the
image (using a vtkDataSetMapper for the polyline and a vtkImageActor for
the image). That would probably be the easiest method, if having just
an outline drawn around the region is good enough.
Doing it with stencils would also work, but vtkPolyDataToImageStencil is
not completely robust.
Sven Prevrhal wrote:
> Hi David,
> I segment a piece of bone from a 3D Medical CT dataset and want to create a
> polgonal VOI from that (should be easy). Then I would like to show the VOI
> in 2D slices of the dataset. I guess I can do that with vtkImageBlend or
> with stenciling.
> vtk-developers mailing list
> vtk-developers at vtk.org
More information about the vtk-developers