LLTexLayerParamAlpha Class Reference

#include <lltexlayer.h>

Inheritance diagram for LLTexLayerParamAlpha:

Inheritance graph
[legend]
Collaboration diagram for LLTexLayerParamAlpha:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::list
< LLTexLayerParamAlpha * > 
param_alpha_ptr_list_t

Public Member Functions

 LLTexLayerParamAlpha (LLTexLayer *layer)
 ~LLTexLayerParamAlpha ()
LLTexLayerParamAlphaInfogetInfo () const
BOOL setInfo (LLTexLayerParamAlphaInfo *info)
void apply (ESex avatar_sex)
 *virtual*/ BOOL parseData(LLXmlTreeNode* node);
void setWeight (F32 weight, BOOL set_by_user)
void setAnimationTarget (F32 target_value, BOOL set_by_user)
void animate (F32 delta, BOOL set_by_user)
F32 getTotalDistortion ()
 *virtual*/ BOOL parseData(LLXmlTreeNode* node);
const LLVector3getAvgDistortion ()
F32 getMaxDistortion ()
LLVector3 getVertexDistortion (S32 index, LLPolyMesh *poly_mesh)
const LLVector3getFirstDistortion (U32 *index, LLPolyMesh **poly_mesh)
const LLVector3getNextDistortion (U32 *index, LLPolyMesh **poly_mesh)
BOOL render (S32 x, S32 y, S32 width, S32 height)
BOOL getSkip ()
void deleteCaches ()
LLTexLayergetTexLayer ()
BOOL getMultiplyBlend ()

Static Public Member Functions

static void dumpCacheByteCount ()
static void getCacheByteCount (S32 *gl_bytes)

Static Public Attributes

static param_alpha_ptr_list_t sInstances

Protected Attributes

LLPointer< LLImageGLmCachedProcessedImageGL
LLTexLayermTexLayer
LLPointer< LLImageTGAmStaticImageTGA
LLPointer< LLImageRawmStaticImageRaw
BOOL mNeedsCreateTexture
BOOL mStaticImageInvalid
LLVector3 mAvgDistortionVec
F32 mCachedEffectiveWeight


Detailed Description

Definition at line 375 of file lltexlayer.h.


Member Typedef Documentation

Definition at line 423 of file lltexlayer.h.


Constructor & Destructor Documentation

LLTexLayerParamAlpha::LLTexLayerParamAlpha ( LLTexLayer layer  ) 

Definition at line 1841 of file lltexlayer.cpp.

References sInstances.

LLTexLayerParamAlpha::~LLTexLayerParamAlpha (  ) 

Definition at line 1853 of file lltexlayer.cpp.

References deleteCaches(), and sInstances.

Here is the call graph for this function:


Member Function Documentation

LLTexLayerParamAlphaInfo* LLTexLayerParamAlpha::getInfo (  )  const [inline]

Reimplemented from LLViewerVisualParam.

Definition at line 382 of file lltexlayer.h.

References LLVisualParam::mInfo.

Referenced by getMultiplyBlend(), getSkip(), and render().

Here is the caller graph for this function:

BOOL LLTexLayerParamAlpha::setInfo ( LLTexLayerParamAlphaInfo info  ) 

Definition at line 1862 of file lltexlayer.cpp.

References LLCharacter::addVisualParam(), FALSE, LLTexLayerSet::getAvatar(), LLVisualParam::getDefaultWeight(), LLTexLayer::getTexLayerSet(), llassert, LLVisualParam::mID, LLVisualParamInfo::mID, LLVisualParam::mInfo, mTexLayer, NULL, setWeight(), and TRUE.

Referenced by LLTexLayer::setInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerParamAlpha::apply ( ESex  avatar_sex  )  [inline, virtual]

*virtual*/ BOOL parseData(LLXmlTreeNode* node);

Implements LLVisualParam.

Definition at line 388 of file lltexlayer.h.

void LLTexLayerParamAlpha::setWeight ( F32  weight,
BOOL  set_by_user 
) [virtual]

void LLTexLayerParamAlpha::setAnimationTarget ( F32  target_value,
BOOL  set_by_user 
) [virtual]

Reimplemented from LLVisualParam.

Definition at line 1910 of file lltexlayer.cpp.

References LLVisualParam::mIsAnimating, LLVisualParam::mNext, LLVisualParam::mTargetWeight, LLVisualParam::setAnimationTarget(), setWeight(), and TRUE.

Here is the call graph for this function:

void LLTexLayerParamAlpha::animate ( F32  delta,
BOOL  set_by_user 
) [virtual]

Reimplemented from LLVisualParam.

Definition at line 1921 of file lltexlayer.cpp.

References LLVisualParam::animate(), and LLVisualParam::mNext.

Here is the call graph for this function:

F32 LLTexLayerParamAlpha::getTotalDistortion (  )  [inline, virtual]

*virtual*/ BOOL parseData(LLXmlTreeNode* node);

Implements LLViewerVisualParam.

Definition at line 394 of file lltexlayer.h.

const LLVector3& LLTexLayerParamAlpha::getAvgDistortion (  )  [inline, virtual]

Implements LLViewerVisualParam.

Definition at line 395 of file lltexlayer.h.

References mAvgDistortionVec.

F32 LLTexLayerParamAlpha::getMaxDistortion (  )  [inline, virtual]

Implements LLViewerVisualParam.

Definition at line 396 of file lltexlayer.h.

LLVector3 LLTexLayerParamAlpha::getVertexDistortion ( S32  index,
LLPolyMesh poly_mesh 
) [inline, virtual]

Implements LLViewerVisualParam.

Definition at line 397 of file lltexlayer.h.

const LLVector3* LLTexLayerParamAlpha::getFirstDistortion ( U32 index,
LLPolyMesh **  poly_mesh 
) [inline, virtual]

Implements LLViewerVisualParam.

Definition at line 398 of file lltexlayer.h.

References mAvgDistortionVec, and NULL.

const LLVector3* LLTexLayerParamAlpha::getNextDistortion ( U32 index,
LLPolyMesh **  poly_mesh 
) [inline, virtual]

Implements LLViewerVisualParam.

Definition at line 399 of file lltexlayer.h.

References NULL.

BOOL LLTexLayerParamAlpha::render ( S32  x,
S32  y,
S32  width,
S32  height 
)

BOOL LLTexLayerParamAlpha::getSkip (  ) 

void LLTexLayerParamAlpha::deleteCaches (  ) 

Definition at line 1878 of file lltexlayer.cpp.

References FALSE, mCachedProcessedImageGL, mNeedsCreateTexture, mStaticImageRaw, mStaticImageTGA, and NULL.

Referenced by LLTexLayer::deleteCaches(), and ~LLTexLayerParamAlpha().

Here is the caller graph for this function:

LLTexLayer* LLTexLayerParamAlpha::getTexLayer (  )  [inline]

Definition at line 405 of file lltexlayer.h.

References mTexLayer.

BOOL LLTexLayerParamAlpha::getMultiplyBlend (  )  [inline]

Definition at line 406 of file lltexlayer.h.

References getInfo(), and LLTexLayerParamAlphaInfo::mMultiplyBlend.

Referenced by LLTexLayer::renderAlphaMasks().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerParamAlpha::dumpCacheByteCount (  )  [static]

Definition at line 1812 of file lltexlayer.cpp.

References getCacheByteCount(), llendl, llinfos, and S32.

Referenced by output_statistics().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerParamAlpha::getCacheByteCount ( S32 gl_bytes  )  [static]

Definition at line 1820 of file lltexlayer.cpp.

References LLImageGL::getComponents(), LLImageGL::getHasGLTexture(), LLImageGL::getHeight(), LLImageGL::getWidth(), mCachedProcessedImageGL, S32, and sInstances.

Referenced by dumpCacheByteCount().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 409 of file lltexlayer.h.

Referenced by deleteCaches(), getCacheByteCount(), and render().

Definition at line 410 of file lltexlayer.h.

Referenced by getSkip(), getTexLayer(), render(), setInfo(), and setWeight().

Definition at line 411 of file lltexlayer.h.

Referenced by deleteCaches(), and render().

Definition at line 412 of file lltexlayer.h.

Referenced by deleteCaches(), and render().

Definition at line 413 of file lltexlayer.h.

Referenced by deleteCaches(), and render().

Definition at line 414 of file lltexlayer.h.

Referenced by render().

Definition at line 415 of file lltexlayer.h.

Referenced by getAvgDistortion(), and getFirstDistortion().

Definition at line 416 of file lltexlayer.h.

Referenced by render().

Definition at line 424 of file lltexlayer.h.

Referenced by getCacheByteCount(), LLTexLayerParamAlpha(), and ~LLTexLayerParamAlpha().


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

Generated on Fri May 16 09:11:33 2008 for SecondLife by  doxygen 1.5.5