7 #include "BlMotorizedJoint.h"
8 #include "BlRigidBody.h"
10 #include "BlLinearHillStretchReceptor.h"
11 #include "BlSimulator.h"
24 BlLinearHillStretchReceptor::BlLinearHillStretchReceptor()
29 BlLinearHillStretchReceptor::~BlLinearHillStretchReceptor()
38 {
Std_TraceMsg(0,
"Caught Error in desctructor of BlLinearHillStretchReceptor\r\n",
"", -1,
false,
true);}
41 void BlLinearHillStretchReceptor::CreateParts()
49 LinearHillStretchReceptor::CreateJoints();
50 BlLine::CreateParts();
59 LinearHillStretchReceptor::ResetSimulation();
60 BlLine::ResetSimulation();
63 void BlLinearHillStretchReceptor::AfterResetSimulation()
65 LinearHillStretchReceptor::AfterResetSimulation();
66 BlLine::AfterResetSimulation();
virtual void CalculateTension()
Calculates the tension.
float m_fltIIDischargeConstant
Constant that relates length of muscle segment to discharge rate of type II fibers.
float m_fltIaRate
Ia fiber discharge rate.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
float m_fltSeLength
The length of the SE section of the muscle. The resting length is one half the total muscle length...
float m_fltIbDischargeConstant
Constant that relates length of muscle segment to discharge rate of type Ib fibers.
virtual void CreateJoints()
Allows the rigid body to create its joints using the chosen physics engine.
virtual void StepSimulation()
Step the simulation for this object.
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.
virtual void ResetSimulation()
Resets the simulation back to time 0.
float m_fltTension
Tension of the muscle.
float m_fltIbRate
Ib fiber discharge rate.
float m_fltIaDischargeConstant
Constant that relates length of muscle segment to discharge rate of type Ia fibers.
float m_fltIIRate
II fiber discharge rate.
float m_fltPeLength
The length of the PE section of the muscle. The resting length is one half the total muscle length...