AnimatLab  2
Test
BallSocket.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace AnimatSim
10 {
11  namespace Environment
12  {
13  namespace Joints
14  {
15 
27  class ANIMAT_PORT BallSocket : public Joint
28  {
29  protected:
32  CStdFPoint m_oConstraintAxis;
33 
36  //float m_fltConstraintAngle;
37 
40  //float m_fltStiffness;
41 
43  //float m_fltDamping;
44 
45  public:
46  BallSocket();
47  virtual ~BallSocket();
48 
49  static BallSocket *CastToDerived(AnimatBase *lpBase) {return static_cast<BallSocket*>(lpBase);}
50 
51  float CylinderRadius();
52  float CylinderHeight();
53  float BallRadius();
54 
55  virtual void Load(CStdXml &oXml);
56  };
57 
58  } //Joints
59  } // Environment
60 } //AnimatSim
The base class for all of the joint type of objects.
Definition: Joint.h:40
Root namespace for the base simulation library for AnimatLab.
A BallSocket type of joint.
Definition: BallSocket.h:27
Animat base class.
Definition: AnimatBase.h:36