#include <llpolymesh.h>
Inheritance diagram for LLPolySkeletalDistortion:
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 405 of file llpolymesh.h.
typedef std::map<LLJoint*, LLVector3> LLPolySkeletalDistortion::joint_vec_map_t [protected] |
Definition at line 426 of file llpolymesh.h.
LLPolySkeletalDistortion::LLPolySkeletalDistortion | ( | LLVOAvatar * | avatarp | ) |
Definition at line 1069 of file llpolymesh.cpp.
References f, mAvatar, mDefaultVec, and LLVector3::setVec().
LLPolySkeletalDistortion::~LLPolySkeletalDistortion | ( | ) |
Definition at line 1078 of file llpolymesh.cpp.
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLVisualParam.
Definition at line 1138 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().
const LLVector3& LLPolySkeletalDistortion::getAvgDistortion | ( | ) | [inline, virtual] |
Implements LLViewerVisualParam.
Definition at line 422 of file llpolymesh.h.
References mDefaultVec.
const LLVector3* LLPolySkeletalDistortion::getFirstDistortion | ( | U32 * | index, | |
LLPolyMesh ** | poly_mesh | |||
) | [inline, virtual] |
Implements LLViewerVisualParam.
Definition at line 425 of file llpolymesh.h.
References mDefaultVec, and NULL.
LLPolySkeletalDistortionInfo* LLPolySkeletalDistortion::getInfo | ( | ) | const [inline] |
Reimplemented from LLViewerVisualParam.
Definition at line 412 of file llpolymesh.h.
References LLVisualParam::mInfo.
Referenced by setInfo().
F32 LLPolySkeletalDistortion::getMaxDistortion | ( | ) | [inline, virtual] |
const LLVector3* LLPolySkeletalDistortion::getNextDistortion | ( | U32 * | index, | |
LLPolyMesh ** | poly_mesh | |||
) | [inline, virtual] |
F32 LLPolySkeletalDistortion::getTotalDistortion | ( | ) | [inline, virtual] |
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLViewerVisualParam.
Definition at line 421 of file llpolymesh.h.
LLVector3 LLPolySkeletalDistortion::getVertexDistortion | ( | S32 | index, | |
LLPolyMesh * | poly_mesh | |||
) | [inline, virtual] |
BOOL LLPolySkeletalDistortion::setInfo | ( | LLPolySkeletalDistortionInfo * | info | ) |
Definition at line 1082 of file llpolymesh.cpp.
References FALSE, LLVisualParam::getDefaultWeight(), getInfo(), LLVOAvatar::getJoint(), LLJoint::getName(), llassert, llendl, llwarns, mAvatar, LLPolySkeletalDistortionInfo::mBoneInfoList, LLJoint::mChildren, LLVisualParam::mID, LLVisualParamInfo::mID, LLVisualParam::mInfo, mJointOffsets, mJointScales, NULL, LLVisualParam::setWeight(), and TRUE.
LLVOAvatar* LLPolySkeletalDistortion::mAvatar [protected] |
Definition at line 434 of file llpolymesh.h.
Referenced by apply(), LLPolySkeletalDistortion(), and setInfo().
LLVector3 LLPolySkeletalDistortion::mDefaultVec [protected] |
Definition at line 432 of file llpolymesh.h.
Referenced by getAvgDistortion(), getFirstDistortion(), and LLPolySkeletalDistortion().