AnimatLab  2
Test
RbPrismatic.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace RoboticsAnimatSim
10 {
11  namespace Environment
12  {
13  namespace Joints
14  {
15 
17  {
18  protected:
19 
20  virtual void TurnMotorOff();
21 
22  public:
23  RbPrismatic();
24  virtual ~RbPrismatic();
25 
26  virtual void JointPosition(float fltPos);
27 
28  virtual void SetLimitValues();
29 
30 #pragma region DataAccesMethods
31 
32  virtual float *GetDataPointer(const std::string &strDataType);
33  virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError = true);
34  virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
35 
36 #pragma endregion
37 
38  virtual void EnableLimits(bool bVal);
39  virtual void CreateJoint();
40  virtual void StepSimulation();
41  virtual void ResetSimulation();
42 
43  virtual void Physics_EnableLock(bool bOn, float fltPosition, float fltMaxLockForce);
44  virtual void Physics_EnableMotor(bool bOn, float fltDesiredVelocity, float fltMaxForce, bool bForceWakeup);
45  virtual void Physics_MaxForce(float fltVal);
46 
47  virtual void SetConstraintFriction();
48  };
49 
50  } //Joints
51  } // Environment
52 } //RoboticsAnimatSim
A Prismatic type of joint.
Definition: Prismatic.h:33
Classes for implementing the cm-labs vortex physics engine for AnimatLab.