AnimatLab  2
Test
OsgFreeJoint.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace OsgAnimatSim
10 {
11  namespace Environment
12  {
13  namespace Joints
14  {
15 
16  class ANIMAT_OSG_PORT OsgFreeJoint : public OsgJoint, public BallSocket
17  {
18  protected:
19  bool m_bPhsyicsDefined;
20 
21  virtual void SetupPhysics();
22  virtual void DeletePhysics(bool bIncludeChildren);
23 
24  public:
25  OsgFreeJoint();
26  virtual ~OsgFreeJoint();
27 
28  #pragma region DataAccesMethods
29 
30  virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError = true);
31  virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
32  virtual bool Physics_IsDefined() {return m_bPhsyicsDefined;};
33 
34  #pragma endregion
35 
36  virtual void CreateJoint();
37  };
38 
39  } // Joints
40  } // Environment
41 } //VortexAnimatSim
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
A common class for all joint data specific to vortex.
Definition: OsgJoint.h:26