17 #ifndef _SKELETONANIMATION_HH_
18 #define _SKELETONANIMATION_HH_
47 public:
void SetName(
const std::string& _name);
51 public: std::string
GetName()
const;
73 public:
void GetKeyFrame(
const unsigned int _i,
double& _time,
81 public: std::pair<double, math::Matrix4>
GetKeyFrame(
82 const unsigned int _i)
const;
99 public:
void Scale(
const double _scale);
107 public:
double GetTimeAtX(
const double _x)
const;
132 public:
void SetName(
const std::string& _name);
136 public: std::string
GetName()
const;
145 public:
bool HasNode(
const std::string& _node)
const;
151 public:
void AddKeyFrame(
const std::string& _node,
const double _time,
158 public:
void AddKeyFrame(
const std::string& _node,
const double _time,
171 const double _time,
const bool _loop =
true);
181 public: std::map<std::string, math::Matrix4>
GetPoseAt(
const double _time,
182 const bool _loop =
true)
const;
192 public: std::map<std::string, math::Matrix4>
GetPoseAtX(
const double _x,
193 const std::string& _node,
const bool _loop =
true)
const;
197 public:
void Scale(
const double _scale);