![]() |
VR-Forces 5.0.2 Developer's Guide
|
Attach VR-Vantage observer to follow a given entity. In follow mode, the observer tracks the attached entity's position and heading; it is not affected by the entity's pitch or roll.

Public Member Functions | |
| DtFollowView_v1 () | |
| ~DtFollowView_v1 () | |
Public Member Functions inherited from vrvControlToolkit::DtVrvControl_v1 | |
| DtVrvControl_v1 () | |
| ~DtVrvControl_v1 () | |
| DtVrvControl_v1 (const DtVrvControl_v1 &orig) | |
| DtVrvControl_v1 & | operator= (const DtVrvControl_v1 &orig) |
Public Attributes | |
| DtFloat64 | myOffset [3] |
| DtFloat64 | myOffsetOri [3] |
| DtInt8 | myObserver [DtVrvControlNameSize] |
| DtInt8 | myAttachedEntity [DtVrvControlNameSize] |
Public Attributes inherited from vrvControlToolkit::DtVrvControl_v1 | |
| DtUInt32 | myMagicNumber |
| DtUInt16 | mySize |
| DtUInt16 | myVersion |
| DtFloat32 | myLibraryVersion |
| DtVrvControlTypeEnum | myType |
|
inline |
CTOR.
|
inline |
DTOR.
| DtFloat64 vrvControlToolkit::DtFollowView_v1::myOffset[3] |
The location of the observer as an offset from the location of the attached-to entity. The offset is specified in a notional coordinate system at the same locationas the entity, rotated about its z-axis by the same amount the the entity is rotated about it's z-axis, but with it's x and y axes level (the pitch and roll of the entity ignored); Z up, Y to the front (projected heading) and X to the right.
| DtFloat64 vrvControlToolkit::DtFollowView_v1::myOffsetOri[3] |
The orientation that the observer will take as an offset from the notional coordinate system described above for setOffset. Positive psi rotates to the left of the entity (as if it was level); theta up, phi roll right.
| DtInt8 vrvControlToolkit::DtFollowView_v1::myObserver[DtVrvControlNameSize] |
The name of the controlled observer.
| DtInt8 vrvControlToolkit::DtFollowView_v1::myAttachedEntity[DtVrvControlNameSize] |
The Global ID of the entity to attach to.