Hi,
I want to disable the display geometry interactions (especially the
shifting of the image by the middle mouse button) while a paintbrush tool
is turned on.
The event notification policy is set to INFORM_ONE by a
mitk::GlobalInteraction::GetInstance()->SetEventNotificationPolicy
(mitk::GlobalInteraction::INFORM_ONE);
call when the tool is selected, and to INFORM_MULTIPLE when it is
deselected.
This was working not so long ago, but now it is not. If the paintbrush tool
is on then the dragging with the middle mouse button triggers both the
image editing and the movement of the image.
What I know for sure that it worked in an older version of our app that was
based on the MITK 12.12 release.
I have seen that the interaction framework went through a fundamental
redesign, and the GlobalInteraction class is deprecated. Are the
notification policies not supported any more? What could I use instead of
them?
Thank you,
Miklos
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users