[vtkusers] vtkContourWidget on 3D-images

Lars Friedrich Lars lars-friedrich at gmx.net
Tue Jul 15 07:22:17 EDT 2008


hi,

I'm using KWWidgets (vtkKWRenderWidget) combined with vtkImageViewer2 so that I can 'scroll' through a 3D-volume slice by slice.
Additionally I connected a vtkContourWidget in order to be able to construct ROIs on the individual slices of the volume. The problem is that this only works for the first slice of the volume (even if the vtkImageViewer2 displays another slice, triggered by invoking its SetSlice()-method through a vtkSliderWidget). How can I tell the vtkContourWidget (or one of its sub-components) on which Z-position (slice) I would like it to draw on? How can I 'synchronize' the vtkImageViewer2 and the vtkContourWidget?
The contour-widget VTK-tests/examples work on single slices ...

lars
-- 
Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine für Alle: http://www.gmx.net/de/go/messenger03



More information about the vtkusers mailing list