Explorer Class Reference

#include <Explorer.h>

Inheritance diagram for Explorer:

BVExplorer Exporter LightsExplorer NExtentsExplorer NodesByNameExpl ObjsInAreaExplorer POGExplorer RadiusExplorer RayIntExplorer List of all members.

Public Member Functions

virtual ~Explorer ()
virtual void explore (SceneGraphObject &)

Protected Member Functions

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

Protected Attributes

std::stack< Matrix4 * > _trStack

Detailed Description

Definition at line 14 of file Explorer.h.


Constructor & Destructor Documentation

virtual ~Explorer  )  [inline, virtual]
 

Definition at line 25 of file Explorer.h.


Member Function Documentation

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

Implemented in BVExplorer, LightsExplorer, NExtentsExplorer, NodesByNameExpl, ObjsInAreaExplorer, POGExplorer, POVRayExporter, RadiusExplorer, RayIntExplorer, and ShadowExplorer.

Referenced by Explorer::_explore().

bool _explore SceneGraphObject  )  [protected, virtual]
 

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

virtual bool _process_leaf SceneGraphObject  )  [protected, pure virtual]
 

Implemented in BVExplorer, LightsExplorer, NExtentsExplorer, NodesByNameExpl, ObjsInAreaExplorer, POGExplorer, POVRayExporter, RadiusExplorer, RayIntExplorer, and ShadowExplorer.

Referenced by Explorer::_explore().

void explore SceneGraphObject  )  [virtual]
 

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


Member Data Documentation

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

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