LLOctreePick Class Reference

Inheritance diagram for LLOctreePick:

Inheritance graph
[legend]
Collaboration diagram for LLOctreePick:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLOctreePick (LLVector3 start, LLVector3 end)
virtual LLDrawablecheck (const LLSpatialGroup::OctreeNode *node)
virtual void visit (const LLSpatialGroup::OctreeState *branch)
virtual bool check (LLDrawable *drawable)

Public Attributes

LLVector3 mStart
LLVector3 mEnd
LLDrawablemRet

Detailed Description

Definition at line 2813 of file llspatialpartition.cpp.


Constructor & Destructor Documentation

LLOctreePick::LLOctreePick ( LLVector3  start,
LLVector3  end 
) [inline]

Definition at line 2820 of file llspatialpartition.cpp.

References mRet, and NULL.


Member Function Documentation

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.


Member Data Documentation

LLVector3 LLOctreePick::mEnd

Definition at line 2817 of file llspatialpartition.cpp.

Referenced by check(), and LLSpatialPartition::pickDrawable().

LLDrawable* LLOctreePick::mRet

Definition at line 2818 of file llspatialpartition.cpp.

Referenced by check(), and LLOctreePick().

LLVector3 LLOctreePick::mStart

Definition at line 2816 of file llspatialpartition.cpp.

Referenced by check().


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