Discussion:
[mitk-users] Wheel event on QMitkRenderWindow and effect on vtkCamera
Albert Alises
2017-04-10 09:31:03 UTC
Permalink
Hello everyone,

I am having issues with the mouse interaction on the QmitkRenderWindow.
Specifically, when scrolling the wheel, the effect on the camera of the
scene is moving the position along the *front vector of the camera *forward
and backwards, and clicking and moving around moves the scene around and
the camera, I do not know how this rotation is specified.

What I want to know, is how to replicate the effect of the Wheel Event
using, for example, a slider, or where I can find the code of this event
(didn't find it on the documentation). Also, is there any way to implement
rotation of the camera using click and drag? (and not moving the scene!).
Or, if not possible, know the amount of rotation applied to the scene?

Thank you very much,
Albert.

Loading...