|
MeVisLab Toolbox Reference
|
#include "SoView2DSystem.h"#include <ThirdPartyWarningsDisable.h>#include <Inventor/nodes/SoNode.h>#include <Inventor/nodes/SoSubNode.h>#include <Inventor/fields/SoSFFloat.h>#include <Inventor/fields/SoSFBool.h>#include <Inventor/fields/SoSFTrigger.h>#include <Inventor/fields/SoSFEnum.h>#include <Inventor/fields/SoSFColor.h>#include <Inventor/sensors/SoNodeSensor.h>#include <Inventor/nodes/SoGroup.h>#include <Inventor/events/SoEvent.h>#include <Inventor/events/SoMouseButtonEvent.h>#include <Inventor/events/SoSpaceballButtonEvent.h>#include <Inventor/events/SoKeyboardEvent.h>#include <Inventor/events/SoLocation2Event.h>#include <Inventor/events/SoMotion3Event.h>#include <ThirdPartyWarningsRestore.h>#include <SoInteractionProviderNode.h>#include <mlGLHiDPI.h>Go to the source code of this file.
Classes | |
| struct | SoView2DDrawingSettings |
| Drawing settings that can be overwritten by extensions. More... | |
| class | View2DEvent |
| View2DEvent stores all information on an event on a SoView2D. More... | |
| class | SoView2DExtension |
| SoView2DExtension Base class for all View2DExtensions used for drawing and event handling on the View2D. More... | |
Macros | |
| #define | TRISTATE |
| #define | TEST_STATE(state, flag) (((state)==IGNORED)?TRUE:(((state)==PRESSED)==((flag)!=0))) |
| TEST_STATE returns TRUE if tristate matches boolean flag. | |
| #define | EventContainer View2DEvent |
| deprecated old names, still defined but should NOT be used any more | |
| #define | EventPhase View2DEventPhase |
| #define | VIEW2D_DEFINE_LINE_STYLE_ENUM |
| #define | VIEW2D_ADD_LINE_STYLE_FIELD(lineStyleField) |
Enumerations | |
| enum | tristateType { IGNORED , PRESSED , RELEASED } |
| mode used for event filter More... | |
| enum | View2DEventPhase { EVENT_START , EVENT_MOTION , EVENT_RELEASE , EVENT_KEY_PRESSED , EVENT_KEY_RELEASED , EVENT_ANY , EVENT_MOUSEWHEEL , EVENT_MOUSEOVER_UPDATE } |
| event phase for simple extensions that grab the focus, do something (motion) and are released afterwards More... | |
| enum | LineStyles { SOLID , DOTTED , DASHED , LONG_DASHED } |
| Definition of line styles for stippling. More... | |
| #define EventContainer View2DEvent |
deprecated old names, still defined but should NOT be used any more
Definition at line 194 of file SoView2DExtension.h.
| #define EventPhase View2DEventPhase |
Definition at line 195 of file SoView2DExtension.h.
TEST_STATE returns TRUE if tristate matches boolean flag.
state is a tristate, flag is a boolean state | flag | result IGNORED | TRUE | TRUE IGNORED | FALSE | TRUE PRESSED | TRUE | TRUE PRESSED | FALSE | FALSE RELEASED | TRUE | FALSE RELEASED | FALSE | TRUE
Definition at line 74 of file SoView2DExtension.h.
| #define TRISTATE |
Definition at line 59 of file SoView2DExtension.h.
| #define VIEW2D_ADD_LINE_STYLE_FIELD | ( | lineStyleField | ) |
Definition at line 212 of file SoView2DExtension.h.
| #define VIEW2D_DEFINE_LINE_STYLE_ENUM |
Definition at line 206 of file SoView2DExtension.h.
| enum LineStyles |
Definition of line styles for stippling.
| Enumerator | |
|---|---|
| SOLID | |
| DOTTED | |
| DASHED | |
| LONG_DASHED | |
Definition at line 198 of file SoView2DExtension.h.
| enum tristateType |
mode used for event filter
| Enumerator | |
|---|---|
| IGNORED | |
| PRESSED | |
| RELEASED | |
Definition at line 61 of file SoView2DExtension.h.
| enum View2DEventPhase |
event phase for simple extensions that grab the focus, do something (motion) and are released afterwards
Definition at line 92 of file SoView2DExtension.h.