#include <lldriverparam.h>
Inheritance diagram for LLDriverParam:
Definition at line 77 of file lldriverparam.h.
typedef std::vector<LLDrivenEntry> LLDriverParam::entry_list_t [protected] |
Definition at line 107 of file lldriverparam.h.
LLDriverParam::LLDriverParam | ( | LLVOAvatar * | avatarp | ) |
Definition at line 105 of file lldriverparam.cpp.
LLDriverParam::~LLDriverParam | ( | ) |
Definition at line 110 of file lldriverparam.cpp.
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLVisualParam.
Definition at line 90 of file lldriverparam.h.
const LLVector3 & LLDriverParam::getAvgDistortion | ( | ) | [virtual] |
Implements LLViewerVisualParam.
Definition at line 266 of file lldriverparam.cpp.
References count, mDefaultVec, mDriven, and S32.
F32 LLDriverParam::getDrivenWeight | ( | const LLDrivenEntry * | driven, | |
F32 | input_weight | |||
) | [protected] |
Definition at line 406 of file lldriverparam.cpp.
References LLVisualParam::getMaxWeight(), LLVisualParam::getMinWeight(), LLDrivenEntry::mInfo, LLDrivenEntryInfo::mMax1, LLDrivenEntryInfo::mMax2, LLDrivenEntryInfo::mMin1, LLDrivenEntryInfo::mMin2, LLDrivenEntry::mParam, and t.
Referenced by setAnimationTarget(), and setWeight().
const LLVector3 * LLDriverParam::getFirstDistortion | ( | U32 * | index, | |
LLPolyMesh ** | poly_mesh | |||
) | [virtual] |
Implements LLViewerVisualParam.
Definition at line 311 of file lldriverparam.cpp.
References mCurrentDistortionParam, mDriven, NULL, and v.
LLDriverParamInfo* LLDriverParam::getInfo | ( | ) | const [inline] |
Reimplemented from LLViewerVisualParam.
Definition at line 84 of file lldriverparam.h.
References LLVisualParam::mInfo.
Referenced by setInfo().
F32 LLDriverParam::getMaxDistortion | ( | ) | [virtual] |
Implements LLViewerVisualParam.
Definition at line 283 of file lldriverparam.cpp.
References mDriven.
const LLVector3 * LLDriverParam::getNextDistortion | ( | U32 * | index, | |
LLPolyMesh ** | poly_mesh | |||
) | [virtual] |
Implements LLViewerVisualParam.
Definition at line 329 of file lldriverparam.cpp.
References LLViewerVisualParam::getFirstDistortion(), LLViewerVisualParam::getNextDistortion(), llassert, mCurrentDistortionParam, mDriven, LLDrivenEntry::mParam, NULL, and v.
F32 LLDriverParam::getTotalDistortion | ( | ) | [virtual] |
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLViewerVisualParam.
Definition at line 254 of file lldriverparam.cpp.
References mDriven.
LLVector3 LLDriverParam::getVertexDistortion | ( | S32 | index, | |
LLPolyMesh * | poly_mesh | |||
) | [virtual] |
Implements LLViewerVisualParam.
Definition at line 300 of file lldriverparam.cpp.
References mDriven.
Reimplemented from LLVisualParam.
Definition at line 374 of file lldriverparam.cpp.
References getDrivenWeight(), mDriven, LLVisualParam::mTargetWeight, and LLVisualParam::setAnimationTarget().
BOOL LLDriverParam::setInfo | ( | LLDriverParamInfo * | info | ) |
Definition at line 114 of file lldriverparam.cpp.
References FALSE, LLVisualParam::getDefaultWeight(), getInfo(), LLCharacter::getVisualParam(), llassert, llendl, llerrs, mAvatarp, mDriven, LLDriverParamInfo::mDrivenInfoList, LLVisualParam::mID, LLVisualParamInfo::mID, LLVisualParam::mInfo, NULL, param, S32, setWeight(), and TRUE.
Referenced by LLVOAvatar::loadAvatar().
Reimplemented from LLVisualParam.
Definition at line 161 of file lldriverparam.cpp.
References getDrivenWeight(), LLVisualParam::getMaxWeight(), LLVisualParam::getMinWeight(), llclamp(), LLVisualParam::mCurWeight, mDriven, LLVisualParam::mIsAnimating, LLDrivenEntryInfo::mMax1, LLDrivenEntryInfo::mMax2, LLDrivenEntryInfo::mMin1, LLDrivenEntryInfo::mMin2, and t.
Referenced by setInfo().
Reimplemented from LLVisualParam.
Definition at line 392 of file lldriverparam.cpp.
References FALSE, mDriven, and LLVisualParam::stopAnimating().
LLVOAvatar* LLDriverParam::mAvatarp [protected] |
Definition at line 109 of file lldriverparam.h.
Referenced by getFirstDistortion(), and getNextDistortion().
LLVector3 LLDriverParam::mDefaultVec [protected] |
entry_list_t LLDriverParam::mDriven [protected] |
Definition at line 108 of file lldriverparam.h.
Referenced by getAvgDistortion(), getFirstDistortion(), getMaxDistortion(), getNextDistortion(), getTotalDistortion(), getVertexDistortion(), setAnimationTarget(), setInfo(), setWeight(), and stopAnimating().