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>
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);
void SoEventCallbackCB(void *userdata, SoEventCallback *node)
Definition SoEventCallback.h:50
The SbList class is a template container class for lists.
Definition SbList.h:70
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 SoHandleEventAction class distributes user events to the scene.
Definition SoHandleEventAction.h:46
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
virtual void handleEvent(SoHandleEventAction *action)
Definition SoNode.cpp:1083
The SoPath class is a container class for traversal path descriptions.
Definition SoPath.h:52
The SoPickedPoint class is used for specifying picked points.
Definition SoPickedPoint.h:48
The SoType class is the basis for the run-time type system in Coin.
Definition SoType.h:59