VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions
makVrv::DtSwitchStateMapper Class Reference

The DtSwitchStateHapper class is responsible for switching children of an osgSim::MultiSwitch node based on the "configName" tag of the model definition.

Inheritance diagram for makVrv::DtSwitchStateMapper:
Inheritance graph
[legend]

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 chartheSwitchStateMapperFeatureName
 

Protected Attributes

DtDemyDe
 
std::string myFeatureName
 

Private Member Functions

 DtSwitchStateMapper ()
 
 DtSwitchStateMapper (const DtSwitchStateMapper &orig)
 
DtSwitchStateMapperoperator= (const DtSwitchStateMapper)
 

Constructor & Destructor Documentation

makVrv::DtSwitchStateMapper::DtSwitchStateMapper ( DtDe de)

CTOR.

virtual makVrv::DtSwitchStateMapper::~DtSwitchStateMapper ( )
virtual

DTOR.

makVrv::DtSwitchStateMapper::DtSwitchStateMapper ( )
private

Default CTOR (unimplemented)

makVrv::DtSwitchStateMapper::DtSwitchStateMapper ( const DtSwitchStateMapper orig)
private

brief Copy CTOR (unimplemented)

Member Function Documentation

virtual void makVrv::DtSwitchStateMapper::configure ( osg::Node *  n,
DtOsgArticulatedModel osgArticulatedModel,
const std::string &  modelDefName,
const rapidjson::Value &  jsonData 
)
virtual

Configure node based on json data, modifies the matching osgSim::MultiSwitch node within the scene graph of the osgArticulatedModel.

DtSwitchStateMapper& makVrv::DtSwitchStateMapper::operator= ( const DtSwitchStateMapper  )
private

brief Assignment operator (unimplemented)

Member Data Documentation

const char* makVrv::DtSwitchStateMapper::theSwitchStateMapperFeatureName
static

Strings to get the different parts of the meta file Use these instead of hardcoded strings.

DtDe& makVrv::DtSwitchStateMapper::myDe
protected
std::string makVrv::DtSwitchStateMapper::myFeatureName
protected

The name of the feature in the .meta file.


The documentation for this class was generated from the following file:

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)