57#ifndef _SO_PATH_SENSOR_
58#define _SO_PATH_SENSOR_
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
void SoSensorCB(void *data, SoSensor *sensor)
This typedef defines the calling sequence for all callbacks from sensors.
Abstract base class for sensors attached to parts of a scene.
virtual void dyingReference()=0
This is called when the base (path, field, node, whatever) is deleted.
This SoEXTENDER class allows expert users to examine "hidden" children in paths.
Abstract base class for all database nodes.
Holds a list of SoNotRec notification records.
Sensor class that can be attached to Inventor paths.
SoPathSensor()
Creation methods.
SoPath * getAttachedPath() const
Returns the path that this sensor is sensing, or NULL if it is not attached to any path.
SoPathSensor(SoSensorCB *func, void *data)
Creation methods.
void detach()
Unschedules this sensor (if it is scheduled) and makes it ignore changes to the scene graph.
void notify(SoNotList *list)
Propagates modification notification through an instance.
virtual ~SoPathSensor()
Destroys the sensor, freeing up any memory associated with it after unscheduling it.
void attach(SoPath *path)
Makes this sensor detect changes to the given path.
Path that points to a list of hierarchical nodes.