1 #ifndef COIN_SOEVENTCALLBACK_H 2 #define COIN_SOEVENTCALLBACK_H 36 #include <Inventor/nodes/SoSubNode.h> 37 #include <Inventor/lists/SbList.h> 41 #include <Inventor/actions/SoHandleEventAction.h> 42 #endif // !COIN_INTERNAL 58 static void initClass(
void);
61 void setPath(
SoPath * path);
62 const SoPath * getPath(
void);
65 void * userdata = NULL);
67 void * userdata = NULL);
70 const SoEvent * getEvent(
void)
const;
73 void setHandled(
void);
74 SbBool isHandled(
void)
const;
76 void grabEvents(
void);
77 void releaseEvents(
void);
95 SbBool operator==(
const CallbackInfo & cbi) {
96 return this->func == cbi.func && this->eventtype == cbi.eventtype && this->userdata == cbi.userdata;
98 SbBool operator!=(
const CallbackInfo & cbi) {
99 return !(*
this == cbi);
109 #endif // !COIN_SOEVENTCALLBACK_H The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:45
#define SO_NODE_HEADER(classname)
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:56
The SoPath class is a container class for traversal path descriptions.
Definition: SoPath.h:52
void SoEventCallbackCB(void *userdata, SoEventCallback *node)
Definition: SoEventCallback.h:50
The SoHandleEventAction class distributes user events to the scene.
Definition: SoHandleEventAction.h:46
The SoPickedPoint class is used for specifying picked points.
Definition: SoPickedPoint.h:48
The SoEventCallback class provides functionality for catching events.
Definition: SoEventCallback.h:52
The SoEvent class is the base class for all Coin events.
Definition: SoEvent.h:45
The SoType class is the basis for the run-time type system in Coin.
Definition: SoType.h:59
virtual void handleEvent(SoHandleEventAction *action)
Definition: SoNode.cpp:1083