#include <lltexlayer.h>
Inheritance diagram for LLTexParamColor:
Public Member Functions | |
LLTexParamColor (LLTexGlobalColor *tex_color) | |
LLTexParamColor (LLTexLayer *layer) | |
~LLTexParamColor () | |
LLTexParamColorInfo * | getInfo () const |
BOOL | setInfo (LLTexParamColorInfo *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 LLVector3 & | getAvgDistortion () |
F32 | getMaxDistortion () |
LLVector3 | getVertexDistortion (S32 index, LLPolyMesh *poly_mesh) |
const LLVector3 * | getFirstDistortion (U32 *index, LLPolyMesh **poly_mesh) |
const LLVector3 * | getNextDistortion (U32 *index, LLPolyMesh **poly_mesh) |
LLColor4 | getNetColor () |
EColorOperation | getOperation () const |
Protected Attributes | |
LLVector3 | mAvgDistortionVec |
LLTexGlobalColor * | mTexGlobalColor |
LLTexLayer * | mTexLayer |
LLVOAvatar * | mAvatar |
Definition at line 459 of file lltexlayer.h.
LLTexParamColor::LLTexParamColor | ( | LLTexGlobalColor * | tex_color | ) |
Definition at line 2324 of file lltexlayer.cpp.
LLTexParamColor::LLTexParamColor | ( | LLTexLayer * | layer | ) |
Definition at line 2333 of file lltexlayer.cpp.
LLTexParamColor::~LLTexParamColor | ( | ) |
Definition at line 2343 of file lltexlayer.cpp.
Reimplemented from LLVisualParam.
Definition at line 2441 of file lltexlayer.cpp.
References LLVisualParam::animate(), and LLVisualParam::mNext.
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLVisualParam.
Definition at line 473 of file lltexlayer.h.
const LLVector3& LLTexParamColor::getAvgDistortion | ( | ) | [inline, virtual] |
Implements LLViewerVisualParam.
Definition at line 481 of file lltexlayer.h.
References mAvgDistortionVec.
const LLVector3* LLTexParamColor::getFirstDistortion | ( | U32 * | index, | |
LLPolyMesh ** | poly_mesh | |||
) | [inline, virtual] |
Implements LLViewerVisualParam.
Definition at line 484 of file lltexlayer.h.
References mAvgDistortionVec, and NULL.
LLTexParamColorInfo* LLTexParamColor::getInfo | ( | ) | const [inline] |
Reimplemented from LLViewerVisualParam.
Definition at line 467 of file lltexlayer.h.
References LLVisualParam::mInfo.
Referenced by getNetColor(), getOperation(), and setWeight().
F32 LLTexParamColor::getMaxDistortion | ( | ) | [inline, virtual] |
LLColor4 LLTexParamColor::getNetColor | ( | ) |
Definition at line 2365 of file lltexlayer.cpp.
References end, f, LLVisualParam::getDefaultWeight(), getInfo(), LLVisualParam::getSex(), LLCharacter::getSex(), llassert, mAvatar, LLTexParamColorInfo::mColors, LLVisualParam::mCurWeight, LLTexParamColorInfo::mNumColors, S32, start, VW, VX, VY, and VZ.
const LLVector3* LLTexParamColor::getNextDistortion | ( | U32 * | index, | |
LLPolyMesh ** | poly_mesh | |||
) | [inline, virtual] |
EColorOperation LLTexParamColor::getOperation | ( | ) | const [inline] |
Definition at line 489 of file lltexlayer.h.
References getInfo(), and LLTexParamColorInfo::mOperation.
F32 LLTexParamColor::getTotalDistortion | ( | ) | [inline, virtual] |
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLViewerVisualParam.
Definition at line 480 of file lltexlayer.h.
LLVector3 LLTexParamColor::getVertexDistortion | ( | S32 | index, | |
LLPolyMesh * | poly_mesh | |||
) | [inline, virtual] |
Reimplemented from LLVisualParam.
Definition at line 2429 of file lltexlayer.cpp.
References LLVisualParam::mIsAnimating, LLVisualParam::mNext, LLVisualParam::mTargetWeight, LLVisualParam::setAnimationTarget(), setWeight(), and TRUE.
BOOL LLTexParamColor::setInfo | ( | LLTexParamColorInfo * | info | ) |
Definition at line 2351 of file lltexlayer.cpp.
References LLCharacter::addVisualParam(), FALSE, LLVisualParam::getDefaultWeight(), llassert, mAvatar, LLVisualParam::mID, LLVisualParamInfo::mID, LLVisualParam::mInfo, NULL, setWeight(), and TRUE.
Reimplemented from LLVisualParam.
Definition at line 2392 of file lltexlayer.cpp.
References F32_to_U8(), getInfo(), LLVisualParam::getMaxWeight(), LLVisualParam::getMinWeight(), LLVisualParam::getSex(), LLCharacter::getSex(), LLTexLayer::getTexLayerSet(), LLVOAvatar::invalidateComposite(), llclamp(), mAvatar, LLVisualParam::mCurWeight, LLVisualParam::mIsAnimating, mTexGlobalColor, mTexLayer, and LLVOAvatar::onGlobalColorChanged().
Referenced by setAnimationTarget(), and setInfo().
LLVOAvatar* LLTexParamColor::mAvatar [protected] |
Definition at line 496 of file lltexlayer.h.
Referenced by getNetColor(), setInfo(), and setWeight().
LLVector3 LLTexParamColor::mAvgDistortionVec [protected] |
Definition at line 493 of file lltexlayer.h.
Referenced by getAvgDistortion(), and getFirstDistortion().
LLTexGlobalColor* LLTexParamColor::mTexGlobalColor [protected] |
LLTexLayer* LLTexParamColor::mTexLayer [protected] |