Developer Documentation
ACG::SceneGraph::FindNodeAction Class Reference

#include <ACG/Scenegraph/SceneGraph.hh>

Public Member Functions

 FindNodeAction (unsigned int _node_id)
 constructor: _node_id is the node to be searched for
 
bool operator() (BaseNode *_node)
 
BaseNodenode_ptr ()
 Get the pointer of the node (is 0 if node was not found)
 

Private Attributes

unsigned int node_id_
 
BaseNodenode_ptr_
 

Detailed Description

This action is used to find the node specified by _node_id in a scenegraph. The result can be accessed by node_ptr() and is 0 if no node with BaseNode::id() equal to _node_id has been found.

Note
This class implements an action that should be used as a parameter for the traverse() functions.

Definition at line 529 of file SceneGraph.hh.


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