|
MeVisLab Toolbox Reference
|
The View2DInteractionProvider extracts the interactions from the SoView2DExtensions. More...
#include <SoView2DInteraction.h>
Public Member Functions | |
| View2DInteractionProvider (SoView2D *viewer) | |
| std::list< SoInteraction * > | getInteractions (SoState *state) override |
| return interactions from SoView2DExtensions | |
| void | pointerPosition (SoState *state, const SoPointerPosition &pos) override |
| Forwarding to the SoView2DExtensions. | |
| void | pointerLeftWindow (SoState *state) override |
| Forwarding to the SoView2DExtensions. | |
Public Member Functions inherited from SoInteractionProvider | |
| SoInteractionProvider () | |
| Default constructor. | |
| virtual | ~SoInteractionProvider () |
| template<class T > | |
| std::list< T * > | getInteractionsOfType (SoState *state) |
| Returns list of interactions of a specific type. | |
| virtual std::list< SoCommandAction * > | getCommandActions (SoState *state) |
| virtual std::list< SoPointingAction * > | getPointingActions (SoState *state) |
| virtual std::list< SoOffsetAction * > | getOffsetActions (SoState *state) |
Protected Member Functions | |
| const SoNodeList * | getExtensionList (SoState *state) |
| Return list of extensions at the moment - returns NULL if the current action is not set in the SoView2D. | |
| bool | isExtensionEnabled (SoView2DExtension *ext) const |
| return true if interactions from the given SoView2DExtension should be handled | |
Protected Attributes | |
| SoView2D * | _viewer |
| Back-reference to the SoView2D object. | |
Additional Inherited Members | |
Public Types inherited from SoInteractionProvider | |
| typedef SoInteractionProvider *(* | GetProviderFunc) (SoNode *) |
Static Public Member Functions inherited from SoInteractionProvider | |
| static void | registerInteractionProviderNode (SoType type, GetProviderFunc func) |
| Registers a function to obtain a SoInteractionProvider from a SoNode. | |
| static SoInteractionProvider * | getInteractionProvider (SoNode *node) |
| Returns a SoInteractionProvider from a SoNode if registered, else NULL. | |
The View2DInteractionProvider extracts the interactions from the SoView2DExtensions.
For this it accesses the SoAction currently stored in the SoView2D object.
Definition at line 69 of file SoView2DInteraction.h.
| View2DInteractionProvider::View2DInteractionProvider | ( | SoView2D * | viewer | ) |
|
protected |
Return list of extensions at the moment - returns NULL if the current action is not set in the SoView2D.
|
overridevirtual |
return interactions from SoView2DExtensions
Implements SoInteractionProvider.
|
protected |
return true if interactions from the given SoView2DExtension should be handled
|
overridevirtual |
Forwarding to the SoView2DExtensions.
Implements SoInteractionProvider.
|
overridevirtual |
Forwarding to the SoView2DExtensions.
Implements SoInteractionProvider.
|
protected |
Back-reference to the SoView2D object.
Definition at line 92 of file SoView2DInteraction.h.