#include <playground.h>
Inheritance diagram for Playground:
Definition at line 74 of file playground.h.
Public Member Functions | |
Playground (const OdeHandle &odeHandle, const OsgHandle &osgHandle, const osg::Vec3 &dimension=osg::Vec3(7.0, 0.2, 0.5), double factorxy=1) | |
virtual void | update () |
updates the position of the geoms ( not nessary for static objects) | |
virtual void | setPose (const osg::Matrix &pose) |
sets position of the obstacle and creates/recreates obstacle if necessary | |
virtual osg::Matrix | getPose () |
gives actual pose of the obstacle | |
Protected Member Functions | |
virtual void | create () |
virtual void | destroy () |
Protected Attributes | |
double | length |
double | width |
double | height |
double | factorlength2 |
Box * | box [4] |
bool | obstacle_exists |
|
Definition at line 86 of file playground.h. |
|
Reimplemented in ClosedPlayground. Definition at line 122 of file playground.h. |
|
Reimplemented in ClosedPlayground. Definition at line 148 of file playground.h. |
|
gives actual pose of the obstacle
Implements AbstractObstacle. Definition at line 116 of file playground.h. |
|
sets position of the obstacle and creates/recreates obstacle if necessary
Implements AbstractObstacle. Definition at line 108 of file playground.h. |
|
updates the position of the geoms ( not nessary for static objects)
Implements AbstractObstacle. Definition at line 104 of file playground.h. |
|
Definition at line 80 of file playground.h. |
|
Definition at line 78 of file playground.h. |
|
Definition at line 77 of file playground.h. |
|
Definition at line 77 of file playground.h. |
|
Definition at line 82 of file playground.h. |
|
Definition at line 77 of file playground.h. |