Hi,
I would like to change original zooming behaviour in our custom editor that
is based on QmitkStdMultiWidget. The goal is to zoom the four render
windows together.
For this, first I want to move the crosshair to the mouse position, and
then use it as a focus point in each render window. This would guarantee
that I see the same area of the image in each render window.
Currently, the crosshair is moved to the mouse position only on left mouse
click and mouse move with left button, but not on right mouse click that
starts the zooming.
Is it possible to move the crosshair also on right mouse click?
I could achieve this by modifying the legacy StateMachine.xml in the MITK
source. However, this would have effect also on the standard editor, not
only our customised one, and we need both.
Is there a way to redefine the "navigation" state machine through API?
Any other idea to achieve the same effect? Should I listen to the mouse
press events of the render windows directly?
Cheers,
Miklos
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users