SPIN Framework
Public Member Functions | Public Attributes | Protected Member Functions

spin::NodeSearcher Class Reference

A NodeVisitor that stores a list of all nodes whose name matches the one we are looking for. More...

#include <nodeVisitors.h>

List of all members.

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

NodeSearcheroperator= (const NodeSearcher &)

Detailed Description

A NodeVisitor that stores a list of all nodes whose name matches the one we are looking for.


Member Function Documentation

void spin::NodeSearcher::search ( osg::Node *  subgraph,
std::string  s 
)

Search for nodes with a given name in the provided subgraph.


The documentation for this class was generated from the following files: