6 #include "RbMovableItem.h"
9 #include "RbMotorizedJoint.h"
10 #include "RbRigidBody.h"
12 #include "RbLinearHillMuscle.h"
13 #include "RbSimulator.h"
26 RbLinearHillMuscle::RbLinearHillMuscle()
31 RbLinearHillMuscle::~RbLinearHillMuscle()
38 {
Std_TraceMsg(0,
"Caught Error in desctructor of RbLinearHillMuscle\r\n",
"", -1,
false,
true);}
41 void RbLinearHillMuscle::CreateParts()
49 LinearHillMuscle::CreateJoints();
50 RbLine::CreateParts();
55 LinearHillMuscle::ResetSimulation();
56 RbLine::ResetSimulation();
61 LinearHillMuscle::AfterResetSimulation();
62 RbLine::AfterResetSimulation();
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.
virtual void AfterResetSimulation()
Called after a simulation reset for some objects.
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 StepSimulation()
Step the simulation for this object.
float m_fltTension
Tension of the muscle.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
virtual void CalculateTension()
Calculates the tension.