19 #ifndef VERTICAL_SPINE_MODEL_H
20 #define VERTICAL_SPINE_MODEL_H
51 std::string vertebra_name;
68 typedef std::map<std::string, std::vector<tgSpringCableActuator*> >
MuscleMap;
98 virtual void step(
const double dt);
107 const std::vector<tgSpringCableActuator*>&
getMuscles (
const std::string& key)
const;
112 const std::vector<tgSpringCableActuator*>&
getAllMuscles()
const;
178 double edge,
size_t segmentCount);
188 size_t vertebra_number);
199 model,
size_t segmentCount);
205 std::vector<tgSpringCableActuator*> allMuscles;
216 const size_t m_segments;
virtual void step(const double dt)
size_t getSegments() const
const std::vector< tgSpringCableActuator * > & getMuscles(const std::string &key) const
virtual void setup(tgWorld &world)
Definition of tgSubject class.
VerticalSpineModel(size_t segments)
Contains the definition of class tgModel.
virtual ~VerticalSpineModel()
Definition of tgObserver class.
std::map< std::string, std::vector< tgSpringCableActuator * > > MuscleMap
const std::vector< tgSpringCableActuator * > & getAllMuscles() const