#include <SensorLink.h>
Public Member Functions | |
| SensorLink (OsgSensor *sensor) | |
| SensorLink () | |
| void | sensor (OsgSensor *sensor) |
| OsgSensor * | sensor () |
| void | setPropagate (OsgSensor::EnableFlag flag) |
| osg::Matrix | getMatrix () |
| void | addDependent (SensorLink *) |
| Add a dependent sensorlink. | |
| bool | removeDependent (SensorLink *) |
| Remove a given SensorLink. | |
| void | update () |
| virtual bool | handle (int key) |
| void | setEnable (bool flag) |
| bool | getEnable () const |
|
|
Constructor
|
|
|
Constructor
|
|
|
Return true the SensorLink is enabled |
|
|
Calculates the active matrix: the matrix from the sensor concatenated with dependents matrices if any.
|
|
|
Take care of a keyboard event
|
|
|
Get the sensor of this link
|
|
|
Set the sensor of this link
|
|
|
Enable/disables the sensor link If disabled, this SensorLink will not be updated with the current value of the sensor |
|
|
|
|
|
Update the internal state of the SensorLink, i.e. it really just calls the getMatrix method |
1.4.4