66 public:
void Load(sdf::ElementPtr _sdf);
69 public:
virtual void Init();
72 public:
virtual void Play();
75 public:
virtual void Stop();
84 public:
virtual void Fini();
92 public:
virtual const sdf::ElementPtr
GetSDF();
99 private:
void AddSphereInertia(sdf::ElementPtr _linkSdf,
101 double _mass,
double _radius);
108 private:
void AddSphereCollision(sdf::ElementPtr _linkSdf,
109 const std::string &_name,
120 private:
void AddSphereVisual(sdf::ElementPtr _linkSdf,
121 const std::string &_name,
124 const std::string &_material,
134 private:
void AddBoxVisual(sdf::ElementPtr _linkSdf,
135 const std::string &_name,
138 const std::string &_material,
145 private:
void AddActorVisual(sdf::ElementPtr _linkSdf,
146 const std::string &_name,
151 private:
void LoadAnimation(sdf::ElementPtr _sdf);
155 private:
void LoadScript(sdf::ElementPtr _sdf);
161 private:
void SetPose(std::map<std::string, math::Matrix4> _frame,
162 std::map<std::string, std::string> _skelMap,
double _time);
204 protected: std::map<unsigned int, common::PoseAnimation*>
trajectories;
210 protected: std::map<std::string, common::SkeletonAnimation*>
214 protected: std::map<std::string, std::map<std::string, std::string> >