17 #ifndef _SKELETONANIMATION_HH_
18 #define _SKELETONANIMATION_HH_
46 public:
void SetName(
const std::string& _name);
50 public: std::string
GetName()
const;
72 public:
void GetKeyFrame(
const unsigned int _i,
double& _time,
80 public: std::pair<double, math::Matrix4>
GetKeyFrame(
81 const unsigned int _i)
const;
98 public:
void Scale(
const double _scale);
106 public:
double GetTimeAtX(
const double _x)
const;
131 public:
void SetName(
const std::string& _name);
135 public: std::string
GetName()
const;
144 public:
bool HasNode(
const std::string& _node)
const;
150 public:
void AddKeyFrame(
const std::string& _node,
const double _time,
157 public:
void AddKeyFrame(
const std::string& _node,
const double _time,
170 const double _time,
const bool _loop =
true);
180 public: std::map<std::string, math::Matrix4>
GetPoseAt(
const double _time,
181 const bool _loop =
true)
const;
191 public: std::map<std::string, math::Matrix4>
GetPoseAtX(
const double _x,
192 const std::string& _node,
const bool _loop =
true)
const;
196 public:
void Scale(
const double _scale);