ObjsInAreaExplorer Class Reference

#include <ObjsInAreaExplorer.h>

Inheritance diagram for ObjsInAreaExplorer:

Explorer ObjsExplorer List of all members.

Public Member Functions

 ObjsInAreaExplorer (const Geometry &)
virtual ~ObjsInAreaExplorer ()
SceneGraphObjectresult (Matrix4 &, bool &)
virtual void explore (SceneGraphObject &)

Protected Member Functions

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

Protected Attributes

Geometry_pArea
Geometry_pTrArea
List< TrObj_foundObjects
std::stack< Matrix4 * > _trStack

Classes

struct  TrObj

Detailed Description

Definition at line 20 of file ObjsInAreaExplorer.h.


Constructor & Destructor Documentation

ObjsInAreaExplorer  )  [inline, protected]
 

Definition at line 36 of file ObjsInAreaExplorer.h.

ObjsInAreaExplorer const Geometry  ) 
 

Definition at line 66 of file ObjsInAreaExplorer.cc.

References ObjsInAreaExplorer::_pArea, ObjsInAreaExplorer::_pTrArea, and Geometry::clone().

~ObjsInAreaExplorer  )  [virtual]
 

Definition at line 72 of file ObjsInAreaExplorer.cc.

References ObjsInAreaExplorer::_foundObjects, ObjsInAreaExplorer::_pArea, ObjsInAreaExplorer::_pTrArea, List::firstItem(), and ObjsInAreaExplorer::TrObj::pTrMat.


Member Function Documentation

void _accept_new_transformation const Matrix4  )  [protected, virtual]
 

Implements Explorer.

Definition at line 40 of file ObjsInAreaExplorer.cc.

References ObjsInAreaExplorer::_pArea, ObjsInAreaExplorer::_pTrArea, and Geometry::clone().

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.

Reimplemented in ObjsExplorer.

Definition at line 6 of file ObjsInAreaExplorer.cc.

References Explorer::_explore(), ObjsInAreaExplorer::_pTrArea, IteratorSDS::firstChild(), IteratorSDS::initAreaSearch(), IteratorSDS::nextChild(), and SceneGraphObject::traverseSubnodes().

bool _process_leaf SceneGraphObject  )  [protected, virtual]
 

Implements Explorer.

Definition at line 26 of file ObjsInAreaExplorer.cc.

References ObjsInAreaExplorer::_foundObjects, Explorer::_trStack, List::append(), ObjsInAreaExplorer::TrObj::pObject, and ObjsInAreaExplorer::TrObj::pTrMat.

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

SceneGraphObject * result Matrix4 ,
bool & 
 

Definition at line 83 of file ObjsInAreaExplorer.cc.

References ObjsInAreaExplorer::_foundObjects, List::firstItem(), ObjsInAreaExplorer::TrObj::pObject, ObjsInAreaExplorer::TrObj::pTrMat, and List::remove().


Member Data Documentation

List<TrObj> _foundObjects [protected]
 

Definition at line 29 of file ObjsInAreaExplorer.h.

Referenced by ObjsInAreaExplorer::_process_leaf(), ObjsInAreaExplorer::result(), and ObjsInAreaExplorer::~ObjsInAreaExplorer().

Geometry* _pArea [protected]
 

Definition at line 27 of file ObjsInAreaExplorer.h.

Referenced by ObjsInAreaExplorer::_accept_new_transformation(), ObjsExplorer::ObjsExplorer(), ObjsInAreaExplorer::ObjsInAreaExplorer(), and ObjsInAreaExplorer::~ObjsInAreaExplorer().

Geometry* _pTrArea [protected]
 

Definition at line 28 of file ObjsInAreaExplorer.h.

Referenced by ObjsInAreaExplorer::_accept_new_transformation(), ObjsInAreaExplorer::_iterate(), ObjsExplorer::ObjsExplorer(), ObjsInAreaExplorer::ObjsInAreaExplorer(), and ObjsInAreaExplorer::~ObjsInAreaExplorer().

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