genre | Interaction |
author | Uwe Siems |
package | MeVisLab/Standard |
dll | SoInteractionControllers |
definition | SoInteractionControllers.def |
see also | SoInteractionInfo, SoInteractionMapping, GenericPointingAction |
keywords | mouse, event, handler, managed, interaction, scheme |
This module serves the same purpose as GenericPointingAction, but acts as a SoView2DExtension and for this reason has some additional status fields.
Only additional parameters will be described here.
Usage of this module is the same as for GenericPointingAction, but instead of Relative Position or Absolute Position one might also use Image Voxel Position or Image World Position.
Device Position: Vector2 |
draggingEnded: Trigger |
draggingStarted: Trigger |
ID: String |
Image Position Valid: Bool |
Image Voxel Position: Vector3 |
Image World Position: Vector3 |
This section doesn't contain the fields that are already described for GenericPointingAction.
The device position is the absolute position of the mouse cursor, but corrected for the current view port and flipped in y position.
In 3D this may be a virtual position.
This field will be true if the pointer position is over the displayed image of the SoView2D. If this is false, Image Voxel Position and Image World Position might still contain valid positions, that just lie outside the image area. This value is only valid while In Viewer is true.