LLVisualParam Class Reference

#include <llvisualparam.h>

Inheritance diagram for LLVisualParam:

Inheritance graph
[legend]
Collaboration diagram for LLVisualParam:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLVisualParam ()
virtual ~LLVisualParam ()
LLVisualParamInfogetInfo () const
BOOL setInfo (LLVisualParamInfo *info)
virtual void apply (ESex avatar_sex)=0
virtual void setWeight (F32 weight, BOOL set_by_user)
virtual void setAnimationTarget (F32 target_value, BOOL set_by_user)
virtual void animate (F32 delta, BOOL set_by_user)
virtual void stopAnimating (BOOL set_by_user)
S32 getID ()
void setID (S32 id)
const LLStringgetName () const
const LLStringgetDisplayName () const
const LLStringgetMaxDisplayName () const
const LLStringgetMinDisplayName () const
void setDisplayName (const LLString &s)
void setMaxDisplayName (const LLString &s)
void setMinDisplayName (const LLString &s)
EVisualParamGroup getGroup ()
F32 getMinWeight ()
F32 getMaxWeight ()
F32 getDefaultWeight ()
ESex getSex ()
F32 getWeight ()
F32 getCurrentWeight ()
F32 getLastWeight ()
BOOL isAnimating ()
LLVisualParamgetNextParam ()
void setNextParam (LLVisualParam *next)
virtual void setAnimating (BOOL is_animating)
BOOL getAnimating ()

Protected Attributes

F32 mCurWeight
F32 mLastWeight
LLVisualParammNext
F32 mTargetWeight
BOOL mIsAnimating
S32 mID
LLVisualParamInfomInfo


Detailed Description

Definition at line 91 of file llvisualparam.h.


Constructor & Destructor Documentation

LLVisualParam::LLVisualParam (  ) 

Definition at line 152 of file llvisualparam.cpp.

LLVisualParam::~LLVisualParam (  )  [virtual]

Definition at line 167 of file llvisualparam.cpp.

References mNext.


Member Function Documentation

LLVisualParamInfo* LLVisualParam::getInfo (  )  const [inline]

Reimplemented in LLDriverParam, LLPolySkeletalDistortion, LLPolyMorphTarget, LLTexLayerParamAlpha, LLTexParamColor, and LLViewerVisualParam.

Definition at line 99 of file llvisualparam.h.

References mInfo.

Referenced by LLCharacter::addVisualParam().

Here is the caller graph for this function:

BOOL LLVisualParam::setInfo ( LLVisualParamInfo info  ) 

virtual void LLVisualParam::apply ( ESex  avatar_sex  )  [pure virtual]

Implemented in LLDriverParam, LLPolySkeletalDistortion, LLPolyMorphTarget, LLTexLayerParamAlpha, and LLTexParamColor.

Referenced by LLPolyMorphTarget::apply(), and LLVOAvatar::idleUpdate().

Here is the caller graph for this function:

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

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

void LLVisualParam::animate ( F32  delta,
BOOL  set_by_user 
) [virtual]

Reimplemented in LLTexLayerParamAlpha, and LLTexParamColor.

Definition at line 270 of file llvisualparam.cpp.

References mCurWeight, mIsAnimating, mTargetWeight, and setWeight().

Referenced by LLTexParamColor::animate(), LLTexLayerParamAlpha::animate(), and LLVOAvatar::idleUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented in LLDriverParam.

Definition at line 282 of file llvisualparam.cpp.

References FALSE, getGroup(), mIsAnimating, mTargetWeight, setWeight(), and VISUAL_PARAM_GROUP_TWEAKABLE.

Referenced by LLDriverParam::stopAnimating().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLVisualParam::getID (  )  [inline]

void LLVisualParam::setID ( S32  id  )  [inline]

Definition at line 115 of file llvisualparam.h.

References llassert, mID, and mInfo.

const LLString& LLVisualParam::getName (  )  const [inline]

Definition at line 117 of file llvisualparam.h.

References mInfo, and LLVisualParamInfo::mName.

Referenced by LLCharacter::addSharedVisualParam(), LLCharacter::addVisualParam(), and LLVOAvatar::dumpArchetypeXML().

Here is the caller graph for this function:

const LLString& LLVisualParam::getDisplayName (  )  const [inline]

Definition at line 118 of file llvisualparam.h.

References LLVisualParamInfo::mDisplayName, and mInfo.

Referenced by LLScrollingPanelParam::LLScrollingPanelParam().

Here is the caller graph for this function:

const LLString& LLVisualParam::getMaxDisplayName (  )  const [inline]

Definition at line 119 of file llvisualparam.h.

References mInfo, and LLVisualParamInfo::mMaxName.

Referenced by LLScrollingPanelParam::LLScrollingPanelParam().

Here is the caller graph for this function:

const LLString& LLVisualParam::getMinDisplayName (  )  const [inline]

Definition at line 120 of file llvisualparam.h.

References mInfo, and LLVisualParamInfo::mMinName.

Referenced by LLScrollingPanelParam::LLScrollingPanelParam().

Here is the caller graph for this function:

void LLVisualParam::setDisplayName ( const LLString s  )  [inline]

Definition at line 122 of file llvisualparam.h.

References LLVisualParamInfo::mDisplayName, and mInfo.

void LLVisualParam::setMaxDisplayName ( const LLString s  )  [inline]

Definition at line 123 of file llvisualparam.h.

References mInfo, and LLVisualParamInfo::mMaxName.

void LLVisualParam::setMinDisplayName ( const LLString s  )  [inline]

Definition at line 124 of file llvisualparam.h.

References mInfo, and LLVisualParamInfo::mMinName.

EVisualParamGroup LLVisualParam::getGroup (  )  [inline]

F32 LLVisualParam::getMinWeight (  )  [inline]

F32 LLVisualParam::getMaxWeight (  )  [inline]

F32 LLVisualParam::getDefaultWeight (  )  [inline]

ESex LLVisualParam::getSex (  )  [inline]

F32 LLVisualParam::getWeight (  )  [inline]

F32 LLVisualParam::getCurrentWeight (  )  [inline]

Definition at line 133 of file llvisualparam.h.

References mCurWeight.

F32 LLVisualParam::getLastWeight (  )  [inline]

Definition at line 134 of file llvisualparam.h.

References mLastWeight.

BOOL LLVisualParam::isAnimating (  )  [inline]

Definition at line 135 of file llvisualparam.h.

References mIsAnimating.

LLVisualParam* LLVisualParam::getNextParam (  )  [inline]

Definition at line 137 of file llvisualparam.h.

References mNext.

Referenced by LLCharacter::addSharedVisualParam().

Here is the caller graph for this function:

void LLVisualParam::setNextParam ( LLVisualParam next  ) 

Definition at line 260 of file llvisualparam.cpp.

References llassert, and mNext.

Referenced by LLCharacter::addSharedVisualParam().

Here is the caller graph for this function:

virtual void LLVisualParam::setAnimating ( BOOL  is_animating  )  [inline, virtual]

Definition at line 140 of file llvisualparam.h.

References mIsAnimating.

Referenced by LLDriverParam::stopAnimating().

Here is the caller graph for this function:

BOOL LLVisualParam::getAnimating (  )  [inline]

Definition at line 141 of file llvisualparam.h.

References mIsAnimating.

Referenced by LLDriverParam::setWeight().

Here is the caller graph for this function:


Member Data Documentation

S32 LLVisualParam::mID [protected]


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

Generated on Fri May 16 09:35:31 2008 for SecondLife by  doxygen 1.5.5