56 #include "../PoseT.hh" 57 #include "AnimationHandle.hh" 66 template<
class Po
intT>
74 typedef typename Point::value_type Scalar;
78 AnimationT(std::string _name =
"") : name_(_name), fps_(60) {}
88 virtual Pose *
pose(
unsigned int _iFrame) = 0;
89 virtual unsigned int frameCount() = 0;
97 virtual void insertJointAt(
unsigned int _index) = 0;
98 virtual void removeJointAt(
unsigned int _index) = 0;
102 virtual void clearPoseCache() {}
104 inline std::string name() {
108 inline void setName(std::string _name) {
116 inline void setFps(
int _fps) {
A general pose, used to store the frames of the animation.
Stores a single animation.
Pose * pose(const AnimationHandle &_hAni)
Returns a pointer to the pose with the given animation handle.
void updateFromGlobal(unsigned int _idJoint)
update the structure when parent changes for a joint