19 #ifndef BASE_SPINE_MODEL_LEARNING_H
20 #define BASE_SPINE_MODEL_LEARNING_H
51 typedef std::map<std::string, std::vector<tgLinearString*> > MuscleMap;
59 virtual void step(
double dt);
61 virtual std::vector<double> getSegmentCOM(
const int n)
const;
63 virtual const std::vector<tgLinearString*>& getMuscles(
const std::string& key)
const;
65 virtual const std::vector<tgLinearString*>& getAllMuscles();
67 virtual const int getSegments();
69 virtual std::size_t getNumberofMuslces()
const
71 return m_allMuscles.size();
78 std::vector<tgLinearString*> m_allMuscles;
80 std::vector<tgModel*> m_allSegments;
82 MuscleMap m_muscleMap;
84 const std::size_t m_segments;
87 #endif // BASE_SPINE_MODEL_H
Definition of tgSubject class.
virtual void setup(tgWorld &world)
Contains the definition of class tgModel. $Id$.
virtual void step(double dt)