![]() |
VR-Forces Developer's Guide
|

Public Member Functions | |
| VrfSwitch () | |
| void | setFeature (const boost::shared_ptr< makVrv::DtDynamicTerrainFeature > &feature) |
| void | addObjectToStateState (unsigned int index, const boost::shared_ptr< btCollisionObject > &obj) |
| void | addObjectsToStateState (unsigned int index, DtCollisionObjectList &objects) |
| virtual void | setState (unsigned int index) |
| virtual unsigned int | getState () const |
| virtual unsigned int | getPreviousState () const |
| virtual unsigned int | numStates () const |
Public Member Functions inherited from makVrv::DtDynamicTerrainSwitch | |
| virtual | ~DtDynamicTerrainSwitch () |
Public Member Functions inherited from makVrv::DtDynamicTerrainImplementation | |
| virtual | ~DtDynamicTerrainImplementation () |
| virtual boost::shared_ptr < DtDynamicTerrainFeature > | feature () const |
Private Types | |
| typedef std::vector < boost::shared_ptr < DtSwitchableCollisionObject > > | CollisionObjectVector |
| typedef std::vector < CollisionObjectVector > | CollisionObjectSets |
Private Attributes | |
| CollisionObjectSets | myObjects |
| int | myCurrentState |
| unsigned int | myPreviousState |
Additional Inherited Members | |
Protected Attributes inherited from makVrv::DtDynamicTerrainImplementation | |
| boost::weak_ptr < DtDynamicTerrainFeature > | myFeature |
|
private |
|
private |
| ConvertToBulletVisitor::VrfSwitch::VrfSwitch | ( | ) |
|
virtual |
Reimplemented from makVrv::DtDynamicTerrainImplementation.
| void ConvertToBulletVisitor::VrfSwitch::addObjectToStateState | ( | unsigned int | index, |
| const boost::shared_ptr< btCollisionObject > & | obj | ||
| ) |
| void ConvertToBulletVisitor::VrfSwitch::addObjectsToStateState | ( | unsigned int | index, |
| DtCollisionObjectList & | objects | ||
| ) |
Set the current state of the switch (0 indexed).
Implements makVrv::DtDynamicTerrainSwitch.
Get the current state of the switch.
Implements makVrv::DtDynamicTerrainSwitch.
Get the previous state of the switch. Return default (0) if the switch state has never been changed.
Implements makVrv::DtDynamicTerrainSwitch.
|
private |
|
private |