DtArcUpdater is an updater that updates the orientation of arc.
More...
DtArcUpdater is an updater that updates the orientation of arc.
| virtual makVrv::DtArcUpdater::~DtArcUpdater |
( |
| ) |
|
|
virtual |
Copy Constructor not implemented – Copy not allowed.
| virtual void makVrv::DtArcUpdater::update |
( |
double |
simTime | ) |
|
|
virtual |
If origin or to point have changed, recalc orientation.
| virtual void makVrv::DtArcUpdater::setOrientationDelta |
( |
double |
| ) |
|
|
virtual |
| virtual void makVrv::DtArcUpdater::setPosition |
( |
int |
, |
|
|
const DtVector & |
|
|
) |
| |
|
virtual |
Sets positions of ellipse.
Will update orientation and radii appropriately. Vector is considered in local coordinates
| virtual void makVrv::DtArcUpdater::setSceneObject |
( |
DtSceneObject * |
sceneObject | ) |
|
|
virtual |
Set the scene object to be updated.
- Parameters
-
| [in] | sceneObject | is the scene object to receive updates. |
| virtual bool makVrv::DtArcUpdater::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] | tNow | is the current time-stamp. |
- Return values
-
| true | if this object needs to be ticked. |
| false | otherwise. |
Reimplemented from makVrv::DtTickable.
| virtual void makVrv::DtArcUpdater::setUpdaterPosition |
( |
int |
vtx, |
|
|
const DtVector & |
pos |
|
) |
| |
|
virtual |
Set the position of a vertex.
- Parameters
-
| [in] | vtx | is the vertex. |
| [in] | pos | is the position to set. |
| virtual void makVrv::DtArcUpdater::setUpdaterOrientation |
( |
int |
vtx, |
|
|
const DtTaitBryan & |
ori |
|
) |
| |
|
virtual |
Set the orientation of a vertex.
- Parameters
-
| [in] | vtx | is the vertex. |
| [in] | ori | is the orientation to set. |
| virtual void makVrv::DtArcUpdater::setDynamicOrigin |
( |
bool |
| ) |
|
|
virtual |
Sets whether or origin is set in the updater or retrieved from the scene object.
Default is false (retrieved from origin)
| virtual DtTaitBryan makVrv::DtArcUpdater::computeOrientation |
( |
const DtVector & |
pos, |
|
|
double |
topoHeading |
|
) |
| const |
|
protectedvirtual |
Computes orientation of the ellipse as level to terrain.
| virtual void makVrv::DtArcUpdater::slot_sceneObjectToBeDeleted |
( |
const DtUniqueID & |
id | ) |
|
|
protectedvirtual |
Helper function to get the transform at a given vertex.
If the vertex is above range, new transforms are created.
- Parameters
-
| [in] | vtx | is the vertex of the transform to get. |
- Returns
- The transform at the given vertex.
- Exceptions
-
| DtCorruptedState | if vtx is less than zero. |
Assignment Operator not implemented – Copy not allowed.
| double makVrv::DtArcUpdater::myOrientationDelta |
|
protected |
| bool makVrv::DtArcUpdater::mySceneObjectChanged |
|
protected |
| DtDe& makVrv::DtArcUpdater::myDe |
|
protected |
This distributed object's unique identifier.
A pointer to the current scene object.
| boost::signalslib::connection makVrv::DtArcUpdater::mySceneObjectConnection |
|
protected |
Local copy of the vertex positions and orientations.
These are typically pre-calculated, and then pushed to the scene object at a later time, making the concatenation of updaters simpler.
| DtTime makVrv::DtArcUpdater::myLastUpdateTime |
|
protected |
| DtTaitBryan makVrv::DtArcUpdater::myInitialOrientation |
|
protected |
| bool makVrv::DtArcUpdater::myDynamicOrigin |
|
protected |
| DtVector makVrv::DtArcUpdater::myLastAnglePosition |
|
protected |
| DtVector makVrv::DtArcUpdater::myDynamicOriginPosition |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf4-8-branch/include/vrvCore/DtArcUpdater.h