1#ifndef COIN_SOEVENTCALLBACK_H
2#define COIN_SOEVENTCALLBACK_H
27#include <Inventor/nodes/SoSubNode.h>
28#include <Inventor/lists/SbList.h>
32#include <Inventor/actions/SoHandleEventAction.h>
49 static void initClass(
void);
56 void * userdata = NULL);
58 void * userdata = NULL);
78 SoEventCallbackCB * func;
86 SbBool operator==(
const CallbackInfo & cbi) {
87 return this->func == cbi.func && this->eventtype == cbi.eventtype && this->userdata == cbi.userdata;
89 SbBool operator!=(
const CallbackInfo & cbi) {
90 return !(*
this == cbi);
The SbList class is a template container class for lists.
Definition SbList.h:61
The SoEventCallback class provides functionality for catching events.
Definition SoEventCallback.h:43
void removeEventCallback(SoType eventtype, SoEventCallbackCB *f, void *userdata=NULL)
Definition SoEventCallback.cpp:180
const SoPath * getPath(void)
Definition SoEventCallback.cpp:153
const SoEvent * getEvent(void) const
Definition SoEventCallback.cpp:218
SbBool isHandled(void) const
Definition SoEventCallback.cpp:270
void setHandled(void)
Definition SoEventCallback.cpp:252
void addEventCallback(SoType eventtype, SoEventCallbackCB *f, void *userdata=NULL)
Definition SoEventCallback.cpp:165
void releaseEvents(void)
Definition SoEventCallback.cpp:308
const SoPickedPoint * getPickedPoint(void) const
Definition SoEventCallback.cpp:230
void grabEvents(void)
Definition SoEventCallback.cpp:289
SoHandleEventAction * getAction(void) const
Definition SoEventCallback.cpp:204
SoEventCallback(void)
Definition SoEventCallback.cpp:96
void setPath(SoPath *path)
Definition SoEventCallback.cpp:129
The SoEvent class is the base class for all Coin events.
Definition SoEvent.h:34
The SoHandleEventAction class distributes user events to the scene.
Definition SoHandleEventAction.h:37
SoNode(void)
Definition SoNode.cpp:350
virtual void handleEvent(SoHandleEventAction *action)
Definition SoNode.cpp:1059
The SoPath class is a container class for traversal path descriptions.
Definition SoPath.h:43
The SoPickedPoint class is used for specifying picked points.
Definition SoPickedPoint.h:39
The SoType class is the basis for the run-time type system in Coin.
Definition SoType.h:50
#define SO_NODE_HEADER(classname)
Definition macros.dox:43