10 #ifndef CREGISTRATIONDECIDEROROPTIMIZER_IMPL_H 11 #define CREGISTRATIONDECIDEROROPTIMIZER_IMPL_H 17 template <
class GRAPH_T>
20 template <
class GRAPH_T>
24 template <
class GRAPH_T>
27 m_graph_section(NULL),
31 m_initialized_visuals(false),
32 m_class_name(
"CRegistrationDeciderOrOptimizer"),
33 is_mr_slam_class(false)
37 template <
class GRAPH_T>
42 template <
class GRAPH_T>
49 this->setClassName(
name);
50 this->logging_enable_keep_record =
true;
54 this->setMinLoggingLevel(LVL_DEBUG);
58 template <
class GRAPH_T>
62 this->m_class_name =
name;
63 this->m_time_logger.setName(this->m_class_name);
64 this->setLoggerName(this->m_class_name);
67 template <
class GRAPH_T>
72 m_win_manager = win_manager;
76 m_win = m_win_manager->
win;
77 m_win_observer = m_win_manager->observer;
81 template <
class GRAPH_T>
83 std::mutex* graph_section)
85 m_graph_section = graph_section;
87 mrpt::utils::LVL_DEBUG,
"Fetched the CCRiticalSection successfully");
90 template <
class GRAPH_T>
93 this->assertVisualsVars();
94 m_initialized_visuals =
true;
97 template <
class GRAPH_T>
100 ASSERTMSG_(this->m_win,
"No CDisplayWindow3D* was provided");
101 ASSERTMSG_(this->m_win_manager,
"No CWindowManager* was provided");
102 ASSERTMSG_(this->m_win_observer,
"No CWindowObserver* was provided");
105 template <
class GRAPH_T>
108 ASSERT_(m_initialized_visuals);
111 template <
class GRAPH_T>
113 const std::map<std::string, bool>& events_occurred)
115 ASSERT_(m_initialized_visuals);
118 template <
class GRAPH_T>
125 template <
class GRAPH_T>
131 template <
class GRAPH_T>
139 template <
class GRAPH_T>
148 template <
class GRAPH_T>
151 return is_mr_slam_class;
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...