Robot Simulator of the Robotics Group for Self-Organization of Control: DummyObstacle Class Reference

# DummyObstacle Class Reference

DummyObstacle which holds a DummyPrimitive (so getMainPrimitive() works). More...

`#include <DummyObstacle.h>`

Inherits lpzrobots::AbstractObstacle.

Collaboration diagram for DummyObstacle:
[legend]

List of all members.

## 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"

## Detailed Description

DummyObstacle which holds a DummyPrimitive (so getMainPrimitive() works).

## Constructor & Destructor Documentation

DummyObstacle | ( | const OdeHandle & | odeHandle,
|  | const OsgHandle & | osgHandle |
| ) |  |  |

~DummyObstacle | ( |  | ) | `[virtual]`

## Member Function Documentation

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.

The documentation for this class was generated from the following files:

- DummyObstacle.h
- DummyObstacle.cpp