DtMetaFileVisitor will inspect the nodes of a scene graph and create the right kind of DtMetaObject for the node.
More...
Detailed Description
DtMetaFileVisitor will inspect the nodes of a scene graph and create the right kind of DtMetaObject for the node.
The DtMetaObject will also configure itself based on the JSON data from the .meta file
Constructor & Destructor Documentation
Member Function Documentation
| virtual void makVrv::DtMetaFileVisitor::apply |
( |
osg::Node & |
node | ) |
|
|
virtual |
| virtual void makVrv::DtMetaFileVisitor::apply |
( |
osg::Geode & |
geode | ) |
|
|
virtual |
| virtual void makVrv::DtMetaFileVisitor::apply |
( |
osg::Group & |
group | ) |
|
|
virtual |
| virtual void makVrv::DtMetaFileVisitor::apply |
( |
osgSim::MultiSwitch & |
multiswitch | ) |
|
|
virtual |
| virtual void makVrv::DtMetaFileVisitor::apply |
( |
osg::Switch & |
sw | ) |
|
|
virtual |
| virtual void makVrv::DtMetaFileVisitor::apply |
( |
osgSim::DOFTransform & |
dof | ) |
|
|
virtual |
| virtual void makVrv::DtMetaFileVisitor::matchAndCreateMetaObject |
( |
osg::Node & |
node, |
|
|
int |
nodeTypeIndex |
|
) |
| |
|
virtual |
Match up meta data to particular nodes.
Does this node match our meta file feature's node name or annotation string.
Member Data Documentation
| DtDe& makVrv::DtMetaFileVisitor::myDe |
|
protected |
Generate the type of feature we need depending on the meta data feature name (set up in vrvOsg.cxx)
List of node pointers that have meta data associated with them.
Vector of dynamic features on this terrain so they can be deleted on page destruction.
The element ID of the object we are traversing.
| DtUniqueID makVrv::DtMetaFileVisitor::mySceneObjectId |
|
protected |
The scene object ID of the object we are traversing.
| std::string makVrv::DtMetaFileVisitor::myModelDefinitionName |
|
protected |
The model definition name for the object we are traversing.
| bool makVrv::DtMetaFileVisitor::myUseInstancing |
|
protected |
For instancing, is the object being traversed instanced.
For instancing, what is the instance unique ID.
| unsigned int makVrv::DtMetaFileVisitor::myInstancedSwitchIndex |
|
protected |
Used for connecting the switch node to the corresponding instanced switch.
| unsigned int makVrv::DtMetaFileVisitor::myInstancedDofIndex |
|
protected |
Used for connecting the DoF node to the corresponding instanced DoF.
| unsigned int makVrv::DtMetaFileVisitor::myInstancedMultiswitchIndex |
|
protected |
Used for connecting the multiswitch node to the corresponding instanced multiswitch.
The documentation for this class was generated from the following file: