DtMimicTrackViewCommand enables mimic track on the named observer.
More...
Detailed Description
DtMimicTrackViewCommand enables mimic track on the named observer.
Constructor & Destructor Documentation
| makVrv::DtMimicTrackViewCommand::DtMimicTrackViewCommand |
( |
| ) |
|
| virtual makVrv::DtMimicTrackViewCommand::~DtMimicTrackViewCommand |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual std::string makVrv::DtMimicTrackViewCommand::observer |
( |
| ) |
|
|
virtual |
Return the name of the observer that this command will control.
| virtual void makVrv::DtMimicTrackViewCommand::setObserver |
( |
const std::string & |
newObs | ) |
|
|
virtual |
Set the name of the observer that this command will control.
| virtual DtVector makVrv::DtMimicTrackViewCommand::offset |
( |
| ) |
const |
|
virtual |
Get the location of the observer as an offset from the location of the attached-to entity.
| virtual void makVrv::DtMimicTrackViewCommand::setOffset |
( |
const DtVector & |
vec | ) |
|
|
virtual |
Specify the location of the observer as an offset from the location of the attached-to entity.
The offset is specified in the body coordinate system of the attached-to object.
| virtual DtTaitBryan makVrv::DtMimicTrackViewCommand::offsetOrientation |
( |
| ) |
const |
|
virtual |
Returns whatever is set using setOffsetOrientation.
| virtual void makVrv::DtMimicTrackViewCommand::setOffsetOrientation |
( |
const DtTaitBryan & |
ori | ) |
|
|
virtual |
Reserved for potential later use.
This call has no effect (other than to set a local member variable). The observer is always oriented toward the tracked entity in mimic track mode.
| virtual DtUniqueID makVrv::DtMimicTrackViewCommand::attachedEntity |
( |
| ) |
const |
|
virtual |
Get the element ID of the entity that the observer will be attached to.
| virtual void makVrv::DtMimicTrackViewCommand::setAttachedEntity |
( |
const DtUniqueID & |
entityId | ) |
|
|
virtual |
Specify the element ID of the entity that will be attached to.
| virtual DtUniqueID makVrv::DtMimicTrackViewCommand::trackedEntity |
( |
| ) |
const |
|
virtual |
Get the element ID of the entity that will be tracked.
Tracking an entity means that the observer's orientation will be set to face the tracked entity
| virtual void makVrv::DtMimicTrackViewCommand::setTrackedEntity |
( |
const DtUniqueID & |
entityId | ) |
|
|
virtual |
Set the element ID of the entity that will be tracked.
| virtual void makVrv::DtMimicTrackViewCommand::execute |
( |
DtDe & |
de | ) |
|
|
virtual |
Member Data Documentation
| std::string makVrv::DtMimicTrackViewCommand::myObserver |
|
protected |
| DtVector makVrv::DtMimicTrackViewCommand::myOffset |
|
protected |
| DtTaitBryan makVrv::DtMimicTrackViewCommand::myOffsetOri |
|
protected |
| DtUniqueID makVrv::DtMimicTrackViewCommand::myAttachedEntity |
|
protected |
| DtUniqueID makVrv::DtMimicTrackViewCommand::myTrackedEntity |
|
protected |
The documentation for this class was generated from the following file: