Public Types | Public Member Functions | Protected Attributes

OpenTissue::animation::KeyframeAnimation< skeleton_type_ > Class Template Reference

#include <animation_keyframe_animation.h>

Inheritance diagram for OpenTissue::animation::KeyframeAnimation< skeleton_type_ >:
OpenTissue::animation::Interface< skeleton_type_ >

List of all members.

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_typeanimation_interface
typedef KeyframeJointChannels
< skeleton_type
channels_type
typedef std::list< channels_typechannels_container
typedef
channels_container::iterator 
channels_iterator

Public Member Functions

 KeyframeAnimation ()
channels_typecreate_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.

Detailed Description

template<typename skeleton_type_>
class OpenTissue::animation::KeyframeAnimation< skeleton_type_ >

A Keyframe Animation.


Member Typedef Documentation

template<typename skeleton_type_ >
typedef Interface<skeleton_type> OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::animation_interface
template<typename skeleton_type_ >
typedef skeleton_type::bone_type OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::bone_type
template<typename skeleton_type_ >
typedef std::list<channels_type> OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::channels_container
template<typename skeleton_type_ >
typedef channels_container::iterator OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::channels_iterator
template<typename skeleton_type_ >
typedef KeyframeJointChannels<skeleton_type> OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::channels_type
template<typename skeleton_type_ >
typedef math_types::coordsys_type OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::coordsys_type
template<typename skeleton_type_ >
typedef skeleton_type::math_types OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::math_types
template<typename skeleton_type_ >
typedef math_types::real_type OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::real_type
template<typename skeleton_type_ >
typedef skeleton_type_ OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::skeleton_type

Constructor & Destructor Documentation

template<typename skeleton_type_ >
OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::KeyframeAnimation (  )  [inline]

Member Function Documentation

template<typename skeleton_type_ >
void OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::blend_pose ( skeleton_type skeleton,
real_type const &  local_time 
) [inline, virtual]

Blend Pose.

Parameters:
skeleton 
local_time 

Implements OpenTissue::animation::Interface< skeleton_type_ >.

template<typename skeleton_type_ >
void OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::clear ( void   )  [inline, virtual]
template<typename skeleton_type_ >
real_type OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::compute_duration ( void   )  [inline, virtual]

Compute Duration of Keyframe Animation.

Returns:
The duration of the keyframe animation.

Implements OpenTissue::animation::Interface< skeleton_type_ >.

template<typename skeleton_type_ >
channels_type* OpenTissue::animation::KeyframeAnimation< skeleton_type_ >::create_joint_channels (  )  [inline]
Returns:
A pointer to the newly created keyframe transform.

Member Data Documentation

template<typename skeleton_type_ >
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.


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