Inherited by osgTracker::ARTTracker, osgTracker::NFLTracker, osgTracker::SimulatedTracker, and osgTracker::VRPNTracker.
Public Member Functions | |
| TrackedTransform * | getTransform (std::size_t n) |
| return the TrackedTransform stored in the list at positon pos | |
| virtual void | update (void)=0 |
| std::size_t | getNumTransforms (void) const |
| Get the number of transforms associated with this device. | |
| virtual bool | requestSensor (unsigned int sensorID) |
| Request that sensor sensorID be assigned to a transformation. | |
Protected Types | |
|
typedef std::vector< osg::ref_ptr< TrackedTransform > > | TransformList |
Protected Member Functions | |
| Tracker (std::size_t numTrackedTransforms=0) | |
| Create a new tracker. | |
| void | setTransform (std::size_t pos, TrackedTransform *xform) |
| Assign an instance of a tracked transform to the device. | |
| void | addTransform (TrackedTransform *xform) |
| Push back a transform. | |
Protected Attributes | |
| TransformList | _transformList |
|
|
constructor automatically creates as many TrackedTransforms as passed as parameter |
|
|
Return the reference to the ith tracked transform in the sensor. Is this the same as a sensor number?
|
|
|
request a sensor.
Reimplemented in osgTracker::VRPNTracker. |
|
||||||||||||
|
store the tranform xform as the element in the position pos on the list of transforms
|
1.3.7