#include <llpolymesh.h>


Public Member Functions | |
| LLPolySkeletalDistortion (LLVOAvatar *avatarp) | |
| ~LLPolySkeletalDistortion () | |
| LLPolySkeletalDistortionInfo * | getInfo () const |
| BOOL | setInfo (LLPolySkeletalDistortionInfo *info) |
| void | apply (ESex sex) |
| *virtual*/ BOOL parseData(LLXmlTreeNode* node); | |
| 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) |
Protected Types | |
| typedef std::map< LLJoint *, LLVector3 > | joint_vec_map_t |
Protected Attributes | |
| joint_vec_map_t | mJointScales |
| joint_vec_map_t | mJointOffsets |
| LLVector3 | mDefaultVec |
| LLVOAvatar * | mAvatar |
Definition at line 407 of file llpolymesh.h.
typedef std::map<LLJoint*, LLVector3> LLPolySkeletalDistortion::joint_vec_map_t [protected] |
Definition at line 428 of file llpolymesh.h.
| LLPolySkeletalDistortion::LLPolySkeletalDistortion | ( | LLVOAvatar * | avatarp | ) |
Definition at line 1045 of file llpolymesh.cpp.
References mAvatar, mDefaultVec, and LLVector3::setVec().

| LLPolySkeletalDistortion::~LLPolySkeletalDistortion | ( | ) |
Definition at line 1054 of file llpolymesh.cpp.
| LLPolySkeletalDistortionInfo* LLPolySkeletalDistortion::getInfo | ( | ) | const [inline] |
Reimplemented from LLViewerVisualParam.
Definition at line 414 of file llpolymesh.h.
References LLVisualParam::mInfo.
Referenced by setInfo().

| BOOL LLPolySkeletalDistortion::setInfo | ( | LLPolySkeletalDistortionInfo * | info | ) |
Definition at line 1058 of file llpolymesh.cpp.
References FALSE, LLVisualParam::getDefaultWeight(), getInfo(), LLVOAvatar::getJoint(), LLJoint::getName(), LLJoint::getScale(), LLViewerJoint::inheritScale(), llassert, llendl, llwarns, mAvatar, LLPolySkeletalDistortionInfo::mBoneInfoList, LLPolySkeletalBoneInfo::mBoneName, LLJoint::mChildren, LLPolySkeletalBoneInfo::mHasPositionDeformation, LLVisualParam::mID, LLVisualParamInfo::mID, LLVisualParam::mInfo, mJointOffsets, mJointScales, LLPolySkeletalBoneInfo::mPositionDeformation, LLPolySkeletalBoneInfo::mScaleDeformation, NULL, LLVector3::scaleVec(), LLVisualParam::setWeight(), and TRUE.
Referenced by LLVOAvatar::loadSkeletonNode().


| void LLPolySkeletalDistortion::apply | ( | ESex | sex | ) | [virtual] |
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLVisualParam.
Definition at line 1114 of file llpolymesh.cpp.
References LLVisualParam::getDefaultWeight(), LLJoint::getPosition(), LLJoint::getScale(), LLVisualParam::getSex(), LLCharacter::getSkeletonSerialNum(), mAvatar, LLVisualParam::mCurWeight, LLVisualParam::mIsAnimating, mJointOffsets, mJointScales, LLVisualParam::mLastWeight, LLJoint::setPosition(), LLJoint::setScale(), and LLCharacter::setSkeletonSerialNum().

| F32 LLPolySkeletalDistortion::getTotalDistortion | ( | ) | [inline, virtual] |
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLViewerVisualParam.
Definition at line 423 of file llpolymesh.h.
| const LLVector3& LLPolySkeletalDistortion::getAvgDistortion | ( | ) | [inline, virtual] |
Implements LLViewerVisualParam.
Definition at line 424 of file llpolymesh.h.
References mDefaultVec.
| F32 LLPolySkeletalDistortion::getMaxDistortion | ( | ) | [inline, virtual] |
| LLVector3 LLPolySkeletalDistortion::getVertexDistortion | ( | S32 | index, | |
| LLPolyMesh * | poly_mesh | |||
| ) | [inline, virtual] |
| const LLVector3* LLPolySkeletalDistortion::getFirstDistortion | ( | U32 * | index, | |
| LLPolyMesh ** | poly_mesh | |||
| ) | [inline, virtual] |
Implements LLViewerVisualParam.
Definition at line 427 of file llpolymesh.h.
References mDefaultVec, and NULL.
| const LLVector3* LLPolySkeletalDistortion::getNextDistortion | ( | U32 * | index, | |
| LLPolyMesh ** | poly_mesh | |||
| ) | [inline, virtual] |
LLVector3 LLPolySkeletalDistortion::mDefaultVec [protected] |
Definition at line 434 of file llpolymesh.h.
Referenced by getAvgDistortion(), getFirstDistortion(), and LLPolySkeletalDistortion().
LLVOAvatar* LLPolySkeletalDistortion::mAvatar [protected] |
Definition at line 436 of file llpolymesh.h.
Referenced by apply(), LLPolySkeletalDistortion(), and setInfo().
1.5.5