Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

RayGina::CORE::RobAABspXs Class Reference

#include <RobAABspXs.hxx>

Inheritance diagram for RayGina::CORE::RobAABspXs:

RayGina::CORE::RobAccelerator RayGina::CORE::RobBase RayGina::CORE::RObject List of all members.

Public Member Functions

virtual const RExtensiongetInstanceExtension () const
 RobAABspXs (RUInt32 nMaxDepth=20, RUInt32 nMinTri=3)
 ~RobAABspXs ()
virtual const RBool intersect (RRay *ray)
 returns true if there is an intersection with the object and the given
virtual const RBool occlude (const RRay *ray)
 returns true if there is an intersection with the object and the given
virtual const RStatus addGeometry (RobGeometry *newRenderObject, const RBool deleteGeometry)
virtual const RStatus buildAccelerator (RobBase *objectGroup, Scene *scene)
const RBool isEmpty () const
void cleanup ()
RUInt32 getMaximalRecursionDepth () const
void setMaximalRecursionDepth (const RUInt32 nMaxDepth)
RUInt32 getNumberOfLeafTriangles () const
void setNumberOfLeafTriangles (const RUInt32 nMinTri)

Private Member Functions

void _buildTree (RobAABspXsNode *parent, RobAABB bounds, RobGeometry **lPrim, RUInt32 depth, RUInt32 size)
void recCleanup (RobAABspXsNode *node, bool doDelete)

Private Attributes

RobAABB _boundingAABB
RUInt32 _maxDepth
RUInt32 _minTri
RobAABspXsNode_root
SplitData_mySData
TraverseStackEntry_myTStack
RList< RobGeometry * > * _renderObjects
RList< RobGeometry * > * _tmpRenderObjects

Constructor & Destructor Documentation

RayGina::CORE::RobAABspXs::RobAABspXs RUInt32  nMaxDepth = 20,
RUInt32  nMinTri = 3
[inline]
 

Definition at line 74 of file RobAABspXs.hxx.

RayGina::CORE::RobAABspXs::~RobAABspXs  )  [inline]
 

Definition at line 76 of file RobAABspXs.hxx.


Member Function Documentation

void RobAABspXs::_buildTree RobAABspXsNode parent,
RobAABB  bounds,
RobGeometry **  lPrim,
RUInt32  depth,
RUInt32  size
[private]
 

Definition at line 37 of file RobAABspXs.cxx.

const RStatus RobAABspXs::addGeometry RobGeometry newRenderObject,
const RBool  deleteGeometry
[virtual]
 

Implements RayGina::CORE::RobAccelerator.

Definition at line 681 of file RobAABspXs.cxx.

const RStatus RobAABspXs::buildAccelerator RobBase objectGroup,
Scene scene
[virtual]
 

Implements RayGina::CORE::RobAccelerator.

Definition at line 564 of file RobAABspXs.cxx.

void RayGina::CORE::RobAABspXs::cleanup  )  [inline]
 

Definition at line 93 of file RobAABspXs.hxx.

virtual const RExtension* RayGina::CORE::RobAABspXs::getInstanceExtension  )  const [inline, virtual]
 

returns the RExtension for the instance If it returns NULL this instance is not able to act as an extension

Implements RayGina::CORE::RObject.

Definition at line 70 of file RobAABspXs.hxx.

RUInt32 RayGina::CORE::RobAABspXs::getMaximalRecursionDepth  )  const [inline]
 

Definition at line 124 of file RobAABspXs.hxx.

RUInt32 RayGina::CORE::RobAABspXs::getNumberOfLeafTriangles  )  const [inline]
 

Definition at line 130 of file RobAABspXs.hxx.

virtual const RBool RayGina::CORE::RobAABspXs::intersect RRay ray  )  [virtual]
 

returns true if there is an intersection with the object and the given

Implements RayGina::CORE::RobAccelerator.

const RBool RayGina::CORE::RobAABspXs::isEmpty  )  const [inline]
 

Definition at line 89 of file RobAABspXs.hxx.

virtual const RBool RayGina::CORE::RobAABspXs::occlude const RRay ray  )  [inline, virtual]
 

returns true if there is an intersection with the object and the given

Implements RayGina::CORE::RobAccelerator.

Definition at line 81 of file RobAABspXs.hxx.

void RayGina::CORE::RobAABspXs::recCleanup RobAABspXsNode node,
bool  doDelete
[inline, private]
 

Definition at line 50 of file RobAABspXs.hxx.

void RayGina::CORE::RobAABspXs::setMaximalRecursionDepth const RUInt32  nMaxDepth  )  [inline]
 

Definition at line 127 of file RobAABspXs.hxx.

void RayGina::CORE::RobAABspXs::setNumberOfLeafTriangles const RUInt32  nMinTri  )  [inline]
 

Definition at line 133 of file RobAABspXs.hxx.


Member Data Documentation

RobAABB RayGina::CORE::RobAABspXs::_boundingAABB [private]
 

Definition at line 36 of file RobAABspXs.hxx.

RUInt32 RayGina::CORE::RobAABspXs::_maxDepth [private]
 

Definition at line 37 of file RobAABspXs.hxx.

RUInt32 RayGina::CORE::RobAABspXs::_minTri [private]
 

Definition at line 38 of file RobAABspXs.hxx.

SplitData* RayGina::CORE::RobAABspXs::_mySData [private]
 

Definition at line 41 of file RobAABspXs.hxx.

TraverseStackEntry* RayGina::CORE::RobAABspXs::_myTStack [private]
 

Definition at line 42 of file RobAABspXs.hxx.

RList<RobGeometry*>* RayGina::CORE::RobAABspXs::_renderObjects [private]
 

Definition at line 44 of file RobAABspXs.hxx.

RobAABspXsNode* RayGina::CORE::RobAABspXs::_root [private]
 

Definition at line 39 of file RobAABspXs.hxx.

RList<RobGeometry*>* RayGina::CORE::RobAABspXs::_tmpRenderObjects [private]
 

Definition at line 45 of file RobAABspXs.hxx.


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 17:01:10 2007 for rayGina by  doxygen 1.3.9.1