LLPolySkeletalDistortion Class Reference

#include <llpolymesh.h>

Inheritance diagram for LLPolySkeletalDistortion:

Inheritance graph
[legend]
Collaboration diagram for LLPolySkeletalDistortion:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPolySkeletalDistortion (LLVOAvatar *avatarp)
 ~LLPolySkeletalDistortion ()
LLPolySkeletalDistortionInfogetInfo () const
BOOL setInfo (LLPolySkeletalDistortionInfo *info)
void apply (ESex sex)
 *virtual*/ BOOL parseData(LLXmlTreeNode* node);
F32 getTotalDistortion ()
 *virtual*/ BOOL parseData(LLXmlTreeNode* node);
const LLVector3getAvgDistortion ()
F32 getMaxDistortion ()
LLVector3 getVertexDistortion (S32 index, LLPolyMesh *poly_mesh)
const LLVector3getFirstDistortion (U32 *index, LLPolyMesh **poly_mesh)
const LLVector3getNextDistortion (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
LLVOAvatarmAvatar

Detailed Description

Definition at line 405 of file llpolymesh.h.


Member Typedef Documentation

typedef std::map<LLJoint*, LLVector3> LLPolySkeletalDistortion::joint_vec_map_t [protected]

Definition at line 426 of file llpolymesh.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

void LLPolySkeletalDistortion::apply ( ESex  sex  )  [virtual]

*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]

Implements LLViewerVisualParam.

Definition at line 423 of file llpolymesh.h.

const LLVector3* LLPolySkeletalDistortion::getNextDistortion ( U32 index,
LLPolyMesh **  poly_mesh 
) [inline, virtual]

Implements LLViewerVisualParam.

Definition at line 426 of file llpolymesh.h.

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]

Implements LLViewerVisualParam.

Definition at line 424 of file llpolymesh.h.

References f.

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.


Member Data Documentation

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().

joint_vec_map_t LLPolySkeletalDistortion::mJointOffsets [protected]

Definition at line 431 of file llpolymesh.h.

Referenced by apply(), and setInfo().

joint_vec_map_t LLPolySkeletalDistortion::mJointScales [protected]

Definition at line 430 of file llpolymesh.h.

Referenced by apply(), and setInfo().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:39 2010 for Second Life Viewer by  doxygen 1.4.7