LLEmote Class Reference

#include <llemote.h>

Inheritance diagram for LLEmote:

Inheritance graph
[legend]
Collaboration diagram for LLEmote:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLEmote (const LLUUID &id)
virtual ~LLEmote ()
virtual BOOL getLoop ()
virtual F32 getDuration ()
virtual F32 getEaseInDuration ()
virtual F32 getEaseOutDuration ()
virtual F32 getMinPixelArea ()
virtual LLJoint::JointPriority getPriority ()
virtual LLMotionBlendType getBlendType ()
virtual LLMotionInitStatus onInitialize (LLCharacter *character)
virtual BOOL onActivate ()
virtual BOOL onUpdate (F32 time, U8 *joint_mask)
virtual void onDeactivate ()
virtual BOOL canDeprecate ()

Static Public Member Functions

static LLMotioncreate (const LLUUID &id)
static BOOL getIndexFromName (const char *name, U32 *index)

Protected Attributes

LLCharactermCharacter
LLVisualParammParam

Detailed Description

Definition at line 52 of file llemote.h.


Constructor & Destructor Documentation

LLEmote::LLEmote ( const LLUUID id  ) 

Definition at line 51 of file llemote.cpp.

References LL_FACE_JOINT_NUM, mCharacter, LLMotion::mJointSignature, and NULL.

Referenced by create().

LLEmote::~LLEmote (  )  [virtual]

Definition at line 66 of file llemote.cpp.


Member Function Documentation

virtual BOOL LLEmote::canDeprecate (  )  [inline, virtual]

Reimplemented from LLMotion.

Definition at line 114 of file llemote.h.

References FALSE.

static LLMotion* LLEmote::create ( const LLUUID id  )  [inline, static]

Reimplemented from LLMotion.

Definition at line 69 of file llemote.h.

References LLEmote().

Referenced by LLVOAvatar::LLVOAvatar().

virtual LLMotionBlendType LLEmote::getBlendType (  )  [inline, virtual]

Implements LLMotion.

Definition at line 94 of file llemote.h.

References LLMotion::NORMAL_BLEND.

virtual F32 LLEmote::getDuration (  )  [inline, virtual]

Implements LLMotion.

Definition at line 80 of file llemote.h.

References EMOTE_MORPH_FADEIN_TIME, EMOTE_MORPH_FADEOUT_TIME, and EMOTE_MORPH_IN_TIME.

virtual F32 LLEmote::getEaseInDuration (  )  [inline, virtual]

Implements LLMotion.

Definition at line 83 of file llemote.h.

References EMOTE_MORPH_FADEIN_TIME.

virtual F32 LLEmote::getEaseOutDuration (  )  [inline, virtual]

Implements LLMotion.

Definition at line 86 of file llemote.h.

References EMOTE_MORPH_FADEOUT_TIME.

static BOOL LLEmote::getIndexFromName ( const char *  name,
U32 index 
) [static]

virtual BOOL LLEmote::getLoop (  )  [inline, virtual]

Implements LLMotion.

Definition at line 77 of file llemote.h.

References FALSE.

virtual F32 LLEmote::getMinPixelArea (  )  [inline, virtual]

Implements LLMotion.

Definition at line 89 of file llemote.h.

References MIN_REQUIRED_PIXEL_AREA_EMOTE.

virtual LLJoint::JointPriority LLEmote::getPriority (  )  [inline, virtual]

Implements LLMotion.

Definition at line 92 of file llemote.h.

References LLJoint::MEDIUM_PRIORITY.

BOOL LLEmote::onActivate (  )  [virtual]

Implements LLMotion.

Definition at line 83 of file llemote.cpp.

References f, FALSE, LLVisualParam::getMaxWeight(), LLCharacter::getVisualParam(), mCharacter, LLMotion::mName, mParam, LLVisualParam::setWeight(), TRUE, and LLCharacter::updateVisualParams().

void LLEmote::onDeactivate (  )  [virtual]

Implements LLMotion.

Definition at line 132 of file llemote.cpp.

References FALSE, LLVisualParam::getDefaultWeight(), LLVisualParam::getMaxWeight(), LLCharacter::getVisualParam(), mCharacter, mParam, LLVisualParam::setWeight(), and LLCharacter::updateVisualParams().

LLMotion::LLMotionInitStatus LLEmote::onInitialize ( LLCharacter character  )  [virtual]

Implements LLMotion.

Definition at line 73 of file llemote.cpp.

References mCharacter, and LLMotion::STATUS_SUCCESS.

BOOL LLEmote::onUpdate ( F32  time,
U8 joint_mask 
) [virtual]

Implements LLMotion.

Definition at line 105 of file llemote.cpp.

References FALSE, LLVisualParam::getMaxWeight(), LLVisualParam::getMinWeight(), LLCharacter::getVisualParam(), LLPose::getWeight(), mCharacter, mParam, LLMotion::mPose, LLVisualParam::setWeight(), TRUE, and LLCharacter::updateVisualParams().


Member Data Documentation

LLCharacter* LLEmote::mCharacter [protected]

Definition at line 120 of file llemote.h.

Referenced by LLEmote(), onActivate(), onDeactivate(), onInitialize(), and onUpdate().

LLVisualParam* LLEmote::mParam [protected]

Definition at line 122 of file llemote.h.

Referenced by onActivate(), onDeactivate(), and onUpdate().


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