#include <OpenFlipper/libs_required/ACG/Scenegraph/SceneGraph.hh>
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 523 of file SceneGraph.hh.
◆ FindNodeAction()
| ACG::SceneGraph::FindNodeAction::FindNodeAction |
( |
unsigned int |
_node_id | ) |
|
|
inlineexplicit |
constructor: _node_id is the node to be searched for
Definition at line 528 of file SceneGraph.hh.
◆ node_ptr()
| BaseNode * ACG::SceneGraph::FindNodeAction::node_ptr |
( |
| ) |
|
|
inline |
Get the pointer of the node (is 0 if node was not found)
Definition at line 542 of file SceneGraph.hh.
◆ operator()()
| bool ACG::SceneGraph::FindNodeAction::operator() |
( |
BaseNode * |
_node | ) |
|
|
inline |
◆ node_id_
| unsigned int ACG::SceneGraph::FindNodeAction::node_id_ |
|
private |
◆ node_ptr_
| BaseNode* ACG::SceneGraph::FindNodeAction::node_ptr_ |
|
private |
The documentation for this class was generated from the following file: