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"
33 OsgOdorSensor::OsgOdorSensor()
35 m_bPhsyicsDefined =
false;
39 OsgOdorSensor::~OsgOdorSensor()
47 {
Std_TraceMsg(0,
"Caught Error in desctructor of OsgOdorSensor/\r\n",
"", -1,
false,
true);}
50 void OsgOdorSensor::CreateGraphicsGeometry()
55 void OsgOdorSensor::CreatePhysicsGeometry()
57 m_bPhsyicsDefined =
true;
60 void OsgOdorSensor::ResizePhysicsGeometry() {}
66 OsgRigidBody::CreateItem();
Declares the vortex Light class.
virtual void CreateParts()
Allows the rigid body to create its parts using the chosen physics engine.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
Declares the vortex odor sensor class.
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)