ObjsExplorer Class Reference

#include <ObjsExplorer.h>

Inheritance diagram for ObjsExplorer:

ObjsInAreaExplorer Explorer List of all members.

Public Member Functions

 ObjsExplorer ()
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 &)
virtual bool _explore (SceneGraphObject &)

Protected Attributes

Geometry_pArea
Geometry_pTrArea
List< TrObj > _foundObjects
std::stack< Matrix4 * > _trStack

Detailed Description

Definition at line 16 of file ObjsExplorer.h.


Constructor & Destructor Documentation

ObjsExplorer  ) 
 

Definition at line 26 of file ObjsExplorer.cc.

References ObjsInAreaExplorer::_pArea, and ObjsInAreaExplorer::_pTrArea.


Member Function Documentation

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

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 ObjsInAreaExplorer.

Definition at line 6 of file ObjsExplorer.cc.

References Explorer::_explore(), IteratorSDS::firstChild(), IteratorSDS::initChildrenSearch(), IteratorSDS::nextChild(), and SceneGraphObject::traverseSubnodes().

bool _process_leaf SceneGraphObject  )  [protected, virtual, inherited]
 

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 & 
[inherited]
 

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, inherited]
 

Definition at line 29 of file ObjsInAreaExplorer.h.

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

Geometry* _pArea [protected, inherited]
 

Definition at line 27 of file ObjsInAreaExplorer.h.

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

Geometry* _pTrArea [protected, inherited]
 

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