template class mrpt::graphs::detail::CVisualizer

Overview

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

#include <mrpt/graphs/CVisualizer.h>

template <
    class CPOSE,
    class MAPS_IMPLEMENTATION,
    class NODE_ANNOTATIONS = mrpt::graphs::detail::TNodeAnnotations,
    class EDGE_ANNOTATIONS = mrpt::graphs::detail::edge_annotations_empty
    >
class CVisualizer
{
public:
    // typedefs

    typedef mrpt::graphs::CNetworkOfPoses<CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS> GRAPH_T;

    // construction

    CVisualizer(const GRAPH_T& graph_in);
};

// direct descendants

template <
    class CPOSE,
    class MAPS_IMPLEMENTATION,
    class NODE_ANNOTATIONS = mrpt::graphs::detail::TMRSlamNodeAnnotations,
    class EDGE_ANNOTATIONS = mrpt::graphs::detail::edge_annotations_empty
    >
class CMRVisualizer;

template <class CPOSE, class MAPS_IMPLEMENTATION, class EDGE_ANNOTATIONS>
class CMRVisualizer<CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS>;

Construction

CVisualizer(const GRAPH_T& graph_in)

Constructor.