5 #include <msp/datafile/objectloader.h>
16 class Loader: public DataFile::CollectionObjectLoader<Pose>
19 Loader(Pose &, Collection &);
21 void armature(const std::string &);
22 void link(const std::string &);
32 class LinkLoader: public DataFile::ObjectLoader<Pose>
38 LinkLoader(Pose &, unsigned);
40 void rotation(float, float, float, float);
43 const Armature *armature;
44 std::vector<Link> links;
48 Pose(const Armature &);
50 void set_armature(const Armature &);
51 const Armature *get_armature() const { return armature; }
52 void rotate_link(unsigned, float, const Vector3 &);
53 const Matrix &get_link_matrix(unsigned) const;