Main MRPT website > C++ reference for MRPT 1.5.6
List of all members | Public Types | Public Member Functions | Protected Attributes
mrpt::graphs::detail::CMRVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS > Class Template Reference

Detailed Description

template<class CPOSE, class MAPS_IMPLEMENTATION, class EDGE_ANNOTATIONS>
class mrpt::graphs::detail::CMRVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >

Definition at line 61 of file CMRVisualizer.h.

#include <mrpt/graphs/CMRVisualizer.h>

Inheritance diagram for mrpt::graphs::detail::CMRVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >:
Inheritance graph

Public Types

typedef CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS > parent
 
typedef mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS > GRAPH_T
 

Public Member Functions

 CMRVisualizer (const GRAPH_T &graph_in)
 
 ~CMRVisualizer ()
 
void drawNodePoints (mrpt::opengl::CSetOfObjectsPtr &object, const mrpt::utils::TParametersDouble *viz_params=NULL) const
 
void drawEdges (mrpt::opengl::CSetOfObjectsPtr &object, const mrpt::utils::TParametersDouble *viz_params=NULL) const
 
virtual void getAs3DObject (mrpt::opengl::CSetOfObjectsPtr &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::CSetOfObjectsPtr &object, const mrpt::utils::TParametersDouble *viz_params=NULL) const
 
virtual void drawNodeCorners (mrpt::opengl::CSetOfObjectsPtr &object, const mrpt::utils::TParametersDouble *viz_params=NULL) const
 
virtual void drawEdgeRelPoses (mrpt::opengl::CSetOfObjectsPtr &object, const mrpt::utils::TParametersDouble *viz_params=NULL) const
 

Protected Attributes

bool m_is_3D_graph
 
const GRAPH_Tm_graph
 

Member Typedef Documentation

◆ GRAPH_T

template<class CPOSE , class MAPS_IMPLEMENTATION , class EDGE_ANNOTATIONS >
typedef mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS> mrpt::graphs::detail::CMRVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::GRAPH_T

Definition at line 71 of file CMRVisualizer.h.

◆ parent

template<class CPOSE , class MAPS_IMPLEMENTATION , class EDGE_ANNOTATIONS >
typedef CVisualizer<CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS> mrpt::graphs::detail::CMRVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::parent

Definition at line 66 of file CMRVisualizer.h.

Constructor & Destructor Documentation

◆ CMRVisualizer()

template<class CPOSE , class MAPS_IMPLEMENTATION , class EDGE_ANNOTATIONS >
mrpt::graphs::detail::CMRVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::CMRVisualizer ( const GRAPH_T graph_in)

Definition at line 48 of file CMRVisualizer_impl.h.

◆ ~CMRVisualizer()

template<class CPOSE , class MAPS_IMPLEMENTATION , class EDGE_ANNOTATIONS >
mrpt::graphs::detail::CMRVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::~CMRVisualizer ( )

Definition at line 54 of file CMRVisualizer_impl.h.

Member Function Documentation

◆ drawEdgeRelPoses()

void mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations , EDGE_ANNOTATIONS >::drawEdgeRelPoses ( mrpt::opengl::CSetOfObjectsPtr &  object,
const mrpt::utils::TParametersDouble viz_params = NULL 
) const
protectedvirtualinherited

◆ drawEdges()

template<class CPOSE , class MAPS_IMPLEMENTATION , class EDGE_ANNOTATIONS >
void mrpt::graphs::detail::CMRVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::drawEdges ( mrpt::opengl::CSetOfObjectsPtr &  object,
const mrpt::utils::TParametersDouble viz_params = NULL 
) const
virtual

◆ drawGroundGrid()

void mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations , EDGE_ANNOTATIONS >::drawGroundGrid ( mrpt::opengl::CSetOfObjectsPtr &  object,
const mrpt::utils::TParametersDouble viz_params = NULL 
) const
protectedvirtualinherited

◆ drawNodeCorners()

void mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations , EDGE_ANNOTATIONS >::drawNodeCorners ( mrpt::opengl::CSetOfObjectsPtr &  object,
const mrpt::utils::TParametersDouble viz_params = NULL 
) const
protectedvirtualinherited

◆ drawNodePoints()

template<class CPOSE , class MAPS_IMPLEMENTATION , class EDGE_ANNOTATIONS >
void mrpt::graphs::detail::CMRVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::drawNodePoints ( mrpt::opengl::CSetOfObjectsPtr &  object,
const mrpt::utils::TParametersDouble viz_params = NULL 
) const
virtual

◆ getAs3DObject()

void mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations , EDGE_ANNOTATIONS >::getAs3DObject ( mrpt::opengl::CSetOfObjectsPtr &  object,
mrpt::utils::TParametersDouble  viz_params 
) const
virtualinherited

Common visualization stuff for all derived classes.

Function delegates visualization tasks to the draw* methods according to the user preferences

Definition at line 25 of file CVisualizer_impl.h.

References mrpt::utils::TParameters< T >::getWithDefaultVal().

Member Data Documentation

◆ m_graph

const GRAPH_T& mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations , EDGE_ANNOTATIONS >::m_graph
protectedinherited

Definition at line 74 of file CVisualizer.h.

◆ m_is_3D_graph

bool mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations , EDGE_ANNOTATIONS >::m_is_3D_graph
protectedinherited

Definition at line 73 of file CVisualizer.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019