FindNodeVisitor.h File Reference

Contains visitors and associated helper functions to find a specific node. More...

#include <osg/Node>
#include <osg/NodeVisitor>

Include dependency graph for FindNodeVisitor.h:

Go to the source code of this file.

Classes

class  FindNamedNodeVisitor
 Finds a node that matches a specific name. More...
class  FindTypedNodeVisitor< T >
 Finds a node of type T and stops as soon as it found it. More...

Functions

osg::Node * FindNamedNode (std::string strName, osg::Node *pRoot)
 Finds a node that matches a specific name, from a root node (traverses its children).
template<class T >
T * FindTypedNode (osg::Node *pRoot)
 Finds a node that matches a specific type, from a root node (traverses its children).


Detailed Description

Contains visitors and associated helper functions to find a specific node.

Definition in file FindNodeVisitor.h.


Function Documentation

osg::Node* FindNamedNode ( std::string  strName,
osg::Node *  pRoot 
) [inline]

Finds a node that matches a specific name, from a root node (traverses its children).

Definition at line 57 of file FindNodeVisitor.h.

References FindNamedNodeVisitor::pResult.

template<class T >
T* FindTypedNode ( osg::Node *  pRoot  )  [inline]

Finds a node that matches a specific type, from a root node (traverses its children).

Definition at line 82 of file FindNodeVisitor.h.

References FindTypedNodeVisitor< T >::pResult.


Generated on Sun Jan 17 11:39:03 2010 for PVLE (Pro-Vocation Light Engine) by  doxygen 1.5.9