[vtkusers] Handle on vtkSeedWidget

John Drescher drescherjm at gmail.com
Wed May 4 08:55:58 EDT 2011


On Wed, May 4, 2011 at 3:38 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
> Dear Users,
>
>
>
> I need to put markers on just one specific slice at a time. But the testing
> code of vtkSeedWidget cannot make it. After I put a marker at a slice, if I
> go to the other slices, that marker always appears. How to make it disappear
> when I go to different slices?
>
>
>

In my code I have subclassed the seed widget and I detect a vtk slice
change event which I Invoke from my render window. On slice change I
save any seeds from the last slice and restore seeds from the new
slice.

John



More information about the vtkusers mailing list