LLSpatialBridge Class Reference

#include <llspatialpartition.h>

Inheritance diagram for LLSpatialBridge:

Inheritance graph
[legend]
Collaboration diagram for LLSpatialBridge:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector< LLPointer
< LLSpatialBridge > > 
bridge_vector_t

Public Member Functions

 LLSpatialBridge (LLDrawable *root, U32 data_mask)
virtual BOOL isSpatialBridge () const
virtual void updateSpatialExtents ()
virtual void updateBinRadius ()
virtual void setVisible (LLCamera &camera_in, std::vector< LLDrawable * > *results=NULL, BOOL for_select=FALSE)
virtual void updateDistance (LLCamera &camera_in)
virtual void makeActive ()
virtual void move (LLDrawable *drawablep, LLSpatialGroup *curp, BOOL immediate=FALSE)
virtual BOOL updateMove ()
virtual void shiftPos (const LLVector3 &vec)
virtual void cleanupReferences ()
virtual LLSpatialPartitionasPartition ()
virtual LLSpatialBridgeasBridge ()
virtual LLCamera transformCamera (LLCamera &camera)

Public Attributes

LLDrawablemDrawable

Protected Member Functions

 ~LLSpatialBridge ()


Detailed Description

Definition at line 355 of file llspatialpartition.h.


Member Typedef Documentation

Definition at line 361 of file llspatialpartition.h.


Constructor & Destructor Documentation

LLSpatialBridge::~LLSpatialBridge (  )  [protected]

Definition at line 991 of file lldrawable.cpp.

References LLDrawable::getSpatialGroup(), LLSpatialGroup::mSpatialPartition, and LLSpatialPartition::remove().

Here is the call graph for this function:

LLSpatialBridge::LLSpatialBridge ( LLDrawable root,
U32  data_mask 
)


Member Function Documentation

virtual BOOL LLSpatialBridge::isSpatialBridge (  )  const [inline, virtual]

Reimplemented from LLDrawable.

Definition at line 365 of file llspatialpartition.h.

References TRUE.

void LLSpatialBridge::updateSpatialExtents (  )  [virtual]

void LLSpatialBridge::updateBinRadius (  )  [virtual]

Reimplemented from LLDrawable.

Definition at line 1059 of file lldrawable.cpp.

References LLOctreeNode< T >::getSize(), llmin(), LLDrawable::mBinRadius, LLVector3d::mdV, and LLSpatialPartition::mOctree.

Referenced by updateSpatialExtents().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLSpatialBridge::setVisible ( LLCamera camera_in,
std::vector< LLDrawable * > *  results = NULL,
BOOL  for_select = FALSE 
) [virtual]

void LLSpatialBridge::updateDistance ( LLCamera camera_in  )  [virtual]

Reimplemented from LLDrawable.

Definition at line 1221 of file lldrawable.cpp.

References LLDrawable::getChild(), LLDrawable::getChildCount(), i, LLDrawable::isAvatar(), llendl, llwarns, LLDrawable::markDead(), mDrawable, NULL, transformCamera(), and LLDrawable::updateDistance().

Referenced by LLPipeline::stateSort().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLSpatialBridge::makeActive (  )  [virtual]

Reimplemented from LLDrawable.

Definition at line 1249 of file lldrawable.cpp.

References llendl, and llerrs.

void LLSpatialBridge::move ( LLDrawable drawablep,
LLSpatialGroup curp,
BOOL  immediate = FALSE 
) [virtual]

Reimplemented from LLSpatialPartition.

Definition at line 1254 of file lldrawable.cpp.

References FALSE, gPipeline, LLPipeline::markMoved(), and LLSpatialPartition::move().

Here is the call graph for this function:

BOOL LLSpatialBridge::updateMove (  )  [virtual]

void LLSpatialBridge::shiftPos ( const LLVector3 vec  )  [virtual]

Reimplemented from LLDrawable.

Reimplemented in LLHUDBridge.

Definition at line 1267 of file lldrawable.cpp.

References LLDrawable::mExtents, and LLDrawable::mPositionGroup.

void LLSpatialBridge::cleanupReferences (  )  [virtual]

Reimplemented from LLDrawable.

Definition at line 1274 of file lldrawable.cpp.

References LLDrawable::cleanupReferences(), LLDrawable::getChild(), LLDrawable::getChildCount(), i, mDrawable, NULL, LLDrawable::setSpatialBridge(), and LLDrawable::setSpatialGroup().

Here is the call graph for this function:

virtual LLSpatialPartition* LLSpatialBridge::asPartition (  )  [inline, virtual]

Reimplemented from LLDrawable.

Definition at line 376 of file llspatialpartition.h.

virtual LLSpatialBridge* LLSpatialBridge::asBridge (  )  [inline, virtual]

Reimplemented from LLSpatialPartition.

Definition at line 377 of file llspatialpartition.h.

LLCamera LLSpatialBridge::transformCamera ( LLCamera camera  )  [virtual]


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:05:21 2008 for SecondLife by  doxygen 1.5.5