SPIN Framework
|
A NodeVisitor that stores a list of all nodes whose name matches the one we are looking for. More...
#include <nodeVisitors.h>
Public Member Functions | |
NodeSearcher (NodeList &list) | |
virtual void | apply (osg::Node &node) |
void | search (osg::Node *subgraph, std::string s) |
Public Attributes | |
std::string | _searchName |
NodeList & | _nodeList |
Protected Member Functions | |
NodeSearcher & | operator= (const NodeSearcher &) |
A NodeVisitor that stores a list of all nodes whose name matches the one we are looking for.
void spin::NodeSearcher::search | ( | osg::Node * | subgraph, |
std::string | s | ||
) |
Search for nodes with a given name in the provided subgraph.