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

Public Member Functions

 DtVrfRangeEllipseUpdater (makVrv::DtDe &de)
virtual ~DtVrfRangeEllipseUpdater ()
virtual bool needsUpdate (DtTime tNow)
 The check function called by DtTickableManager to verify if an update is required.
- Public Member Functions inherited from makVrv::DtEllipseUpdater
 DtEllipseUpdater (makVrv::DtDe &de, makVrv::DtUniqueID id)
 CTOR.
virtual ~DtEllipseUpdater ()
 DTOR.
virtual void update (double simTime)
 If origin or to point have changed, recalc orientation.
virtual void setOrientationDelta (double)
virtual void setClamped (bool)
 Sets to clamp. Will recalculate orientations and clamp position on next update.
virtual void setPosition (int, const DtVector &)
 Sets positions of ellipse.
virtual void setSceneObject (DtSceneObject *sceneObject)
 Set the scene object to be updated.
virtual void setUpdaterPosition (int vtx, const DtVector &pos)
 Set the position of a vertex.
virtual void setUpdaterOrientation (int vtx, const DtTaitBryan &ori)
 Set the orientation of a vertex.
virtual void setDynamicOrigin (bool)
 Sets whether or origin is set in the updater or retrieved from the scene object.
- Public Member Functions inherited from makVrv::DtTickable
virtual void update (DtTime tNow)=0
 The update function called by DtTickableManager during update-ticks.
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

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtEllipseUpdater
virtual bool computeGroundClampingHit (const DtVector &up, const DtVector &unclampedPosition, DtVector &hitLocation, DtVector &hitNormal)
virtual DtTaitBryan computeOrientation (const DtVector &pos, double topoHeading) const
 Computes orientation of the ellipse as level to terrain.
virtual void slot_sceneObjectToBeDeleted (const DtUniqueID &id)
- Protected Attributes inherited from makVrv::DtEllipseUpdater
DtVector myOrigin
DtVector myClampedOrigin
double myOrientationDelta
bool mySceneObjectChanged
bool myClamped
DtDemyDe
 The display engine.
DtUniqueID myUniqueId
 This distributed object's unique identifier.
DtSceneObjectmySceneObject
 A pointer to the current scene object.
boost::signalslib::connection mySceneObjectConnection
DtSceneObject::TransformList myTransforms
 Local copy of the vertex positions and orientations.
DtTime myLastUpdateTime
DtTaitBryan myInitialOrientation
bool myDynamicOrigin
DtVector myLastAnglePosition
DtVector myDynamicOriginPosition

Constructor & Destructor Documentation

makVrf::DtVrfRangeEllipseUpdater::DtVrfRangeEllipseUpdater ( makVrv::DtDe de)
virtual makVrf::DtVrfRangeEllipseUpdater::~DtVrfRangeEllipseUpdater ( )
virtual

Member Function Documentation

virtual bool makVrf::DtVrfRangeEllipseUpdater::needsUpdate ( DtTime  tNow)
virtual

The check function called by DtTickableManager to verify if an update is required.

If this function returns true, the DtTickableManager will then call update().

Parameters
[in]tNowis the current time-stamp.
Return values
trueif this object needs to be ticked.
falseotherwise.

Reimplemented from makVrv::DtEllipseUpdater.


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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)