[vtkusers] vtkPointPicker Problem
Dean Inglis
dean.inglis at camris.ca
Fri Dec 25 10:32:00 EST 2009
try making your picker pick from a list:
picker->PickFromListOn();
picker->AddPickList( some_actor_you_want_to_pick );
you should probably have a separate (shared) picker for
the image plane widgets and one for your polydata actors.
Dean
I am using the QT language for development and using the QVTKWidget for the
VTK Rendering .
I have 3 vtkImagePlaneWidget defined which are set to the interactor of the
QVTKWidget.
I also have some polyData loaded into the same World space.
My problem is picking . I setup a PointPicker and add it to the Interactor
used above.
Now when I press p to pick any polydata, I see the the pick has been
executed 4 times even though I picked once. The problem came down to the
part when I set the interactor for the 3 ImagePlaneWidgets .
It looks like if I remove the interactor in these 3 ImagePlaneWidgets it
works fine. But when included it executes 4 times.
More information about the vtkusers
mailing list