#include <animation_keyframe_joint_channels.h>
Classes | |
class | Keyframe |
Public Types | |
typedef skeleton_type_ | skeleton_type |
typedef skeleton_type::math_types | math_types |
typedef math_types::coordsys_type | coordsys_type |
typedef math_types::real_type | real_type |
Public Member Functions | |
KeyframeJointChannels () | |
virtual | ~KeyframeJointChannels () |
size_t const & | get_bone_number () const |
void | set_bone_number (size_t const &number) |
void | add_key (real_type const &local_time, coordsys_type const &value) |
coordsys_type | get_value (real_type const &local_time) |
real_type | compute_duration () |
Protected Types | |
typedef std::vector< Keyframe > | keyframe_container |
typedef keyframe_container::iterator | keyframe_iterator |
Protected Attributes | |
size_t | m_bone_number |
The number of the bone this joint transform affects. | |
int | m_next |
Given time t this member holds the index to next keyframe, i.e. t <= key(m_next).time. | |
int | m_prev |
Given time t this member holds the index to previous keyframe, i.e. t > key(m_next).time. | |
keyframe_container | m_keyframes |
Container of keyframes. |
typedef math_types::coordsys_type OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::coordsys_type |
typedef std::vector<Keyframe> OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::keyframe_container [protected] |
typedef keyframe_container::iterator OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::keyframe_iterator [protected] |
typedef skeleton_type::math_types OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::math_types |
typedef math_types::real_type OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::real_type |
typedef skeleton_type_ OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::skeleton_type |
OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::KeyframeJointChannels | ( | ) | [inline] |
virtual OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::~KeyframeJointChannels | ( | ) | [inline, virtual] |
void OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::add_key | ( | real_type const & | local_time, | |
coordsys_type const & | value | |||
) | [inline] |
real_type OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::compute_duration | ( | void | ) | [inline] |
Compute Duration.
size_t const& OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::get_bone_number | ( | ) | const [inline] |
coordsys_type OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::get_value | ( | real_type const & | local_time | ) | [inline] |
Retrive Transform. This method should return the coordinate transform coorespond to the specified time.
local_time | The specified time. |
void OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::set_bone_number | ( | size_t const & | number | ) | [inline] |
size_t OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::m_bone_number [protected] |
The number of the bone this joint transform affects.
keyframe_container OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::m_keyframes [protected] |
Container of keyframes.
int OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::m_next [protected] |
Given time t this member holds the index to next keyframe, i.e. t <= key(m_next).time.
int OpenTissue::animation::KeyframeJointChannels< skeleton_type_ >::m_prev [protected] |
Given time t this member holds the index to previous keyframe, i.e. t > key(m_next).time.