47 #include "../PoseT.hh" 48 #include "AnimationHandle.hh" 57 template<
class Po
intT>
65 typedef typename Point::value_type Scalar;
69 explicit AnimationT(std::string _name =
"") : name_(_name), fps_(60) {}
79 virtual Pose *
pose(
unsigned int _iFrame) = 0;
80 virtual unsigned int frameCount() = 0;
88 virtual void insertJointAt(
unsigned int _index) = 0;
89 virtual void removeJointAt(
unsigned int _index) = 0;
93 virtual void clearPoseCache() {}
95 inline std::string name() {
99 inline void setName(std::string _name) {
107 inline void setFps(
int _fps) {
A general pose, used to store the frames of the animation.
Pose * pose(const AnimationHandle &_hAni)
Returns a pointer to the pose with the given animation handle.
Stores a single animation.
void updateFromGlobal(size_t _idJoint)
update the structure when parent changes for a joint