Public Member Functions | |
LLOctreePick (LLVector3 start, LLVector3 end) | |
virtual LLDrawable * | check (const LLSpatialGroup::OctreeNode *node) |
virtual void | visit (const LLSpatialGroup::OctreeState *branch) |
virtual bool | check (LLDrawable *drawable) |
Public Attributes | |
LLVector3 | mStart |
LLVector3 | mEnd |
LLDrawable * | mRet |
Definition at line 2813 of file llspatialpartition.cpp.
virtual bool LLOctreePick::check | ( | LLDrawable * | drawable | ) | [inline, virtual] |
Definition at line 2861 of file llspatialpartition.cpp.
References LLDrawable::getVObj(), LLViewerObject::lineSegmentIntersect(), LLViewerObject::mDrawable, mEnd, mRet, and mStart.
virtual LLDrawable* LLOctreePick::check | ( | const LLSpatialGroup::OctreeNode * | node | ) | [inline, virtual] |
Definition at line 2826 of file llspatialpartition.cpp.
References LLOctreeState< T >::accept(), LLOctreeNode< T >::getChild(), LLOctreeNode< T >::getChildCount(), LLOctreeNode< T >::getOctState(), i, LLLineSegmentAABB(), LLSpatialGroup::mBounds, mEnd, mRet, mStart, and size.
Referenced by LLSpatialPartition::pickDrawable(), and visit().
virtual void LLOctreePick::visit | ( | const LLSpatialGroup::OctreeState * | branch | ) | [inline, virtual] |
Implements LLOctreeTraveler< LLDrawable >.
Definition at line 2853 of file llspatialpartition.cpp.
References check(), LLOctreeState< T >::getData(), and i.
Definition at line 2817 of file llspatialpartition.cpp.
Referenced by check(), and LLSpatialPartition::pickDrawable().