Public Member Functions | Protected Attributes | Private Attributes | List of all members
mvsim::ElevationMap Class Reference

#include <ElevationMap.h>

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

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
WorldgetWorldObject ()
 
const WorldgetWorldObject () 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
Worldm_world
 

Private Attributes

TMatchingPairList corrs
 
mrpt::poses::CPose3D m_optimal_transf
 

Additional Inherited Members

- Static Public Member Functions inherited from mvsim::WorldElementBase
static WorldElementBasefactory (World *parent, const rapidxml::xml_node< char > *xml_node, const char *class_name=NULL)
 

Detailed Description

Definition at line 34 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.

ElevationMap::~ElevationMap ( )
virtual

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 293 of file ElevationMap.cpp.

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

See docs in base class.

Implements mvsim::VisualObject.

Definition at line 127 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 270 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 144 of file ElevationMap.cpp.

Member Data Documentation

TMatchingPairList mvsim::ElevationMap::corrs
private

m_gl_mesh. Coordinate order is (x,y)

Definition at line 66 of file ElevationMap.h.

bool mvsim::ElevationMap::m_first_scene_rendering
protected

Definition at line 58 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 57 of file ElevationMap.h.

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

A copy of elevation data in

Definition at line 60 of file ElevationMap.h.

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

Definition at line 67 of file ElevationMap.h.

double mvsim::ElevationMap::m_resolution
protected

Definition at line 59 of file ElevationMap.h.


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


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 19:36:41