Hello everyone,

I am actually implementing my interaction for my mitkWorkBench 's
application, and find some issues with the InternalEvent interaction.
I want to send an InternalEvent to my Dispatcher when my mouse is located
at a specific position on the RenderingWindow. For that I implemented this
code in the MyPlaneInteractor.cpp

if (  *mouse pointer in the bounding box * )
 {
     InternalEvent::Pointer event = InternalEvent::New(NULL, this,
"IsOnCenterRotation");

interactionEvent->GetSender()->GetDispatcher()->QueueEvent(event.GetPointer());
}

My .xml files are like this :

   -  MyPlaneConfig.xml

  <event_variant class="InternalEvent" name="CenterRotationSelected">
    <attribute name="SignalName" value="IsOnCenterRotation"/>
  </event_variant>
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to