VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtTetherViewCommand Class Reference

DtTetherViewCommand enables tether mode.

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

Public Member Functions

 DtTetherViewCommand ()
 
virtual ~DtTetherViewCommand ()
 
virtual std::string observer ()
 
virtual void setObserver (const std::string &newObs)
 
virtual DtVector offset () const
 
virtual void setOffset (const DtVector &vec)
 
virtual DtTaitBryan offsetOrientation () const
 
virtual void setOffsetOrientation (const DtTaitBryan &ori)
 
virtual DtTaitBryan orientation () const
 
virtual void setOrientation (const DtTaitBryan &ori)
 
virtual DtUniqueID attachedEntity () const
 
virtual void setAttachedEntity (const DtUniqueID &entityId)
 
virtual void execute (DtDe &de)
 
- Public Member Functions inherited from makVrv::DtVrvCommand
 DtVrvCommand ()
 
virtual ~DtVrvCommand ()
 
virtual
vrvControlToolkit::DtVrvControlTypeEnum 
commandType ()
 

Protected Attributes

std::string myObserver
 
DtVector myOffset
 
DtTaitBryan myOrientation
 
DtUniqueID myAttachedEntity
 
- Protected Attributes inherited from makVrv::DtVrvCommand
vrvControlToolkit::DtVrvControlTypeEnum myCommandType
 

Constructor & Destructor Documentation

makVrv::DtTetherViewCommand::DtTetherViewCommand ( )
virtual makVrv::DtTetherViewCommand::~DtTetherViewCommand ( )
virtual

Member Function Documentation

virtual std::string makVrv::DtTetherViewCommand::observer ( )
virtual

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

virtual void makVrv::DtTetherViewCommand::setObserver ( const std::string &  newObs)
virtual

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

virtual DtVector makVrv::DtTetherViewCommand::offset ( ) const
virtual

Get the location of the observer as an offset from the location of the attached-to entity.

virtual void makVrv::DtTetherViewCommand::setOffset ( const DtVector vec)
virtual

Set the location of the observer as an offset from the location of the attached-to entity. The offset is specified in the attached entity's coordinate system.

virtual DtTaitBryan makVrv::DtTetherViewCommand::offsetOrientation ( ) const
virtual

Deprecated. Calls orientation(), which is more correctly named.

virtual void makVrv::DtTetherViewCommand::setOffsetOrientation ( const DtTaitBryan &  ori)
virtual

Deprecated. Calls setOrientation(), which is more correctly named.

virtual DtTaitBryan makVrv::DtTetherViewCommand::orientation ( ) const
virtual

Get the orientation that the observer will be set to, in database coordinates.

virtual void makVrv::DtTetherViewCommand::setOrientation ( const DtTaitBryan &  ori)
virtual

Set the orientation that the observer will use, in database cooordinates. On a projected database, facing North, positive psi rotates to the west; positive theta rotates up, and positive phi rolls right. For geocentric databases, you must use DIS/HLA RPR orientation with psi negated.

virtual DtUniqueID makVrv::DtTetherViewCommand::attachedEntity ( ) const
virtual

Get the element ID of the entity that the observer will be attached to.

virtual void makVrv::DtTetherViewCommand::setAttachedEntity ( const DtUniqueID entityId)
virtual

Specify the element ID of the entity that will be attached to.

virtual void makVrv::DtTetherViewCommand::execute ( DtDe de)
virtual

Execute the command.

Implements makVrv::DtVrvCommand.

Member Data Documentation

std::string makVrv::DtTetherViewCommand::myObserver
protected
DtVector makVrv::DtTetherViewCommand::myOffset
protected
DtTaitBryan makVrv::DtTetherViewCommand::myOrientation
protected
DtUniqueID makVrv::DtTetherViewCommand::myAttachedEntity
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)