Rendering a terrain using heightmap information.
More...
#include <rendering/rendering.hh>
|
| Heightmap (ScenePtr _scene) |
| Constructor.
|
|
virtual | ~Heightmap () |
| Destructor.
|
|
double | GetHeight (double _x, double _y) |
| Get the height at a location.
|
|
void | Load () |
| Load the heightmap.
|
|
void | LoadFromMsg (ConstVisualPtr &_msg) |
| Load the heightmap from a visual message.
|
|
Rendering a terrain using heightmap information.
gazebo::rendering::Heightmap::Heightmap |
( |
ScenePtr |
_scene | ) |
|
Constructor.
- Parameters
-
[in] | _scene | Pointer to the scene that will contain the heightmap |
virtual gazebo::rendering::Heightmap::~Heightmap |
( |
| ) |
|
|
virtual |
double gazebo::rendering::Heightmap::GetHeight |
( |
double |
_x, |
|
|
double |
_y |
|
) |
| |
Get the height at a location.
- Parameters
-
[in] | _x | X location |
[in] | _y | Y location |
- Returns
- The height at the specified location
void gazebo::rendering::Heightmap::Load |
( |
| ) |
|
void gazebo::rendering::Heightmap::LoadFromMsg |
( |
ConstVisualPtr & |
_msg | ) |
|
Load the heightmap from a visual message.
- Parameters
-
[in] | _msg | The visual message containing heightmap info |
The documentation for this class was generated from the following file: