VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Protected Attributes
makVrf::DtVrfMultiPointEmbarkationUpdater Class Reference
Inheritance diagram for makVrf::DtVrfMultiPointEmbarkationUpdater:
Inheritance graph
[legend]

Classes

class  MyObjectEmbarkationPoint

Public Member Functions

 DtVrfMultiPointEmbarkationUpdater (makVrv::DtDe &de, makVrv::DtUniqueID id)
virtual ~DtVrfMultiPointEmbarkationUpdater ()
 Virtual DTOR.
virtual void setOutputPositions (const std::vector< DtVector > &positions)
 Output the resultant positions.
virtual void slot_sceneObjectToBeDeleted (const makVrv::DtUniqueID &id)
virtual void doEmbarkation (DtTime tNow)
 Find the actual position and orientation and update the scene object.
virtual void embark (makVrv::DtUniqueID id)
 Add a (object) attach point.
- Public Member Functions inherited from makVrv::DtMultiPointEmbarkationUpdater
 DtMultiPointEmbarkationUpdater (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtMultiPointEmbarkationUpdater ()
 DTOR.
virtual void setInputPositions (const std::vector< DtVector > &offset)
 Set the position offset from the host object's position.
virtual void update (DtTime tNow)
 Calls doEmbarkation() and then the DtSceneUpdater base.
- Public Member Functions inherited from makVrv::DtMultiPointSceneObjectUpdater
 DtMultiPointSceneObjectUpdater (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtMultiPointSceneObjectUpdater ()
 Virtual DTOR.
- Public Member Functions inherited from makVrv::DtSceneObjectUpdater
 DtSceneObjectUpdater (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtSceneObjectUpdater ()
 Virtual DTOR.
virtual void setNextUpdater (DtSceneObjectUpdater *nextUpdater)
 Set the next updater in the updater chain.
virtual void setPrevUpdater (DtSceneObjectUpdater *prevUpdater)
 Set the previous updater in the updater chain.
virtual bool needsUpdate (DtTime tNow)
 The check function called by DtTickableManager to verify if an update is required.
virtual void setVertexToUpdate (unsigned int vertex)
 Specify which vertex in the scene object this updater updates.
virtual void setInputPosition (const DtVector &position)
 Set the position input to this updater.
virtual void setInputOrientation (const DtTaitBryan &orientation)
 Set the orientation input to this updater.
virtual void setOutputPosition (const DtVector &position)
 Output the resultant position.
virtual void setOutputOrientation (const DtTaitBryan &orientation)
 Output the resultant orientation.
virtual DtTime lastUpdateTime () const
 Get the time-stamp of the last update.
virtual void setSceneObject (DtSceneObject *sceneObject)
 Set the scene object to be updated.
DtUniqueID uniqueId () const
 Returns the distributed object id of this updater.
DtSceneObjectUpdaterfindNextUpdater () const
 Return the next updater in the updater chain.
DtSceneObjectUpdaterfindPrevUpdater () const
 Return the previous updater in the updater chain.
DtSceneObjectfindSceneObject ()
 Get the current scene object for this updater.
DtSceneObject *const findSceneObject () const
 const correct version
- Public Member Functions inherited from makVrv::DtTickable
virtual ~DtTickable ()
 Virtual DTOR.
virtual void setUpdatePeriod (unsigned int period)
 Specify how often (in # of frames) this tickable should call update.
virtual unsigned int updatePeriod () const

Protected Attributes

bool myCheckedForArea
makVrv::DtOsgOverlayPolygonModelmyArea
makVrv::DtUniqueID myEmbarkedOn
double myLastUpdate
- Protected Attributes inherited from makVrv::DtMultiPointEmbarkationUpdater
ObjectEmbarkationPoint myEmbarkationPoint
bool myNeedsUpdate
DtVector myLastUpdatedOrigin
DtTaitBryan myLastUpdatedOrientation
- Protected Attributes inherited from makVrv::DtMultiPointSceneObjectUpdater
std::vector< DtVectormyInputPositions
 Input positions.
- Protected Attributes inherited from makVrv::DtSceneObjectUpdater
DtDemyDe
 The display engine.
DtUniqueID myUniqueId
 This distributed object's unique identifier.
DtSceneObjectmySceneObject
 A pointer to the current scene object being updated.
DtTime myLastUpdateTime
 The last time stamp when the update()
DtSceneObjectUpdatermyNextUpdater
 The next updater in the chain (or NULL)
DtSceneObjectUpdatermyPrevUpdater
 The previous updater in the chain (or NULL)
unsigned int myVertexToUpdate
 The default scene object vertex to update.
DtVector myInputPosition
 Input position.
DtTaitBryan myInputOrientation
 Input Orientation.
bool myPositionDataOutputted
 Flag to indicate if setOutputPosition has been called this tick.
bool myOrientationDataOutputted
 Flag to indicate if setOutputOrientation has been called this tick.
- Protected Attributes inherited from makVrv::DtTickable
DtTickableManagerInterfacemyManager
 Pointer to manager for removal during destruction.
DtSignalConnectionManager myConnections
unsigned int myFrameCounter
unsigned int myFrameToUpdate
unsigned int myUpdatePeriod

Additional Inherited Members

- Public Attributes inherited from makVrv::DtSceneObjectUpdater
boost::signal< void(const
DtUniqueID &) > 
signal_updaterToBeDeleted
Slots

Slot called when the a scene object is to be deleted.

If its the scene object that this updater is updating, then the local scene object copy is set to false

Constructor & Destructor Documentation

makVrf::DtVrfMultiPointEmbarkationUpdater::DtVrfMultiPointEmbarkationUpdater ( makVrv::DtDe de,
makVrv::DtUniqueID  id 
)
virtual makVrf::DtVrfMultiPointEmbarkationUpdater::~DtVrfMultiPointEmbarkationUpdater ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrf::DtVrfMultiPointEmbarkationUpdater::setOutputPositions ( const std::vector< DtVector > &  positions)
virtual

Output the resultant positions.

If there is a next updater, this will call that updater's setInputPositions with the result. Otherwise the result will be provided to the specified scene object

Parameters
[in]positionis the position to set.

Reimplemented from makVrv::DtMultiPointSceneObjectUpdater.

virtual void makVrf::DtVrfMultiPointEmbarkationUpdater::slot_sceneObjectToBeDeleted ( const makVrv::DtUniqueID id)
virtual

Reimplemented from makVrv::DtSceneObjectUpdater.

virtual void makVrf::DtVrfMultiPointEmbarkationUpdater::doEmbarkation ( DtTime  tNow)
virtual

Find the actual position and orientation and update the scene object.

Reimplemented from makVrv::DtMultiPointEmbarkationUpdater.

virtual void makVrf::DtVrfMultiPointEmbarkationUpdater::embark ( makVrv::DtUniqueID  uniqueID)
virtual

Add a (object) attach point.

If multiple attach points are specified each will update its corresponding vertex in the scene object being updated

Reimplemented from makVrv::DtMultiPointEmbarkationUpdater.

Member Data Documentation

bool makVrf::DtVrfMultiPointEmbarkationUpdater::myCheckedForArea
protected
makVrv::DtOsgOverlayPolygonModel* makVrf::DtVrfMultiPointEmbarkationUpdater::myArea
protected
makVrv::DtUniqueID makVrf::DtVrfMultiPointEmbarkationUpdater::myEmbarkedOn
protected
double makVrf::DtVrfMultiPointEmbarkationUpdater::myLastUpdate
protected

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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)