![]() |
VR-Forces 5.0.2 Developer's Guide
|
Abstract particle collision object updater interface.
DtParticleCollisionObjectUpdaters are distributed objects, managed by DtTickableManager. They update the collision object (sphere, ellipse) usually associated with a rotor wash during the manager 'tick' update.

Public Member Functions | |
| DtParticleCollisionObjectUpdater (DtDe &de, DtUniqueID id) | |
| virtual | ~DtParticleCollisionObjectUpdater () |
| virtual void | update (DtTime tNow)=0 |
| virtual void | setCollisionObjectModel (DtModel *collisionObjectModel) |
| DtUniqueID | uniqueId () const |
Public Member Functions inherited from makVrv::DtTickable | |
| virtual bool | needsUpdate (DtTime tNow) |
| virtual bool | updateIfNeeded (DtTime tNow) |
| virtual | ~DtTickable () |
| virtual void | setIsThreadSafe (bool safe) |
| virtual bool | isThreadSafe () const |
| virtual void | setTickableListState (TickableListState safeList) |
| virtual TickableListState | tickableListState () const |
| virtual void | setUpdatePeriod (unsigned int period) |
| virtual unsigned int | updatePeriod () const |
| virtual bool | lodSystemEnabled () const |
Protected Attributes | |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
| DtModel * | myCollisionObjectModel |
Protected Attributes inherited from makVrv::DtTickable | |
| DtTickableManagerInterface * | myManager |
| DtSignalConnectionManager | myConnections |
| unsigned int | myFrameCounter |
| unsigned int | myFrameToUpdate |
| unsigned int | myUpdatePeriod |
| DtTime | myLastUpdateTime |
| bool | myIsThreadSafe |
| TickableListState | myTickableListState |
Private Member Functions | |
| DtParticleCollisionObjectUpdater (const DtParticleCollisionObjectUpdater &other) | |
| DtParticleCollisionObjectUpdater & | operator= (const DtParticleCollisionObjectUpdater &other) |
Additional Inherited Members | |
Public Types inherited from makVrv::DtTickable | |
| enum | TickableListState { TickableNotOnList, TickableOnMainList, TickableOnThreadSafeList } |
Protected Member Functions inherited from makVrv::DtTickable | |
| DtTickable (DtTickableManagerInterface *manager) | |
| DtTickable () | |
| virtual void | slot_managerAboutToBeDeleted () |
| makVrv::DtParticleCollisionObjectUpdater::DtParticleCollisionObjectUpdater | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
| [in] | de | is the display engine. |
| [in] | id | is a unique identifier for this distributed object. |
|
virtual |
Virtual DTOR.
|
private |
Copy Constructor not implemented – Copy Not Allowed.
|
private |
Assignment Operator Not implemented – Assignment Not Allowed.
|
pure virtual |
The update function called by DtTickableManager during update-ticks.
| [in] | tNow | is the current time-stamp. |
Implements makVrv::DtTickable.
Implemented in makVrv::DtFxParticleCollisionObjectUpdater.
|
virtual |
Set the particle collision object to be updated.
| [in] | collisionObjectModel | is a pointer to the model to be updated |
| DtUniqueID makVrv::DtParticleCollisionObjectUpdater::uniqueId | ( | ) | const |
Returns the distributed object id of this updater.
|
protected |
The display engine.
|
protected |
This distributed object's unique identifier.
|
protected |
A pointer to the current particle collision object being updated.