9 #include "OsgMovableItem.h"
12 #include "OsgRigidBody.h"
14 #include "OsgUserData.h"
15 #include "OsgUserDataVisitor.h"
17 #include "OsgMouseSpring.h"
19 #include "OsgCameraManipulator.h"
20 #include "OsgDragger.h"
40 m_bPhsyicsDefined =
false;
58 {
Std_TraceMsg(0,
"Caught Error in desctructor of OsgFreeJoint/\r\n",
"", -1,
false,
true);}
61 void OsgFreeJoint::DeletePhysics(
bool bIncludeChildren)
65 void OsgFreeJoint::SetupPhysics()
67 m_bPhsyicsDefined =
true;
70 void OsgFreeJoint::CreateJoint()
76 #pragma region DataAccesMethods
79 bool OsgFreeJoint::SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError)
81 if(OsgJoint::Physics_SetData(strDataType, strValue))
84 if(BallSocket::SetData(strDataType, strValue,
false))
89 THROW_PARAM_ERROR(Al_Err_lInvalidDataType, Al_Err_strInvalidDataType,
"Data Type", strDataType);
94 void OsgFreeJoint::QueryProperties(CStdPtrArray<TypeProperty> &aryProperties)
96 OsgJoint::Physics_QueryProperties(aryProperties);
97 BallSocket::QueryProperties(aryProperties);
Declares the vortex Light class.
virtual void SetupGraphics()
Sets up the graphics for the joint.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
virtual ~OsgFreeJoint()
Destructor.
Declares the vs universal class.
OsgFreeJoint()
Default constructor.
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.
Declares the vortex structure class.