44 #include "AnimationT.hh" 46 template<
class Po
intT>
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" void removeJointAt(unsigned int _index)
Called by the skeleton as a joint is deleted.
unsigned int frameCount()
Returns the number of frames stored in this pose.
virtual void updateFromGlobal(unsigned int _index)
Updates the local matrix using the global matrix.
Skeleton * skeleton_
Pointer to associated skeleton.
Stores a single animation.
A general pose, used to store the frames of the animation.
Pose * pose(unsigned int _iFrame)
Returns a pointer to the pose stored in the given frame.
FrameAnimationT(const PoseT< PointT > &_pose)
Constructor - Creates a new animation consisting of a single pose.
std::vector< Pose * > poses_
Every entry in this vector is a frame of the animation.
virtual ~FrameAnimationT()
Destructor.
void setFrameCount(unsigned int _frames)
Set number of frames stored in this pose.
void insertJointAt(unsigned int _index)
Called by the skeleton as a new joint is inserted.
virtual AnimationT< PointT > * copy()
Copy Function.
SkeletonT< ACG::Vec3d > Skeleton
Simple Name for the Skeleton, based on double vectors.