Public Member Functions | Protected Attributes | Private Attributes
mvsim::ElevationMap Class Reference

#include <ElevationMap.h>

Inheritance diagram for mvsim::ElevationMap:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ElevationMap (World *parent, const rapidxml::xml_node< char > *root)
bool getElevationAt (double x, double y, float &z) const
 return false if out of bounds
virtual void gui_update (mrpt::opengl::COpenGLScene &scene)
 See docs in base class.
virtual void loadConfigFrom (const rapidxml::xml_node< char > *root)
 See docs in base class.
virtual void simul_post_timestep (const TSimulContext &context)
 See docs in base class.
virtual void simul_pre_timestep (const TSimulContext &context)
 See docs in base class.
virtual ~ElevationMap ()

Protected Attributes

bool m_first_scene_rendering
mrpt::opengl::CMesh::Ptr m_gl_mesh
mrpt::math::CMatrixFloat m_mesh_z_cache
double m_resolution

Private Attributes

mrpt::utils::TMatchingPairList corrs
mrpt::poses::CPose3D m_optimal_transf

Detailed Description

Definition at line 19 of file ElevationMap.h.


Constructor & Destructor Documentation

ElevationMap::ElevationMap ( World parent,
const rapidxml::xml_node< char > *  root 
)

Definition at line 24 of file ElevationMap.cpp.

Definition at line 30 of file ElevationMap.cpp.


Member Function Documentation

bool ElevationMap::getElevationAt ( double  x,
double  y,
float &  z 
) const

return false if out of bounds

Definition at line 283 of file ElevationMap.cpp.

void ElevationMap::gui_update ( mrpt::opengl::COpenGLScene &  scene) [virtual]

See docs in base class.

Implements mvsim::VisualObject.

Definition at line 116 of file ElevationMap.cpp.

void ElevationMap::loadConfigFrom ( const rapidxml::xml_node< char > *  root) [virtual]

See docs in base class.

Implements mvsim::WorldElementBase.

Definition at line 31 of file ElevationMap.cpp.

void ElevationMap::simul_post_timestep ( const TSimulContext context) [virtual]

See docs in base class.

Reimplemented from mvsim::Simulable.

Definition at line 260 of file ElevationMap.cpp.

void ElevationMap::simul_pre_timestep ( const TSimulContext context) [virtual]

See docs in base class.

Reimplemented from mvsim::Simulable.

Definition at line 133 of file ElevationMap.cpp.


Member Data Documentation

mrpt::utils::TMatchingPairList mvsim::ElevationMap::corrs [private]

m_gl_mesh. Coordinate order is (x,y)

Definition at line 51 of file ElevationMap.h.

Definition at line 43 of file ElevationMap.h.

mrpt::opengl::CMesh::Ptr mvsim::ElevationMap::m_gl_mesh [protected]

This object holds both, the mesh data, and is in charge of 3D rendering.

Definition at line 42 of file ElevationMap.h.

mrpt::math::CMatrixFloat mvsim::ElevationMap::m_mesh_z_cache [protected]

A copy of elevation data in

Definition at line 45 of file ElevationMap.h.

mrpt::poses::CPose3D mvsim::ElevationMap::m_optimal_transf [private]

Definition at line 52 of file ElevationMap.h.

Definition at line 44 of file ElevationMap.h.


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


mvsim
Author(s):
autogenerated on Thu Sep 7 2017 09:27:49