That's by design on that example. You can derive from the contour widget if you like and enable/disable the widget in response to the Slice changed event.<br><br><div class="gmail_quote">On Sat, Mar 5, 2011 at 7:41 AM, Xiaopeng Yang <span dir="ltr"><<a href="mailto:yxp233@postech.ac.kr">yxp233@postech.ac.kr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Hello all,</p><p class="MsoNormal">
</p><p class="MsoNormal">Maybe some of you already tried this test for drawing a contour over the original images. In the test, the original images are a series of images. And slider bar is used to navigate among different slices of images. Suppose I draw a contour over slice 14. Then when I navigate to another slice, the contour should be disappear so that I can draw a new contour over the new slice. However, the contour of slice 14 is always staying on the screen no matter which slice I navigate to.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">Could anybody have a good idea to overcome this problem?</p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks,</p><p class="MsoNormal">Yang</p></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>