| SoSensor Class |
Abstract base class for Open Inventor sensors.
Namespace: OIV.Inventor.Sensors
The SoSensor type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsScheduled | Returns true if this sensor has been scheduled and is waiting in a sensor queue to be triggered. | |
| Schedule | ||
| SetSensorCB(SoSensorSensorCB) | Obsolete.
Use Action property instead
Sets the delegate that is invoked when the sensor is triggered.
The function must take two arguments - user-supplied data (of type object)
and a reference to the sensor that is triggering the function (of type SoSensor).
| |
| SetSensorCB(SoSensorSensorUserDataCB, Object) | Obsolete.
Use Action property instead
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Unschedule |
Sensors detect changes either to time or to Open Inventor objects in a scene graph, and call a user-defined delegatefunction. Sensors are scheduled when the thing they are attached to changes, and sometime after they are scheduled they are triggered , calling the user's delegatefunction.