Base class for C*Visualizer classes.
By default provides visualization for a CNetowrkOfPoses containing nodes and edges as constructed by a single agent/robot. Derived classes can inherit and partially modify the class behavior
Definition at line 55 of file CNetworkOfPoses.h.
#include <mrpt/graphs/CNetworkOfPoses.h>
Public Types | |
typedef mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS > | GRAPH_T |
Public Member Functions | |
CVisualizer (const GRAPH_T &graph_in) | |
Constructor. More... | |
virtual | ~CVisualizer () |
Destructor. More... | |
virtual void | getAs3DObject (mrpt::opengl::CSetOfObjects::Ptr &object, mrpt::utils::TParametersDouble viz_params) const |
Common visualization stuff for all derived classes. More... | |
Protected Member Functions | |
Work-splitting methods | |
Smaller functions that do add very specific parts to the visual representation Following functions take an optional TParametersDouble instance containing visualization parameters | |
virtual void | drawGroundGrid (mrpt::opengl::CSetOfObjects::Ptr &object, const mrpt::utils::TParametersDouble *viz_params=NULL) const |
virtual void | drawNodeCorners (mrpt::opengl::CSetOfObjects::Ptr &object, const mrpt::utils::TParametersDouble *viz_params=NULL) const |
virtual void | drawNodePoints (mrpt::opengl::CSetOfObjects::Ptr &object, const mrpt::utils::TParametersDouble *viz_params=NULL) const |
virtual void | drawEdgeRelPoses (mrpt::opengl::CSetOfObjects::Ptr &object, const mrpt::utils::TParametersDouble *viz_params=NULL) const |
virtual void | drawEdges (mrpt::opengl::CSetOfObjects::Ptr &object, const mrpt::utils::TParametersDouble *viz_params=NULL) const |
Protected Attributes | |
bool | m_is_3D_graph |
const GRAPH_T & | m_graph |
typedef mrpt::graphs::CNetworkOfPoses<CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS> mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::GRAPH_T |
Definition at line 42 of file CVisualizer.h.
mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::CVisualizer | ( | const GRAPH_T & | graph_in | ) |
Constructor.
Definition at line 23 of file CVisualizer_impl.h.
|
virtual |
Destructor.
Definition at line 33 of file CVisualizer_impl.h.
|
protectedvirtual |
Definition at line 214 of file CVisualizer_impl.h.
|
protectedvirtual |
|
protectedvirtual |
Definition at line 93 of file CVisualizer_impl.h.
|
protectedvirtual |
Definition at line 168 of file CVisualizer_impl.h.
|
protectedvirtual |
|
virtual |
Common visualization stuff for all derived classes.
Function delegates visualization tasks to the draw* methods according to the user preferences
Definition at line 43 of file CVisualizer_impl.h.
|
protected |
Definition at line 89 of file CVisualizer.h.
|
protected |
Definition at line 88 of file CVisualizer.h.
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |