[vtkusers] vtkImageViewer2 and current Mouse Position (MouseMove)

Margarete Herbst margarete.herbst at gmail.com
Tue Jan 13 02:28:46 EST 2009


Hello,

I would like to get the current hovered mouse position in a vtkImageViewer2.
I added an observer for vtkCommand::MouseMoveEvent to the
vtkImageViewer2-instance's interactor style. Now I can retrieve the current
mouse-position using a vtkPointPicker connected to
vtkImageViewer2-instance's ImageActor.
The problem: interactive windowing/leveling, zooming ... (except zooming via
mouse wheel) isn't possible anymore. I guess my 'interfering'
MouseMoveEvent-observer is the problem. But how could I overcome that?!
Could someone help me, please?

regards,
marge

-- 
View this message in context: http://www.nabble.com/vtkImageViewer2-and-current-Mouse-Position-%28MouseMove%29-tp21430668p21430668.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list