VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
vrvControlToolkit::DtFollowView_v1 Struct Reference

Attach VR-Vantage observer to follow a given entity. More...

Inheritance diagram for vrvControlToolkit::DtFollowView_v1:
Inheritance graph
[legend]

Public Member Functions

 DtFollowView_v1 ()
 CTOR.
 ~DtFollowView_v1 ()
 DTOR.
- Public Member Functions inherited from vrvControlToolkit::DtVrvControl_v1
 DtVrvControl_v1 ()
 CTOR.
 ~DtVrvControl_v1 ()
 DTOR.
 DtVrvControl_v1 (const DtVrvControl_v1 &orig)
 Copy CTOR.
DtVrvControl_v1operator= (const DtVrvControl_v1 &orig)
 Assignment operator.

Public Attributes

DtFloat64 myOffset [3]
 The location of the observer as an offset from the location of the attached-to entity.
DtFloat64 myOffsetOri [3]
 The orientation that the observer will take as an offset from the notional coordinate system described above for setOffset.
DtInt8 myObserver [DtVrvControlNameSize]
 The name of the controlled observer.
DtInt8 myAttachedEntity [DtVrvControlNameSize]
 The Global ID of the entity to attach to.
- Public Attributes inherited from vrvControlToolkit::DtVrvControl_v1
DtUInt32 myMagicNumber
 Bit pattern that indicates that this is a view control packet.
DtUInt16 mySize
 The total size of the VC packet, including this header This will be filled in by the specific view control packet constructor.
DtUInt16 myVersion
 View control packet version.
DtFloat32 myLibraryVersion
 View control library version.
DtVrvControlTypeEnum myType
 View control packet type.

Detailed Description

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

Constructor & Destructor Documentation

vrvControlToolkit::DtFollowView_v1::DtFollowView_v1 ( )
inline

CTOR.

vrvControlToolkit::DtFollowView_v1::~DtFollowView_v1 ( )
inline

DTOR.

Member Data Documentation

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.


The documentation for this struct was generated from the following file:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)