#include <playground.h>
Inherits AbstractGround.
Inherited by ClosedPlayground.
Inheritance diagram for Playground:
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, bool createGround=true) | |
virtual void | changeGeometry (double length, double width, double height, double factorxy) |
virtual void | setWallSubstance (const Substance &substance) |
Protected Member Functions | |
virtual void | create () |
overload this function to create the obstactle. All primitives should go into the list "obst" | |
Protected Attributes | |
double | length |
double | width |
double | height |
double | factorlength2 |
Playground | ( | const OdeHandle & | odeHandle, | |
const OsgHandle & | osgHandle, | |||
const osg::Vec3 & | dimension = osg::Vec3(7.0, 0.2, 0.5) , |
|||
double | factorxy = 1 , |
|||
bool | createGround = true | |||
) | [inline] |
virtual void changeGeometry | ( | double | length, | |
double | width, | |||
double | height, | |||
double | factorxy | |||
) | [inline, virtual] |
Reimplemented from AbstractGround.
virtual void create | ( | ) | [inline, protected, virtual] |
overload this function to create the obstactle. All primitives should go into the list "obst"
Implements AbstractObstacle.
Reimplemented in ClosedPlayground.
virtual void setWallSubstance | ( | const Substance & | substance | ) | [inline, virtual] |
double factorlength2 [protected] |
double height [protected] |
double length [protected] |
double width [protected] |