#include <animation_keyframe_animation.h>
Public Types | |
typedef skeleton_type_ | skeleton_type |
typedef skeleton_type::bone_type | bone_type |
typedef skeleton_type::math_types | math_types |
typedef math_types::coordsys_type | coordsys_type |
typedef math_types::real_type | real_type |
typedef Interface< skeleton_type > | animation_interface |
typedef KeyframeJointChannels < skeleton_type > | channels_type |
typedef std::list< channels_type > | channels_container |
typedef channels_container::iterator | channels_iterator |
Public Member Functions | |
KeyframeAnimation () | |
channels_type * | create_joint_channels () |
void | clear () |
void | blend_pose (skeleton_type &skeleton, real_type const &local_time) |
real_type | compute_duration () |
Protected Attributes | |
channels_container | m_channels |
All motion channels of all joints. Note that each channel_type is actually 6 motion channels for one specific joint/bone. |
A Keyframe Animation.
typedef Interface<skeleton_type> OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::animation_interface |
typedef skeleton_type::bone_type OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::bone_type |
typedef std::list<channels_type> OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::channels_container |
typedef channels_container::iterator OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::channels_iterator |
typedef KeyframeJointChannels<skeleton_type> OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::channels_type |
typedef math_types::coordsys_type OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::coordsys_type |
Reimplemented from OpenTissue::animation::Interface< skeleton_type_ >.
typedef skeleton_type::math_types OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::math_types |
Reimplemented from OpenTissue::animation::Interface< skeleton_type_ >.
typedef math_types::real_type OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::real_type |
Reimplemented from OpenTissue::animation::Interface< skeleton_type_ >.
typedef skeleton_type_ OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::skeleton_type |
Reimplemented from OpenTissue::animation::Interface< skeleton_type_ >.
OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::KeyframeAnimation | ( | ) | [inline] |
void OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::blend_pose | ( | skeleton_type & | skeleton, | |
real_type const & | local_time | |||
) | [inline, virtual] |
Blend Pose.
skeleton | ||
local_time |
Implements OpenTissue::animation::Interface< skeleton_type_ >.
void OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::clear | ( | void | ) | [inline, virtual] |
Reimplemented from OpenTissue::animation::Interface< skeleton_type_ >.
real_type OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::compute_duration | ( | void | ) | [inline, virtual] |
Compute Duration of Keyframe Animation.
Implements OpenTissue::animation::Interface< skeleton_type_ >.
channels_type* OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::create_joint_channels | ( | ) | [inline] |
channels_container OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::m_channels [protected] |
All motion channels of all joints. Note that each channel_type is actually 6 motion channels for one specific joint/bone.