LLKeyframeMotionParam Class Reference

#include <llkeyframemotionparam.h>

Inheritance diagram for LLKeyframeMotionParam:

Inheritance graph
[legend]
Collaboration diagram for LLKeyframeMotionParam:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Static Public Member Functions

static LLMotioncreate (const LLUUID &id)

Protected Types

typedef std::pair< LLMotion
*, F32
ParameterizedMotion
typedef std::set
< ParameterizedMotion,
compare_motions
motion_list_t
typedef std::map< std::string,
motion_list_t
motion_map_t

Protected Member Functions

BOOL addKeyframeMotion (char *name, const LLUUID &id, char *param, F32 value)
void setDefaultKeyframeMotion (char *)
BOOL loadMotions ()

Static Protected Member Functions

static BOOL sortFunc (ParameterizedMotion *new_motion, ParameterizedMotion *tested_motion)

Protected Attributes

motion_map_t mParameterizedMotions
LLMotionmDefaultKeyframeMotion
LLCharactermCharacter
LLPoseBlender mPoseBlender
F32 mEaseInDuration
F32 mEaseOutDuration
F32 mDuration
LLJoint::JointPriority mPriority
LLUUID mTransactionID

Classes

struct  compare_motions


Detailed Description

Definition at line 51 of file llkeyframemotionparam.h.


Member Typedef Documentation

typedef std::pair<LLMotion*, F32> LLKeyframeMotionParam::ParameterizedMotion [protected]

Definition at line 129 of file llkeyframemotionparam.h.

Definition at line 157 of file llkeyframemotionparam.h.

typedef std::map<std::string, motion_list_t > LLKeyframeMotionParam::motion_map_t [protected]

Definition at line 158 of file llkeyframemotionparam.h.


Constructor & Destructor Documentation

LLKeyframeMotionParam::LLKeyframeMotionParam ( const LLUUID id  ) 

Definition at line 54 of file llkeyframemotionparam.cpp.

References LLJoint::LOW_PRIORITY, mCharacter, mDefaultKeyframeMotion, mDuration, mEaseInDuration, mEaseOutDuration, mPriority, and NULL.

Referenced by create().

Here is the caller graph for this function:

LLKeyframeMotionParam::~LLKeyframeMotionParam (  )  [virtual]

Definition at line 70 of file llkeyframemotionparam.cpp.

References mParameterizedMotions.


Member Function Documentation

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

Reimplemented from LLMotion.

Definition at line 68 of file llkeyframemotionparam.h.

References LLKeyframeMotionParam().

Here is the call graph for this function:

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

Implements LLMotion.

Definition at line 76 of file llkeyframemotionparam.h.

References TRUE.

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

Implements LLMotion.

Definition at line 81 of file llkeyframemotionparam.h.

References mDuration.

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

Implements LLMotion.

Definition at line 86 of file llkeyframemotionparam.h.

References mEaseInDuration.

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

Implements LLMotion.

Definition at line 91 of file llkeyframemotionparam.h.

References mEaseOutDuration.

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

Implements LLMotion.

Definition at line 96 of file llkeyframemotionparam.h.

References mPriority.

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

Implements LLMotion.

Definition at line 100 of file llkeyframemotionparam.h.

References LLMotion::NORMAL_BLEND.

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

Implements LLMotion.

Definition at line 103 of file llkeyframemotionparam.h.

References MIN_REQUIRED_PIXEL_AREA_KEYFRAME.

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

BOOL LLKeyframeMotionParam::onActivate (  )  [virtual]

Implements LLMotion.

Definition at line 145 of file llkeyframemotionparam.cpp.

References mParameterizedMotions, and TRUE.

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

void LLKeyframeMotionParam::onDeactivate (  )  [virtual]

Implements LLMotion.

Definition at line 284 of file llkeyframemotionparam.cpp.

References mParameterizedMotions.

virtual LLPose* LLKeyframeMotionParam::getPose (  )  [inline, virtual]

Reimplemented from LLMotion.

Definition at line 123 of file llkeyframemotionparam.h.

References LLPoseBlender::getBlendedPose(), and mPoseBlender.

Here is the call graph for this function:

BOOL LLKeyframeMotionParam::addKeyframeMotion ( char *  name,
const LLUUID id,
char *  param,
F32  value 
) [protected]

Definition at line 301 of file llkeyframemotionparam.cpp.

References LLCharacter::createMotion(), FALSE, mCharacter, mParameterizedMotions, LLMotion::setName(), and TRUE.

Referenced by loadMotions().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLKeyframeMotionParam::setDefaultKeyframeMotion ( char *  name  )  [protected]

Definition at line 322 of file llkeyframemotionparam.cpp.

References mDefaultKeyframeMotion, and mParameterizedMotions.

Referenced by loadMotions().

Here is the caller graph for this function:

static BOOL LLKeyframeMotionParam::sortFunc ( ParameterizedMotion new_motion,
ParameterizedMotion tested_motion 
) [static, protected]

BOOL LLKeyframeMotionParam::loadMotions (  )  [protected]


Member Data Documentation

Definition at line 160 of file llkeyframemotionparam.h.

Referenced by LLKeyframeMotionParam(), and setDefaultKeyframeMotion().

Definition at line 162 of file llkeyframemotionparam.h.

Referenced by getPose(), onInitialize(), and onUpdate().

Definition at line 164 of file llkeyframemotionparam.h.

Referenced by getEaseInDuration(), LLKeyframeMotionParam(), and onInitialize().

Definition at line 166 of file llkeyframemotionparam.h.

Referenced by getDuration(), LLKeyframeMotionParam(), and onInitialize().

Definition at line 167 of file llkeyframemotionparam.h.

Referenced by getPriority(), LLKeyframeMotionParam(), and onInitialize().

Definition at line 169 of file llkeyframemotionparam.h.


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

Generated on Fri May 16 08:51:11 2008 for SecondLife by  doxygen 1.5.5