51#ifndef _SO_NODE_SENSOR_
52#define _SO_NODE_SENSOR_
54#include <Inventor/sensors/SoDataSensor.h>
141 virtual void notify(SoNotList *list);
144 virtual void dyingReference();
SoDataSensor()
Constructor.
Abstract base class for all database nodes.
void detach()
Unschedules this sensor (if it is scheduled) and makes it ignore changes to the scene graph.
SoNode * getAttachedNode() const
Returns the node that this sensor is sensing, or NULL if it is not attached to any node.
virtual ~SoNodeSensor()
Destroys the sensor, freeing up any memory associated with it after unscheduling it.
SoNodeSensor()
Default constructor.
void attach(SoNode *node)
Makes this sensor detect changes to the given node.
SoNodeSensor(SoSensorCB *func, void *data)
Constructor that takes the callback function and data to be called when the sensor is triggered.
void SoSensorCB(void *data, SoSensor *sensor)
This typedef defines the calling sequence for all callbacks from sensors.