Click or drag to resize
SoSensor Class

Abstract base class for Open Inventor sensors.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.SensorsSoSensor
      OIV.Inventor.SensorsSoDelayQueueSensor
      OIV.Inventor.SensorsSoTimerQueueSensor

Namespace: OIV.Inventor.Sensors
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoSensor : SoNetBase

The SoSensor type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsScheduled

Returns true if this sensor has been scheduled and is waiting in a sensor queue to be triggered.

Public methodSchedule
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnschedule
Top
Properties
  NameDescription
Public propertyAction

Top
Remarks

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.

See Also