MeVisLabToolboxReference
|
SoView2DExtension is base class for all View2DExtensions and is used for drawing and event handling on the View2D. More...
#include "SoView2DSystem.h"
#include "XVEnterScope.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 "XVLeaveScope.h"
#include <SoInteractionProviderNode.h>
Go to the source code of this file.
Classes | |
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... | |
Defines | |
#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 |
Typedefs | |
typedef enum _View2DEventPhase | View2DEventPhase |
event phase for simple extensions that grab the focus, do something (motion) and are released afterwards | |
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... |
SoView2DExtension is base class for all View2DExtensions and is used for drawing and event handling on the View2D.
Definition in file SoView2DExtension.h.
#define EventContainer View2DEvent |
deprecated old names, still defined but should NOT be used any more
Definition at line 180 of file SoView2DExtension.h.
#define EventPhase View2DEventPhase |
Definition at line 181 of file SoView2DExtension.h.
#define TEST_STATE | ( | state, | |
flag | |||
) | (((state)==IGNORED)?TRUE:(((state)==PRESSED)==((flag)!=0))) |
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 59 of file SoView2DExtension.h.
#define TRISTATE |
Definition at line 44 of file SoView2DExtension.h.
typedef enum _View2DEventPhase View2DEventPhase |
event phase for simple extensions that grab the focus, do something (motion) and are released afterwards
enum _View2DEventPhase |
event phase for simple extensions that grab the focus, do something (motion) and are released afterwards
Definition at line 78 of file SoView2DExtension.h.
enum tristateType |
mode used for event filter
Definition at line 46 of file SoView2DExtension.h.