#include <llpose.h>
Collaboration diagram for LLPoseBlender:
Public Member Functions | |
LLPoseBlender () | |
~LLPoseBlender () | |
BOOL | addMotion (LLMotion *motion) |
void | blendAndApply () |
void | clearBlenders () |
void | blendAndCache (BOOL reset_cached_joints) |
void | interpolate (F32 u) |
LLPose * | getBlendedPose () |
Protected Types | |
typedef std::list< LLJointStateBlender * > | blender_list_t |
typedef std::map< LLJoint *, LLJointStateBlender * > | blender_map_t |
Protected Attributes | |
blender_map_t | mJointStateBlenderPool |
blender_list_t | mActiveBlenders |
S32 | mNextPoseSlot |
LLPose | mBlendedPose |
Definition at line 110 of file llpose.h.
typedef std::list<LLJointStateBlender*> LLPoseBlender::blender_list_t [protected] |
typedef std::map<LLJoint*,LLJointStateBlender*> LLPoseBlender::blender_map_t [protected] |
LLPoseBlender::LLPoseBlender | ( | ) |
Definition at line 455 of file llpose.cpp.
LLPoseBlender::~LLPoseBlender | ( | ) |
Definition at line 467 of file llpose.cpp.
References LLMotion::ADDITIVE_BLEND, LLJointStateBlender::addJointState(), LLMotion::getBlendType(), LLPose::getFirstJointState(), LLPose::getNextJointState(), LLMotion::getPose(), LLMotion::getPriority(), mActiveBlenders, mJointStateBlenderPool, TRUE, and LLJoint::USE_MOTION_PRIORITY.
Referenced by LLKeyframeMotionParam::onInitialize(), and LLMotionController::updateMotionsByType().
void LLPoseBlender::blendAndApply | ( | ) |
Definition at line 508 of file llpose.cpp.
References mActiveBlenders.
Referenced by LLKeyframeMotionParam::onUpdate(), and LLMotionController::updateMotion().
Definition at line 524 of file llpose.cpp.
References FALSE, and mActiveBlenders.
Referenced by LLMotionController::updateMotion().
void LLPoseBlender::clearBlenders | ( | ) |
Definition at line 554 of file llpose.cpp.
References mActiveBlenders.
Referenced by LLMotionController::addLoadedMotion(), and LLMotionController::updateMotion().
LLPose* LLPoseBlender::getBlendedPose | ( | ) | [inline] |
Definition at line 141 of file llpose.h.
References mBlendedPose.
Referenced by LLKeyframeMotionParam::getPose(), LLKeyframeMotionParam::onInitialize(), and LLKeyframeMotionParam::onUpdate().
Definition at line 541 of file llpose.cpp.
References mActiveBlenders.
Referenced by LLMotionController::updateMotion().
blender_list_t LLPoseBlender::mActiveBlenders [protected] |
Definition at line 116 of file llpose.h.
Referenced by addMotion(), blendAndApply(), blendAndCache(), clearBlenders(), and interpolate().
LLPose LLPoseBlender::mBlendedPose [protected] |
blender_map_t LLPoseBlender::mJointStateBlenderPool [protected] |
S32 LLPoseBlender::mNextPoseSlot [protected] |