![]() |
VR-Forces 4.10 Class Documentation
|

Public Member Functions | |
| DtDefaultDynamicTerrainSwitch (const osg::ref_ptr< DtDynamicTerrainSwitchNode > &tSwitch, DynamicTerrain::NodePathHash hashIndex) | |
| virtual void | setState (unsigned int index) |
| Set the current state of the switch (0 indexed). More... | |
| virtual unsigned int | getState () const |
| Unused but required implementation. More... | |
| virtual unsigned int | getPreviousState () const |
| Get the previous state of the switch. More... | |
| virtual unsigned int | numStates () const |
Public Member Functions inherited from makVrv::DtDynamicTerrainSwitch | |
| virtual | ~DtDynamicTerrainSwitch () |
| Virtual destructor. More... | |
Public Member Functions inherited from makVrv::DtDynamicTerrainImplementation | |
| virtual | ~DtDynamicTerrainImplementation () |
| virtual boost::shared_ptr < DtDynamicTerrainFeature > | feature () const |
| virtual void | setFeature (const boost::shared_ptr< DtDynamicTerrainFeature > &) |
Protected Attributes | |
| osg::ref_ptr < DtDynamicTerrainSwitchNode > | mySwitch |
| unsigned int | myCurrentState |
| unsigned int | myPreviousState |
| DynamicTerrain::NodePathHash | myHashIndex |
Protected Attributes inherited from makVrv::DtDynamicTerrainImplementation | |
| boost::weak_ptr < DtDynamicTerrainFeature > | myFeature |
|
explicit |
Set the current state of the switch (0 indexed).
Implements makVrv::DtDynamicTerrainSwitch.
Unused but required implementation.
Implements makVrv::DtDynamicTerrainSwitch.
Get the previous state of the switch.
Return default (0) if the switch state has never been changed.
Implements makVrv::DtDynamicTerrainSwitch.
|
protected |
|
protected |