44#include "AnimationT.hh"
54 typedef typename Point::value_type Scalar;
85 inline Pose *
pose(
unsigned int _iFrame);
129#if defined(INCLUDE_TEMPLATES) && !defined(FRAMEANIMATIONT_C)
130#define FRAMEANIMATIONT_TEMPLATES
131#include "FrameAnimationT_impl.hh"
SkeletonT< ACG::Vec3d > Skeleton
Simple Name for the Skeleton, based on double vectors.
Stores a single animation.
virtual ~FrameAnimationT()
Destructor.
std::vector< Pose * > poses_
Every entry in this vector is a frame of the animation.
Skeleton * skeleton_
Pointer to associated skeleton.
virtual void updateFromGlobal(unsigned int _index)
Updates the local matrix using the global matrix.
void removeJointAt(unsigned int _index)
Called by the skeleton as a joint is deleted.
void setFrameCount(unsigned int _frames)
Set number of frames stored in this pose.
unsigned int frameCount()
Returns the number of frames stored in this pose.
FrameAnimationT(const PoseT< PointT > &_pose)
Constructor - Creates a new animation consisting of a single pose.
void insertJointAt(unsigned int _index)
Called by the skeleton as a new joint is inserted.
virtual AnimationT< PointT > * copy()
Copy Function.
Pose * pose(unsigned int _iFrame)
Returns a pointer to the pose stored in the given frame.
A general pose, used to store the frames of the animation.