19 #ifndef VERTICAL_SPINE_MODEL_H
20 #define VERTICAL_SPINE_MODEL_H
50 typedef std::map<std::string, std::vector<tgBasicActuator*> >
MuscleMap;
80 virtual void step(
const double dt);
89 const std::vector<tgBasicActuator*>&
getMuscles (
const std::string& key)
const;
91 const std::vector<tgBasicActuator*>& getAllMuscles()
const;
116 static void addNodes(
tgStructure& tetra,
double edge,
double height);
138 edge,
size_t segmentCount);
149 model,
size_t segmentCount);
155 std::vector<tgBasicActuator*> allMuscles;
166 const size_t m_segments;
virtual void step(const double dt)
size_t getSegments() const
virtual void setup(tgWorld &world)
Definition of tgSubject class.
VerticalSpineModel(size_t segments)
std::map< std::string, std::vector< tgBasicActuator * > > MuscleMap
Contains the definition of class tgModel.
virtual ~VerticalSpineModel()
const std::vector< tgBasicActuator * > & getMuscles(const std::string &key) const