MRPT
2.0.1
|
Definition at line 68 of file CMRVisualizer.h.
#include <mrpt/graphs/CMRVisualizer.h>
Public Types | |
using | parent = CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS > |
using | GRAPH_T = mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS > |
Public Member Functions | |
CMRVisualizer (const GRAPH_T &graph_in) | |
~CMRVisualizer () | |
void | drawNodePoints (mrpt::opengl::CSetOfObjects::Ptr &object, const mrpt::system::TParametersDouble *viz_params=nullptr) const |
void | drawEdges (mrpt::opengl::CSetOfObjects::Ptr &object, const mrpt::system::TParametersDouble *viz_params=nullptr) const |
virtual void | getAs3DObject (mrpt::opengl::CSetOfObjects::Ptr &object, mrpt::system::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::system::TParametersDouble *viz_params=nullptr) const |
virtual void | drawNodeCorners (mrpt::opengl::CSetOfObjects::Ptr &object, const mrpt::system::TParametersDouble *viz_params=nullptr) const |
virtual void | drawEdgeRelPoses (mrpt::opengl::CSetOfObjects::Ptr &object, const mrpt::system::TParametersDouble *viz_params=nullptr) const |
Protected Attributes | |
bool | m_is_3D_graph |
const GRAPH_T & | m_graph |
using mrpt::graphs::detail::CMRVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::GRAPH_T = mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS> |
Definition at line 77 of file CMRVisualizer.h.
using mrpt::graphs::detail::CMRVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::parent = CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS> |
Definition at line 75 of file CMRVisualizer.h.
mrpt::graphs::detail::CMRVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::CMRVisualizer | ( | const GRAPH_T & | graph_in | ) |
Definition at line 71 of file CMRVisualizer_impl.h.
|
default |
|
protectedvirtualinherited |
Definition at line 204 of file CVisualizer_impl.h.
References ASSERTMSG_, mrpt::opengl::stock_objects::CornerXYSimple(), mrpt::opengl::stock_objects::CornerXYZSimple(), mrpt::opengl::CSimpleLine::Create(), mrpt::opengl::CSetOfObjects::Create(), mrpt::system::TParameters< T >::getWithDefaultVal(), mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::x(), and mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::y().
|
virtual |
Reimplemented from mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >.
Definition at line 166 of file CMRVisualizer_impl.h.
References ASSERTMSG_, mrpt::img::TColorManager::getNextTColorf(), mrpt::system::TParameters< T >::getWithDefaultVal(), mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::x(), and mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::y().
|
protectedvirtualinherited |
Definition at line 89 of file CVisualizer_impl.h.
References ASSERTMSG_, mrpt::opengl::CGridPlaneXY::Create(), mrpt::keep_max(), mrpt::keep_min(), mrpt::math::TPoint3D_data< T >::x, mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::x(), mrpt::math::TPoint3D_data< T >::y, mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::y(), and mrpt::math::TPoint3D_data< T >::z.
|
protectedvirtualinherited |
Definition at line 160 of file CVisualizer_impl.h.
References ASSERTMSG_, mrpt::opengl::stock_objects::CornerXYSimple(), mrpt::opengl::stock_objects::CornerXYZSimple(), mrpt::format(), and mrpt::system::TParameters< T >::getWithDefaultVal().
|
virtual |
Reimplemented from mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >.
Definition at line 84 of file CMRVisualizer_impl.h.
References ASSERTMSG_, mrpt::img::TColorManager::getNextTColorf(), mrpt::system::TParameters< T >::getWithDefaultVal(), mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::x(), and mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::y().
|
virtualinherited |
Common visualization stuff for all derived classes.
Function delegates visualization tasks to the draw* methods according to the user preferences
Definition at line 39 of file CVisualizer_impl.h.
References mrpt::system::TParameters< T >::getWithDefaultVal().
|
protectedinherited |
Definition at line 84 of file CVisualizer.h.
|
protectedinherited |
Definition at line 83 of file CVisualizer.h.
Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020 |