ShadowExplorer Class Reference

#include <ShadowExplorer.h>

Inheritance diagram for ShadowExplorer:

RayIntExplorer Explorer List of all members.

Public Member Functions

 ShadowExplorer (const Vector3 &o, const Vector3 &d, SceneGraphObject::OID oid, float m=MAXFLOAT)
virtual void explore (SceneGraphObject &)
bool result ()
const LightArray::BlockingObjgetBlockingObj (void) const
virtual void reinit (const Vector3 &o, const Vector3 &d, SceneGraphObject::OID oid, Intersector *pI=NULL, float m=MAXFLOAT)
virtual void reinit (const Vector3 &o, const Vector3 &d, SceneGraphObject::OID oid, float m=MAXFLOAT)
virtual void reinit (const Vector3 &o, const Vector3 &d, Intersector *pI, float m=MAXFLOAT)

Protected Member Functions

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

Protected Attributes

PointEnv _env
Geometry_pGeometry
SceneGraphObject::OID _lightOID
LightArray::BlockingObj _blockingObj
Vector3 _origin
Vector3 _direction
Intersector_pIntersector
float _maxDist
Vector3 _trOrigin
Vector3 _trDirection
Matrix4 _accumMat
bool _transformed
SceneGraphObject_pCandidate
bool _retVal
float _actDist
Matrix3 _rMat
const Vector3_tVec
const Vector3_sVec
std::stack< Matrix4 * > _trStack

Detailed Description

Definition at line 20 of file ShadowExplorer.h.


Constructor & Destructor Documentation

ShadowExplorer const Vector3 o,
const Vector3 d,
SceneGraphObject::OID  oid,
float  m = MAXFLOAT
[inline]
 

Definition at line 37 of file ShadowExplorer.h.


Member Function Documentation

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

Reimplemented from RayIntExplorer.

Definition at line 34 of file ShadowExplorer.h.

bool _explore SceneGraphObject  )  [protected, virtual]
 

Reimplemented from RayIntExplorer.

Definition at line 6 of file ShadowExplorer.cc.

References RayIntExplorer::_direction, RayIntExplorer::_maxDist, RayIntExplorer::_origin, RayIntExplorer::_pCandidate, RayIntExplorer::_rMat, RayIntExplorer::_sVec, RayIntExplorer::_trDirection, RayIntExplorer::_trOrigin, Explorer::_trStack, RayIntExplorer::_tVec, ESG_INVERSE_TR_RAY, Transform::get(), Transform::getRotation(), Transform::getScale(), Transform::getTranslation(), SceneGraphObject::hasSubnodes(), IteratorSDS::initRayIntersection(), SceneGraphObject::transformation(), and SceneGraphObject::traverseSubnodes().

Referenced by ShadowExplorer::explore().

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

Reimplemented from RayIntExplorer.

Definition at line 32 of file ShadowExplorer.h.

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

Reimplemented from RayIntExplorer.

Definition at line 33 of file ShadowExplorer.h.

void explore SceneGraphObject  )  [virtual]
 

Reimplemented from RayIntExplorer.

Definition at line 67 of file ShadowExplorer.cc.

References ShadowExplorer::_blockingObj, ShadowExplorer::_explore(), Explorer::_trStack, and LightArray::BlockingObj::pObj.

const LightArray::BlockingObj& getBlockingObj void   )  const [inline]
 

Definition at line 47 of file ShadowExplorer.h.

void reinit const Vector3 o,
const Vector3 d,
Intersector pI,
float  m = MAXFLOAT
[virtual, inherited]
 

Definition at line 109 of file RayIntExplorer.cc.

References RayIntExplorer::_direction, RayIntExplorer::_maxDist, RayIntExplorer::_origin, RayIntExplorer::_pIntersector, RayIntExplorer::_transformed, RayIntExplorer::_trDirection, RayIntExplorer::_trOrigin, and RIE_UPDATE_STAT.

virtual void reinit const Vector3 o,
const Vector3 d,
SceneGraphObject::OID  oid,
float  m = MAXFLOAT
[inline, virtual]
 

Definition at line 66 of file ShadowExplorer.h.

virtual void reinit const Vector3 o,
const Vector3 d,
SceneGraphObject::OID  oid,
Intersector pI = NULL,
float  m = MAXFLOAT
[inline, virtual]
 

Definition at line 49 of file ShadowExplorer.h.

bool result void   )  [inline]
 

Reimplemented from RayIntExplorer.

Definition at line 45 of file ShadowExplorer.h.


Member Data Documentation

Matrix4 _accumMat [protected, inherited]
 

Definition at line 29 of file RayIntExplorer.h.

Referenced by RayIntExplorer::result().

float _actDist [protected, inherited]
 

Definition at line 36 of file RayIntExplorer.h.

Referenced by RayIntExplorer::_explore().

LightArray::BlockingObj _blockingObj [protected]
 

Definition at line 25 of file ShadowExplorer.h.

Referenced by ShadowExplorer::explore().

Vector3 _direction [protected, inherited]
 

Definition at line 23 of file RayIntExplorer.h.

Referenced by ShadowExplorer::_explore(), RayIntExplorer::_explore(), ObjsAheadExplorer::_explore(), ObjsAheadExplorer::ObjsAheadExplorer(), and RayIntExplorer::reinit().

PointEnv _env [protected]
 

Definition at line 22 of file ShadowExplorer.h.

SceneGraphObject::OID _lightOID [protected]
 

Definition at line 24 of file ShadowExplorer.h.

float _maxDist [protected, inherited]
 

Definition at line 25 of file RayIntExplorer.h.

Referenced by ShadowExplorer::_explore(), RayIntExplorer::_explore(), and RayIntExplorer::reinit().

Vector3 _origin [protected, inherited]
 

Definition at line 22 of file RayIntExplorer.h.

Referenced by ShadowExplorer::_explore(), RayIntExplorer::_explore(), ObjsAheadExplorer::_explore(), ObjsAheadExplorer::ObjsAheadExplorer(), and RayIntExplorer::reinit().

SceneGraphObject* _pCandidate [protected, inherited]
 

Definition at line 34 of file RayIntExplorer.h.

Referenced by ShadowExplorer::_explore(), RayIntExplorer::_explore(), and ObjsAheadExplorer::_explore().

Geometry* _pGeometry [protected]
 

Definition at line 23 of file ShadowExplorer.h.

Intersector* _pIntersector [protected, inherited]
 

Definition at line 24 of file RayIntExplorer.h.

Referenced by RayIntExplorer::_explore(), RayIntExplorer::explore(), RayIntExplorer::reinit(), and RayIntExplorer::result().

bool _retVal [protected, inherited]
 

Definition at line 35 of file RayIntExplorer.h.

Referenced by RayIntExplorer::_explore(), and ObjsAheadExplorer::_explore().

Matrix3 _rMat [protected, inherited]
 

Definition at line 37 of file RayIntExplorer.h.

Referenced by ShadowExplorer::_explore(), RayIntExplorer::_explore(), and ObjsAheadExplorer::_explore().

const Vector3* _sVec [protected, inherited]
 

Definition at line 39 of file RayIntExplorer.h.

Referenced by ShadowExplorer::_explore(), RayIntExplorer::_explore(), and ObjsAheadExplorer::_explore().

bool _transformed [protected, inherited]
 

Definition at line 30 of file RayIntExplorer.h.

Referenced by RayIntExplorer::reinit(), and RayIntExplorer::result().

Vector3 _trDirection [protected, inherited]
 

Definition at line 28 of file RayIntExplorer.h.

Referenced by ShadowExplorer::_explore(), RayIntExplorer::_explore(), ObjsAheadExplorer::_explore(), and RayIntExplorer::reinit().

Vector3 _trOrigin [protected, inherited]
 

Definition at line 27 of file RayIntExplorer.h.

Referenced by ShadowExplorer::_explore(), RayIntExplorer::_explore(), ObjsAheadExplorer::_explore(), and RayIntExplorer::reinit().

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

const Vector3* _tVec [protected, inherited]
 

Definition at line 38 of file RayIntExplorer.h.

Referenced by ShadowExplorer::_explore(), RayIntExplorer::_explore(), and ObjsAheadExplorer::_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