[Insight-users] How to synchronize the vtkContourFilter with vtkImageViewer2 for a 3D volume mask image dataset

Xiaopeng Yang yxp233 at postech.ac.kr
Tue Mar 8 10:54:46 EST 2011


Hello all,

 

In my program a 3D volume mask image dataset is loaded and visualized by
vtkImageViewer2. vtkSliderWidget is used to navigate among different slices
of the mask images.

 

Meanwhile contours of the mask images are generated by vtkContourFilter and
visualized over the original mask images. 

 

What I want is that the contour generated from a specific slice, for example
slice 10 should just appear over slice 10. 

 

However, from my program I got all the contours shown over all the slices.
No matter where I locate the slider for navigation, all the contours just
appear on the screen.

 

Please anyone share your opinion with me!

 

Thanks,

Yang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110309/a2309546/attachment.htm>


More information about the Insight-users mailing list