#include <lldrawable.h>
Inheritance diagram for LLDrawable:
Definition at line 69 of file lldrawable.h.
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.
Definition at line 247 of file lldrawable.h.
LLDrawable::LLDrawable | ( | ) | [inline] |
LLDrawable::~LLDrawable | ( | ) | [inline, protected] |
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().
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] |
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().
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::destroy | ( | ) |
Definition at line 123 of file lldrawable.cpp.
References isDead(), mFaces, and sNumZombieDrawables.
Referenced by ~LLDrawable().
S32 LLDrawable::findReferences | ( | LLDrawable * | drawablep | ) |
F64 LLDrawable::getBinRadius | ( | ) | const [inline] |
Definition at line 105 of file lldrawable.h.
References mBinRadius.
Referenced by LLSpatialGroup::updateInGroup().
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().
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] |
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] |
S32 LLDrawable::getNumFaces | ( | ) | const [inline] |
Definition at line 341 of file lldrawable.h.
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::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] |
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] |
const LLVector3& LLDrawable::getScale | ( | ) | const [inline] |
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] |
F32 LLDrawable::getSunShadowFactor | ( | ) | const [inline] |
const LLTextureEntry* LLDrawable::getTextureEntry | ( | U8 | which | ) | const [inline] |
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] |
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] |
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 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] |
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().
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 | ) |
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().
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::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().
Definition at line 95 of file lldrawable.h.
void LLDrawable::setPositionGroup | ( | const LLVector3d & | pos | ) |
Definition at line 872 of file lldrawable.cpp.
References mPositionGroup, and LLVector3d::setVec().
Referenced by setPositionGroup().
Definition at line 577 of file lldrawable.cpp.
References mRadius.
Referenced by LLPipeline::allocDrawable().
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::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().
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::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().
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 | ( | ) |
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().
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().
Definition at line 1514 of file lldrawable.cpp.
References mVObjp, and LLPointer< Type >::notNull().
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().
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().
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.
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().
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.
F64 LLDrawable::mBinRadius [protected] |
Definition at line 319 of file lldrawable.h.
Referenced by getBinRadius(), init(), LLSpatialBridge::updateBinRadius(), and updateBinRadius().
Definition at line 293 of file lldrawable.h.
Referenced by cleanupReferences(), and findReferences().
LLVector3 LLDrawable::mCurrentScale [protected] |
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().
Definition at line 292 of file lldrawable.h.
Referenced by applyLightsAsPoint(), clearLightSet(), findReferences(), and updateLightSet().
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().
Definition at line 296 of file lldrawable.h.
Referenced by init(), makeActive(), LLPipeline::updateMove(), and updateTexture().
F32 LLDrawable::mRadius [protected] |
S32 LLDrawable::mRenderType [protected] |
Definition at line 309 of file lldrawable.h.
Referenced by getRenderType(), init(), isRenderType(), LLSpatialBridge::LLSpatialBridge(), setRenderType(), and LLPipeline::stateSort().
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().
Definition at line 289 of file lldrawable.h.
U32 LLDrawable::mVisible [mutable, protected] |
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().
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] |
U32 LLDrawable::sNumZombieDrawables = 0 [static, protected] |