#include <ElevationMap.h>
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 More... | |
virtual void | gui_update (mrpt::opengl::COpenGLScene &scene) |
See docs in base class. More... | |
virtual void | loadConfigFrom (const rapidxml::xml_node< char > *root) |
See docs in base class. More... | |
virtual void | simul_post_timestep (const TSimulContext &context) |
See docs in base class. More... | |
virtual void | simul_pre_timestep (const TSimulContext &context) |
See docs in base class. More... | |
virtual | ~ElevationMap () |
Public Member Functions inherited from mvsim::WorldElementBase | |
WorldElementBase (World *parent) | |
virtual | ~WorldElementBase () |
Public Member Functions inherited from mvsim::VisualObject | |
World * | getWorldObject () |
const World * | getWorldObject () const |
VisualObject (World *parent) | |
virtual | ~VisualObject () |
Public Member Functions inherited from mvsim::Simulable | |
virtual void | apply_force (double fx, double fy, double local_ptx=0.0, double local_pty=0.0) |
Protected Attributes | |
bool | m_first_scene_rendering |
mrpt::opengl::CMesh::Ptr | m_gl_mesh |
mrpt::math::CMatrixFloat | m_mesh_z_cache |
double | m_resolution |
Protected Attributes inherited from mvsim::VisualObject | |
World * | m_world |
Private Attributes | |
TMatchingPairList | corrs |
mrpt::poses::CPose3D | m_optimal_transf |
Additional Inherited Members | |
Static Public Member Functions inherited from mvsim::WorldElementBase | |
static WorldElementBase * | factory (World *parent, const rapidxml::xml_node< char > *xml_node, const char *class_name=NULL) |
Definition at line 34 of file ElevationMap.h.
ElevationMap::ElevationMap | ( | World * | parent, |
const rapidxml::xml_node< char > * | root | ||
) |
Definition at line 24 of file ElevationMap.cpp.
|
virtual |
Definition at line 30 of file ElevationMap.cpp.
bool ElevationMap::getElevationAt | ( | double | x, |
double | y, | ||
float & | z | ||
) | const |
return false if out of bounds
Definition at line 293 of file ElevationMap.cpp.
|
virtual |
See docs in base class.
Implements mvsim::VisualObject.
Definition at line 127 of file ElevationMap.cpp.
|
virtual |
See docs in base class.
Implements mvsim::WorldElementBase.
Definition at line 31 of file ElevationMap.cpp.
|
virtual |
See docs in base class.
Reimplemented from mvsim::Simulable.
Definition at line 270 of file ElevationMap.cpp.
|
virtual |
See docs in base class.
Reimplemented from mvsim::Simulable.
Definition at line 144 of file ElevationMap.cpp.
|
private |
m_gl_mesh. Coordinate order is (x,y)
Definition at line 66 of file ElevationMap.h.
|
protected |
Definition at line 58 of file ElevationMap.h.
|
protected |
This object holds both, the mesh data, and is in charge of 3D rendering.
Definition at line 57 of file ElevationMap.h.
|
protected |
A copy of elevation data in
Definition at line 60 of file ElevationMap.h.
|
private |
Definition at line 67 of file ElevationMap.h.
|
protected |
Definition at line 59 of file ElevationMap.h.