DtTextureVisitor walks the scene graph and collects the names of all textures found on nodes and drawables.
More...
DtTextureVisitor walks the scene graph and collects the names of all textures found on nodes and drawables.
| makVrv::DtTextureVisitor::DtTextureVisitor |
( |
| ) |
|
| virtual makVrv::DtTextureVisitor::~DtTextureVisitor |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtTextureVisitor::apply |
( |
osg::Node & |
node | ) |
|
|
virtual |
The visitor apply method used to traverse the scene-graph.
- Parameters
-
| [in] | node | is the osg::Node being visited. |
- Note
- Called during scene-graph traversal, do not directly call this function.
| virtual void makVrv::DtTextureVisitor::apply |
( |
osg::Geode & |
geode | ) |
|
|
virtual |
The Visitor apply method used to traverse the scene-graph.
- Parameters
-
| [in] | geode | is the osg::Geode being visited. |
- Note
- Called during scene-graph traversal, do not directly call this function.
| virtual const TextureMap& makVrv::DtTextureVisitor::foundTextures |
( |
| ) |
const |
|
virtual |
Returns the list of (unique) found textures.
| virtual void makVrv::DtTextureVisitor::checkTextures |
( |
osg::StateSet & |
ss, |
|
|
osg::Node & |
node |
|
) |
| |
|
protectedvirtual |
| virtual void makVrv::DtTextureVisitor::addTextureKeyToNode |
( |
osg::Node & |
node, |
|
|
int |
key |
|
) |
| |
|
protectedvirtual |
| TextureMap makVrv::DtTextureVisitor::myFoundTextures |
|
protected |
| boost::unordered_map<std::string, int> makVrv::DtTextureVisitor::myFoundTextureNames |
|
protected |
| int makVrv::DtTextureVisitor::myTextureKey |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf4-10-branch/include/vrvOsg/DtTextureVisitor.h