10 #ifndef CREGISTRATIONDECIDEROROPTIMIZER_IMPL_H
11 #define CREGISTRATIONDECIDEROROPTIMIZER_IMPL_H
15 template <
class GRAPH_T>
18 template <
class GRAPH_T>
22 template <
class GRAPH_T>
25 m_graph_section(NULL),
29 m_initialized_visuals(false),
30 m_class_name(
"CRegistrationDeciderOrOptimizer"),
31 is_mr_slam_class(false)
35 template <
class GRAPH_T>
40 template <
class GRAPH_T>
47 this->logging_enable_keep_record =
true;
55 template <
class GRAPH_T>
59 this->m_class_name =
name;
60 this->m_time_logger.setName(this->m_class_name);
61 this->setLoggerName(this->m_class_name);
64 template <
class GRAPH_T>
69 m_win_manager = win_manager;
73 m_win = m_win_manager->
win;
74 m_win_observer = m_win_manager->observer;
78 template <
class GRAPH_T>
80 std::mutex* graph_section)
82 m_graph_section = graph_section;
87 template <
class GRAPH_T>
90 this->assertVisualsVars();
91 m_initialized_visuals =
true;
94 template <
class GRAPH_T>
98 ASSERTDEBMSG_(this->m_win_manager,
"No CWindowManager* was provided");
99 ASSERTDEBMSG_(this->m_win_observer,
"No CWindowObserver* was provided");
102 template <
class GRAPH_T>
108 template <
class GRAPH_T>
110 const std::map<std::string, bool>& events_occurred)
115 template <
class GRAPH_T>
122 template <
class GRAPH_T>
128 template <
class GRAPH_T>
136 template <
class GRAPH_T>
143 template <
class GRAPH_T>
146 return is_mr_slam_class;
Interface for implementing node/edge registration deciders or optimizer classes.
static const std::string report_sep
static const std::string header_sep
Separator string to be used in debugging messages.
virtual ~CRegistrationDeciderOrOptimizer()
\Dtor
CRegistrationDeciderOrOptimizer()
\Default Ctor
Class acts as a container for storing pointers to mrpt::gui::CDisplayWindow3D, mrpt::graphslam::CWind...
mrpt::gui::CDisplayWindow3D * win
CDisplayWindow instance.
#define ASSERTDEB_(f)
Defines an assertion mechanism - only when compiled in debug.
#define ASSERTDEBMSG_(f, __ERROR_MSG)
GLuint const GLchar * name
GLsizei const GLchar ** string
SLAM methods related to graphs of pose constraints.
#define MRPT_LOG_DEBUG_STREAM(__CONTENTS)
Use: MRPT_LOG_DEBUG_STREAM("Var=" << value << " foo=" << foo_var);