LLDrawable Class Reference

#include <lldrawable.h>

Inheritance diagram for LLDrawable:

Inheritance graph
[legend]
Collaboration diagram for LLDrawable:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::set< LLPointer<
LLDrawable > > 
drawable_set_t
typedef std::vector< LLPointer<
LLDrawable > > 
drawable_vector_t
typedef std::list< LLPointer<
LLDrawable > > 
drawable_list_t
typedef std::queue< LLPointer<
LLDrawable > > 
drawable_queue_t
typedef enum LLDrawable::e_drawable_flags EDrawableFlags
 IN_REBUILD_Q1 = 0x00000002
 IN_REBUILD_Q2 = 0x00000004
 IN_LIGHT_Q = 0x00000008
 EARLY_MOVE = 0x00000010
 MOVE_UNDAMPED = 0x00000020
 ON_MOVE_LIST = 0x00000040
 USE_BACKLIGHT = 0x00000080
 UV = 0x00000100
 UNLIT = 0x00000200
 LIGHT = 0x00000400
 LIGHTING_BUILT = 0x00000800
 REBUILD_VOLUME = 0x00001000
 REBUILD_TCOORD = 0x00002000
 REBUILD_COLOR = 0x00004000
 REBUILD_LIGHTING = 0x00008000
 REBUILD_POSITION = 0x00010000
 REBUILD_GEOMETRY = REBUILD_POSITION|REBUILD_TCOORD|REBUILD_COLOR
 REBUILD_MATERIAL = REBUILD_TCOORD|REBUILD_COLOR
 REBUILD_ALL = REBUILD_GEOMETRY|REBUILD_LIGHTING|REBUILD_VOLUME
 ON_SHIFT_LIST = 0x00100000
 BLOCKER = 0x00400000
 ACTIVE = 0x00800000
 DEAD = 0x01000000
 INVISIBLE = 0x02000000
 NEARBY_LIGHT = 0x04000000
 BUILT = 0x08000000
 FORCE_INVISIBLE = 0x10000000
 CLEAR_INVISIBLE = 0x20000000
 REBUILD_SHADOW = 0x40000000
enum  e_drawable_flags {
  IN_REBUILD_Q1 = 0x00000002, IN_REBUILD_Q2 = 0x00000004, IN_LIGHT_Q = 0x00000008, EARLY_MOVE = 0x00000010,
  MOVE_UNDAMPED = 0x00000020, ON_MOVE_LIST = 0x00000040, USE_BACKLIGHT = 0x00000080, UV = 0x00000100,
  UNLIT = 0x00000200, LIGHT = 0x00000400, LIGHTING_BUILT = 0x00000800, REBUILD_VOLUME = 0x00001000,
  REBUILD_TCOORD = 0x00002000, REBUILD_COLOR = 0x00004000, REBUILD_LIGHTING = 0x00008000, REBUILD_POSITION = 0x00010000,
  REBUILD_GEOMETRY = REBUILD_POSITION|REBUILD_TCOORD|REBUILD_COLOR, REBUILD_MATERIAL = REBUILD_TCOORD|REBUILD_COLOR, REBUILD_ALL = REBUILD_GEOMETRY|REBUILD_LIGHTING|REBUILD_VOLUME, ON_SHIFT_LIST = 0x00100000,
  BLOCKER = 0x00400000, ACTIVE = 0x00800000, DEAD = 0x01000000, INVISIBLE = 0x02000000,
  NEARBY_LIGHT = 0x04000000, BUILT = 0x08000000, FORCE_INVISIBLE = 0x10000000, CLEAR_INVISIBLE = 0x20000000,
  REBUILD_SHADOW = 0x40000000
}

Public Member Functions

 LLDrawable ()
 MEM_TYPE_NEW (LLMemType::MTYPE_DRAWABLE)
void markDead ()
BOOL isDead () const
BOOL isNew () const
BOOL isLight () const
BOOL isVisible () const
virtual void setVisible (LLCamera &camera_in, std::vector< LLDrawable * > *results=NULL, BOOL for_select=FALSE)
const LLViewerRegiongetRegion () const
const LLTextureEntrygetTextureEntry (U8 which) const
LLPointer< LLViewerObject > & getVObj ()
const LLViewerObjectgetVObj () const
LLVOVolumegetVOVolume () const
const LLMatrix4getWorldMatrix () const
const LLMatrix4getRenderMatrix () const
void setPosition (LLVector3 v) const
const LLVector3getPosition () const
const LLVector3getWorldPosition () const
const LLVector3 getPositionAgent () const
const LLVector3dgetPositionGroup () const
const LLVector3getScale () const
const LLQuaterniongetWorldRotation () const
const LLQuaterniongetRotation () const
F32 getIntensity () const
S32 getLOD () const
F64 getBinRadius () const
void getMinMax (LLVector3 &min, LLVector3 &max) const
LLXformMatrixgetXform ()
U32 getState () const
BOOL isState (U32 bits) const
void setState (U32 bits)
void clearState (U32 bits)
BOOL isAvatar () const
BOOL isRoot () const
BOOL isSpatialRoot () const
virtual BOOL isSpatialBridge () const
virtual LLSpatialPartitionasPartition ()
LLDrawablegetParent () const
LLDrawablegetChild (U32 index)
U32 getChildCount ()
LLFacegetFace (const S32 i) const
S32 getNumFaces () const
LLFaceaddFace (LLFacePool *poolp, LLViewerImage *texturep)
LLFaceaddFace (const LLTextureEntry *te, LLViewerImage *texturep)
void deleteFaces (S32 offset, S32 count)
void setNumFaces (const S32 numFaces, LLFacePool *poolp, LLViewerImage *texturep)
void setNumFacesFast (const S32 numFaces, LLFacePool *poolp, LLViewerImage *texturep)
void mergeFaces (LLDrawable *src)
void init ()
void destroy ()
void update ()
F32 updateXform (BOOL undamped)
virtual void makeActive ()
virtual void makeStatic ()
BOOL isActive () const
BOOL isStatic () const
BOOL isAnimating () const
virtual BOOL updateMove ()
virtual void movePartition ()
void updateTexture ()
void updateMaterial ()
virtual void updateDistance (LLCamera &camera)
BOOL updateGeometry (BOOL priority)
BOOL updateLighting (BOOL priority)
void updateFaceSize (S32 idx)
void updateLightSet ()
F32 getSunShadowFactor () const
void setSunShadowFactor (F32 factor)
void applyLightsAsPoint (LLColor4 &result)
void updateSpecialHoverCursor (BOOL enabled)
virtual void shiftPos (const LLVector3 &shift_vector)
S32 getGeneration () const
BOOL getLit () const
void setLit (BOOL lit)
void clearLightSet ()
virtual void cleanupReferences ()
void setRadius (const F32 radius)
F32 getRadius () const
F32 getVisibilityRadius () const
void updateUVMinMax ()
const LLVector3getBounds (LLVector3 &min, LLVector3 &max) const
virtual void updateSpatialExtents ()
virtual void updateBinRadius ()
const LLVector3getSpatialExtents () const
void setSpatialExtents (LLVector3 min, LLVector3 max)
void setPositionGroup (const LLVector3d &pos)
void setPositionGroup (const LLVector3 &pos)
void setRenderType (S32 type)
BOOL isRenderType (S32 type)
S32 getRenderType ()
S32 findReferences (LLDrawable *drawablep)
void setSpatialGroup (LLSpatialGroup *groupp)
LLSpatialGroupgetSpatialGroup () const
LLSpatialPartitiongetSpatialPartition ()
void setSpatialBridge (LLSpatialBridge *bridge)
LLSpatialBridgegetSpatialBridge ()

Static Public Member Functions

static void initClass ()
static void incrementVisible ()
static void cleanupDeadDrawables ()
static S32 getCurrentFrame ()

Public Attributes

LLXformMatrix mXform
LLPointer< LLDrawablemParent
F32 mDistanceWRTCamera
LLRectf mUVRect
F32 mUVZ
drawable_set_t mLightSet
drawable_set_t mBlockSet
LLVector3 mSavePos
S32 mQuietCount

Static Public Attributes

static F32 sCurPixelAngle = 0

Protected Types

typedef std::vector< LLFace * > face_list_t

Protected Member Functions

 ~LLDrawable ()
void moveUpdatePipeline (BOOL moved)
void updatePartition ()
BOOL updateMoveDamped ()
BOOL updateMoveUndamped ()

Protected Attributes

U32 mState
S32 mRenderType
LLPointer< LLViewerObjectmVObjp
face_list_t mFaces
LLSpatialGroupmSpatialGroupp
LLPointer< LLDrawablemSpatialBridge
U32 mVisible
F32 mRadius
LLVector3 mExtents [2]
LLVector3d mPositionGroup
F64 mBinRadius
S32 mGeneration
F32 mSunShadowFactor
LLVector3 mCurrentScale

Static Protected Attributes

static U32 sCurVisible = 0
static U32 sNumZombieDrawables = 0
static LLDynamicArrayPtr<
LLPointer< LLDrawable > > 
sDeadList

Friends

class LLPipeline
class LLDrawPool
class LLSpatialBridge

Classes

struct  CompareDistanceGreater
struct  CompareDistanceGreaterVisibleFirst

Detailed Description

Definition at line 69 of file lldrawable.h.


Member Typedef Documentation

typedef std::list<LLPointer<LLDrawable> > LLDrawable::drawable_list_t

Definition at line 219 of file lldrawable.h.

typedef std::queue<LLPointer<LLDrawable> > LLDrawable::drawable_queue_t

Definition at line 220 of file lldrawable.h.

typedef std::set<LLPointer<LLDrawable> > LLDrawable::drawable_set_t

Definition at line 217 of file lldrawable.h.

typedef std::vector<LLPointer<LLDrawable> > LLDrawable::drawable_vector_t

Definition at line 218 of file lldrawable.h.

typedef enum LLDrawable::e_drawable_flags LLDrawable::EDrawableFlags

typedef std::vector<LLFace*> LLDrawable::face_list_t [protected]

Definition at line 306 of file lldrawable.h.


Member Enumeration Documentation

enum LLDrawable::e_drawable_flags

Enumerator:
IN_REBUILD_Q1 
IN_REBUILD_Q2 
IN_LIGHT_Q 
EARLY_MOVE 
MOVE_UNDAMPED 
ON_MOVE_LIST 
USE_BACKLIGHT 
UV 
UNLIT 
LIGHT 
LIGHTING_BUILT 
REBUILD_VOLUME 
REBUILD_TCOORD 
REBUILD_COLOR 
REBUILD_LIGHTING 
REBUILD_POSITION 
REBUILD_GEOMETRY 
REBUILD_MATERIAL 
REBUILD_ALL 
ON_SHIFT_LIST 
BLOCKER 
ACTIVE 
DEAD 
INVISIBLE 
NEARBY_LIGHT 
BUILT 
FORCE_INVISIBLE 
CLEAR_INVISIBLE 
REBUILD_SHADOW 

Definition at line 247 of file lldrawable.h.


Constructor & Destructor Documentation

LLDrawable::LLDrawable (  )  [inline]

Definition at line 74 of file lldrawable.h.

References init().

LLDrawable::~LLDrawable (  )  [inline, protected]

Definition at line 206 of file lldrawable.h.

References destroy().


Member Function Documentation

LLFace * LLDrawable::addFace ( const LLTextureEntry te,
LLViewerImage texturep 
)

Definition at line 298 of file lldrawable.cpp.

References face, LLFace::FULLBRIGHT, LLPipeline::getPoolTypeFromTE(), gPipeline, isState(), mFaces, LLMemType::MTYPE_DRAWABLE, mVObjp, and UNLIT.

LLFace * LLDrawable::addFace ( LLFacePool poolp,
LLViewerImage texturep 
)

Definition at line 274 of file lldrawable.cpp.

References face, LLFace::FULLBRIGHT, isState(), llendl, llerrs, mFaces, LLMemType::MTYPE_DRAWABLE, mVObjp, and UNLIT.

Referenced by setNumFaces(), setNumFacesFast(), LLVOWater::updateGeometry(), LLVOSky::updateGeometry(), and LLVOGround::updateGeometry().

void LLDrawable::applyLightsAsPoint ( LLColor4 result  ) 

Definition at line 992 of file lldrawable.cpp.

References f, gCamera, getPositionAgent(), LLSky::getTotalAmbientColor(), LLCoordFrame::getXAxis(), gPipeline, gSky, light, llmax(), mLightSet, LLPipeline::mSunDiffuse, LLPipeline::mSunDir, LLMemType::MTYPE_DRAWABLE, and LLColor4::mV.

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

Reimplemented in LLSpatialBridge.

Definition at line 118 of file lldrawable.h.

References NULL.

void LLDrawable::cleanupDeadDrawables (  )  [static]

Definition at line 223 of file lldrawable.cpp.

References LLDynamicArray< Type, BlockSize >::reset(), and sDeadList.

Referenced by idle().

void LLDrawable::cleanupReferences (  )  [virtual]

Reimplemented in LLSpatialBridge.

Definition at line 203 of file lldrawable.cpp.

References clearLightSet(), LLFastTimer::FTM_PIPELINE, gObjectList, gPipeline, mBlockSet, mFaces, mParent, mVObjp, NULL, LLViewerObjectList::removeDrawable(), t, and LLPipeline::unlinkDrawable().

Referenced by LLSpatialBridge::cleanupReferences(), and markDead().

void LLDrawable::clearLightSet (  ) 

Definition at line 188 of file lldrawable.cpp.

References gPipeline, LLPipeline::markRelight(), and mLightSet.

Referenced by cleanupReferences().

void LLDrawable::clearState ( U32  bits  )  [inline]

Definition at line 112 of file lldrawable.h.

References mState.

Referenced by LLPipeline::calcNearbyLights(), LLVolumeImplFlexible::doUpdateGeometry(), makeActive(), makeStatic(), LLPipeline::markMoved(), LLPipeline::markRebuild(), LLPipeline::setLight(), setLit(), LLPipeline::stateSort(), LLPipeline::updateGeom(), updateGeometry(), LLPipeline::updateMoveDampedAsync(), and LLPipeline::updateMovedList().

void LLDrawable::deleteFaces ( S32  offset,
S32  count 
)

Definition at line 374 of file lldrawable.cpp.

References mFaces.

void LLDrawable::destroy (  ) 

Definition at line 123 of file lldrawable.cpp.

References isDead(), mFaces, and sNumZombieDrawables.

Referenced by ~LLDrawable().

S32 LLDrawable::findReferences ( LLDrawable drawablep  ) 

Definition at line 239 of file lldrawable.cpp.

References count, llendl, llinfos, mBlockSet, mLightSet, mParent, and S32.

F64 LLDrawable::getBinRadius (  )  const [inline]

Definition at line 105 of file lldrawable.h.

References mBinRadius.

Referenced by LLSpatialGroup::updateInGroup().

const LLVector3 & LLDrawable::getBounds ( LLVector3 min,
LLVector3 max 
) const

Definition at line 854 of file lldrawable.cpp.

References LLXformMatrix::getMinMax(), LLXform::getPositionW(), and mXform.

LLDrawable* LLDrawable::getChild ( U32  index  )  [inline]

Definition at line 120 of file lldrawable.h.

References mVObjp.

Referenced by LLSpatialBridge::cleanupReferences(), makeActive(), LLPipeline::renderForSelect(), and LLSpatialBridge::updateDistance().

U32 LLDrawable::getChildCount (  )  [inline]

Definition at line 121 of file lldrawable.h.

References mVObjp.

Referenced by LLSpatialBridge::cleanupReferences(), makeActive(), LLPipeline::renderForSelect(), and LLSpatialBridge::updateDistance().

static S32 LLDrawable::getCurrentFrame (  )  [inline, static]

Definition at line 298 of file lldrawable.h.

References sCurVisible.

Referenced by LLSpatialGroup::changeLOD(), LLVolumeImplFlexible::doIdleUpdate(), LLDrawPoolWater::render(), LLVOAvatar::updateCharacter(), and LLViewerPartSim::updateSimulation().

LLFace * LLDrawable::getFace ( const S32  i  )  const [inline]

Definition at line 333 of file lldrawable.h.

References llassert, and mFaces.

Referenced by LLVOClouds::getGeometry(), moveUpdatePipeline(), LLViewerObjectList::removeDrawable(), renderBoundingBox(), LLPipeline::renderForSelect(), renderParticleBeacons(), renderPhysicalBeacons(), renderPoints(), renderScriptedBeacons(), renderScriptedTouchBeacons(), renderTexturePriority(), LLPipeline::resetVertexBuffers(), LLViewerJointAttachment::setupDrawable(), shiftPos(), LLAgent::updateCamera(), updateDistance(), LLVOWater::updateGeometry(), LLVOTree::updateGeometry(), LLVOTextBubble::updateGeometry(), LLVOPartGroup::updateGeometry(), LLVOGround::updateGeometry(), and LLVOClouds::updateGeometry().

S32 LLDrawable::getGeneration (  )  const [inline]

Definition at line 168 of file lldrawable.h.

References mGeneration.

F32 LLDrawable::getIntensity (  )  const [inline]

Definition at line 103 of file lldrawable.h.

References LLXform::getScale(), llmin(), LLVector3::mV, and mXform.

BOOL LLDrawable::getLit (  )  const [inline]

Definition at line 170 of file lldrawable.h.

References FALSE, isState(), TRUE, and UNLIT.

Referenced by LLPipeline::markRebuild(), and updateLighting().

S32 LLDrawable::getLOD (  )  const [inline]

Definition at line 104 of file lldrawable.h.

References mVObjp.

void LLDrawable::getMinMax ( LLVector3 min,
LLVector3 max 
) const [inline]

Definition at line 106 of file lldrawable.h.

References LLXformMatrix::getMinMax(), and mXform.

S32 LLDrawable::getNumFaces (  )  const [inline]

Definition at line 341 of file lldrawable.h.

References mFaces, and S32.

Referenced by moveUpdatePipeline(), LLViewerObjectList::removeDrawable(), renderBoundingBox(), LLPipeline::renderForSelect(), renderParticleBeacons(), renderPhysicalBeacons(), renderPoints(), renderScriptedBeacons(), renderScriptedTouchBeacons(), renderTexturePriority(), LLPipeline::resetVertexBuffers(), LLViewerJointAttachment::setupDrawable(), shiftPos(), LLPipeline::stateSort(), LLAgent::updateCamera(), updateDistance(), LLVOWater::updateGeometry(), LLVOTextBubble::updateGeometry(), LLVOPartGroup::updateGeometry(), LLVOGround::updateGeometry(), LLVOClouds::updateGeometry(), and updateTexture().

LLDrawable* LLDrawable::getParent (  )  const [inline]

Definition at line 119 of file lldrawable.h.

References mParent.

Referenced by getPositionAgent(), getRenderMatrix(), getSpatialPartition(), isVisible(), makeActive(), LLPipeline::markMoved(), LLPipeline::markShift(), LLSpatialBridge::setVisible(), LLPipeline::updateGeom(), LLPipeline::updateMove(), and updateTexture().

const LLVector3& LLDrawable::getPosition ( void   )  const [inline]

Definition at line 96 of file lldrawable.h.

References LLXform::getPosition(), and mXform.

const LLVector3 LLDrawable::getPositionAgent (  )  const

Definition at line 1447 of file lldrawable.cpp.

References getParent(), getVOVolume(), getWorldMatrix(), getWorldPosition(), isActive(), isRoot(), and mVObjp.

Referenced by applyLightsAsPoint(), LLToolSelectRect::handleRectangleSelection(), LLViewerWindow::renderSelections(), LLVOSky::updateGeometry(), and updateLightSet().

const LLVector3d& LLDrawable::getPositionGroup (  )  const [inline]

Definition at line 99 of file lldrawable.h.

References mPositionGroup.

Referenced by LLSpatialPartition::put(), renderPoints(), updateDistance(), and LLSpatialGroup::updateInGroup().

F32 LLDrawable::getRadius (  )  const [inline]

Definition at line 177 of file lldrawable.h.

References mRadius.

Referenced by LLSpatialGroup::addObject(), getVisibilityRadius(), LLToolSelectRect::handleRectangleSelection(), updateBinRadius(), and updateLightSet().

const LLViewerRegion* LLDrawable::getRegion (  )  const [inline]

Definition at line 87 of file lldrawable.h.

References mVObjp.

const LLMatrix4& LLDrawable::getRenderMatrix (  )  const [inline]

Definition at line 94 of file lldrawable.h.

References getParent(), getWorldMatrix(), and isRoot().

Referenced by LLDrawPoolAlpha::renderAlpha(), and LLDrawPoolAlpha::renderAlphaHighlight().

S32 LLDrawable::getRenderType (  )  [inline]

Definition at line 192 of file lldrawable.h.

References mRenderType.

Referenced by LLPipeline::renderForSelect(), and LLPipeline::stateSort().

const LLQuaternion& LLDrawable::getRotation (  )  const [inline]

Definition at line 102 of file lldrawable.h.

References LLXform::getRotation(), and mXform.

const LLVector3& LLDrawable::getScale (  )  const [inline]

Definition at line 100 of file lldrawable.h.

References mCurrentScale.

Referenced by isAnimating().

LLSpatialBridge* LLDrawable::getSpatialBridge (  )  [inline]

Definition at line 301 of file lldrawable.h.

References mSpatialBridge.

Referenced by LLPipeline::updateGeom().

const LLVector3 * LLDrawable::getSpatialExtents (  )  const

Definition at line 860 of file lldrawable.cpp.

References mExtents.

Referenced by LLSpatialGroup::boundObjects(), LLSelectMgr::getGrid(), and renderBoundingBox().

LLSpatialGroup* LLDrawable::getSpatialGroup (  )  const [inline]

Definition at line 198 of file lldrawable.h.

References mSpatialGroupp.

Referenced by isVisible(), movePartition(), updateDistance(), LLPipeline::updateGeom(), LLVOPartGroup::updateGeometry(), LLSpatialBridge::updateMove(), and LLSpatialBridge::~LLSpatialBridge().

LLSpatialPartition * LLDrawable::getSpatialPartition (  ) 

Definition at line 1060 of file lldrawable.cpp.

References getParent(), getSpatialPartition(), LLPipeline::getSpatialPartition(), getVOVolume(), gPipeline, isRoot(), isStatic(), mSpatialBridge, mVObjp, LLPointer< Type >::notNull(), NULL, and setSpatialBridge().

Referenced by getSpatialPartition(), and movePartition().

U32 LLDrawable::getState (  )  const [inline]

Definition at line 109 of file lldrawable.h.

References mState.

F32 LLDrawable::getSunShadowFactor (  )  const [inline]

Definition at line 161 of file lldrawable.h.

References mSunShadowFactor.

const LLTextureEntry* LLDrawable::getTextureEntry ( U8  which  )  const [inline]

Definition at line 88 of file lldrawable.h.

References mVObjp.

F32 LLDrawable::getVisibilityRadius (  )  const

Definition at line 1031 of file lldrawable.cpp.

References getRadius(), getVOVolume(), isDead(), isLight(), and llmax().

const LLViewerObject* LLDrawable::getVObj (  )  const [inline]

Definition at line 90 of file lldrawable.h.

References mVObjp.

LLPointer<LLViewerObject>& LLDrawable::getVObj (  )  [inline]

Definition at line 89 of file lldrawable.h.

References mVObjp.

Referenced by addParticleSourcesToList(), addSourcesToEventLog(), LLOctreePick::check(), isAnimating(), LLPipeline::markRebuild(), LLPipeline::markShift(), LLPipeline::pickObject(), LLSpatialPartition::put(), LLDrawPoolAvatar::renderAvatars(), renderBoundingBox(), LLDrawPoolAvatar::renderForSelect(), LLDrawPoolTerrain::renderOwnership(), renderParticleBeacons(), renderPhysicalBeacons(), renderScriptedBeacons(), renderScriptedTouchBeacons(), LLDrawPoolTree::renderTree(), LLSpatialBridge::setVisible(), LLOctreeGet::skip(), and LLPipeline::stateSort().

LLVOVolume * LLDrawable::getVOVolume (  )  const

Definition at line 162 of file lldrawable.cpp.

References LLPrimitive::getPCode(), isDead(), LL_PCODE_VOLUME, mVObjp, and NULL.

Referenced by LLPipeline::calcNearbyLights(), getPositionAgent(), getSpatialPartition(), getVisibilityRadius(), isAnimating(), LLManip::rebuild(), LLVolumeGeometryManager::rebuildGeom(), renderBoundingBox(), LLViewerWindow::renderSelections(), setVisible(), updateDistance(), updateLightSet(), updatePartition(), and updateTexture().

const LLMatrix4& LLDrawable::getWorldMatrix (  )  const [inline]

Definition at line 93 of file lldrawable.h.

References LLXformMatrix::getWorldMatrix(), and mXform.

Referenced by getPositionAgent(), and getRenderMatrix().

const LLVector3& LLDrawable::getWorldPosition (  )  const [inline]

Definition at line 97 of file lldrawable.h.

References LLXform::getPositionW(), and mXform.

Referenced by getPositionAgent().

const LLQuaternion& LLDrawable::getWorldRotation (  )  const [inline]

Definition at line 101 of file lldrawable.h.

References LLXform::getWorldRotation(), and mXform.

LLXformMatrix* LLDrawable::getXform (  )  [inline]

Definition at line 107 of file lldrawable.h.

References mXform.

Referenced by LLSpatialBridge::transformCamera(), and LLSpatialBridge::updateSpatialExtents().

void LLDrawable::incrementVisible (  )  [static]

Definition at line 85 of file lldrawable.cpp.

References gCamera, LLCamera::getView(), LLViewerWindow::getWindowDisplayHeight(), gViewerWindow, sCurPixelAngle, and sCurVisible.

Referenced by display().

void LLDrawable::init (  ) 

Definition at line 90 of file lldrawable.cpp.

References mBinRadius, mCurrentScale, mDistanceWRTCamera, mGeneration, mParent, mQuietCount, mRadius, mRenderType, mSpatialBridge, mSpatialGroupp, mState, mSunShadowFactor, mUVZ, mVisible, mVObjp, and NULL.

Referenced by LLDrawable().

void LLDrawable::initClass (  )  [static]

Definition at line 118 of file lldrawable.cpp.

Referenced by idle_startup().

BOOL LLDrawable::isActive ( void   )  const [inline]

Definition at line 146 of file lldrawable.h.

References ACTIVE, and isState().

Referenced by LLViewerCamera::areVertsVisible(), LLSelectMgr::getGrid(), getPositionAgent(), isStatic(), isVisible(), LLSelectNode::renderOneSilhouette(), LLViewerObject::setDrawableParent(), setVisible(), LLPipeline::stateSort(), LLPipeline::updateMove(), LLVOVolume::updateRelativeXform(), and updateTexture().

BOOL LLDrawable::isAnimating (  )  const

Definition at line 1473 of file lldrawable.cpp.

References FALSE, getScale(), getVObj(), getVOVolume(), isRoot(), LLViewerObject::LL_VO_CLOUDS, LLViewerObject::LL_VO_PART_GROUP, LLVOVolume::mTextureAnimp, mVObjp, and TRUE.

BOOL LLDrawable::isAvatar (  )  const [inline]

Definition at line 114 of file lldrawable.h.

References mVObjp, and LLPointer< Type >::notNull().

Referenced by LLPipeline::stateSort().

BOOL LLDrawable::isDead (  )  const [inline]

Definition at line 78 of file lldrawable.h.

References DEAD, and isState().

Referenced by destroy(), getVisibilityRadius(), getVOVolume(), isLight(), markDead(), LLPipeline::markMoved(), LLPipeline::markRebuild(), LLPipeline::markShift(), LLPipeline::markTextured(), LLPipeline::markVisible(), LLPipeline::renderForSelect(), LLDrawPoolTree::renderTree(), shiftPos(), LLPipeline::stateSort(), LLPipeline::updateGeom(), updateLightSet(), LLPipeline::updateMove(), updateMove(), LLPipeline::updateMovedList(), and updateTexture().

BOOL LLDrawable::isLight (  )  const

Definition at line 175 of file lldrawable.cpp.

References FALSE, LLPrimitive::getPCode(), isDead(), LL_PCODE_VOLUME, and mVObjp.

Referenced by getVisibilityRadius(), LLPipeline::markRebuild(), moveUpdatePipeline(), LLViewerWindow::renderSelections(), LLOctreeGet::skip(), updateLighting(), and updateLightSet().

BOOL LLDrawable::isNew (  )  const [inline]

Definition at line 79 of file lldrawable.h.

References BUILT, and isState().

BOOL LLDrawable::isRenderType ( S32  type  )  [inline]

Definition at line 191 of file lldrawable.h.

References mRenderType.

BOOL LLDrawable::isRoot (  )  const [inline]

Definition at line 115 of file lldrawable.h.

References mParent.

Referenced by getPositionAgent(), getRenderMatrix(), getSpatialPartition(), isAnimating(), isVisible(), makeActive(), renderBoundingBox(), setVisible(), LLPipeline::updateGeom(), LLPipeline::updateMove(), and updateTexture().

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

Reimplemented in LLSpatialBridge.

Definition at line 117 of file lldrawable.h.

References FALSE.

Referenced by LLSpatialGroup::addObject(), LLPipeline::markMoved(), LLPipeline::markVisible(), LLSpatialGroup::removeObject(), and renderBoundingBox().

BOOL LLDrawable::isSpatialRoot (  )  const [inline]

Definition at line 116 of file lldrawable.h.

References mParent.

Referenced by LLVOVolume::updateRelativeXform().

BOOL LLDrawable::isState ( U32  bits  )  const [inline]

Definition at line 110 of file lldrawable.h.

References mState.

Referenced by addFace(), LLPipeline::calcNearbyLights(), LLSelectMgr::dump(), getLit(), isActive(), isDead(), isNew(), makeActive(), makeStatic(), LLPipeline::markMoved(), LLPipeline::markRebuild(), LLPipeline::markShift(), moveUpdatePipeline(), LLOctreeGet::skip(), LLPipeline::stateSort(), LLPipeline::updateGeom(), updateGeometry(), updateMove(), updateMoveDamped(), LLPipeline::updateMoveDampedAsync(), LLPipeline::updateMovedList(), LLPipeline::updateMoveNormalAsync(), and updateMoveUndamped().

BOOL LLDrawable::isStatic (  )  const [inline]

Definition at line 147 of file lldrawable.h.

References isActive().

Referenced by getSpatialPartition(), setVisible(), and shiftPos().

BOOL LLDrawable::isVisible (  )  const

Definition at line 1100 of file lldrawable.cpp.

References FALSE, getParent(), getSpatialGroup(), isActive(), isRoot(), LLSpatialGroup::isVisible(), mSpatialBridge, mVisible, LLPointer< Type >::notNull(), sCurVisible, and TRUE.

Referenced by LLSelectMgr::dump(), LLDrawable::CompareDistanceGreaterVisibleFirst::operator()(), and LLPipeline::stateSort().

void LLDrawable::makeActive (  )  [virtual]

Reimplemented in LLSpatialBridge.

Definition at line 392 of file lldrawable.cpp.

References ACTIVE, clearState(), getChild(), getChildCount(), getParent(), gPipeline, isRoot(), isState(), LIGHTING_BUILT, LL_PCODE_PATH_FLEXIBLE, LL_PCODE_VOLUME, LLViewerObject::LL_VO_CLOUDS, LLViewerObject::LL_VO_GROUND, LLViewerObject::LL_VO_PART_GROUP, LLViewerObject::LL_VO_SKY, LLViewerObject::LL_VO_STARS, LLViewerObject::LL_VO_SURFACE_PATCH, LLViewerObject::LL_VO_WATER, llendl, llerrs, makeActive(), LLPipeline::markRebuild(), mParent, mQuietCount, mVObjp, LLPointer< Type >::notNull(), REBUILD_VOLUME, LLPipeline::setActive(), setState(), TRUE, and updatePartition().

Referenced by makeActive(), moveUpdatePipeline(), LLViewerJointAttachment::setupDrawable(), and updateMove().

void LLDrawable::makeStatic (  )  [virtual]

Reimplemented in LLSpatialBridge.

Definition at line 459 of file lldrawable.cpp.

References ACTIVE, clearState(), FALSE, gPipeline, isState(), LL_PCODE_VOLUME, llendl, llwarns, LLPipeline::markRebuild(), LLPipeline::markRelight(), mParent, mSpatialBridge, mVObjp, LLPointer< Type >::notNull(), NULL, REBUILD_VOLUME, S32, LLPipeline::setActive(), setSpatialBridge(), TRUE, and updatePartition().

Referenced by LLPipeline::updateMove().

void LLDrawable::markDead (  ) 

Definition at line 140 of file lldrawable.cpp.

References cleanupReferences(), DEAD, isDead(), llendl, llwarns, mSpatialBridge, NULL, setState(), and sNumZombieDrawables.

Referenced by LLSpatialBridge::updateDistance().

LLDrawable::MEM_TYPE_NEW ( LLMemType::MTYPE_DRAWABLE   ) 

void LLDrawable::mergeFaces ( LLDrawable src  ) 

Definition at line 360 of file lldrawable.cpp.

References mFaces.

void LLDrawable::movePartition (  )  [virtual]

Definition at line 608 of file lldrawable.cpp.

References getSpatialGroup(), getSpatialPartition(), and LLSpatialPartition::move().

Referenced by LLVOPartGroup::updateGeometry(), LLVOClouds::updateGeometry(), and updatePartition().

void LLDrawable::moveUpdatePipeline ( BOOL  moved  )  [protected]

Definition at line 585 of file lldrawable.cpp.

References BUILT, f, getFace(), getNumFaces(), LLXform::getPositionW(), gPipeline, isLight(), isState(), LLVector3::magVecSquared(), makeActive(), LLPipeline::markRelight(), mSavePos, mXform, S32, and LLFace::updateCenterAgent().

Referenced by updateMoveDamped(), and updateMoveUndamped().

void LLDrawable::setLit ( BOOL  lit  )  [inline]

Definition at line 171 of file lldrawable.h.

References clearState(), setState(), and UNLIT.

void LLDrawable::setNumFaces ( const S32  numFaces,
LLFacePool poolp,
LLViewerImage texturep 
)

Definition at line 318 of file lldrawable.cpp.

References addFace(), mFaces, and S32.

Referenced by LLVOTextBubble::updateGeometry(), and LLVOPartGroup::updateGeometry().

void LLDrawable::setNumFacesFast ( const S32  numFaces,
LLFacePool poolp,
LLViewerImage texturep 
)

Definition at line 339 of file lldrawable.cpp.

References addFace(), mFaces, and S32.

Referenced by LLVOPartGroup::updateGeometry(), and LLVOClouds::updateGeometry().

void LLDrawable::setPosition ( LLVector3  v  )  const [inline]

Definition at line 95 of file lldrawable.h.

void LLDrawable::setPositionGroup ( const LLVector3 pos  )  [inline]

Definition at line 188 of file lldrawable.h.

References setPositionGroup().

void LLDrawable::setPositionGroup ( const LLVector3d pos  ) 

Definition at line 872 of file lldrawable.cpp.

References mPositionGroup, and LLVector3d::setVec().

Referenced by setPositionGroup().

void LLDrawable::setRadius ( const F32  radius  ) 

Definition at line 577 of file lldrawable.cpp.

References mRadius.

Referenced by LLPipeline::allocDrawable().

void LLDrawable::setRenderType ( S32  type  )  [inline]

Definition at line 190 of file lldrawable.h.

References mRenderType.

void LLDrawable::setSpatialBridge ( LLSpatialBridge bridge  )  [inline]

Definition at line 300 of file lldrawable.h.

References mSpatialBridge.

Referenced by LLSpatialBridge::cleanupReferences(), getSpatialPartition(), LLSpatialBridge::LLSpatialBridge(), and makeStatic().

void LLDrawable::setSpatialExtents ( LLVector3  min,
LLVector3  max 
)

Definition at line 865 of file lldrawable.cpp.

References mExtents, and size.

void LLDrawable::setSpatialGroup ( LLSpatialGroup groupp  ) 

Definition at line 1051 of file lldrawable.cpp.

References LLSpatialGroup::GEOM_DIRTY, mSpatialGroupp, and LLSpatialGroup::setState().

Referenced by LLSpatialGroup::addObject(), LLSpatialBridge::cleanupReferences(), LLSpatialPartition::remove(), and LLSpatialGroup::removeObject().

void LLDrawable::setState ( U32  bits  )  [inline]

Definition at line 111 of file lldrawable.h.

References mState.

Referenced by LLPipeline::allocDrawable(), makeActive(), markDead(), LLPipeline::markMoved(), LLPipeline::markRebuild(), LLPipeline::markShift(), LLManip::rebuild(), setLit(), LLViewerJointAttachment::setupDrawable(), LLPipeline::updateDrawableGeom(), LLVOVolume::updateGeometry(), updateLighting(), LLPipeline::updateMoveDampedAsync(), and LLPipeline::updateMoveNormalAsync().

void LLDrawable::setSunShadowFactor ( F32  factor  )  [inline]

Definition at line 162 of file lldrawable.h.

References mSunShadowFactor.

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

Reimplemented in LLSpatialBridge.

Definition at line 1258 of file lldrawable.cpp.

References getVOVolume(), isActive(), isRoot(), isStatic(), llendl, llerrs, mParent, mSpatialBridge, mVisible, LLPointer< Type >::notNull(), and sCurVisible.

Referenced by LLPipeline::markVisible(), LLSpatialBridge::setVisible(), and LLPipeline::stateSort().

void LLDrawable::shiftPos ( const LLVector3 shift_vector  )  [virtual]

Reimplemented in LLSpatialBridge, and LLHUDBridge.

Definition at line 801 of file lldrawable.cpp.

References getFace(), getNumFaces(), LLXform::getPositionW(), gPipeline, isDead(), isStatic(), llendl, llwarns, LLPipeline::markRebuild(), LLFace::mCenterAgent, mExtents, mParent, mPositionGroup, mSavePos, mSpatialBridge, mVObjp, mXform, NULL, REBUILD_GEOMETRY, S32, LLXform::setPosition(), LLXform::setRotation(), LLXform::setScale(), TRUE, and LLXformMatrix::updateMatrix().

void LLDrawable::update (  ) 

Definition at line 382 of file lldrawable.cpp.

References llendl, and llerrs.

void LLDrawable::updateBinRadius (  )  [virtual]

Reimplemented in LLSpatialBridge.

Definition at line 893 of file lldrawable.cpp.

References getRadius(), mBinRadius, mVObjp, and LLPointer< Type >::notNull().

Referenced by updateSpatialExtents().

void LLDrawable::updateDistance ( LLCamera camera  )  [virtual]

Reimplemented in LLSpatialBridge.

Definition at line 703 of file lldrawable.cpp.

References LLSpatialGroup::changeLOD(), LLCoordFrame::getAtAxis(), getFace(), getNumFaces(), LLCoordFrame::getOrigin(), getPositionGroup(), getSpatialGroup(), getVOVolume(), j, llround(), LLVector3::magVec(), mDistanceWRTCamera, LLVector3::mV, mVObjp, LLDrawPool::POOL_ALPHA, S32, LLVOVolume::updateRelativeXform(), and v.

Referenced by LLPipeline::stateSort(), and LLSpatialBridge::updateDistance().

void LLDrawable::updateFaceSize ( S32  idx  ) 

Definition at line 1514 of file lldrawable.cpp.

References mVObjp, and LLPointer< Type >::notNull().

BOOL LLDrawable::updateGeometry ( BOOL  priority  ) 

Definition at line 782 of file lldrawable.cpp.

References clearState(), FALSE, gPipeline, isState(), llassert, LLPipeline::markRelight(), mVObjp, LLPointer< Type >::notNull(), REBUILD_LIGHTING, TRUE, and updateLighting().

Referenced by LLPipeline::updateDrawableGeom().

BOOL LLDrawable::updateLighting ( BOOL  priority  ) 

Definition at line 965 of file lldrawable.cpp.

References FALSE, LLFastTimer::FTM_GEO_LIGHT, LLFastTimer::FTM_UPDATE_LIGHTS, LLPipeline::getLightingDetail(), getLit(), gPipeline, isLight(), LIGHTING_BUILT, mVObjp, setState(), t, TRUE, and updateLightSet().

Referenced by updateGeometry().

void LLDrawable::updateLightSet (  ) 

Definition at line 905 of file lldrawable.cpp.

References count, LLSpatialPartition::getLights(), LLSpatialPartition::getObjects(), getPositionAgent(), getRadius(), LLPipeline::getSpatialPartition(), getVOVolume(), gPipeline, isDead(), isLight(), light, llendl, llwarns, LLVector3::magVecSquared(), LLPipeline::markRelight(), mLightSet, LLPipeline::PARTITION_VOLUME, and S32.

Referenced by updateLighting().

void LLDrawable::updateMaterial (  ) 

Definition at line 388 of file lldrawable.cpp.

BOOL LLDrawable::updateMove (  )  [virtual]

Reimplemented in LLSpatialBridge.

Definition at line 617 of file lldrawable.cpp.

References FALSE, isDead(), LLPointer< Type >::isNull(), isState(), llendl, llwarns, makeActive(), MOVE_UNDAMPED, mVObjp, TRUE, updateMoveDamped(), and updateMoveUndamped().

Referenced by LLManip::rebuild(), LLPipeline::updateMoveDampedAsync(), LLPipeline::updateMovedList(), and LLPipeline::updateMoveNormalAsync().

BOOL LLDrawable::updateMoveDamped (  )  [protected]

Definition at line 680 of file lldrawable.cpp.

References FALSE, INVISIBLE, isState(), mGeneration, LLXform::MOVED, moveUpdatePipeline(), mVObjp, TRUE, and updateXform().

Referenced by updateMove().

BOOL LLDrawable::updateMoveUndamped (  )  [protected]

Definition at line 645 of file lldrawable.cpp.

References INVISIBLE, isState(), mGeneration, LLXform::MOVED, moveUpdatePipeline(), mVObjp, TRUE, and updateXform().

Referenced by updateMove().

void LLDrawable::updatePartition (  )  [protected]

Definition at line 663 of file lldrawable.cpp.

References FALSE, getVOVolume(), gPipeline, LLPipeline::markMoved(), LLPipeline::markRebuild(), movePartition(), mSpatialBridge, REBUILD_POSITION, and TRUE.

Referenced by makeActive(), and makeStatic().

void LLDrawable::updateSpatialExtents (  )  [virtual]

Reimplemented in LLSpatialBridge.

Definition at line 877 of file lldrawable.cpp.

References mExtents, mPositionGroup, mSpatialBridge, mVObjp, LLPointer< Type >::notNull(), LLVector3d::setVec(), and updateBinRadius().

Referenced by LLSpatialPartition::put(), and LLSpatialGroup::updateInGroup().

void LLDrawable::updateSpecialHoverCursor ( BOOL  enabled  ) 

Definition at line 958 of file lldrawable.cpp.

void LLDrawable::updateTexture (  ) 

Definition at line 745 of file lldrawable.cpp.

References getNumFaces(), getParent(), getVOVolume(), gPipeline, isActive(), isDead(), isRoot(), llendl, llwarns, LLPipeline::markMoved(), LLPipeline::markRebuild(), mQuietCount, LLMemType::MTYPE_DRAWABLE, mVObjp, REBUILD_MATERIAL, and TRUE.

void LLDrawable::updateUVMinMax (  ) 

Definition at line 1047 of file lldrawable.cpp.

F32 LLDrawable::updateXform ( BOOL  undamped  ) 

Definition at line 501 of file lldrawable.cpp.

References dist_vec_squared(), dot(), f, LLCriticalDamp::getInterpolant(), LLXform::getPosition(), LLXform::getRotation(), gPipeline, LLXform::isRoot(), lerp(), llclamp(), LLPipeline::markRebuild(), MAX_INTERPOLATE_DISTANCE_SQUARED, mCurrentScale, mDistanceWRTCamera, MIN_INTERPOLATE_DISTANCE_SQUARED, mVObjp, mXform, nlerp(), OBJECT_DAMPING_TIME_CONSTANT, REBUILD_POSITION, LLXform::setPosition(), LLXform::setRotation(), LLXform::setScale(), TRUE, and LLXformMatrix::updateMatrix().

Referenced by LLPipeline::allocDrawable(), updateMoveDamped(), and updateMoveUndamped().


Friends And Related Function Documentation

friend class LLDrawPool [friend]

Definition at line 214 of file lldrawable.h.

friend class LLPipeline [friend]

Definition at line 213 of file lldrawable.h.

friend class LLSpatialBridge [friend]

Definition at line 215 of file lldrawable.h.


Member Data Documentation

F64 LLDrawable::mBinRadius [protected]

Definition at line 319 of file lldrawable.h.

Referenced by getBinRadius(), init(), LLSpatialBridge::updateBinRadius(), and updateBinRadius().

drawable_set_t LLDrawable::mBlockSet

Definition at line 293 of file lldrawable.h.

Referenced by cleanupReferences(), and findReferences().

LLVector3 LLDrawable::mCurrentScale [protected]

Definition at line 324 of file lldrawable.h.

Referenced by getScale(), init(), and updateXform().

F32 LLDrawable::mDistanceWRTCamera

Definition at line 287 of file lldrawable.h.

Referenced by init(), LLDrawable::CompareDistanceGreaterVisibleFirst::operator()(), LLDrawable::CompareDistanceGreater::operator()(), updateDistance(), and updateXform().

LLVector3 LLDrawable::mExtents[2] [protected]

Definition at line 317 of file lldrawable.h.

Referenced by getSpatialExtents(), setSpatialExtents(), LLSpatialBridge::setVisible(), LLSpatialBridge::shiftPos(), shiftPos(), LLSpatialBridge::updateSpatialExtents(), and updateSpatialExtents().

face_list_t LLDrawable::mFaces [protected]

Definition at line 311 of file lldrawable.h.

Referenced by addFace(), cleanupReferences(), deleteFaces(), destroy(), getFace(), getNumFaces(), mergeFaces(), setNumFaces(), setNumFacesFast(), and LLPipeline::stateSort().

S32 LLDrawable::mGeneration [protected]

Definition at line 320 of file lldrawable.h.

Referenced by getGeneration(), init(), updateMoveDamped(), and updateMoveUndamped().

drawable_set_t LLDrawable::mLightSet

Definition at line 292 of file lldrawable.h.

Referenced by applyLightsAsPoint(), clearLightSet(), findReferences(), and updateLightSet().

LLPointer<LLDrawable> LLDrawable::mParent

Definition at line 285 of file lldrawable.h.

Referenced by cleanupReferences(), findReferences(), getParent(), init(), isRoot(), isSpatialRoot(), makeActive(), makeStatic(), setVisible(), and shiftPos().

LLVector3d LLDrawable::mPositionGroup [protected]

Definition at line 318 of file lldrawable.h.

Referenced by getPositionGroup(), setPositionGroup(), LLSpatialBridge::shiftPos(), shiftPos(), and updateSpatialExtents().

S32 LLDrawable::mQuietCount

Definition at line 296 of file lldrawable.h.

Referenced by init(), makeActive(), LLPipeline::updateMove(), and updateTexture().

F32 LLDrawable::mRadius [protected]

Definition at line 316 of file lldrawable.h.

Referenced by getRadius(), init(), and setRadius().

S32 LLDrawable::mRenderType [protected]

Definition at line 309 of file lldrawable.h.

Referenced by getRenderType(), init(), isRenderType(), LLSpatialBridge::LLSpatialBridge(), setRenderType(), and LLPipeline::stateSort().

LLVector3 LLDrawable::mSavePos

Definition at line 295 of file lldrawable.h.

Referenced by moveUpdatePipeline(), and shiftPos().

LLPointer<LLDrawable> LLDrawable::mSpatialBridge [protected]

Definition at line 313 of file lldrawable.h.

Referenced by getSpatialBridge(), getSpatialPartition(), init(), isVisible(), makeStatic(), markDead(), setSpatialBridge(), setVisible(), shiftPos(), updatePartition(), and updateSpatialExtents().

LLSpatialGroup* LLDrawable::mSpatialGroupp [protected]

Definition at line 312 of file lldrawable.h.

Referenced by getSpatialGroup(), init(), and setSpatialGroup().

U32 LLDrawable::mState [protected]

Definition at line 308 of file lldrawable.h.

Referenced by clearState(), getState(), init(), isState(), and setState().

F32 LLDrawable::mSunShadowFactor [protected]

Definition at line 322 of file lldrawable.h.

Referenced by getSunShadowFactor(), init(), and setSunShadowFactor().

LLRectf LLDrawable::mUVRect

Definition at line 289 of file lldrawable.h.

F32 LLDrawable::mUVZ

Definition at line 290 of file lldrawable.h.

Referenced by init().

U32 LLDrawable::mVisible [mutable, protected]

Definition at line 315 of file lldrawable.h.

Referenced by init(), isVisible(), and setVisible().

LLPointer<LLViewerObject> LLDrawable::mVObjp [protected]

Definition at line 310 of file lldrawable.h.

Referenced by addFace(), LLPipeline::allocDrawable(), cleanupReferences(), getChild(), getChildCount(), getLOD(), getPositionAgent(), getRegion(), getSpatialPartition(), getTextureEntry(), getVObj(), getVOVolume(), init(), isAnimating(), isAvatar(), isLight(), makeActive(), makeStatic(), shiftPos(), updateBinRadius(), updateDistance(), updateFaceSize(), updateGeometry(), updateLighting(), updateMove(), updateMoveDamped(), updateMoveUndamped(), updateSpatialExtents(), updateTexture(), and updateXform().

LLXformMatrix LLDrawable::mXform

Definition at line 282 of file lldrawable.h.

Referenced by getBounds(), getIntensity(), getMinMax(), getPosition(), getRotation(), getWorldMatrix(), getWorldPosition(), getWorldRotation(), getXform(), moveUpdatePipeline(), LLFace::setDrawable(), LLViewerObject::setDrawableParent(), LLViewerJointAttachment::setupDrawable(), shiftPos(), and updateXform().

F32 LLDrawable::sCurPixelAngle = 0 [static]

Definition at line 303 of file lldrawable.h.

Referenced by LLPipeline::calcPixelArea(), and incrementVisible().

U32 LLDrawable::sCurVisible = 0 [static, protected]

Definition at line 326 of file lldrawable.h.

Referenced by getCurrentFrame(), incrementVisible(), isVisible(), and setVisible().

LLDynamicArrayPtr< LLPointer< LLDrawable > > LLDrawable::sDeadList [static, protected]

Definition at line 329 of file lldrawable.h.

Referenced by cleanupDeadDrawables().

U32 LLDrawable::sNumZombieDrawables = 0 [static, protected]

Definition at line 328 of file lldrawable.h.

Referenced by destroy(), and markDead().


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