GroundGrid.h
Go to the documentation of this file.
1 /*+-------------------------------------------------------------------------+
2  | MultiVehicle simulator (libmvsim) |
3  | |
4  | Copyright (C) 2014-2020 Jose Luis Blanco Claraco |
5  | Copyright (C) 2017 Borys Tymchenko (Odessa Polytechnic University) |
6  | Distributed under 3-clause BSD License |
7  | See COPYING |
8  +-------------------------------------------------------------------------+ */
9 
10 #pragma once
11 
12 #include <mrpt/img/TColor.h>
15 
16 namespace mvsim
17 {
19 {
21  public:
23  virtual ~GroundGrid();
24 
25  virtual void loadConfigFrom(const rapidxml::xml_node<char>* root) override;
26  void poses_mutex_lock() override {}
27  void poses_mutex_unlock() override {}
28 
29  protected:
30  virtual void internalGuiUpdate(
31  mrpt::opengl::COpenGLScene& scene, bool childrenOnly) override;
32 
36  mrpt::img::TColor m_color;
37  double m_line_width;
38 
39  mrpt::opengl::CGridPlaneXY::Ptr m_gl_groundgrid;
40 };
41 } // namespace mvsim
virtual ~GroundGrid()
Definition: GroundGrid.cpp:37
scene
virtual void loadConfigFrom(const rapidxml::xml_node< char > *root) override
Definition: GroundGrid.cpp:38
std::string m_float_center_at_vehicle_name
Definition: GroundGrid.h:34
void poses_mutex_unlock() override
Definition: GroundGrid.h:27
#define DECLARES_REGISTER_WORLD_ELEMENT(CLASS_NAME)
T root(const T v0, const T v1)
GroundGrid(World *parent, const rapidxml::xml_node< char > *root)
Definition: GroundGrid.cpp:21
void poses_mutex_lock() override
Definition: GroundGrid.h:26
virtual void internalGuiUpdate(mrpt::opengl::COpenGLScene &scene, bool childrenOnly) override
Definition: GroundGrid.cpp:62
mrpt::opengl::CGridPlaneXY::Ptr m_gl_groundgrid
Definition: GroundGrid.h:39
mrpt::img::TColor m_color
Definition: GroundGrid.h:36
double m_line_width
Definition: GroundGrid.h:37


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:51