AnimatLab  2
Test
VsMotorizedJoint.h
1 
2 #pragma once
3 
4 namespace VortexAnimatSim
5 {
6  namespace Environment
7  {
8 
9  class VORTEX_PORT VsMotorizedJoint : public VsJoint, public IMotorizedJoint
10  {
11  protected:
12  MotorizedJoint *m_lpThisMotorJoint;
13  bool m_bMotorOn;
14 
15  virtual void SetThisPointers();
16  virtual void CalculateServoVelocity();
17 
18  public:
20  virtual ~VsMotorizedJoint();
21 
22  virtual void Physics_SetVelocityToDesired();
23  virtual void Physics_EnableLock(bool bOn, float fltPosition, float fltMaxLockForce);
24  virtual void Physics_EnableMotor(bool bOn, float fltDesiredVelocity, float fltMaxForce, bool bForceWakeup);
25  virtual void Physics_MaxForce(float fltVal);
26  };
27 
28  } // Environment
29 } //VortexAnimatSim
A common class for all joint data specific to vortex.
Definition: VsJoint.h:32
Classes for implementing the cm-labs vortex physics engine for AnimatLab.