#include <NodesByNameExpl.h>
Inheritance diagram for NodesByNameExpl:
Public Member Functions | |
NodesByNameExpl () | |
NodesByNameExpl (const char *name, bool falsePositives=false) | |
virtual | ~NodesByNameExpl () |
void | setName (const char *name) |
void | setFalsePositives (bool fp) |
bool | getFalsePositives () const |
SceneGraphObject * | result () |
virtual void | explore (SceneGraphObject &) |
Protected Member Functions | |
virtual bool | _explore (SceneGraphObject &) |
virtual bool | _process_leaf (SceneGraphObject &) |
virtual void | _accept_new_transformation (const Matrix4 &) |
virtual bool | _iterate (SceneGraphObject &) |
Protected Attributes | |
char * | _name |
bool | _falsePositives |
List< SceneGraphObject > | _foundObjects |
std::stack< Matrix4 * > | _trStack |
Definition at line 15 of file NodesByNameExpl.h.
|
Contructor. Definition at line 30 of file NodesByNameExpl.h. |
|
Contructor.
Definition at line 33 of file NodesByNameExpl.cc. References NodesByNameExpl::setName(). |
|
Destructor. Definition at line 39 of file NodesByNameExpl.cc. References NodesByNameExpl::_name. |
|
Implements Explorer. Definition at line 24 of file NodesByNameExpl.h. |
|
Reimplemented from Explorer. Definition at line 5 of file NodesByNameExpl.cc. References NodesByNameExpl::_falsePositives, NodesByNameExpl::_foundObjects, Explorer::_iterate(), NodesByNameExpl::_name, List::append(), SceneGraphObject::getName(), and SceneGraphObject::hasSubnodes(). |
|
Reimplemented in BVExplorer, ObjsExplorer, ObjsInAreaExplorer, RayIntExplorer, and ShadowExplorer. Definition at line 33 of file Explorer.cc. References Explorer::_explore(), IteratorSDS::firstChild(), IteratorSDS::initChildrenSearch(), IteratorSDS::nextChild(), and SceneGraphObject::traverseSubnodes(). Referenced by NodesByNameExpl::_explore(), Explorer::_explore(), and BVExplorer::_iterate(). |
|
Implements Explorer. Definition at line 23 of file NodesByNameExpl.h. |
|
Reimplemented in Exporter, RayIntExplorer, and ShadowExplorer. Definition at line 55 of file Explorer.cc. References Explorer::_trStack. Referenced by BVList::_comp_extents(), BVList::_comp_handle(), FDH6Tree::_create_bv(), FDH14Tree::_create_bv(), OSGAdapter::extent(), FDH::FDH(), OSGAdapter::nExtents(), and Sphere::Sphere(). |
|
Definition at line 59 of file NodesByNameExpl.h. References NodesByNameExpl::_falsePositives. |
|
Returns found nodes sequentially
Definition at line 52 of file NodesByNameExpl.cc. References NodesByNameExpl::_foundObjects, List::firstItem(), and List::remove(). |
|
Definition at line 54 of file NodesByNameExpl.h. References NodesByNameExpl::_falsePositives. |
|
Definition at line 44 of file NodesByNameExpl.cc. References NodesByNameExpl::_name. Referenced by NodesByNameExpl::NodesByNameExpl(). |
|
Definition at line 18 of file NodesByNameExpl.h. Referenced by NodesByNameExpl::_explore(), NodesByNameExpl::getFalsePositives(), and NodesByNameExpl::setFalsePositives(). |
|
Definition at line 19 of file NodesByNameExpl.h. Referenced by NodesByNameExpl::_explore(), and NodesByNameExpl::result(). |
|
Definition at line 17 of file NodesByNameExpl.h. Referenced by NodesByNameExpl::_explore(), NodesByNameExpl::setName(), and NodesByNameExpl::~NodesByNameExpl(). |
|