13 #include <mrpt/opengl/CMesh.h> 14 #include <mrpt/poses/CPose3D.h> 16 #include <mrpt/version.h> 17 #if MRPT_VERSION>=0x199 18 #include <mrpt/tfest/TMatchingPair.h> 19 #include <mrpt/img/CImage.h> 20 using mrpt::tfest::TMatchingPairList;
21 using mrpt::tfest::TMatchingPair;
22 using mrpt::img::CImage;
24 #include <mrpt/utils/CImage.h> 25 #include <mrpt/utils/TMatchingPair.h> 26 using mrpt::utils::TMatchingPairList;
27 using mrpt::utils::TMatchingPair;
28 using mrpt::utils::CImage;
44 mrpt::opengl::COpenGLScene& scene);
52 double x,
double y,
float&
z)
const;
virtual void simul_pre_timestep(const TSimulContext &context)
See docs in base class.
virtual void gui_update(mrpt::opengl::COpenGLScene &scene)
See docs in base class.
TFSIMD_FORCE_INLINE const tfScalar & y() const
virtual void simul_post_timestep(const TSimulContext &context)
See docs in base class.
virtual void loadConfigFrom(const rapidxml::xml_node< char > *root)
See docs in base class.
bool m_first_scene_rendering
ElevationMap(World *parent, const rapidxml::xml_node< char > *root)
TFSIMD_FORCE_INLINE const tfScalar & x() const
#define DECLARES_REGISTER_WORLD_ELEMENT(CLASS_NAME)
TFSIMD_FORCE_INLINE const tfScalar & z() const
mrpt::opengl::CMesh::Ptr m_gl_mesh
mrpt::math::CMatrixFloat m_mesh_z_cache
bool getElevationAt(double x, double y, float &z) const
return false if out of bounds
mrpt::poses::CPose3D m_optimal_transf