#include <lltexlayer.h>


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 2288 of file lltexlayer.cpp.
| LLTexParamColor::LLTexParamColor | ( | LLTexLayer * | layer | ) |
Definition at line 2297 of file lltexlayer.cpp.
| LLTexParamColor::~LLTexParamColor | ( | ) |
Definition at line 2307 of file lltexlayer.cpp.
| 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().

| BOOL LLTexParamColor::setInfo | ( | LLTexParamColorInfo * | info | ) |
Definition at line 2315 of file lltexlayer.cpp.
References LLCharacter::addVisualParam(), FALSE, LLVisualParam::getDefaultWeight(), llassert, mAvatar, LLVisualParam::mID, LLVisualParamInfo::mID, LLVisualParam::mInfo, NULL, setWeight(), and TRUE.
Referenced by LLTexGlobalColor::setInfo(), and LLTexLayer::setInfo().


| void LLTexParamColor::apply | ( | ESex | avatar_sex | ) | [inline, virtual] |
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLVisualParam.
Definition at line 473 of file lltexlayer.h.
Reimplemented from LLVisualParam.
Definition at line 2356 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().


Reimplemented from LLVisualParam.
Definition at line 2393 of file lltexlayer.cpp.
References LLVisualParam::mIsAnimating, LLVisualParam::mNext, LLVisualParam::mTargetWeight, LLVisualParam::setAnimationTarget(), setWeight(), and TRUE.

Reimplemented from LLVisualParam.
Definition at line 2405 of file lltexlayer.cpp.
References LLVisualParam::animate(), and LLVisualParam::mNext.

| F32 LLTexParamColor::getTotalDistortion | ( | ) | [inline, virtual] |
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLViewerVisualParam.
Definition at line 480 of file lltexlayer.h.
| const LLVector3& LLTexParamColor::getAvgDistortion | ( | ) | [inline, virtual] |
Implements LLViewerVisualParam.
Definition at line 481 of file lltexlayer.h.
References mAvgDistortionVec.
| F32 LLTexParamColor::getMaxDistortion | ( | ) | [inline, virtual] |
| LLVector3 LLTexParamColor::getVertexDistortion | ( | S32 | index, | |
| LLPolyMesh * | poly_mesh | |||
| ) | [inline, virtual] |
| 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.
| const LLVector3* LLTexParamColor::getNextDistortion | ( | U32 * | index, | |
| LLPolyMesh ** | poly_mesh | |||
| ) | [inline, virtual] |
| LLColor4 LLTexParamColor::getNetColor | ( | ) |
Definition at line 2329 of file lltexlayer.cpp.
References LLVisualParam::getDefaultWeight(), getInfo(), LLVisualParam::getSex(), LLCharacter::getSex(), llassert, mAvatar, LLTexParamColorInfo::mColors, LLVisualParam::mCurWeight, LLTexParamColorInfo::mNumColors, LLColor4::mV, S32, VW, VX, VY, and VZ.
Referenced by LLTexLayer::findNetColor(), and LLTexGlobalColor::getColor().


| EColorOperation LLTexParamColor::getOperation | ( | ) | const [inline] |
Definition at line 489 of file lltexlayer.h.
References getInfo(), and LLTexParamColorInfo::mOperation.
Referenced by LLTexLayer::findNetColor(), and LLTexGlobalColor::getColor().


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] |
LLVOAvatar* LLTexParamColor::mAvatar [protected] |
Definition at line 496 of file lltexlayer.h.
Referenced by getNetColor(), setInfo(), and setWeight().
1.5.5