MeVisLab Toolbox Reference
|
#include <SoCSODrawOnSurface.h>
Public Member Functions | |
SoCSODrawOnSurface () | |
bool | hasCSOList () const |
![]() | |
SoInteractionNode () | |
Constructor. More... | |
~SoInteractionNode () override | |
void | handleEvent (SoHandleEventAction *action) override |
Handles the mouse and keyboard events. More... | |
![]() | |
SoInteractionProviderNode () | |
Default constructor. More... | |
~SoInteractionProviderNode () override | |
Destructor. More... | |
std::string | getID () const override |
Returns the ID string for identifying the provider and its actions. More... | |
void | objRef () override |
Memory management by reference counting; must be implemented in derived classes. More... | |
void | objUnref () override |
![]() | |
SoInteractionOwner () | |
Default constructor. More... | |
~SoInteractionOwner () override | |
The destructor will destroy all interactions created with this object as owner. More... | |
std::list< SoInteraction * > | getInteractions (SoState *state) override |
Returns the list of all interactions of this provider. More... | |
void | pointerPosition (SoState *state, const SoPointerPosition &pos) override |
Same as below, with additional SoState argument. By default, simply calls the below version. More... | |
void | pointerLeftWindow (SoState *state) override |
Same as below, with additional SoState argument. By defaults, simply calls the below version. More... | |
void | addListener (SoInteractionOwnerListenerInterface *listener) |
Adds a listener object that is notified of changes in the interaction list. More... | |
void | removeListener (SoInteractionOwnerListenerInterface *listener) |
Removes a listener object that was notified of changes in the interaction list. More... | |
![]() | |
SoInteractionProvider () | |
Default constructor. More... | |
virtual | ~SoInteractionProvider () |
template<class T > | |
std::list< T * > | getInteractionsOfType (SoState *state) |
Returns list of interactions of a specific type. More... | |
virtual std::list< SoCommandAction * > | getCommandActions (SoState *state) |
virtual std::list< SoPointingAction * > | getPointingActions (SoState *state) |
virtual std::list< SoOffsetAction * > | getOffsetActions (SoState *state) |
![]() | |
SoInteractionHandler (SoInteractionProvider *provider) | |
virtual | ~SoInteractionHandler () |
virtual void | handleEventForInteraction (SoHandleEventAction *action) |
Handles the mouse and keyboard events and send them to interaction nodes. More... | |
Static Public Member Functions | |
static void | initClass () |
![]() | |
static void | initClass () |
Initializes this class. More... | |
static SoInteractionProvider * | getInteractionProvider (SoNode *node) |
![]() | |
static void | initClass () |
Initializes this class. More... | |
![]() | |
static void | registerInteractionProviderNode (SoType type, GetProviderFunc func) |
Registers a function to obtain a SoInteractionProvider from a SoNode. More... | |
static SoInteractionProvider * | getInteractionProvider (SoNode *node) |
Returns a SoInteractionProvider from a SoNode if registered, else NULL. More... | |
Public Attributes | |
SoSFMLBase | inCSOList |
SoSFBool | editingOn |
SoSFBool | isEditing |
SoSFEnum | modifierKey |
SoSFEnum | cursorShapeDraw |
SoSFFloat | pointsPerMM |
SoSFFloat | elevation |
SoSFBool | shouldDiscardSingleClicks |
![]() | |
SoSFString | instanceName |
Defines interface field to store the instance name. More... | |
SoSFString | interactionProviderID |
This field overrides the instanceName as providerID if specified. More... | |
Friends | |
class | SoCSODrawOnSurfaceDrawAction |
class | SoCSODrawOnSurfaceCancelCommandAction |
class | SoCSODrawOnSurfaceUndoCommandAction |
class | SoCSODrawOnSurfaceRedoCommandAction |
Additional Inherited Members | |
![]() | |
typedef SoInteractionProvider *(* | GetProviderFunc) (SoNode *) |
![]() | |
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 *) |
![]() | |
bool | handleKeyPress (SoState *state, const SoPointerPosition &location, int modifiers, SoKeyboardEvent::Key nKey) |
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... | |
Definition at line 26 of file SoCSODrawOnSurface.h.
SoCSODrawOnSurface::SoCSODrawOnSurface | ( | ) |
|
inline |
Definition at line 44 of file SoCSODrawOnSurface.h.
|
static |
|
friend |
Definition at line 84 of file SoCSODrawOnSurface.h.
|
friend |
Definition at line 83 of file SoCSODrawOnSurface.h.
|
friend |
Definition at line 86 of file SoCSODrawOnSurface.h.
|
friend |
Definition at line 85 of file SoCSODrawOnSurface.h.
SoSFEnum SoCSODrawOnSurface::cursorShapeDraw |
Definition at line 39 of file SoCSODrawOnSurface.h.
SoSFBool SoCSODrawOnSurface::editingOn |
Definition at line 36 of file SoCSODrawOnSurface.h.
SoSFFloat SoCSODrawOnSurface::elevation |
Definition at line 41 of file SoCSODrawOnSurface.h.
SoSFMLBase SoCSODrawOnSurface::inCSOList |
Definition at line 35 of file SoCSODrawOnSurface.h.
SoSFBool SoCSODrawOnSurface::isEditing |
Definition at line 37 of file SoCSODrawOnSurface.h.
SoSFEnum SoCSODrawOnSurface::modifierKey |
Definition at line 38 of file SoCSODrawOnSurface.h.
SoSFFloat SoCSODrawOnSurface::pointsPerMM |
Definition at line 40 of file SoCSODrawOnSurface.h.
SoSFBool SoCSODrawOnSurface::shouldDiscardSingleClicks |
Definition at line 42 of file SoCSODrawOnSurface.h.