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.SoBase provides the ba...
Definition: SoBase.h:45
#define SO_NODE_HEADER(classname)
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:56
The SoPath class is a container class for traversal path descriptions.SoPath objects contain a list o...
Definition: SoPath.h:52
void SoEventCallbackCB(void *userdata, SoEventCallback *node)
Definition: SoEventCallback.h:50
The SoHandleEventAction class distributes user events to the scene.This is the action used by the GUI...
Definition: SoHandleEventAction.h:46
The SoPickedPoint class is used for specifying picked points.It holds miscellaneous information about...
Definition: SoPickedPoint.h:48
The SoEventCallback class provides functionality for catching events.Use SoEventCallback nodes in the...
Definition: SoEventCallback.h:52
The SoEvent class is the base class for all Coin events.Coin contains its own set of event classes...
Definition: SoEvent.h:44
The SoType class is the basis for the run-time type system in Coin.Many of the classes in the Coin li...
Definition: SoType.h:59
virtual void handleEvent(SoHandleEventAction *action)
Definition: SoNode.cpp:1069