|
typedef SoInteractionProvider *(* | GetProviderFunc) (SoNode *) |
|
SoSFString | instanceName |
| Defines interface field to store the instance name. More...
|
|
SoSFString | interactionProviderID |
| This field overrides the instanceName as providerID if specified. More...
|
|
virtual void | pointerPosition (const SoPointerPosition &) |
| Override this if you always need to be informed of the current mouse cursor position. More...
|
|
virtual void | pointerLeftWindow () |
| This is called when the mouse cursor leaves the window. More...
|
|
bool | hasInteractions () const |
| Returns whether there are any actions defined by this owner. More...
|
|
template<class T > |
bool | hasInteractionsOfType () const |
| Same as above, but asking for a specific type of interaction. More...
|
|
void | addPointingAction (SoPointingAction *) |
|
void | addCommandAction (SoCommandAction *) |
|
void | addOffsetAction (SoOffsetAction *) |
|
Protected Member Functions inherited from SoInteractionHandler |
bool | handleKeyPress (SoState *state, const SoPointerPosition &location, int modifiers, SoKeyboardEvent::Key nKey, bool positionValid) |
| Handles a key press by checking for commands actions with matching key shortcuts and executing (one of) them. More...
|
|
virtual bool | augmentLocation (SoPointerPosition &, bool) |
| This method can be overridden to provide further position information to SoPointingActions,e.g., slice information for SoView2DExtensions. More...
|
|
void | buttonMaskChanged (SoState *state, const SoPointerPosition &location, int buttonMask) |
| Called if the button mask changed since the last input event. More...
|
|
void | modifierMaskChanged (SoState *state, const SoPointerPosition &location, int modifierMask) |
| Called if the modifier mask changed since the last input event. More...
|
|
void | locationChanged (SoState *state, const SoPointerPosition &location, bool force=false, bool renderRefresh=false) |
| Called if the pointer location changed since the last input event. More...
|
|
bool | wheelRotated (SoState *state, const SoPointerPosition &location, int modifierMask, SoMouseWheelEvent::Orientation orientation, short rotation) |
| Called when the mouse wheel is rotated. More...
|
|
void | handlePointerLeftWindow (SoState *state) |
| Called if the pointer left the scene widget. More...
|
|
SoInteractionCoordinator * | getCoordinator () |
| Access method, returns the interaction coordinator during event handling. More...
|
|
SoPointingAction * | getLocalCurrentPointingAction () |
|
virtual bool | isEnabled (SoPointingAction *action, int currentMask) |
| This method returns whether the pointing action should be enabled for the given modifier/button mask. More...
|
|
virtual bool | isValidStartingLocation (const SoPointerPosition &location) |
| This method returns whether the current location is valid for starting a pointing action. More...
|
|
bool | canSelectPointingAction () |
|
void | selectTargetPointingAction (SoState *state, const SoPointerPosition &location, int mask) |
|
bool | trySwitchGlobalPointingAction (SoState *state, const SoPointerPosition &location, int buttonMask, int modifierMask) |
| Attemps to switch from one global pointing action to another during a drag. More...
|
|
int | getCurrentButtonMask () |
|
int | getCurrentModifierMask () |
| Returns the currently active button modifier. More...
|
|
SoPointerPosition | getCurrentPointerLocation () |
| Returns the current position of the mouse cursor. More...
|
|
bool | isCurrentPointerLocationValid () |
| Returns whether the current mouse cursor position is valid. More...
|
|
SoInteractionNode is the base class for normal interaction nodes in OpenInventor that handle their interactions directly.
SoInteractionNode is the base class for normal interaction nodes in OpenInventor that handle their interactions directly.
Definition at line 24 of file SoInteractionNode.h.