8 #include "VsMovableItem.h"
11 #include "VsMotorizedJoint.h"
12 #include "VsRigidBody.h"
15 #include "VsSimulator.h"
16 #include "VsOsgUserData.h"
17 #include "VsOsgUserDataVisitor.h"
18 #include "VsDragger.h"
19 #include "VsFreeJoint.h"
54 {
Std_TraceMsg(0,
"Caught Error in desctructor of VsFreeJoint/\r\n",
"", -1,
false,
true);}
57 void VsFreeJoint::DeletePhysics()
61 void VsFreeJoint::SetupPhysics()
65 void VsFreeJoint::CreateJoint()
71 #pragma region DataAccesMethods
74 bool VsFreeJoint::SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError)
76 if(VsJoint::Physics_SetData(strDataType, strValue))
79 if(BallSocket::SetData(strDataType, strValue,
false))
84 THROW_PARAM_ERROR(Al_Err_lInvalidDataType, Al_Err_strInvalidDataType,
"Data Type", strDataType);
89 void VsFreeJoint::QueryProperties(CStdPtrArray<TypeProperty> &aryProperties)
91 VsJoint::Physics_QueryProperties(aryProperties);
92 BallSocket::QueryProperties(aryProperties);
VsFreeJoint()
Default constructor.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
virtual ~VsFreeJoint()
Destructor.
void Std_TraceMsg(const int iLevel, std::string strMessage, std::string strSourceFile, int iSourceLine, bool bLogToFile, bool bPrintHeader)
Traces a message to the debugger window.
virtual void SetupGraphics()
Sets up the graphics for the joint.
Declares the vortex structure class.