#include <meshground.h>
Inherits AbstractObstacle.
Inheritance diagram for MeshGround:
Public Member Functions | |
MeshGround (const OdeHandle &odeHandle, const OsgHandle &osgHandle, const std::string &filename, const std::string &texture, double x_size, double y_size, double height, OSGHeightField::CodingMode coding=OSGHeightField::Red) | |
Constructor. | |
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 | |
Protected Member Functions | |
virtual void | create () |
virtual void | destroy () |
Protected Attributes | |
std::string | filename |
std::string | texture |
HeightField * | heightfield |
double | x_size |
double | y_size |
double | height |
OSGHeightField::CodingMode | coding |
|
Constructor.
|
|
Implements AbstractObstacle.
|
|
Implements AbstractObstacle.
|
|
sets position of the obstacle and creates/recreates obstacle if necessary
Implements AbstractObstacle.
|
|
updates the position of the geoms ( not nessary for static objects)
Implements AbstractObstacle.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|