VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
makVrv::DtTrackViewCommand Class Reference

DtTrackViewCommand enables or disables tracks. More...

Inheritance diagram for makVrv::DtTrackViewCommand:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtTrackViewCommand ()
 CTOR.
virtual ~DtTrackViewCommand ()
 DTOR.
virtual std::string observer ()
 Return the name of the observer that this command will control.
virtual void setObserver (const std::string &newObs)
 Set the name of the observer that this command will control.
virtual DtVector worldPosition ()
 Get the positin the observer will be set to, in WGS84 geocentric coordinates.
virtual void setWorldPosition (const DtVector &vec)
 Set the position the observer will be set to, in WGS84 geocentric coordinates.
virtual DtUniqueID trackedEntity () const
 Get the element ID of the entity that will be tracked.
virtual void setTrackedEntity (const DtUniqueID &entityElementID)
 Set the element ID of the entity that will be tracked.
virtual void execute (DtDe &de)
 Execute the command.

Protected Attributes

std::string myObserver
DtUniqueID myTrackedEntity
DtVector myWorldPos

Detailed Description

DtTrackViewCommand enables or disables tracks.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual std::string makVrv::DtTrackViewCommand::observer ( ) [virtual]

Return the name of the observer that this command will control.

virtual void makVrv::DtTrackViewCommand::setObserver ( const std::string &  newObs) [virtual]

Set the name of the observer that this command will control.

Get the positin the observer will be set to, in WGS84 geocentric coordinates.

virtual void makVrv::DtTrackViewCommand::setWorldPosition ( const DtVector vec) [virtual]

Set the position the observer will be set to, in WGS84 geocentric coordinates.

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::DtTrackViewCommand::setTrackedEntity ( const DtUniqueID entityElementID) [virtual]

Set the element ID of the entity that will be tracked.

virtual void makVrv::DtTrackViewCommand::execute ( DtDe de) [virtual]

Execute the command.

Implements makVrv::DtVrvCommand.


Member Data Documentation

std::string makVrv::DtTrackViewCommand::myObserver [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)