51 virtual void SetLimitValues() = 0;
67 virtual float LimitPos();
79 virtual void LimitPos(
float fltVal,
bool bUseScaling =
true,
bool bOverrideSameCheck =
false);
87 virtual void SetLimitPos() = 0;
97 virtual float Damping();
108 virtual void Damping(
float fltVal,
bool bUseScaling =
true);
118 virtual float Restitution();
128 virtual void Restitution(
float fltVal);
138 virtual float Stiffness();
149 virtual void Stiffness(
float fltVal,
bool bUseScaling =
true);
151 virtual void Color(
float fltR,
float fltG,
float fltB,
float fltA);
152 virtual CStdColor *Color();
153 virtual void Color(std::string strXml);
163 virtual void Alpha(
float fltA) = 0;
173 virtual float Alpha();
175 virtual void IsLowerLimit(
bool bVal);
176 virtual bool IsLowerLimit();
178 virtual void IsShowPosition(
bool bVal);
179 virtual bool IsShowPosition();
181 virtual void SetSystemPointers(
Simulator *lpSim,
Structure *lpStructure, NeuralModule *lpModule,
Node *lpNode,
float fltPosition,
bool bVerify);
182 virtual void SetSystemPointers(
Simulator *lpSim,
Structure *lpStructure, NeuralModule *lpModule,
Node *lpNode,
bool bVerify);
183 virtual void VerifySystemPointers();
184 virtual float *GetDataPointer(
const std::string &strDataType);
185 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
186 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
187 virtual void Load(CStdXml &oXml, std::string strName);
195 virtual void SetupGraphics() = 0;
203 virtual void DeleteGraphics() = 0;
The base class for all of the joint type of objects.
float m_fltLimitPos
The limit position for the constraint. This can be in radians or meters depending on the type of join...
Simulates the entire environment.
Root namespace for the base simulation library for AnimatLab.
float m_fltRestitution
The restitution coefficient for the constraint.
Joint * m_lpJoint
Pointer to parent joint.
float m_fltDamping
The damping for the constraint.
A "static" structure in the simulation.
float m_fltStiffness
The stiffness of the constraint.
Base class for body parts and neural network nodes.
bool m_bIsLowerLimit
If true then this is the lower limit of a pair of ConstraintLimits, else it is the upper limit...
CStdColor m_vColor
The color used to display the limit.