BVExplorer Class Reference

#include <BVExplorer.h>

Inheritance diagram for BVExplorer:

Explorer List of all members.

Public Member Functions

 BVExplorer (unsigned depth)
virtual ~BVExplorer ()
Geometryresult (void)
virtual void explore (SceneGraphObject &)

Protected Member Functions

virtual bool _iterate (SceneGraphObject &)
virtual bool _process_leaf (SceneGraphObject &)
virtual void _accept_new_transformation (const Matrix4 &)
virtual bool _explore (SceneGraphObject &)

Protected Attributes

List< Geometry_boundingVolumes
unsigned _depth
std::stack< Matrix4 * > _trStack

Detailed Description

Definition at line 14 of file BVExplorer.h.


Constructor & Destructor Documentation

BVExplorer unsigned  depth  )  [inline]
 

Definition at line 25 of file BVExplorer.h.

virtual ~BVExplorer  )  [inline, virtual]
 

Definition at line 26 of file BVExplorer.h.


Member Function Documentation

virtual void _accept_new_transformation const Matrix4  )  [inline, protected, virtual]
 

Implements Explorer.

Definition at line 22 of file BVExplorer.h.

bool _explore SceneGraphObject  )  [protected, virtual, inherited]
 

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().

bool _iterate SceneGraphObject  )  [protected, virtual]
 

Reimplemented from Explorer.

Definition at line 7 of file BVExplorer.cc.

References BVExplorer::_boundingVolumes, BVExplorer::_depth, Explorer::_iterate(), Explorer::_trStack, List::append(), Geometry::clone(), SDS::createInspector(), InspectorSDS::firstElement(), and InspectorSDS::nextElement().

virtual bool _process_leaf SceneGraphObject  )  [inline, protected, virtual]
 

Implements Explorer.

Definition at line 21 of file BVExplorer.h.

void explore SceneGraphObject  )  [virtual, inherited]
 

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().

Geometry* result void   )  [inline]
 

Definition at line 28 of file BVExplorer.h.


Member Data Documentation

List<Geometry> _boundingVolumes [protected]
 

Definition at line 16 of file BVExplorer.h.

Referenced by BVExplorer::_iterate().

unsigned _depth [protected]
 

Definition at line 17 of file BVExplorer.h.

Referenced by BVExplorer::_iterate().

std::stack<Matrix4*> _trStack [protected, inherited]
 

Definition at line 16 of file Explorer.h.

Referenced by ShadowExplorer::_explore(), RayIntExplorer::_explore(), ObjsAheadExplorer::_explore(), Explorer::_explore(), BVExplorer::_iterate(), POGExplorer::_process_leaf(), ObjsInAreaExplorer::_process_leaf(), LightsExplorer::_process_leaf(), ShadowExplorer::explore(), Explorer::explore(), and Exporter::explore().


The documentation for this class was generated from the following files:
Generated on Wed Jun 28 12:24:33 2006 for esg by  doxygen 1.4.6