MeshGround Class Reference
#include <meshground.h>
Inherits lpzrobots::AbstractObstacle.
List of all members.
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
| odeHandle | |
| osgHandle | |
| filename | name of the file to load. If ending is .ppm then it is considered as a bitmap height file. The coding mode is used to decode the heights. Otherwise it is consider to be a OSG HeightFieldFile |
| texture | image filename for the texture |
| x_size | size in x direction in world coordinates |
| y_size | size in y direction in world coordinates |
| height | height in world coordinates |
| coding | Coding mode, see OSGHeightField (this an own class, not in OSG) |
Member Function Documentation
| void create |
( |
|
) |
[protected, virtual] |
overload this function to create the obstactle. All primitives should go into the list "obst"
Implements AbstractObstacle.
| void destroy |
( |
|
) |
[protected, virtual] |
is called to destroy the object. The default implementation is to delete all primitives in "obst".
Reimplemented from AbstractObstacle.
sets position of the obstacle and creates/recreates obstacle if necessary
Implements AbstractObstacle.
| virtual void update |
( |
|
) |
[inline, virtual] |
updates the position of the geoms ( not nessary for static objects)
Reimplemented from AbstractObstacle.
Member Data Documentation
The documentation for this class was generated from the following files: