![]() |
VR-Forces 4.7 Class Documentation
|
Visitor to build structures for the instancing system to render a model. More...

Classes | |
| struct | ParserOutput |
Public Member Functions | |
| ParseModelVisitor (DtDe &de, const DtArticulatedModelParser::SwitchSetMap &defaultActiveSwitchState) | |
| CTOR. | |
| virtual | ~ParseModelVisitor () |
| DTOR. | |
| virtual void | setDefaultLightPointRange (float range) |
| virtual ParserOutput & | output () |
| Get the result of the parsing. | |
Apply methods | |
| virtual void | apply (osg::LightSource &light) |
| virtual void | apply (osg::Node &node) |
| virtual void | apply (osg::Group &group) |
| virtual void | apply (osg::Geode &geode) |
| virtual void | apply (osg::LOD &lod) |
| virtual void | apply (osg::Sequence &sequence) |
| virtual void | apply (osg::Switch &sw) |
| virtual void | apply (osgSim::MultiSwitch &multiswitch) |
| virtual void | apply (osgSim::DOFTransform &dof) |
Protected Types | |
| typedef std::vector < osg::StateSet * > | StateStack |
| typedef std::vector< unsigned int > | CounterStack |
Protected Member Functions | |
| virtual void | pushStateSet (osg::Node &node) |
| Push a node's stateset onto the state stack. | |
| virtual void | popStateSet (osg::Node &node) |
| Pop the state stack if the node has a stateset. | |
Protected Attributes | |
| StateStack | myStateStack |
| Stack of OSG StateSets encountered. | |
| CounterStack | myDofCountStack |
| Stack to track number of DOF children of each DOF in the DOF hierarchy. | |
| ParserOutput | myOutput |
| float | myDefaultLightPointRange |
| DtDe & | myDe |
| const DtArticulatedModelParser::SwitchSetMap & | myDefaultActiveSwitchState |
Visitor to build structures for the instancing system to render a model.
Also compiles lists of OSG nodes as it builds instanced versions so the caller can map between them
|
protected |
|
protected |
| makVrv::ParseModelVisitor::ParseModelVisitor | ( | DtDe & | de, |
| const DtArticulatedModelParser::SwitchSetMap & | defaultActiveSwitchState | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Get the result of the parsing.
|
protectedvirtual |
Push a node's stateset onto the state stack.
Used to determine state for the drawables
|
protectedvirtual |
Pop the state stack if the node has a stateset.
Used to determine state for the drawables
|
protected |
Stack of OSG StateSets encountered.
|
protected |
Stack to track number of DOF children of each DOF in the DOF hierarchy.
|
protected |
|
protected |
|
protected |
|
protected |