DummyObstacle which holds a DummyPrimitive (so getMainPrimitive() works). More...
#include <DummyObstacle.h>
Inherits lpzrobots::AbstractObstacle.
Public Member Functions | |
DummyObstacle (const OdeHandle &odeHandle, const OsgHandle &osgHandle) | |
virtual | ~DummyObstacle () |
virtual void | setPose (const osg::Matrix &pose) |
sets position of the obstacle and creates/recreates obstacle if necessary | |
virtual Primitive * | getMainPrimitive () const |
return the "main" primitive of the obtactle. The meaning of "main" is arbitrary | |
Protected Member Functions | |
virtual void | create () |
overload this function to create the obstactle. All primitives should go into the list "obst" |
DummyObstacle which holds a DummyPrimitive (so getMainPrimitive() works).
DummyObstacle | ( | const OdeHandle & | odeHandle, | |
const OsgHandle & | osgHandle | |||
) |
~DummyObstacle | ( | ) | [virtual] |
void create | ( | ) | [protected, virtual] |
overload this function to create the obstactle. All primitives should go into the list "obst"
Implements AbstractObstacle.
Primitive * getMainPrimitive | ( | ) | const [virtual] |
return the "main" primitive of the obtactle. The meaning of "main" is arbitrary
Implements AbstractObstacle.
void setPose | ( | const osg::Matrix & | pose | ) | [virtual] |
sets position of the obstacle and creates/recreates obstacle if necessary
Implements AbstractObstacle.