![]() |
VR-Forces 5.0.2 Developer's Guide
|
The DtSwitchStateHapper class is responsible for switching children of an osgSim::MultiSwitch node based on the "configName" tag of the model definition.

Public Member Functions | |
| DtSwitchStateMapper (DtDe &de) | |
| virtual | ~DtSwitchStateMapper () |
| virtual void | configure (osg::Node *n, DtOsgArticulatedModel *osgArticulatedModel, const std::string &modelDefName, const rapidjson::Value &jsonData) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Attributes | |
| static const char * | theSwitchStateMapperFeatureName |
Protected Attributes | |
| DtDe & | myDe |
| std::string | myFeatureName |
Private Member Functions | |
| DtSwitchStateMapper () | |
| DtSwitchStateMapper (const DtSwitchStateMapper &orig) | |
| DtSwitchStateMapper & | operator= (const DtSwitchStateMapper) |
| makVrv::DtSwitchStateMapper::DtSwitchStateMapper | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
private |
Default CTOR (unimplemented)
|
private |
brief Copy CTOR (unimplemented)
|
virtual |
Configure node based on json data, modifies the matching osgSim::MultiSwitch node within the scene graph of the osgArticulatedModel.
|
private |
brief Assignment operator (unimplemented)
|
static |
Strings to get the different parts of the meta file Use these instead of hardcoded strings.
|
protected |
|
protected |
The name of the feature in the .meta file.