7 #include "BlMotorizedJoint.h"
8 #include "BlRigidBody.h"
10 #include "BlLinearHillMuscle.h"
11 #include "BlSimulator.h"
24 BlLinearHillMuscle::BlLinearHillMuscle()
29 BlLinearHillMuscle::~BlLinearHillMuscle()
38 {
Std_TraceMsg(0,
"Caught Error in desctructor of BlLinearHillMuscle\r\n",
"", -1,
false,
true);}
41 void BlLinearHillMuscle::CreateParts()
49 LinearHillMuscle::CreateJoints();
50 BlLine::CreateParts();
55 LinearHillMuscle::ResetSimulation();
56 BlLine::ResetSimulation();
61 LinearHillMuscle::AfterResetSimulation();
62 BlLine::AfterResetSimulation();
virtual void AfterResetSimulation()
Called after a simulation reset for some objects.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
virtual void CreateJoints()
Allows the rigid body to create its joints using the chosen physics engine.
virtual void ResetSimulation()
Resets the simulation back to time 0.
void Std_TraceMsg(const int iLevel, std::string strMessage, std::string strSourceFile, int iSourceLine, bool bLogToFile, bool bPrintHeader)
Traces a message to the debugger window.
float m_fltTension
Tension of the muscle.
virtual void StepSimulation()
Step the simulation for this object.
virtual void CalculateTension()
Calculates the tension.