LLDriverParam Class Reference

#include <lldriverparam.h>

Inheritance diagram for LLDriverParam:

Inheritance graph
[legend]
Collaboration diagram for LLDriverParam:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLDriverParam (LLVOAvatar *avatarp)
 ~LLDriverParam ()
LLDriverParamInfogetInfo () const
BOOL setInfo (LLDriverParamInfo *info)
void apply (ESex sex)
 *virtual*/ BOOL parseData(LLXmlTreeNode* node);
void setWeight (F32 weight, BOOL set_by_user)
void setAnimationTarget (F32 target_value, BOOL set_by_user)
void stopAnimating (BOOL set_by_user)
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::vector
< LLDrivenEntry
entry_list_t

Protected Member Functions

F32 getDrivenWeight (const LLDrivenEntry *driven, F32 input_weight)

Protected Attributes

LLVector3 mDefaultVec
entry_list_t mDriven
LLViewerVisualParammCurrentDistortionParam
LLVOAvatarmAvatarp


Detailed Description

Definition at line 77 of file lldriverparam.h.


Member Typedef Documentation

typedef std::vector<LLDrivenEntry> LLDriverParam::entry_list_t [protected]

Definition at line 107 of file lldriverparam.h.


Constructor & Destructor Documentation

LLDriverParam::LLDriverParam ( LLVOAvatar avatarp  ) 

Definition at line 105 of file lldriverparam.cpp.

LLDriverParam::~LLDriverParam (  ) 

Definition at line 110 of file lldriverparam.cpp.


Member Function Documentation

LLDriverParamInfo* LLDriverParam::getInfo (  )  const [inline]

Reimplemented from LLViewerVisualParam.

Definition at line 84 of file lldriverparam.h.

References LLVisualParam::mInfo.

Referenced by setInfo().

Here is the caller graph for this function:

BOOL LLDriverParam::setInfo ( LLDriverParamInfo info  ) 

void LLDriverParam::apply ( ESex  sex  )  [inline, virtual]

*virtual*/ BOOL parseData(LLXmlTreeNode* node);

Implements LLVisualParam.

Definition at line 90 of file lldriverparam.h.

void LLDriverParam::setWeight ( F32  weight,
BOOL  set_by_user 
) [virtual]

void LLDriverParam::setAnimationTarget ( F32  target_value,
BOOL  set_by_user 
) [virtual]

Reimplemented from LLVisualParam.

Definition at line 374 of file lldriverparam.cpp.

References getDrivenWeight(), mDriven, LLDrivenEntry::mParam, LLVisualParam::mTargetWeight, and LLVisualParam::setAnimationTarget().

Here is the call graph for this function:

void LLDriverParam::stopAnimating ( BOOL  set_by_user  )  [virtual]

Reimplemented from LLVisualParam.

Definition at line 392 of file lldriverparam.cpp.

References FALSE, mDriven, LLDrivenEntry::mParam, LLVisualParam::setAnimating(), and LLVisualParam::stopAnimating().

Here is the call graph for this function:

F32 LLDriverParam::getTotalDistortion (  )  [virtual]

*virtual*/ BOOL parseData(LLXmlTreeNode* node);

Implements LLViewerVisualParam.

Definition at line 254 of file lldriverparam.cpp.

References LLViewerVisualParam::getTotalDistortion(), mDriven, and LLDrivenEntry::mParam.

Here is the call graph for this function:

const LLVector3 & LLDriverParam::getAvgDistortion (  )  [virtual]

Implements LLViewerVisualParam.

Definition at line 266 of file lldriverparam.cpp.

References LLViewerVisualParam::getAvgDistortion(), mDefaultVec, mDriven, LLDrivenEntry::mParam, and S32.

Here is the call graph for this function:

F32 LLDriverParam::getMaxDistortion (  )  [virtual]

Implements LLViewerVisualParam.

Definition at line 283 of file lldriverparam.cpp.

References LLViewerVisualParam::getMaxDistortion(), mDriven, and LLDrivenEntry::mParam.

Here is the call graph for this function:

LLVector3 LLDriverParam::getVertexDistortion ( S32  index,
LLPolyMesh poly_mesh 
) [virtual]

Implements LLViewerVisualParam.

Definition at line 300 of file lldriverparam.cpp.

References LLViewerVisualParam::getVertexDistortion(), mDriven, and LLDrivenEntry::mParam.

Here is the call graph for this function:

const LLVector3 * LLDriverParam::getFirstDistortion ( U32 index,
LLPolyMesh **  poly_mesh 
) [virtual]

Implements LLViewerVisualParam.

Definition at line 311 of file lldriverparam.cpp.

References LLViewerVisualParam::getFirstDistortion(), mCurrentDistortionParam, mDriven, LLDrivenEntry::mParam, and NULL.

Here is the call graph for this function:

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

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, and LLDrivenEntry::mParam.

Referenced by setAnimationTarget(), and setWeight().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 106 of file lldriverparam.h.

Referenced by getAvgDistortion().

Definition at line 109 of file lldriverparam.h.

Referenced by getFirstDistortion(), and getNextDistortion().

Definition at line 111 of file lldriverparam.h.

Referenced by setInfo().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:44:10 2008 for SecondLife by  doxygen 1.5.5