7 #include "OsgMovableItem.h"
10 #include "OsgRigidBody.h"
12 #include "OsgUserData.h"
13 #include "OsgUserDataVisitor.h"
15 #include "OsgMouseSpring.h"
17 #include "OsgCameraManipulator.h"
18 #include "OsgDragger.h"
20 #include "OsgAttachment.h"
34 OsgAttachment::OsgAttachment()
36 m_bPhsyicsDefined =
false;
40 OsgAttachment::~OsgAttachment()
49 {
Std_TraceMsg(0,
"Caught Error in desctructor of OsgAttachment\r\n",
"", -1,
false,
true);}
52 void OsgAttachment::CreateGraphicsGeometry()
57 void OsgAttachment::CreatePhysicsGeometry()
59 m_bPhsyicsDefined =
true;
62 void OsgAttachment::ResizePhysicsGeometry() {}
68 OsgRigidBody::CreateItem();
Declares the vortex Light class.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
virtual void CreateParts()
Allows the rigid body to create its parts using the chosen physics engine.
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.
float m_fltRadius
The radius of the sensor part. It is shown as a sphere object.
osg::Geometry ANIMAT_OSG_PORT * CreateSphereGeometry(int latres, int longres, float radius)