50#ifndef _SO_FIELD_SENSOR_
51#define _SO_FIELD_SENSOR_
120 virtual void trigger();
128 virtual void notify(SoNotList *list);
131 virtual void dyingReference();
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.
Abstract base class for objects that contain fields.
Base class for all fields.
Sensor class that can be attached to Open Inventor fields.
SoFieldSensor(SoSensorCB *func, void *data)
This constructor takes the callback function and data to be called when the sensor is triggered.
void detach()
The detach() method unschedules this sensor (if it is scheduled) and makes it ignore changes to the s...
virtual ~SoFieldSensor()
Destroys the sensor, freeing up any memory associated with it after unscheduling it.
void attach(SoField *field)
The attach() method makes this sensor detect changes to the given field.
SoField * getAttachedField() const
The getAttachedField() method returns the field that this sensor is sensing, or NULL if it is not att...
SoFieldSensor()
Constructor.