Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
rtabmap::GraphViewer Class Reference

#include <GraphViewer.h>

Inheritance diagram for rtabmap::GraphViewer:
Inheritance graph
[legend]

Public Types

enum  ViewPlane { XY, XZ, YZ }
 

Public Slots

void restoreDefaults ()
 

Signals

void configChanged ()
 
void linkSelected (int, int)
 
void mapShownRequested ()
 
void nodeSelected (int)
 

Public Member Functions

void clearAll ()
 
void clearGraph ()
 
void clearMap ()
 
void clearPosterior ()
 
const QColor & getCurrentGoalColor () const
 
const QColor & getGlobalLoopClosureColor () const
 
const QColor & getGlobalPathColor () const
 
const QColor & getGPSColor () const
 
const QColor & getGTColor () const
 
const QColor & getInterSessionLoopColor () const
 
const QColor & getIntraSessionLoopColor () const
 
float getLinkWidth () const
 
const QColor & getLocalLoopClosureColor () const
 
const QColor & getLocalPathColor () const
 
float getLoopClosureOutlierThr () const
 
float getMaxLinkLength () const
 
const QColor & getNeighborColor () const
 
const QColor & getNeighborMergedColor () const
 
const QColor & getNodeColor () const
 
const QColor & getNodeOdomCacheColor () const
 
float getNodeRadius () const
 
const QColor & getRejectedLoopClosureColor () const
 
const QColor & getUserLoopClosureColor () const
 
ViewPlane getViewPlane () const
 
const QColor & getVirtualLoopClosureColor () const
 
const QString & getWorkingDirectory () const
 
float getWorldMapRotation () const
 
 GraphViewer (QWidget *parent=0)
 
bool isEnsureFrameVisible () const
 
bool isGlobalPathVisible () const
 
bool isGPSGraphVisible () const
 
bool isGraphVisible () const
 
bool isGridMapVisible () const
 
bool isGtGraphVisible () const
 
bool isIntraInterSessionColorsEnabled () const
 
bool isLocalPathVisible () const
 
bool isLocalRadiusVisible () const
 
bool isOdomCacheOverlayVisible () const
 
bool isOrientationENU () const
 
bool isOriginVisible () const
 
bool isReferentialVisible () const
 
void loadSettings (QSettings &settings, const QString &group="")
 
void saveSettings (QSettings &settings, const QString &group="") const
 
void setCurrentGoalColor (const QColor &color)
 
void setCurrentGoalID (int id, const Transform &pose=Transform())
 
void setEnsureFrameVisible (bool visible)
 
void setGlobalLoopClosureColor (const QColor &color)
 
void setGlobalPath (const std::vector< std::pair< int, Transform > > &globalPath)
 
void setGlobalPathColor (const QColor &color)
 
void setGlobalPathVisible (bool visible)
 
void setGPSColor (const QColor &color)
 
void setGPSGraphVisible (bool visible)
 
void setGraphVisible (bool visible)
 
void setGridMapVisible (bool visible)
 
void setGTColor (const QColor &color)
 
void setGtGraphVisible (bool visible)
 
void setInterSessionLoopColor (const QColor &color)
 
void setIntraInterSessionColorsEnabled (bool enabled)
 
void setIntraSessionLoopColor (const QColor &color)
 
void setLandmarkColor (const QColor &color)
 
void setLinkWidth (float width)
 
void setLocalLoopClosureColor (const QColor &color)
 
void setLocalPathColor (const QColor &color)
 
void setLocalPathVisible (bool visible)
 
void setLocalRadius (float radius)
 
void setLocalRadiusVisible (bool visible)
 
void setLoopClosureOutlierThr (float value)
 
void setMaxLinkLength (float value)
 
void setNeighborColor (const QColor &color)
 
void setNeighborMergedColor (const QColor &color)
 
void setNodeColor (const QColor &color)
 
void setNodeOdomCacheColor (const QColor &color)
 
void setNodeRadius (float radius)
 
void setNodeVisible (bool visible)
 
void setOdomCacheOverlayVisible (bool visible)
 
void setOrientationENU (bool enabled)
 
void setOriginVisible (bool visible)
 
void setReferentialVisible (bool visible)
 
void setRejectedLoopClosureColor (const QColor &color)
 
void setUserLoopClosureColor (const QColor &color)
 
void setViewPlane (ViewPlane plane)
 
void setVirtualLoopClosureColor (const QColor &color)
 
void setWorkingDirectory (const QString &path)
 
void setWorldMapRotation (const float &theta)
 
void updateGPSGraph (const std::map< int, Transform > &gpsMapPoses, const std::map< int, GPS > &gpsValues)
 
void updateGraph (const std::map< int, Transform > &poses, const std::multimap< int, Link > &constraints, const std::map< int, int > &mapIds, const std::map< int, int > &weights=std::map< int, int >(), const std::set< int > &odomCacheIds=std::set< int >())
 
void updateGTGraph (const std::map< int, Transform > &poses)
 
void updateLocalPath (const std::vector< int > &localPath)
 
void updateMap (const cv::Mat &map8U, float resolution, float xMin, float yMin)
 
void updatePosterior (const std::map< int, float > &posterior, float fixedMax=0.0f, int zValueOffset=0)
 
void updateReferentialPosition (const Transform &t)
 
virtual ~GraphViewer ()
 

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *event)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void wheelEvent (QWheelEvent *event)
 

Private Attributes

QColor _currentGoalColor
 
bool _ensureFrameVisible
 
QColor _globalPathColor
 
QMultiMap< int, LinkItem * > _globalPathLinkItems
 
QGraphicsItem * _globalPathRoot
 
QGraphicsItem * _gpsGraphRoot
 
QMultiMap< int, LinkItem * > _gpsLinkItems
 
QMap< int, NodeItem * > _gpsNodeItems
 
QColor _gpsPathColor
 
QGraphicsItem * _graphRoot
 
float _gridCellSize
 
QGraphicsPixmapItem * _gridMap
 
QGraphicsItem * _gtGraphRoot
 
QMultiMap< int, LinkItem * > _gtLinkItems
 
QMap< int, NodeItem * > _gtNodeItems
 
QColor _gtPathColor
 
bool _intraInterSessionColors
 
QColor _landmarkColor
 
QMultiMap< int, LinkItem * > _linkItems
 
float _linkWidth
 
QColor _localPathColor
 
QMultiMap< int, LinkItem * > _localPathLinkItems
 
QGraphicsItem * _localPathRoot
 
QGraphicsEllipseItem * _localRadius
 
QColor _loopClosureColor
 
QColor _loopClosureLocalColor
 
float _loopClosureOutlierThr
 
QColor _loopClosureRejectedColor
 
QColor _loopClosureUserColor
 
QColor _loopClosureVirtualColor
 
QColor _loopInterSessionColor
 
QColor _loopIntraSessionColor
 
float _maxLinkLength
 
bool _mouseTracking
 
QColor _neighborColor
 
QColor _neighborMergedColor
 
QColor _nodeColor
 
QMap< int, NodeItem * > _nodeItems
 
QColor _nodeOdomCacheColor
 
float _nodeRadius
 
bool _nodeVisible
 
QGraphicsRectItem * _odomCacheOverlay
 
bool _orientationENU
 
QGraphicsItemGroup * _originReferential
 
QGraphicsItemGroup * _originReferentialXY
 
QGraphicsItemGroup * _originReferentialXZ
 
QGraphicsItemGroup * _originReferentialYZ
 
QGraphicsItemGroup * _referential
 
QGraphicsItemGroup * _referentialXY
 
QGraphicsItemGroup * _referentialXZ
 
QGraphicsItemGroup * _referentialYZ
 
QGraphicsItem * _root
 
ViewPlane _viewPlane
 
QString _workingDirectory
 
QGraphicsItem * _world
 
float _worldMapRotation
 

Detailed Description

Definition at line 52 of file GraphViewer.h.

Member Enumeration Documentation

◆ ViewPlane

Enumerator
XY 
XZ 
YZ 

Definition at line 57 of file GraphViewer.h.

Constructor & Destructor Documentation

◆ GraphViewer()

rtabmap::GraphViewer::GraphViewer ( QWidget *  parent = 0)

Definition at line 284 of file GraphViewer.cpp.

◆ ~GraphViewer()

rtabmap::GraphViewer::~GraphViewer ( )
virtual

Definition at line 471 of file GraphViewer.cpp.

Member Function Documentation

◆ clearAll()

void rtabmap::GraphViewer::clearAll ( )

Definition at line 1252 of file GraphViewer.cpp.

◆ clearGraph()

void rtabmap::GraphViewer::clearGraph ( )

Definition at line 1211 of file GraphViewer.cpp.

◆ clearMap()

void rtabmap::GraphViewer::clearMap ( )

Definition at line 1237 of file GraphViewer.cpp.

◆ clearPosterior()

void rtabmap::GraphViewer::clearPosterior ( )

Definition at line 1244 of file GraphViewer.cpp.

◆ configChanged

void rtabmap::GraphViewer::configChanged ( )
signal

◆ contextMenuEvent()

void rtabmap::GraphViewer::contextMenuEvent ( QContextMenuEvent *  event)
protectedvirtual

Definition at line 1845 of file GraphViewer.cpp.

◆ getCurrentGoalColor()

const QColor& rtabmap::GraphViewer::getCurrentGoalColor ( ) const
inline

Definition at line 96 of file GraphViewer.h.

◆ getGlobalLoopClosureColor()

const QColor& rtabmap::GraphViewer::getGlobalLoopClosureColor ( ) const
inline

Definition at line 98 of file GraphViewer.h.

◆ getGlobalPathColor()

const QColor& rtabmap::GraphViewer::getGlobalPathColor ( ) const
inline

Definition at line 105 of file GraphViewer.h.

◆ getGPSColor()

const QColor& rtabmap::GraphViewer::getGPSColor ( ) const
inline

Definition at line 107 of file GraphViewer.h.

◆ getGTColor()

const QColor& rtabmap::GraphViewer::getGTColor ( ) const
inline

Definition at line 106 of file GraphViewer.h.

◆ getInterSessionLoopColor()

const QColor& rtabmap::GraphViewer::getInterSessionLoopColor ( ) const
inline

Definition at line 109 of file GraphViewer.h.

◆ getIntraSessionLoopColor()

const QColor& rtabmap::GraphViewer::getIntraSessionLoopColor ( ) const
inline

Definition at line 108 of file GraphViewer.h.

◆ getLinkWidth()

float rtabmap::GraphViewer::getLinkWidth ( ) const
inline

Definition at line 93 of file GraphViewer.h.

◆ getLocalLoopClosureColor()

const QColor& rtabmap::GraphViewer::getLocalLoopClosureColor ( ) const
inline

Definition at line 99 of file GraphViewer.h.

◆ getLocalPathColor()

const QColor& rtabmap::GraphViewer::getLocalPathColor ( ) const
inline

Definition at line 104 of file GraphViewer.h.

◆ getLoopClosureOutlierThr()

float rtabmap::GraphViewer::getLoopClosureOutlierThr ( ) const
inline

Definition at line 115 of file GraphViewer.h.

◆ getMaxLinkLength()

float rtabmap::GraphViewer::getMaxLinkLength ( ) const
inline

Definition at line 116 of file GraphViewer.h.

◆ getNeighborColor()

const QColor& rtabmap::GraphViewer::getNeighborColor ( ) const
inline

Definition at line 97 of file GraphViewer.h.

◆ getNeighborMergedColor()

const QColor& rtabmap::GraphViewer::getNeighborMergedColor ( ) const
inline

Definition at line 102 of file GraphViewer.h.

◆ getNodeColor()

const QColor& rtabmap::GraphViewer::getNodeColor ( ) const
inline

Definition at line 94 of file GraphViewer.h.

◆ getNodeOdomCacheColor()

const QColor& rtabmap::GraphViewer::getNodeOdomCacheColor ( ) const
inline

Definition at line 95 of file GraphViewer.h.

◆ getNodeRadius()

float rtabmap::GraphViewer::getNodeRadius ( ) const
inline

Definition at line 92 of file GraphViewer.h.

◆ getRejectedLoopClosureColor()

const QColor& rtabmap::GraphViewer::getRejectedLoopClosureColor ( ) const
inline

Definition at line 103 of file GraphViewer.h.

◆ getUserLoopClosureColor()

const QColor& rtabmap::GraphViewer::getUserLoopClosureColor ( ) const
inline

Definition at line 100 of file GraphViewer.h.

◆ getViewPlane()

GraphViewer::ViewPlane rtabmap::GraphViewer::getViewPlane ( ) const

Definition at line 1394 of file GraphViewer.cpp.

◆ getVirtualLoopClosureColor()

const QColor& rtabmap::GraphViewer::getVirtualLoopClosureColor ( ) const
inline

Definition at line 101 of file GraphViewer.h.

◆ getWorkingDirectory()

const QString& rtabmap::GraphViewer::getWorkingDirectory ( ) const
inline

Definition at line 91 of file GraphViewer.h.

◆ getWorldMapRotation()

float rtabmap::GraphViewer::getWorldMapRotation ( ) const
inline

Definition at line 64 of file GraphViewer.h.

◆ isEnsureFrameVisible()

bool rtabmap::GraphViewer::isEnsureFrameVisible ( ) const

Definition at line 1398 of file GraphViewer.cpp.

◆ isGlobalPathVisible()

bool rtabmap::GraphViewer::isGlobalPathVisible ( ) const

Definition at line 1370 of file GraphViewer.cpp.

◆ isGPSGraphVisible()

bool rtabmap::GraphViewer::isGPSGraphVisible ( ) const

Definition at line 1382 of file GraphViewer.cpp.

◆ isGraphVisible()

bool rtabmap::GraphViewer::isGraphVisible ( ) const

Definition at line 1366 of file GraphViewer.cpp.

◆ isGridMapVisible()

bool rtabmap::GraphViewer::isGridMapVisible ( ) const

Definition at line 1350 of file GraphViewer.cpp.

◆ isGtGraphVisible()

bool rtabmap::GraphViewer::isGtGraphVisible ( ) const

Definition at line 1378 of file GraphViewer.cpp.

◆ isIntraInterSessionColorsEnabled()

bool rtabmap::GraphViewer::isIntraInterSessionColorsEnabled ( ) const
inline

Definition at line 110 of file GraphViewer.h.

◆ isLocalPathVisible()

bool rtabmap::GraphViewer::isLocalPathVisible ( ) const

Definition at line 1374 of file GraphViewer.cpp.

◆ isLocalRadiusVisible()

bool rtabmap::GraphViewer::isLocalRadiusVisible ( ) const

Definition at line 1362 of file GraphViewer.cpp.

◆ isOdomCacheOverlayVisible()

bool rtabmap::GraphViewer::isOdomCacheOverlayVisible ( ) const

Definition at line 1386 of file GraphViewer.cpp.

◆ isOrientationENU()

bool rtabmap::GraphViewer::isOrientationENU ( ) const

Definition at line 1390 of file GraphViewer.cpp.

◆ isOriginVisible()

bool rtabmap::GraphViewer::isOriginVisible ( ) const

Definition at line 1354 of file GraphViewer.cpp.

◆ isReferentialVisible()

bool rtabmap::GraphViewer::isReferentialVisible ( ) const

Definition at line 1358 of file GraphViewer.cpp.

◆ linkSelected

void rtabmap::GraphViewer::linkSelected ( int  ,
int   
)
signal

◆ loadSettings()

void rtabmap::GraphViewer::loadSettings ( QSettings &  settings,
const QString &  group = "" 
)

Definition at line 1304 of file GraphViewer.cpp.

◆ mapShownRequested

void rtabmap::GraphViewer::mapShownRequested ( )
signal

◆ mouseDoubleClickEvent()

void rtabmap::GraphViewer::mouseDoubleClickEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 1812 of file GraphViewer.cpp.

◆ mouseMoveEvent()

void rtabmap::GraphViewer::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 1794 of file GraphViewer.cpp.

◆ nodeSelected

void rtabmap::GraphViewer::nodeSelected ( int  )
signal

◆ restoreDefaults

void rtabmap::GraphViewer::restoreDefaults ( )
slot

Definition at line 1763 of file GraphViewer.cpp.

◆ saveSettings()

void rtabmap::GraphViewer::saveSettings ( QSettings &  settings,
const QString &  group = "" 
) const

Definition at line 1258 of file GraphViewer.cpp.

◆ setCurrentGoalColor()

void rtabmap::GraphViewer::setCurrentGoalColor ( const QColor &  color)

Definition at line 1473 of file GraphViewer.cpp.

◆ setCurrentGoalID()

void rtabmap::GraphViewer::setCurrentGoalID ( int  id,
const Transform pose = Transform() 
)

Definition at line 1115 of file GraphViewer.cpp.

◆ setEnsureFrameVisible()

void rtabmap::GraphViewer::setEnsureFrameVisible ( bool  visible)

Definition at line 1757 of file GraphViewer.cpp.

◆ setGlobalLoopClosureColor()

void rtabmap::GraphViewer::setGlobalLoopClosureColor ( const QColor &  color)

Definition at line 1488 of file GraphViewer.cpp.

◆ setGlobalPath()

void rtabmap::GraphViewer::setGlobalPath ( const std::vector< std::pair< int, Transform > > &  globalPath)

Definition at line 1089 of file GraphViewer.cpp.

◆ setGlobalPathColor()

void rtabmap::GraphViewer::setGlobalPathColor ( const QColor &  color)

Definition at line 1571 of file GraphViewer.cpp.

◆ setGlobalPathVisible()

void rtabmap::GraphViewer::setGlobalPathVisible ( bool  visible)

Definition at line 1686 of file GraphViewer.cpp.

◆ setGPSColor()

void rtabmap::GraphViewer::setGPSColor ( const QColor &  color)

Definition at line 1587 of file GraphViewer.cpp.

◆ setGPSGraphVisible()

void rtabmap::GraphViewer::setGPSGraphVisible ( bool  visible)

Definition at line 1698 of file GraphViewer.cpp.

◆ setGraphVisible()

void rtabmap::GraphViewer::setGraphVisible ( bool  visible)

Definition at line 1682 of file GraphViewer.cpp.

◆ setGridMapVisible()

void rtabmap::GraphViewer::setGridMapVisible ( bool  visible)

Definition at line 1654 of file GraphViewer.cpp.

◆ setGTColor()

void rtabmap::GraphViewer::setGTColor ( const QColor &  color)

Definition at line 1575 of file GraphViewer.cpp.

◆ setGtGraphVisible()

void rtabmap::GraphViewer::setGtGraphVisible ( bool  visible)

Definition at line 1694 of file GraphViewer.cpp.

◆ setInterSessionLoopColor()

void rtabmap::GraphViewer::setInterSessionLoopColor ( const QColor &  color)

Definition at line 1618 of file GraphViewer.cpp.

◆ setIntraInterSessionColorsEnabled()

void rtabmap::GraphViewer::setIntraInterSessionColorsEnabled ( bool  enabled)

Definition at line 1638 of file GraphViewer.cpp.

◆ setIntraSessionLoopColor()

void rtabmap::GraphViewer::setIntraSessionLoopColor ( const QColor &  color)

Definition at line 1599 of file GraphViewer.cpp.

◆ setLandmarkColor()

void rtabmap::GraphViewer::setLandmarkColor ( const QColor &  color)

Definition at line 1552 of file GraphViewer.cpp.

◆ setLinkWidth()

void rtabmap::GraphViewer::setLinkWidth ( float  width)

Definition at line 1439 of file GraphViewer.cpp.

◆ setLocalLoopClosureColor()

void rtabmap::GraphViewer::setLocalLoopClosureColor ( const QColor &  color)

Definition at line 1503 of file GraphViewer.cpp.

◆ setLocalPathColor()

void rtabmap::GraphViewer::setLocalPathColor ( const QColor &  color)

Definition at line 1567 of file GraphViewer.cpp.

◆ setLocalPathVisible()

void rtabmap::GraphViewer::setLocalPathVisible ( bool  visible)

Definition at line 1690 of file GraphViewer.cpp.

◆ setLocalRadius()

void rtabmap::GraphViewer::setLocalRadius ( float  radius)

Definition at line 1139 of file GraphViewer.cpp.

◆ setLocalRadiusVisible()

void rtabmap::GraphViewer::setLocalRadiusVisible ( bool  visible)

Definition at line 1670 of file GraphViewer.cpp.

◆ setLoopClosureOutlierThr()

void rtabmap::GraphViewer::setLoopClosureOutlierThr ( float  value)

Definition at line 1674 of file GraphViewer.cpp.

◆ setMaxLinkLength()

void rtabmap::GraphViewer::setMaxLinkLength ( float  value)

Definition at line 1678 of file GraphViewer.cpp.

◆ setNeighborColor()

void rtabmap::GraphViewer::setNeighborColor ( const QColor &  color)

Definition at line 1477 of file GraphViewer.cpp.

◆ setNeighborMergedColor()

void rtabmap::GraphViewer::setNeighborMergedColor ( const QColor &  color)

Definition at line 1541 of file GraphViewer.cpp.

◆ setNodeColor()

void rtabmap::GraphViewer::setNodeColor ( const QColor &  color)

Definition at line 1454 of file GraphViewer.cpp.

◆ setNodeOdomCacheColor()

void rtabmap::GraphViewer::setNodeOdomCacheColor ( const QColor &  color)

Definition at line 1462 of file GraphViewer.cpp.

◆ setNodeRadius()

void rtabmap::GraphViewer::setNodeRadius ( float  radius)

Definition at line 1423 of file GraphViewer.cpp.

◆ setNodeVisible()

void rtabmap::GraphViewer::setNodeVisible ( bool  visible)

Definition at line 1407 of file GraphViewer.cpp.

◆ setOdomCacheOverlayVisible()

void rtabmap::GraphViewer::setOdomCacheOverlayVisible ( bool  visible)

Definition at line 1702 of file GraphViewer.cpp.

◆ setOrientationENU()

void rtabmap::GraphViewer::setOrientationENU ( bool  enabled)

Definition at line 1706 of file GraphViewer.cpp.

◆ setOriginVisible()

void rtabmap::GraphViewer::setOriginVisible ( bool  visible)

Definition at line 1662 of file GraphViewer.cpp.

◆ setReferentialVisible()

void rtabmap::GraphViewer::setReferentialVisible ( bool  visible)

Definition at line 1666 of file GraphViewer.cpp.

◆ setRejectedLoopClosureColor()

void rtabmap::GraphViewer::setRejectedLoopClosureColor ( const QColor &  color)

Definition at line 1563 of file GraphViewer.cpp.

◆ setUserLoopClosureColor()

void rtabmap::GraphViewer::setUserLoopClosureColor ( const QColor &  color)

Definition at line 1519 of file GraphViewer.cpp.

◆ setViewPlane()

void rtabmap::GraphViewer::setViewPlane ( ViewPlane  plane)

Definition at line 1727 of file GraphViewer.cpp.

◆ setVirtualLoopClosureColor()

void rtabmap::GraphViewer::setVirtualLoopClosureColor ( const QColor &  color)

Definition at line 1530 of file GraphViewer.cpp.

◆ setWorkingDirectory()

void rtabmap::GraphViewer::setWorkingDirectory ( const QString &  path)

Definition at line 1403 of file GraphViewer.cpp.

◆ setWorldMapRotation()

void rtabmap::GraphViewer::setWorldMapRotation ( const float theta)

Definition at line 475 of file GraphViewer.cpp.

◆ updateGPSGraph()

void rtabmap::GraphViewer::updateGPSGraph ( const std::map< int, Transform > &  gpsMapPoses,
const std::map< int, GPS > &  gpsValues 
)

Definition at line 890 of file GraphViewer.cpp.

◆ updateGraph()

void rtabmap::GraphViewer::updateGraph ( const std::map< int, Transform > &  poses,
const std::multimap< int, Link > &  constraints,
const std::map< int, int > &  mapIds,
const std::map< int, int > &  weights = std::map<intint>(),
const std::set< int > &  odomCacheIds = std::set<int>() 
)

Definition at line 481 of file GraphViewer.cpp.

◆ updateGTGraph()

void rtabmap::GraphViewer::updateGTGraph ( const std::map< int, Transform > &  poses)

Definition at line 749 of file GraphViewer.cpp.

◆ updateLocalPath()

void rtabmap::GraphViewer::updateLocalPath ( const std::vector< int > &  localPath)

Definition at line 1144 of file GraphViewer.cpp.

◆ updateMap()

void rtabmap::GraphViewer::updateMap ( const cv::Mat map8U,
float  resolution,
float  xMin,
float  yMin 
)

Definition at line 1040 of file GraphViewer.cpp.

◆ updatePosterior()

void rtabmap::GraphViewer::updatePosterior ( const std::map< int, float > &  posterior,
float  fixedMax = 0.0f,
int  zValueOffset = 0 
)

Definition at line 1061 of file GraphViewer.cpp.

◆ updateReferentialPosition()

void rtabmap::GraphViewer::updateReferentialPosition ( const Transform t)

Definition at line 1020 of file GraphViewer.cpp.

◆ wheelEvent()

void rtabmap::GraphViewer::wheelEvent ( QWheelEvent *  event)
protectedvirtual

Definition at line 1782 of file GraphViewer.cpp.

Member Data Documentation

◆ _currentGoalColor

QColor rtabmap::GraphViewer::_currentGoalColor
private

Definition at line 185 of file GraphViewer.h.

◆ _ensureFrameVisible

bool rtabmap::GraphViewer::_ensureFrameVisible
private

Definition at line 237 of file GraphViewer.h.

◆ _globalPathColor

QColor rtabmap::GraphViewer::_globalPathColor
private

Definition at line 195 of file GraphViewer.h.

◆ _globalPathLinkItems

QMultiMap<int, LinkItem*> rtabmap::GraphViewer::_globalPathLinkItems
private

Definition at line 216 of file GraphViewer.h.

◆ _globalPathRoot

QGraphicsItem* rtabmap::GraphViewer::_globalPathRoot
private

Definition at line 205 of file GraphViewer.h.

◆ _gpsGraphRoot

QGraphicsItem* rtabmap::GraphViewer::_gpsGraphRoot
private

Definition at line 208 of file GraphViewer.h.

◆ _gpsLinkItems

QMultiMap<int, LinkItem*> rtabmap::GraphViewer::_gpsLinkItems
private

Definition at line 214 of file GraphViewer.h.

◆ _gpsNodeItems

QMap<int, NodeItem*> rtabmap::GraphViewer::_gpsNodeItems
private

Definition at line 212 of file GraphViewer.h.

◆ _gpsPathColor

QColor rtabmap::GraphViewer::_gpsPathColor
private

Definition at line 197 of file GraphViewer.h.

◆ _graphRoot

QGraphicsItem* rtabmap::GraphViewer::_graphRoot
private

Definition at line 204 of file GraphViewer.h.

◆ _gridCellSize

float rtabmap::GraphViewer::_gridCellSize
private

Definition at line 229 of file GraphViewer.h.

◆ _gridMap

QGraphicsPixmapItem* rtabmap::GraphViewer::_gridMap
private

Definition at line 220 of file GraphViewer.h.

◆ _gtGraphRoot

QGraphicsItem* rtabmap::GraphViewer::_gtGraphRoot
private

Definition at line 207 of file GraphViewer.h.

◆ _gtLinkItems

QMultiMap<int, LinkItem*> rtabmap::GraphViewer::_gtLinkItems
private

Definition at line 213 of file GraphViewer.h.

◆ _gtNodeItems

QMap<int, NodeItem*> rtabmap::GraphViewer::_gtNodeItems
private

Definition at line 211 of file GraphViewer.h.

◆ _gtPathColor

QColor rtabmap::GraphViewer::_gtPathColor
private

Definition at line 196 of file GraphViewer.h.

◆ _intraInterSessionColors

bool rtabmap::GraphViewer::_intraInterSessionColors
private

Definition at line 200 of file GraphViewer.h.

◆ _landmarkColor

QColor rtabmap::GraphViewer::_landmarkColor
private

Definition at line 192 of file GraphViewer.h.

◆ _linkItems

QMultiMap<int, LinkItem*> rtabmap::GraphViewer::_linkItems
private

Definition at line 210 of file GraphViewer.h.

◆ _linkWidth

float rtabmap::GraphViewer::_linkWidth
private

Definition at line 219 of file GraphViewer.h.

◆ _localPathColor

QColor rtabmap::GraphViewer::_localPathColor
private

Definition at line 194 of file GraphViewer.h.

◆ _localPathLinkItems

QMultiMap<int, LinkItem*> rtabmap::GraphViewer::_localPathLinkItems
private

Definition at line 215 of file GraphViewer.h.

◆ _localPathRoot

QGraphicsItem* rtabmap::GraphViewer::_localPathRoot
private

Definition at line 206 of file GraphViewer.h.

◆ _localRadius

QGraphicsEllipseItem* rtabmap::GraphViewer::_localRadius
private

Definition at line 230 of file GraphViewer.h.

◆ _loopClosureColor

QColor rtabmap::GraphViewer::_loopClosureColor
private

Definition at line 187 of file GraphViewer.h.

◆ _loopClosureLocalColor

QColor rtabmap::GraphViewer::_loopClosureLocalColor
private

Definition at line 188 of file GraphViewer.h.

◆ _loopClosureOutlierThr

float rtabmap::GraphViewer::_loopClosureOutlierThr
private

Definition at line 232 of file GraphViewer.h.

◆ _loopClosureRejectedColor

QColor rtabmap::GraphViewer::_loopClosureRejectedColor
private

Definition at line 193 of file GraphViewer.h.

◆ _loopClosureUserColor

QColor rtabmap::GraphViewer::_loopClosureUserColor
private

Definition at line 189 of file GraphViewer.h.

◆ _loopClosureVirtualColor

QColor rtabmap::GraphViewer::_loopClosureVirtualColor
private

Definition at line 190 of file GraphViewer.h.

◆ _loopInterSessionColor

QColor rtabmap::GraphViewer::_loopInterSessionColor
private

Definition at line 199 of file GraphViewer.h.

◆ _loopIntraSessionColor

QColor rtabmap::GraphViewer::_loopIntraSessionColor
private

Definition at line 198 of file GraphViewer.h.

◆ _maxLinkLength

float rtabmap::GraphViewer::_maxLinkLength
private

Definition at line 233 of file GraphViewer.h.

◆ _mouseTracking

bool rtabmap::GraphViewer::_mouseTracking
private

Definition at line 235 of file GraphViewer.h.

◆ _neighborColor

QColor rtabmap::GraphViewer::_neighborColor
private

Definition at line 186 of file GraphViewer.h.

◆ _neighborMergedColor

QColor rtabmap::GraphViewer::_neighborMergedColor
private

Definition at line 191 of file GraphViewer.h.

◆ _nodeColor

QColor rtabmap::GraphViewer::_nodeColor
private

Definition at line 183 of file GraphViewer.h.

◆ _nodeItems

QMap<int, NodeItem*> rtabmap::GraphViewer::_nodeItems
private

Definition at line 209 of file GraphViewer.h.

◆ _nodeOdomCacheColor

QColor rtabmap::GraphViewer::_nodeOdomCacheColor
private

Definition at line 184 of file GraphViewer.h.

◆ _nodeRadius

float rtabmap::GraphViewer::_nodeRadius
private

Definition at line 218 of file GraphViewer.h.

◆ _nodeVisible

bool rtabmap::GraphViewer::_nodeVisible
private

Definition at line 217 of file GraphViewer.h.

◆ _odomCacheOverlay

QGraphicsRectItem* rtabmap::GraphViewer::_odomCacheOverlay
private

Definition at line 231 of file GraphViewer.h.

◆ _orientationENU

bool rtabmap::GraphViewer::_orientationENU
private

Definition at line 234 of file GraphViewer.h.

◆ _originReferential

QGraphicsItemGroup* rtabmap::GraphViewer::_originReferential
private

Definition at line 225 of file GraphViewer.h.

◆ _originReferentialXY

QGraphicsItemGroup* rtabmap::GraphViewer::_originReferentialXY
private

Definition at line 226 of file GraphViewer.h.

◆ _originReferentialXZ

QGraphicsItemGroup* rtabmap::GraphViewer::_originReferentialXZ
private

Definition at line 227 of file GraphViewer.h.

◆ _originReferentialYZ

QGraphicsItemGroup* rtabmap::GraphViewer::_originReferentialYZ
private

Definition at line 228 of file GraphViewer.h.

◆ _referential

QGraphicsItemGroup* rtabmap::GraphViewer::_referential
private

Definition at line 221 of file GraphViewer.h.

◆ _referentialXY

QGraphicsItemGroup* rtabmap::GraphViewer::_referentialXY
private

Definition at line 222 of file GraphViewer.h.

◆ _referentialXZ

QGraphicsItemGroup* rtabmap::GraphViewer::_referentialXZ
private

Definition at line 223 of file GraphViewer.h.

◆ _referentialYZ

QGraphicsItemGroup* rtabmap::GraphViewer::_referentialYZ
private

Definition at line 224 of file GraphViewer.h.

◆ _root

QGraphicsItem* rtabmap::GraphViewer::_root
private

Definition at line 203 of file GraphViewer.h.

◆ _viewPlane

ViewPlane rtabmap::GraphViewer::_viewPlane
private

Definition at line 236 of file GraphViewer.h.

◆ _workingDirectory

QString rtabmap::GraphViewer::_workingDirectory
private

Definition at line 182 of file GraphViewer.h.

◆ _world

QGraphicsItem* rtabmap::GraphViewer::_world
private

Definition at line 202 of file GraphViewer.h.

◆ _worldMapRotation

float rtabmap::GraphViewer::_worldMapRotation
private

Definition at line 201 of file GraphViewer.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jul 1 2024 02:42:45