24 #ifndef __DUMMYOBSTACLE_H_
25 #define __DUMMYOBSTACLE_H_
Data structure for accessing the ODE.
Definition: odehandle.h:44
OsgHandle osgHandle
Definition: abstractobstacle.h:174
DummyObstacle which holds a DummyPrimitive (so getMainPrimitive() works).
Definition: DummyObstacle.h:34
Abstract class (interface) for obstacles.
Definition: abstractobstacle.h:46
DummyObstacle(const OdeHandle &odeHandle, const OsgHandle &osgHandle)
Definition: DummyObstacle.cpp:30
Matrixd Matrix
Definition: osgforwarddecl.h:47
OdeHandle odeHandle
Definition: abstractobstacle.h:173
Data structure for accessing the OpenSceneGraph.
Definition: osghandle.h:79
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
virtual void setPose(const osg::Matrix &pose)
sets position of the obstacle and creates/recreates obstacle if necessary
Definition: DummyObstacle.cpp:37
osg::Matrix pose
Definition: abstractobstacle.h:170
virtual Primitive * getMainPrimitive() const
return the "main" primitive of the obtactle. The meaning of "main" is arbitrary
Definition: DummyObstacle.cpp:41
virtual void create()
overload this function to create the obstactle. All primitives should go into the list "obst" ...
Definition: DummyObstacle.cpp:46
virtual ~DummyObstacle()
Definition: DummyObstacle.cpp:34