LLVOVolume Class Reference

#include <llvovolume.h>

Inheritance diagram for LLVOVolume:

Inheritance graph
[legend]
Collaboration diagram for LLVOVolume:

Collaboration graph
[legend]

List of all members.

Public Types

enum  { VERTEX_DATA_MASK }

Public Member Functions

 LLVOVolume (const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp)
LLDrawablecreateDrawable (LLPipeline *pipeline)
void deleteFaces ()
void animateTextures ()
BOOL idleUpdate (LLAgent &agent, LLWorld &world, const F64 &time)
BOOL isActive () const
BOOL isAttachment () const
BOOL isRootEdit () const
BOOL isHUDAttachment () const
void generateSilhouette (LLSelectNode *nodep, const LLVector3 &view_point)
void setParent (LLViewerObject *parent)
S32 getLOD () const
const LLVector3 getPivotPositionAgent () const
const LLMatrix4getRelativeXform () const
const LLMatrix3getRelativeXformInvTrans () const
const LLMatrix4 getRenderMatrix () const
BOOL lineSegmentIntersect (const LLVector3 &start, LLVector3 &end) const
LLVector3 agentPositionToVolume (const LLVector3 &pos) const
LLVector3 agentDirectionToVolume (const LLVector3 &dir) const
LLVector3 volumePositionToAgent (const LLVector3 &dir) const
BOOL getVolumeChanged () const
F32 getTextureVirtualSize (LLFace *face)
F32 getRadius () const
const LLMatrix4getWorldMatrix (LLXformMatrix *xform) const
void markForUpdate (BOOL priority)
void onShift (const LLVector3 &shift_vector)
void parameterChanged (U16 param_type, bool local_origin)
void parameterChanged (U16 param_type, LLNetworkData *data, BOOL in_use, bool local_origin)
U32 processUpdateMessage (LLMessageSystem *mesgsys, void **user_data, U32 block_num, const EObjectUpdateType update_type, LLDataPacker *dp)
void setSelected (BOOL sel)
BOOL setDrawableParent (LLDrawable *parentp)
void setScale (const LLVector3 &scale, BOOL damped)
void setTEImage (const U8 te, LLViewerImage *imagep)
S32 setTETexture (const U8 te, const LLUUID &uuid)
S32 setTEColor (const U8 te, const LLColor3 &color)
S32 setTEColor (const U8 te, const LLColor4 &color)
S32 setTEBumpmap (const U8 te, const U8 bump)
S32 setTEShiny (const U8 te, const U8 shiny)
S32 setTEFullbright (const U8 te, const U8 fullbright)
S32 setTEMediaFlags (const U8 te, const U8 media_flags)
S32 setTEGlow (const U8 te, const F32 glow)
S32 setTEScale (const U8 te, const F32 s, const F32 t)
S32 setTEScaleS (const U8 te, const F32 s)
S32 setTEScaleT (const U8 te, const F32 t)
S32 setTETexGen (const U8 te, const U8 texgen)
BOOL setMaterial (const U8 material)
void setTexture (const S32 face)
BOOL setVolume (const LLVolumeParams &volume_params, const S32 detail, bool unique_volume=false)
void sculpt ()
void updateRelativeXform ()
BOOL updateGeometry (LLDrawable *drawable)
void updateFaceSize (S32 idx)
BOOL updateLOD ()
void updateRadius ()
void updateTextures (LLAgent &agent)
void updateTextures ()
void updateFaceFlags ()
void regenFaces ()
BOOL genBBoxes (BOOL force_global)
void preRebuild ()
virtual void updateSpatialExtents (LLVector3 &min, LLVector3 &max)
virtual F32 getBinRadius ()
virtual U32 getPartitionType () const
void setIsLight (BOOL is_light)
void setLightColor (const LLColor3 &color)
void setLightIntensity (F32 intensity)
void setLightRadius (F32 radius)
void setLightFalloff (F32 falloff)
void setLightCutoff (F32 cutoff)
BOOL getIsLight () const
LLColor3 getLightBaseColor () const
LLColor3 getLightColor () const
F32 getLightIntensity () const
F32 getLightRadius () const
F32 getLightFalloff () const
F32 getLightCutoff () const
U32 getVolumeInterfaceID () const
virtual BOOL isFlexible () const
virtual BOOL isSculpted () const
BOOL isVolumeGlobal () const
BOOL canBeFlexible () const
BOOL setIsFlexible (BOOL is_flexible)

Static Public Member Functions

static void initClass ()
static void preUpdateGeom ()

Public Attributes

LLViewerTextureAnimmTextureAnimp
U8 mTexAnimMode

Static Public Attributes

static F32 sLODSlopDistanceFactor = 0.5f
static F32 sLODFactor = 1.f
static F32 sDistanceFactor = 1.0f

Protected Member Functions

virtual ~LLVOVolume ()
S32 computeLODDetail (F32 distance, F32 radius)
BOOL calcLOD ()
LLFaceaddFace (S32 face_index)
void updateTEData ()

Static Protected Attributes

static S32 sNumLODChanges = 0

Private Attributes

BOOL mFaceMappingChanged
LLFrameTimer mTextureUpdateTimer
S32 mLOD
BOOL mLODChanged
BOOL mSculptChanged
LLMatrix4 mRelativeXform
LLMatrix3 mRelativeXformInvTrans
BOOL mVolumeChanged
F32 mVObjRadius
LLVolumeInterfacemVolumeImpl
LLPointer< LLViewerImagemSculptTexture

Friends

class LLDrawable
class LLVolumeImplFlexible


Detailed Description

Definition at line 73 of file llvovolume.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
VERTEX_DATA_MASK 

Definition at line 82 of file llvovolume.h.


Constructor & Destructor Documentation

LLVOVolume::~LLVOVolume (  )  [protected, virtual]

Definition at line 97 of file llvovolume.cpp.

References mTextureAnimp, mVolumeImpl, and NULL.

LLVOVolume::LLVOVolume ( const LLUUID id,
const LLPCode  pcode,
LLViewerRegion regionp 
)


Member Function Documentation

void LLVOVolume::initClass ( void   )  [static]

Definition at line 107 of file llvovolume.cpp.

Referenced by LLViewerObject::initVOClasses().

Here is the caller graph for this function:

void LLVOVolume::preUpdateGeom (  )  [static]

Definition at line 1758 of file llvovolume.cpp.

References sNumLODChanges.

Referenced by LLPipeline::updateGeom().

Here is the caller graph for this function:

LLDrawable * LLVOVolume::createDrawable ( LLPipeline pipeline  )  [virtual]

void LLVOVolume::deleteFaces (  ) 

Definition at line 1703 of file llvovolume.cpp.

References LLViewerObject::mDrawable, LLViewerObject::mNumFaces, LLPointer< Type >::notNull(), and S32.

Referenced by regenFaces().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::animateTextures (  ) 

BOOL LLVOVolume::idleUpdate ( LLAgent agent,
LLWorld world,
const F64 time 
) [virtual]

BOOL LLVOVolume::isActive ( void   )  const [virtual]

Reimplemented from LLViewerObject.

Definition at line 584 of file llvovolume.cpp.

References LLVolumeInterface::isActive(), LLViewerObject::mStatic, mTextureAnimp, and mVolumeImpl.

Here is the call graph for this function:

BOOL LLVOVolume::isAttachment (  )  const [virtual]

Reimplemented from LLViewerObject.

Definition at line 1726 of file llvovolume.cpp.

References FALSE, LLViewerObject::mState, and TRUE.

Referenced by createDrawable().

Here is the caller graph for this function:

BOOL LLVOVolume::isRootEdit (  )  const [virtual]

Reimplemented from LLXform.

Definition at line 1233 of file llvovolume.cpp.

References FALSE, LLPrimitive::isAvatar(), LLXform::mParent, and TRUE.

Here is the call graph for this function:

BOOL LLVOVolume::isHUDAttachment (  )  const [virtual]

Reimplemented from LLViewerObject.

Definition at line 1738 of file llvovolume.cpp.

References ATTACHMENT_ID_FROM_STATE, LLViewerObject::mState, and S32.

Referenced by LLPipeline::calcNearbyLights(), getBinRadius(), getPartitionType(), LLVolumeGeometryManager::rebuildGeom(), updateFaceFlags(), and updateTextures().

Here is the caller graph for this function:

void LLVOVolume::generateSilhouette ( LLSelectNode nodep,
const LLVector3 view_point 
)

void LLVOVolume::setParent ( LLViewerObject parent  )  [virtual]

S32 LLVOVolume::getLOD (  )  const [inline, virtual]

Reimplemented from LLViewerObject.

Definition at line 108 of file llvovolume.h.

References mLOD.

const LLVector3 LLVOVolume::getPivotPositionAgent (  )  const [virtual]

Reimplemented from LLViewerObject.

Definition at line 1855 of file llvovolume.cpp.

References LLVolumeInterface::getPivotPosition(), LLViewerObject::getPivotPositionAgent(), and mVolumeImpl.

Here is the call graph for this function:

const LLMatrix4& LLVOVolume::getRelativeXform (  )  const [inline]

Definition at line 110 of file llvovolume.h.

References mRelativeXform.

Referenced by LLViewerCamera::areVertsVisible(), LLVolumeGeometryManager::rebuildGeom(), and LLDrawable::updateDistance().

Here is the caller graph for this function:

const LLMatrix3& LLVOVolume::getRelativeXformInvTrans (  )  const [inline]

Definition at line 111 of file llvovolume.h.

References mRelativeXformInvTrans.

Referenced by LLVolumeGeometryManager::rebuildGeom().

Here is the caller graph for this function:

const LLMatrix4 LLVOVolume::getRenderMatrix (  )  const [virtual]

Reimplemented from LLViewerObject.

Definition at line 1748 of file llvovolume.cpp.

References LLViewerObject::mDrawable.

BOOL LLVOVolume::lineSegmentIntersect ( const LLVector3 start,
LLVector3 end 
) const [virtual]

Reimplemented from LLViewerObject.

Definition at line 1909 of file llvovolume.cpp.

References agentPositionToVolume(), FALSE, LLPrimitive::getVolume(), LLVolume::lineSegmentIntersect(), LLLineSegmentAABB(), TRUE, and volumePositionToAgent().

Here is the call graph for this function:

LLVector3 LLVOVolume::agentPositionToVolume ( const LLVector3 pos  )  const

Definition at line 1883 of file llvovolume.cpp.

References LLViewerObject::getRenderPosition(), LLViewerObject::getRenderRotation(), LLXform::getScale(), isVolumeGlobal(), LLVector3::mV, LLVector3::scaleVec(), VX, VY, and VZ.

Referenced by lineSegmentIntersect().

Here is the call graph for this function:

Here is the caller graph for this function:

LLVector3 LLVOVolume::agentDirectionToVolume ( const LLVector3 dir  )  const

Definition at line 1894 of file llvovolume.cpp.

References LLViewerObject::getRenderRotation().

Here is the call graph for this function:

LLVector3 LLVOVolume::volumePositionToAgent ( const LLVector3 dir  )  const

Definition at line 1899 of file llvovolume.cpp.

References LLViewerObject::getRenderPosition(), LLViewerObject::getRenderRotation(), LLXform::getScale(), and LLVector3::scaleVec().

Referenced by lineSegmentIntersect().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLVOVolume::getVolumeChanged (  )  const [inline]

Definition at line 120 of file llvovolume.h.

References mVolumeChanged.

F32 LLVOVolume::getTextureVirtualSize ( LLFace face  ) 

Definition at line 554 of file llvovolume.cpp.

References LLPipeline::calcPixelArea(), LLSingleton< LLViewerCamera >::getInstance(), LLFace::getPositionAgent(), llclamp(), LLFace::mExtents, LLFace::mTexExtents, and LLFace::setPixelArea().

Referenced by updateTextures().

Here is the call graph for this function:

Here is the caller graph for this function:

F32 LLVOVolume::getRadius (  )  const [inline]

Definition at line 122 of file llvovolume.h.

References mVObjRadius.

const LLMatrix4 & LLVOVolume::getWorldMatrix ( LLXformMatrix xform  )  const [virtual]

Reimplemented from LLViewerObject.

Definition at line 1874 of file llvovolume.cpp.

References LLXformMatrix::getWorldMatrix(), LLVolumeInterface::getWorldMatrix(), and mVolumeImpl.

Here is the call graph for this function:

void LLVOVolume::markForUpdate ( BOOL  priority  )  [inline]

Reimplemented from LLViewerObject.

Definition at line 125 of file llvovolume.h.

References LLViewerObject::markForUpdate(), mVolumeChanged, and TRUE.

Referenced by processUpdateMessage(), setIsFlexible(), and setSelected().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::onShift ( const LLVector3 shift_vector  )  [virtual]

Reimplemented from LLViewerObject.

Definition at line 1864 of file llvovolume.cpp.

References mVolumeImpl, LLVolumeInterface::onShift(), and updateRelativeXform().

Here is the call graph for this function:

void LLVOVolume::parameterChanged ( U16  param_type,
bool  local_origin 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1763 of file llvovolume.cpp.

References LLViewerObject::parameterChanged().

Referenced by setLightColor(), setLightCutoff(), setLightFalloff(), setLightIntensity(), and setLightRadius().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::parameterChanged ( U16  param_type,
LLNetworkData data,
BOOL  in_use,
bool  local_origin 
) [virtual]

U32 LLVOVolume::processUpdateMessage ( LLMessageSystem mesgsys,
void **  user_data,
U32  block_num,
const EObjectUpdateType  update_type,
LLDataPacker dp 
) [virtual]

void LLVOVolume::setSelected ( BOOL  sel  )  [virtual]

Reimplemented from LLViewerObject.

Definition at line 1785 of file llvovolume.cpp.

References markForUpdate(), LLViewerObject::mDrawable, LLPointer< Type >::notNull(), LLViewerObject::setSelected(), and TRUE.

Here is the call graph for this function:

BOOL LLVOVolume::setDrawableParent ( LLDrawable parentp  )  [virtual]

void LLVOVolume::setScale ( const LLVector3 scale,
BOOL  damped 
) [virtual]

void LLVOVolume::setTEImage ( const U8  te,
LLViewerImage imagep 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1242 of file llvovolume.cpp.

References gPipeline, LLPipeline::markTextured(), LLViewerObject::mDrawable, mFaceMappingChanged, LLViewerObject::mTEImages, LLViewerObject::setTEImage(), and TRUE.

Here is the call graph for this function:

S32 LLVOVolume::setTETexture ( const U8  te,
const LLUUID uuid 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1253 of file llvovolume.cpp.

References gPipeline, LLPipeline::markTextured(), LLViewerObject::mDrawable, mFaceMappingChanged, S32, LLViewerObject::setTETexture(), and TRUE.

Here is the call graph for this function:

S32 LLVOVolume::setTEColor ( const U8  te,
const LLColor3 color 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1264 of file llvovolume.cpp.

S32 LLVOVolume::setTEColor ( const U8  te,
const LLColor4 color 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1269 of file llvovolume.cpp.

References gPipeline, LLPipeline::markTextured(), LLViewerObject::mDrawable, mFaceMappingChanged, S32, LLViewerObject::setTEColor(), and TRUE.

Here is the call graph for this function:

S32 LLVOVolume::setTEBumpmap ( const U8  te,
const U8  bump 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1280 of file llvovolume.cpp.

References gPipeline, LLPipeline::markTextured(), LLViewerObject::mDrawable, mFaceMappingChanged, S32, LLViewerObject::setTEBumpmap(), and TRUE.

Here is the call graph for this function:

S32 LLVOVolume::setTEShiny ( const U8  te,
const U8  shiny 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1302 of file llvovolume.cpp.

References gPipeline, LLPipeline::markTextured(), LLViewerObject::mDrawable, mFaceMappingChanged, S32, LLViewerObject::setTEShiny(), and TRUE.

Here is the call graph for this function:

S32 LLVOVolume::setTEFullbright ( const U8  te,
const U8  fullbright 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1313 of file llvovolume.cpp.

References gPipeline, LLPipeline::markTextured(), LLViewerObject::mDrawable, mFaceMappingChanged, S32, LLViewerObject::setTEFullbright(), and TRUE.

Here is the call graph for this function:

S32 LLVOVolume::setTEMediaFlags ( const U8  te,
const U8  media_flags 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1324 of file llvovolume.cpp.

References gPipeline, LLPipeline::markTextured(), LLViewerObject::mDrawable, mFaceMappingChanged, S32, LLViewerObject::setTEMediaFlags(), and TRUE.

Here is the call graph for this function:

S32 LLVOVolume::setTEGlow ( const U8  te,
const F32  glow 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1335 of file llvovolume.cpp.

References gPipeline, LLPipeline::markTextured(), LLViewerObject::mDrawable, mFaceMappingChanged, S32, LLViewerObject::setTEGlow(), and TRUE.

Here is the call graph for this function:

S32 LLVOVolume::setTEScale ( const U8  te,
const F32  s,
const F32  t 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1346 of file llvovolume.cpp.

References gPipeline, LLPipeline::markTextured(), LLViewerObject::mDrawable, mFaceMappingChanged, S32, LLViewerObject::setTEScale(), and TRUE.

Referenced by animateTextures().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLVOVolume::setTEScaleS ( const U8  te,
const F32  s 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1357 of file llvovolume.cpp.

References gPipeline, LLPipeline::markTextured(), LLViewerObject::mDrawable, mFaceMappingChanged, S32, LLViewerObject::setTEScaleS(), and TRUE.

Here is the call graph for this function:

S32 LLVOVolume::setTEScaleT ( const U8  te,
const F32  t 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1368 of file llvovolume.cpp.

References gPipeline, LLPipeline::markTextured(), LLViewerObject::mDrawable, mFaceMappingChanged, S32, LLViewerObject::setTEScaleT(), and TRUE.

Here is the call graph for this function:

S32 LLVOVolume::setTETexGen ( const U8  te,
const U8  texgen 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1291 of file llvovolume.cpp.

References gPipeline, LLPipeline::markTextured(), LLViewerObject::mDrawable, mFaceMappingChanged, S32, LLViewerObject::setTETexGen(), and TRUE.

Here is the call graph for this function:

BOOL LLVOVolume::setMaterial ( const U8  material  )  [virtual]

Reimplemented from LLViewerObject.

Definition at line 589 of file llvovolume.cpp.

References LLViewerObject::setMaterial().

Here is the call graph for this function:

void LLVOVolume::setTexture ( const S32  face  ) 

Definition at line 596 of file llvovolume.cpp.

References LLViewerImage::bindTexture(), LLPrimitive::getNumTEs(), LLViewerObject::getTEImage(), and llassert.

Here is the call graph for this function:

BOOL LLVOVolume::setVolume ( const LLVolumeParams volume_params,
const S32  detail,
bool  unique_volume = false 
) [virtual]

void LLVOVolume::sculpt (  ) 

Definition at line 717 of file llvovolume.cpp.

References FALSE, LLVolume::getSculptLevel(), LLPrimitive::getVolume(), llendl, llerrs, llwarns, mSculptTexture, LLPointer< Type >::notNull(), NULL, S32, and LLVolume::sculpt().

Referenced by setVolume().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::updateRelativeXform (  ) 

BOOL LLVOVolume::updateGeometry ( LLDrawable drawable  )  [virtual]

void LLVOVolume::updateFaceSize ( S32  idx  )  [virtual]

Reimplemented from LLViewerObject.

Definition at line 1219 of file llvovolume.cpp.

References LLPrimitive::getVolume(), LLVolume::getVolumeFace(), LLViewerObject::mDrawable, LLVolumeFace::mIndices, LLVolumeFace::mVertices, and LLFace::setSize().

Here is the call graph for this function:

BOOL LLVOVolume::updateLOD (  )  [virtual]

void LLVOVolume::updateRadius (  )  [virtual]

Reimplemented from LLViewerObject.

Definition at line 1714 of file llvovolume.cpp.

References LLXform::getScale(), LLPointer< Type >::isNull(), LLVector3::magVec(), LLViewerObject::mDrawable, and mVObjRadius.

Referenced by createDrawable(), genBBoxes(), and setScale().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::updateTextures ( LLAgent agent  )  [virtual]

Reimplemented from LLViewerObject.

Definition at line 407 of file llvovolume.cpp.

References LLFrameTimer::getElapsedTimeF32(), LLViewerObject::mDrawable, mTextureUpdateTimer, and updateTextures().

Referenced by LLVolumeGeometryManager::rebuildGeom().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::updateTextures (  ) 

Definition at line 419 of file llvovolume.cpp.

References LLViewerImage::addTextureStats(), LLViewerImage::BOOST_HUD, LLViewerImage::BOOST_SCULPTED, FALSE, fsqrtf, LLViewerImage::getDecodePriority(), LLViewerImageList::getImage(), LLSingleton< LLViewerCamera >::getInstance(), LLViewerObject::getParameterEntry(), LLFace::getPixelArea(), LLFace::getPoolType(), LLViewerCamera::getScreenPixelArea(), LLVolume::getSculptLevel(), LLSculptParams::getSculptTexture(), LLFace::getTexture(), LLFace::getTextureEntry(), getTextureVirtualSize(), LLFace::getVirtualSize(), LLPrimitive::getVolume(), gImageList, gPipeline, LLPipeline::hasRenderDebugMask(), LLPipeline::hasRenderType(), i, isHUDAttachment(), LLPointer< Type >::isNull(), isSculpted(), llformat(), llmax(), LLPipeline::markRebuild(), LLViewerObject::mDrawable, LLFace::mExtents, MIN_ALPHA_SIZE, MIN_TEX_ANIM_SIZE, LLViewerObject::mPixelArea, mSculptChanged, mSculptTexture, LLFace::mTextureMatrix, mTextureUpdateTimer, LLPointer< Type >::notNull(), NULL, LLNetworkData::PARAMS_SCULPT, LLDrawPool::POOL_ALPHA, LLDrawable::REBUILD_COLOR, LLDrawable::REBUILD_TCOORD, LLDrawable::REBUILD_VOLUME, LLPipeline::RENDER_DEBUG_FACE_AREA, LLPipeline::RENDER_DEBUG_TEXTURE_AREA, LLPipeline::RENDER_DEBUG_TEXTURE_PRIORITY, LLPipeline::RENDER_TYPE_SIMPLE, LLFrameTimer::reset(), S32, SCULPT_REZ, LLViewerImage::sDontLoadVolumeTextures, LLViewerImage::setBoostLevel(), LLViewerObject::setDebugText(), LLFace::setPixelArea(), LLFace::setVirtualSize(), LLPipeline::sFastAlpha, and TRUE.

Referenced by calcLOD(), and updateTextures().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::updateFaceFlags (  ) 

void LLVOVolume::regenFaces (  ) 

BOOL LLVOVolume::genBBoxes ( BOOL  force_global  ) 

void LLVOVolume::preRebuild (  ) 

Definition at line 1013 of file llvovolume.cpp.

References mVolumeImpl, NULL, and LLVolumeInterface::preRebuild().

Referenced by LLVolumeGeometryManager::rebuildGeom().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::updateSpatialExtents ( LLVector3 min,
LLVector3 max 
) [virtual]

Reimplemented from LLViewerObject.

Definition at line 1794 of file llvovolume.cpp.

F32 LLVOVolume::getBinRadius (  )  [virtual]

U32 LLVOVolume::getPartitionType (  )  const [virtual]

Reimplemented from LLViewerObject.

Definition at line 1936 of file llvovolume.cpp.

References isHUDAttachment(), LLViewerRegion::PARTITION_HUD, and LLViewerRegion::PARTITION_VOLUME.

Here is the call graph for this function:

void LLVOVolume::setIsLight ( BOOL  is_light  ) 

Definition at line 1390 of file llvovolume.cpp.

References FALSE, getIsLight(), gPipeline, LLViewerObject::mDrawable, LLNetworkData::PARAMS_LIGHT, LLPipeline::setLight(), LLViewerObject::setParameterEntryInUse(), and TRUE.

Referenced by LLPanelVolume::sendIsLight().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::setLightColor ( const LLColor3 color  ) 

void LLVOVolume::setLightIntensity ( F32  intensity  ) 

Definition at line 1431 of file llvovolume.cpp.

References LLLightParams::getColor(), LLViewerObject::getParameterEntry(), LLColor4::mV, parameterChanged(), LLNetworkData::PARAMS_LIGHT, and LLLightParams::setColor().

Referenced by LLPanelVolume::onCommitLight().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::setLightRadius ( F32  radius  ) 

Definition at line 1444 of file llvovolume.cpp.

References LLViewerObject::getParameterEntry(), LLLightParams::getRadius(), parameterChanged(), LLNetworkData::PARAMS_LIGHT, and LLLightParams::setRadius().

Referenced by LLPanelVolume::onCommitLight().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::setLightFalloff ( F32  falloff  ) 

Definition at line 1457 of file llvovolume.cpp.

References LLLightParams::getFalloff(), LLViewerObject::getParameterEntry(), parameterChanged(), LLNetworkData::PARAMS_LIGHT, and LLLightParams::setFalloff().

Referenced by LLPanelVolume::onCommitLight().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::setLightCutoff ( F32  cutoff  ) 

BOOL LLVOVolume::getIsLight (  )  const

Definition at line 1485 of file llvovolume.cpp.

References LLViewerObject::getParameterEntryInUse(), and LLNetworkData::PARAMS_LIGHT.

Referenced by createDrawable(), LLPanelVolume::getState(), parameterChanged(), and setIsLight().

Here is the call graph for this function:

Here is the caller graph for this function:

LLColor3 LLVOVolume::getLightBaseColor (  )  const

Definition at line 1490 of file llvovolume.cpp.

References LLLightParams::getColor(), LLViewerObject::getParameterEntry(), and LLNetworkData::PARAMS_LIGHT.

Referenced by LLPanelVolume::getState().

Here is the call graph for this function:

Here is the caller graph for this function:

LLColor3 LLVOVolume::getLightColor (  )  const

Definition at line 1503 of file llvovolume.cpp.

References LLLightParams::getColor(), LLViewerObject::getParameterEntry(), LLColor4::mV, and LLNetworkData::PARAMS_LIGHT.

Referenced by LLPanelVolume::getState(), LLViewerWindow::renderSelections(), and LLPipeline::setupHWLights().

Here is the call graph for this function:

Here is the caller graph for this function:

F32 LLVOVolume::getLightIntensity (  )  const

Definition at line 1516 of file llvovolume.cpp.

References LLLightParams::getColor(), LLViewerObject::getParameterEntry(), LLColor4::mV, and LLNetworkData::PARAMS_LIGHT.

Referenced by calc_light_dist(), and LLPanelVolume::getState().

Here is the call graph for this function:

Here is the caller graph for this function:

F32 LLVOVolume::getLightRadius (  )  const

F32 LLVOVolume::getLightFalloff (  )  const

Definition at line 1542 of file llvovolume.cpp.

References LLLightParams::getFalloff(), LLViewerObject::getParameterEntry(), and LLNetworkData::PARAMS_LIGHT.

Referenced by LLPanelVolume::getState(), and LLPipeline::setupHWLights().

Here is the call graph for this function:

Here is the caller graph for this function:

F32 LLVOVolume::getLightCutoff (  )  const

Definition at line 1555 of file llvovolume.cpp.

References LLLightParams::getCutoff(), LLViewerObject::getParameterEntry(), and LLNetworkData::PARAMS_LIGHT.

Here is the call graph for this function:

U32 LLVOVolume::getVolumeInterfaceID (  )  const

Definition at line 1568 of file llvovolume.cpp.

References LLVolumeInterface::getID(), and mVolumeImpl.

Referenced by LLVolumeImplFlexible::doIdleUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLVOVolume::isFlexible (  )  const [virtual]

BOOL LLVOVolume::isSculpted (  )  const [virtual]

Definition at line 1597 of file llvovolume.cpp.

References FALSE, LLViewerObject::getParameterEntryInUse(), LLNetworkData::PARAMS_SCULPT, and TRUE.

Referenced by calc_shame(), processUpdateMessage(), setVolume(), and updateTextures().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLVOVolume::isVolumeGlobal (  )  const

Definition at line 1607 of file llvovolume.cpp.

References FALSE, LLVolumeInterface::isVolumeGlobal(), mVolumeImpl, and TRUE.

Referenced by agentPositionToVolume(), and generateSilhouette().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLVOVolume::canBeFlexible (  )  const

Definition at line 1616 of file llvovolume.cpp.

References LLPathParams::getCurveType(), LLVolume::getParams(), LLVolumeParams::getPathParams(), LLPrimitive::getVolume(), LL_PCODE_PATH_FLEXIBLE, and LL_PCODE_PATH_LINE.

Referenced by LLPanelVolume::getState().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLVOVolume::setIsFlexible ( BOOL  is_flexible  ) 

S32 LLVOVolume::computeLODDetail ( F32  distance,
F32  radius 
) [protected]

Definition at line 793 of file llvovolume.cpp.

References LLVolumeLODGroup::getDetailFromTan(), llclamp(), llround(), S32, LLPipeline::sDynamicLOD, sLODFactor, and sqrtf.

Referenced by calcLOD().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLVOVolume::calcLOD (  )  [protected]

LLFace * LLVOVolume::addFace ( S32  face_index  )  [protected]

Definition at line 622 of file llvovolume.cpp.

References LLPrimitive::getTE(), LLViewerObject::getTEImage(), and LLViewerObject::mDrawable.

Referenced by createDrawable(), and regenFaces().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOVolume::updateTEData (  )  [protected]

Definition at line 1379 of file llvovolume.cpp.

References gPipeline, LLPipeline::markRebuild(), LLViewerObject::mDrawable, mFaceMappingChanged, LLPointer< Type >::notNull(), LLDrawable::REBUILD_MATERIAL, and TRUE.

Referenced by processUpdateMessage().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LLDrawable [friend]

Definition at line 211 of file llvovolume.h.

friend class LLVolumeImplFlexible [friend]

Definition at line 234 of file llvovolume.h.

Referenced by setVolume().


Member Data Documentation

Definition at line 214 of file llvovolume.h.

Referenced by updateTextures().

S32 LLVOVolume::mLOD [private]

Definition at line 215 of file llvovolume.h.

Referenced by calcLOD(), getLOD(), LLVOVolume(), and setVolume().

Definition at line 217 of file llvovolume.h.

Referenced by LLVOVolume(), setVolume(), updateGeometry(), and updateTextures().

Definition at line 221 of file llvovolume.h.

Referenced by getRadius(), LLVOVolume(), and updateRadius().

Definition at line 223 of file llvovolume.h.

Referenced by sculpt(), setVolume(), and updateTextures().

Definition at line 227 of file llvovolume.h.

F32 LLVOVolume::sLODFactor = 1.f [static]

Definition at line 229 of file llvovolume.h.

Referenced by calcLOD(), handleVolumeLODChanged(), and settings_to_globals().

S32 LLVOVolume::sNumLODChanges = 0 [static, protected]

Definition at line 232 of file llvovolume.h.

Referenced by preUpdateGeom(), and updateGeometry().


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

Generated on Fri May 16 09:38:40 2008 for SecondLife by  doxygen 1.5.5