All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
gazebo::rendering::Heightmap Class Reference

Rendering a terrain using heightmap information. More...

#include <rendering/rendering.hh>

Public Member Functions

 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.
 

Detailed Description

Rendering a terrain using heightmap information.

Constructor & Destructor Documentation

gazebo::rendering::Heightmap::Heightmap ( ScenePtr  _scene)

Constructor.

Parameters
[in]_scenePointer to the scene that will contain the heightmap
virtual gazebo::rendering::Heightmap::~Heightmap ( )
virtual

Destructor.

Member Function Documentation

double gazebo::rendering::Heightmap::GetHeight ( double  _x,
double  _y 
)

Get the height at a location.

Parameters
[in]_xX location
[in]_yY location
Returns
The height at the specified location
void gazebo::rendering::Heightmap::Load ( )

Load the heightmap.

void gazebo::rendering::Heightmap::LoadFromMsg ( ConstVisualPtr &  _msg)

Load the heightmap from a visual message.

Parameters
[in]_msgThe visual message containing heightmap info

The documentation for this class was generated from the following file: