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_t * | mResults |
BOOL | mLights |
U32 | mRes |
Definition at line 2214 of file llspatialpartition.cpp.
LLOctreeGet::LLOctreeGet | ( | LLVector3 | pos, | |
F32 | rad, | |||
LLDrawable::drawable_set_t * | results, | |||
BOOL | lights | |||
) | [inline] |
Definition at line 2217 of file llspatialpartition.cpp.
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.