10 #ifndef CEDGECOUNTER_H 11 #define CEDGECOUNTER_H 24 namespace mrpt {
namespace graphslam {
namespace detail {
51 void setRemovedEdges(
int removed_edges);
55 void setLoopClosureEdgesManually(
int num_loop_closures);
58 int getLoopClosureEdges()
const;
62 int getTotalNumOfEdges()
const;
67 void getTotalNumOfEdges(
int* total_num_edges)
const;
100 void clearAllEdges();
105 void dumpToConsole()
const;
126 void setTextMessageParams(
const std::map<std::string, double>&
127 name_to_offset_y,
const std::map<std::string, int>&
134 void setTextMessageParams(
const std::map<
std::string,
135 double>& name_to_offset_y,
136 const std::map<std::string, int>& name_to_text_index,
137 const double& offset_y_total_edges,
138 const int& text_index_total_edges,
139 const double& offset_y_loop_closures,
140 const int& text_index_loop_closures);
144 return m_name_to_edges_num.begin();
147 return m_name_to_edges_num.begin();
150 return m_name_to_edges_num.end();
153 return m_name_to_edges_num.end();
160 void initCEdgeCounter();
164 void updateTextMessages()
const;
173 std::map<std::string, int> m_name_to_edges_num;;
std::map< std::string, int >::iterator iterator
iterator begin()
Instance Iterators.
mrpt::gui::CDisplayWindow3D * m_win
bool m_display_total_edges
std::map< std::string, double > m_name_to_offset_y
const Scalar * const_iterator
mrpt::graphslam::CWindowManager * m_win_manager
Generic class for tracking the total number of edges for different tpes of edges and for storing visu...
const_iterator end() const
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::map< std::string, int > m_name_to_text_index
int m_text_index_total_edges
std::map< std::string, int >::const_iterator const_iterator
int m_offset_y_total_edges
GLuint const GLchar * name
bool m_has_read_textmessage_params
Class acts as a container for storing pointers to mrpt::gui::CDisplayWindow3D, mrpt::graphslam::CWind...
A graphical user interface (GUI) for efficiently rendering 3D scenes in real-time.
const_iterator begin() const