VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtMimicLocationTrackViewCommand Class Reference

DtMimicLocationTrackViewCommand enables mimic track on the named observer. More...

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

Public Member Functions

 DtMimicLocationTrackViewCommand ()
 
virtual ~DtMimicLocationTrackViewCommand ()
 
virtual std::string observer ()
 Return the name of the observer that this command will control. More...
 
virtual void setObserver (const std::string &newObs)
 Set the name of the observer that this command will control. More...
 
virtual DtVector offset () const
 Get the location of the observer as an offset from the location of the attached-to entity. More...
 
virtual void setOffset (const DtVector &vec)
 Specify the location of the observer as an offset from the location of the attached-to entity. More...
 
virtual DtUniqueID attachedEntity () const
 Get the element ID of the entity that the observer will be attached to. More...
 
virtual void setAttachedEntity (const DtUniqueID &entityId)
 Specify the element ID of the entity that will be attached to. More...
 
virtual DtVector trackedLocation () const
 Get the (database) location that will be tracked. More...
 
virtual void setTrackedLocation (const DtVector &location)
 Set the (database) location that will be tracked. More...
 
virtual void execute (DtDe &de)
 Execute the command. More...
 
- Public Member Functions inherited from makVrv::DtVrvCommand
 DtVrvCommand ()
 
virtual ~DtVrvCommand ()
 
virtual
vrvControlToolkit::DtVrvControlTypeEnum 
commandType ()
 

Protected Attributes

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

Detailed Description

DtMimicLocationTrackViewCommand enables mimic track on the named observer.

Constructor & Destructor Documentation

makVrv::DtMimicLocationTrackViewCommand::DtMimicLocationTrackViewCommand ( )
virtual makVrv::DtMimicLocationTrackViewCommand::~DtMimicLocationTrackViewCommand ( )
virtual

Member Function Documentation

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

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

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

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

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

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

virtual void makVrv::DtMimicLocationTrackViewCommand::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 DtUniqueID makVrv::DtMimicLocationTrackViewCommand::attachedEntity ( ) const
virtual

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

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

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

virtual DtVector makVrv::DtMimicLocationTrackViewCommand::trackedLocation ( ) const
virtual

Get the (database) location that will be tracked.

Tracking a location means that the observer's orientation will be set to face the tracked location

virtual void makVrv::DtMimicLocationTrackViewCommand::setTrackedLocation ( const DtVector location)
virtual

Set the (database) location that will be tracked.

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

Execute the command.

Implements makVrv::DtVrvCommand.

Member Data Documentation

std::string makVrv::DtMimicLocationTrackViewCommand::myObserver
protected
DtVector makVrv::DtMimicLocationTrackViewCommand::myOffset
protected
DtUniqueID makVrv::DtMimicLocationTrackViewCommand::myAttachedEntity
protected
DtVector makVrv::DtMimicLocationTrackViewCommand::myTrackedLocation
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)