10 #ifndef CREGISTRATIONDECIDEROROPTIMIZER_IMPL_H 11 #define CREGISTRATIONDECIDEROROPTIMIZER_IMPL_H 13 namespace mrpt {
namespace graphslam {
15 template<
class GRAPH_T>
17 template<
class GRAPH_T>
20 template<
class GRAPH_T>
23 m_graph_section(NULL),
27 m_initialized_visuals(false),
28 m_class_name(
"CRegistrationDeciderOrOptimizer"),
29 is_mr_slam_class(false) { }
32 template<
class GRAPH_T>
37 template<
class GRAPH_T>
43 this->setClassName(
name);
44 this->logging_enable_keep_record =
true;
47 this->setMinLoggingLevel(LVL_DEBUG);
51 template<
class GRAPH_T>
54 this->m_class_name =
name;
55 this->m_time_logger.setName(this->m_class_name);
56 this->setLoggerName(this->m_class_name);
60 template<
class GRAPH_T>
64 m_win_manager = win_manager;
67 m_win = m_win_manager->
win;
68 m_win_observer = m_win_manager->observer;
72 template<
class GRAPH_T>
76 m_graph_section = graph_section;
77 this->logFmt(mrpt::utils::LVL_DEBUG,
"Fetched the CCRiticalSection successfully");
80 template<
class GRAPH_T>
82 this->assertVisualsVars();
83 m_initialized_visuals =
true;
86 template<
class GRAPH_T>
88 ASSERTMSG_(this->m_win,
"No CDisplayWindow3D* was provided");
89 ASSERTMSG_(this->m_win_manager,
"No CWindowManager* was provided");
90 ASSERTMSG_(this->m_win_observer,
"No CWindowObserver* was provided");
93 template<
class GRAPH_T>
98 template<
class GRAPH_T>
100 const std::map<std::string, bool>& events_occurred) {
101 ASSERT_(m_initialized_visuals);
104 template<
class GRAPH_T>
110 template<
class GRAPH_T>
115 template<
class GRAPH_T>
123 template<
class GRAPH_T>
131 template<
class GRAPH_T>
133 return is_mr_slam_class;
This class provides simple critical sections functionality.
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
static const std::string header_sep
Separator string to be used in debugging messages.
CRegistrationDeciderOrOptimizer()
Ctor
mrpt::gui::CDisplayWindow3D * win
CDisplayWindow instance.
static const std::string report_sep
Interface for implementing node/edge registration deciders or optimizer classes.
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
GLuint const GLchar * name
#define MRPT_LOG_DEBUG_STREAM(__CONTENTS)
#define ASSERTMSG_(f, __ERROR_MSG)
Class acts as a container for storing pointers to mrpt::gui::CDisplayWindow3D, mrpt::graphslam::CWind...