![]() |
VR-Forces 4.7 Class Documentation
|
State switch. More...

Public Member Functions | |
| virtual | ~DtDynamicTerrainSwitch () |
| Virtual destructor. | |
| virtual void | setState (unsigned int index)=0 |
| Set the current state of the switch (0 indexed). | |
| virtual unsigned int | getState () const =0 |
| Get the current state of the switch. | |
| virtual unsigned int | getPreviousState () const =0 |
| Get the previous state of the switch. | |
Public Member Functions inherited from makVrv::DtDynamicTerrainImplementation | |
| virtual | ~DtDynamicTerrainImplementation () |
| virtual boost::shared_ptr < DtDynamicTerrainFeature > | feature () const |
| virtual void | setFeature (const boost::shared_ptr< DtDynamicTerrainFeature > &) |
Additional Inherited Members | |
Protected Attributes inherited from makVrv::DtDynamicTerrainImplementation | |
| boost::weak_ptr < DtDynamicTerrainFeature > | myFeature |
State switch.
This is an interface for manipulating a switch. A switch in this context is defined as a piece of terrain which can be in one of a certain number of states.
|
virtual |
Virtual destructor.
Set the current state of the switch (0 indexed).
Implemented in makVrv::DtDefaultDynamicTerrainSwitch.
Get the current state of the switch.
Implemented in makVrv::DtDefaultDynamicTerrainSwitch.
Get the previous state of the switch.
Return default (0) if the switch state has never been changed.
Implemented in makVrv::DtDefaultDynamicTerrainSwitch.