LLHandMotion Class Reference

#include <llhandmotion.h>

Inheritance diagram for LLHandMotion:

Inheritance graph
[legend]
Collaboration diagram for LLHandMotion:

Collaboration graph
[legend]

List of all members.

Public Types

enum  e_hand_pose {
  HAND_POSE_SPREAD, HAND_POSE_RELAXED, HAND_POSE_POINT, HAND_POSE_FIST,
  HAND_POSE_RELAXED_L, HAND_POSE_POINT_L, HAND_POSE_FIST_L, HAND_POSE_RELAXED_R,
  HAND_POSE_POINT_R, HAND_POSE_FIST_R, HAND_POSE_SALUTE_R, HAND_POSE_TYPING,
  HAND_POSE_PEACE_R, HAND_POSE_PALM_R, NUM_HAND_POSES
}
typedef enum
LLHandMotion::e_hand_pose 
eHandPose

Public Member Functions

 LLHandMotion (const LLUUID &id)
virtual ~LLHandMotion ()
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 LLString getHandPoseName (eHandPose pose)
static eHandPose getHandPose (LLString posename)

Public Attributes

LLCharactermCharacter
F32 mLastTime
eHandPose mCurrentPose
eHandPose mNewPose


Detailed Description

Definition at line 46 of file llhandmotion.h.


Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
HAND_POSE_SPREAD 
HAND_POSE_RELAXED 
HAND_POSE_POINT 
HAND_POSE_FIST 
HAND_POSE_RELAXED_L 
HAND_POSE_POINT_L 
HAND_POSE_FIST_L 
HAND_POSE_RELAXED_R 
HAND_POSE_POINT_R 
HAND_POSE_FIST_R 
HAND_POSE_SALUTE_R 
HAND_POSE_TYPING 
HAND_POSE_PEACE_R 
HAND_POSE_PALM_R 
NUM_HAND_POSES 

Definition at line 50 of file llhandmotion.h.


Constructor & Destructor Documentation

LLHandMotion::LLHandMotion ( const LLUUID id  ) 

Definition at line 69 of file llhandmotion.cpp.

References HAND_POSE_RELAXED, LL_HAND_JOINT_NUM, mCharacter, mCurrentPose, LLMotion::mJointSignature, mLastTime, LLMotion::mName, mNewPose, and NULL.

Referenced by create().

Here is the caller graph for this function:

LLHandMotion::~LLHandMotion (  )  [virtual]

Definition at line 88 of file llhandmotion.cpp.


Member Function Documentation

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

Reimplemented from LLMotion.

Definition at line 82 of file llhandmotion.h.

References LLHandMotion().

Referenced by LLVOAvatar::LLVOAvatar().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements LLMotion.

Definition at line 90 of file llhandmotion.h.

References TRUE.

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

Implements LLMotion.

Definition at line 93 of file llhandmotion.h.

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

Implements LLMotion.

Definition at line 96 of file llhandmotion.h.

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

Implements LLMotion.

Definition at line 99 of file llhandmotion.h.

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

Implements LLMotion.

Definition at line 102 of file llhandmotion.h.

References MIN_REQUIRED_PIXEL_AREA_HAND.

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

Implements LLMotion.

Definition at line 105 of file llhandmotion.h.

References LLJoint::MEDIUM_PRIORITY.

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

Implements LLMotion.

Definition at line 107 of file llhandmotion.h.

References LLMotion::NORMAL_BLEND.

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

Implements LLMotion.

Definition at line 95 of file llhandmotion.cpp.

References mCharacter, and LLMotion::STATUS_SUCCESS.

BOOL LLHandMotion::onActivate (  )  [virtual]

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

void LLHandMotion::onDeactivate (  )  [virtual]

Implements LLMotion.

Definition at line 197 of file llhandmotion.cpp.

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

Reimplemented from LLMotion.

Definition at line 127 of file llhandmotion.h.

References FALSE.

LLString LLHandMotion::getHandPoseName ( eHandPose  pose  )  [static]

Definition at line 204 of file llhandmotion.cpp.

References gHandPoseNames, NUM_HAND_POSES, and S32.

Referenced by LLFloaterAnimPreview::postBuild().

Here is the caller graph for this function:

LLHandMotion::eHandPose LLHandMotion::getHandPose ( LLString  posename  )  [static]

Definition at line 213 of file llhandmotion.cpp.

References gHandPoseNames, NUM_HAND_POSES, and S32.

Referenced by LLFloaterAnimPreview::onCommitHandPose().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 137 of file llhandmotion.h.

Referenced by LLHandMotion(), onActivate(), onInitialize(), and onUpdate().

Definition at line 139 of file llhandmotion.h.

Referenced by LLHandMotion(), and onUpdate().

Definition at line 140 of file llhandmotion.h.

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

Definition at line 141 of file llhandmotion.h.

Referenced by LLHandMotion(), and onUpdate().


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

Generated on Fri May 16 08:48:46 2008 for SecondLife by  doxygen 1.5.5