#include <NExtentsExplorer.h>
Inheritance diagram for NExtentsExplorer:
Public Member Functions | |
NExtentsExplorer (const float(*dirs)[3], unsigned nDirs) | |
NExtentsExplorer (const Vector3 *dirs, unsigned nDirs) | |
virtual | ~NExtentsExplorer () |
virtual Interval | result (unsigned) const |
virtual void | explore (SceneGraphObject &) |
Protected Member Functions | |
virtual bool | _process_leaf (SceneGraphObject &) |
virtual void | _accept_new_transformation (const Matrix4 &) |
NExtentsExplorer (unsigned nDirs) | |
virtual bool | _explore (SceneGraphObject &) |
virtual bool | _iterate (SceneGraphObject &) |
Protected Attributes | |
Interval * | _results |
Vector3 * | _dirs |
Vector3 * | _trDirs |
float * | _scale |
const unsigned | _nDirs |
float * | _translate |
std::stack< Matrix4 * > | _trStack |
Definition at line 11 of file NExtentsExplorer.h.
|
Definition at line 24 of file NExtentsExplorer.h. |
|
Definition at line 49 of file NExtentsExplorer.cc. References NExtentsExplorer::_dirs, NExtentsExplorer::_nDirs, NExtentsExplorer::_results, NExtentsExplorer::_scale, NExtentsExplorer::_translate, NExtentsExplorer::_trDirs, MAXFLOAT, and Interval::min. |
|
Definition at line 67 of file NExtentsExplorer.cc. References NExtentsExplorer::_dirs, NExtentsExplorer::_nDirs, NExtentsExplorer::_results, NExtentsExplorer::_scale, NExtentsExplorer::_translate, NExtentsExplorer::_trDirs, MAXFLOAT, and Interval::min. |
|
Definition at line 85 of file NExtentsExplorer.cc. References NExtentsExplorer::_dirs, NExtentsExplorer::_results, NExtentsExplorer::_scale, NExtentsExplorer::_translate, and NExtentsExplorer::_trDirs. |
|
Implements Explorer. Definition at line 27 of file NExtentsExplorer.cc. References NExtentsExplorer::_dirs, NExtentsExplorer::_nDirs, NExtentsExplorer::_scale, NExtentsExplorer::_translate, and NExtentsExplorer::_trDirs. |
|
Reimplemented in NodesByNameExpl, ObjsAheadExplorer, RayIntExplorer, and ShadowExplorer. Definition at line 6 of file Explorer.cc. References Explorer::_accept_new_transformation(), Explorer::_iterate(), Explorer::_process_leaf(), Explorer::_trStack, Transform::get(), SceneGraphObject::hasSubnodes(), and SceneGraphObject::transformation(). Referenced by ObjsInAreaExplorer::_iterate(), ObjsExplorer::_iterate(), Explorer::_iterate(), and Exporter::explore(). |
|
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 6 of file NExtentsExplorer.cc. References NExtentsExplorer::_nDirs, NExtentsExplorer::_results, NExtentsExplorer::_scale, NExtentsExplorer::_translate, NExtentsExplorer::_trDirs, Geometry::extent(), SceneGraphObject::geometry(), Interval::max, and Interval::min. |
|
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(). |
|
Reimplemented in ExtentExplorer. Definition at line 94 of file NExtentsExplorer.cc. References NExtentsExplorer::_nDirs, and NExtentsExplorer::_results. Referenced by BVList::_comp_extents(), FDH6Tree::_create_bv(), FDH14Tree::_create_bv(), FDH::FDH(), and OSGAdapter::nExtents(). |
|
Definition at line 14 of file NExtentsExplorer.h. Referenced by NExtentsExplorer::_accept_new_transformation(), NExtentsExplorer::NExtentsExplorer(), and NExtentsExplorer::~NExtentsExplorer(). |
|
Definition at line 17 of file NExtentsExplorer.h. Referenced by NExtentsExplorer::_accept_new_transformation(), NExtentsExplorer::_process_leaf(), NExtentsExplorer::NExtentsExplorer(), and NExtentsExplorer::result(). |
|
Definition at line 13 of file NExtentsExplorer.h. Referenced by NExtentsExplorer::_process_leaf(), NExtentsExplorer::NExtentsExplorer(), NExtentsExplorer::result(), and NExtentsExplorer::~NExtentsExplorer(). |
|
Definition at line 16 of file NExtentsExplorer.h. Referenced by NExtentsExplorer::_accept_new_transformation(), NExtentsExplorer::_process_leaf(), NExtentsExplorer::NExtentsExplorer(), and NExtentsExplorer::~NExtentsExplorer(). |
|
Definition at line 18 of file NExtentsExplorer.h. Referenced by NExtentsExplorer::_accept_new_transformation(), NExtentsExplorer::_process_leaf(), NExtentsExplorer::NExtentsExplorer(), and NExtentsExplorer::~NExtentsExplorer(). |
|
Definition at line 15 of file NExtentsExplorer.h. Referenced by NExtentsExplorer::_accept_new_transformation(), NExtentsExplorer::_process_leaf(), NExtentsExplorer::NExtentsExplorer(), and NExtentsExplorer::~NExtentsExplorer(). |
|