#include <ElevationMap.h>
Protected Member Functions | |
virtual void | internalGuiUpdate (mrpt::opengl::COpenGLScene &scene, bool childrenOnly) override |
Protected Member Functions inherited from mvsim::VisualObject | |
virtual mrpt::poses::CPose3D | internalGuiGetVisualPose () |
bool | parseVisual (const rapidxml::xml_node< char > *visual_node) |
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 | |
std::shared_ptr< mrpt::opengl::CSetOfObjects > | m_glBoundingBox |
std::shared_ptr< mrpt::opengl::CSetOfObjects > | m_glCustomVisual |
int32_t | m_glCustomVisualId = -1 |
World * | m_world |
Protected Attributes inherited from mvsim::Simulable | |
std::string | m_name |
Private Attributes | |
mrpt::tfest::TMatchingPairList | corrs |
mrpt::poses::CPose3D | m_optimal_transf |
Additional Inherited Members | |
Public Types inherited from mvsim::WorldElementBase | |
using | Ptr = std::shared_ptr< WorldElementBase > |
Public Types inherited from mvsim::Simulable | |
using | Ptr = std::shared_ptr< Simulable > |
Static Public Member Functions inherited from mvsim::WorldElementBase | |
static Ptr | factory (World *parent, const rapidxml::xml_node< char > *xml_node, const char *class_name=nullptr) |
Definition at line 20 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 291 of file ElevationMap.cpp.
|
overrideprotectedvirtual |
Implements mvsim::VisualObject.
Definition at line 127 of file ElevationMap.cpp.
|
overridevirtual |
Implements mvsim::WorldElementBase.
Definition at line 31 of file ElevationMap.cpp.
|
inlineoverridevirtual |
Implements mvsim::Simulable.
Definition at line 34 of file ElevationMap.h.
|
inlineoverridevirtual |
Implements mvsim::Simulable.
Definition at line 35 of file ElevationMap.h.
|
overridevirtual |
Override to do any required process right after the integration of dynamic equations for each timestep. IMPORTANT: Reimplementations MUST also call this base method, since it is in charge of important tasks (e.g. update m_q, m_dq)
Reimplemented from mvsim::Simulable.
Definition at line 265 of file ElevationMap.cpp.
|
overridevirtual |
Process right before the integration of dynamic equations for each timestep: set action forces from motors, update friction models, etc.
Reimplemented from mvsim::Simulable.
Definition at line 145 of file ElevationMap.cpp.
|
private |
Definition at line 51 of file ElevationMap.h.
|
protected |
Definition at line 44 of file ElevationMap.h.
|
protected |
This object holds both, the mesh data, and is in charge of 3D rendering.
Definition at line 43 of file ElevationMap.h.
|
protected |
A copy of elevation data in m_gl_mesh. Coordinate order is (y,x)
Definition at line 47 of file ElevationMap.h.
|
private |
Definition at line 52 of file ElevationMap.h.
|
protected |
Definition at line 45 of file ElevationMap.h.