LLOctreeGet Class Reference

Inheritance diagram for LLOctreeGet:

Inheritance graph
[legend]
Collaboration diagram for LLOctreeGet:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLOctreeGet (LLVector3 pos, F32 rad, LLDrawable::drawable_set_t *results, BOOL lights)
virtual void traverse (const LLSpatialGroup::TreeNode *n)
virtual void visit (const LLSpatialGroup::OctreeState *branch)

Static Public Member Functions

static BOOL skip (LLDrawable *drawable, BOOL get_lights)

Public Attributes

LLVector3 mPosition
F32 mRad
LLDrawable::drawable_set_tmResults
BOOL mLights
U32 mRes

Detailed Description

Definition at line 2214 of file llspatialpartition.cpp.


Constructor & Destructor Documentation

LLOctreeGet::LLOctreeGet ( LLVector3  pos,
F32  rad,
LLDrawable::drawable_set_t results,
BOOL  lights 
) [inline]

Definition at line 2217 of file llspatialpartition.cpp.


Member Function Documentation

static BOOL LLOctreeGet::skip ( LLDrawable drawable,
BOOL  get_lights 
) [inline, static]

Definition at line 2247 of file llspatialpartition.cpp.

References LLDrawable::ACTIVE, FALSE, LLDrawable::getVObj(), LLDrawable::isLight(), LLDrawable::isState(), and TRUE.

Referenced by visit().

virtual void LLOctreeGet::traverse ( const LLSpatialGroup::TreeNode n  )  [inline, virtual]

Reimplemented from LLOctreeTraveler< LLDrawable >.

Definition at line 2223 of file llspatialpartition.cpp.

References LLSphereAABB(), LLSpatialGroup::mBounds, mPosition, mRad, mRes, n, size, and LLOctreeTraveler< LLDrawable >::traverse().

Referenced by LLSpatialPartition::getDrawables().

virtual void LLOctreeGet::visit ( const LLSpatialGroup::OctreeState branch  )  [inline, virtual]

Implements LLOctreeTraveler< LLDrawable >.

Definition at line 2264 of file llspatialpartition.cpp.

References LLOctreeState< T >::getData(), i, mLights, mPosition, mRad, mRes, mResults, skip(), and v.


Member Data Documentation

BOOL LLOctreeGet::mLights

Definition at line 2292 of file llspatialpartition.cpp.

Referenced by visit().

LLVector3 LLOctreeGet::mPosition

Definition at line 2289 of file llspatialpartition.cpp.

Referenced by traverse(), and visit().

F32 LLOctreeGet::mRad

Definition at line 2290 of file llspatialpartition.cpp.

Referenced by traverse(), and visit().

U32 LLOctreeGet::mRes

Definition at line 2293 of file llspatialpartition.cpp.

Referenced by traverse(), and visit().

LLDrawable::drawable_set_t* LLOctreeGet::mResults

Definition at line 2291 of file llspatialpartition.cpp.

Referenced by visit().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:33 2010 for Second Life Viewer by  doxygen 1.4.7