Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Attributes
rtabmap::GraphViewer Class Reference

#include <GraphViewer.h>

List of all members.

Public Slots

void restoreDefaults ()

Signals

void configChanged ()

Public Member Functions

void clearAll ()
void clearGraph ()
void clearMap ()
void clearPosterior ()
const QColor & getCurrentGoalColor () const
const QColor & getGlobalLoopClosureColor () const
const QColor & getGlobalPathColor () const
float getLinkWidth () const
const QColor & getLocalLoopClosureColor () const
const QColor & getLocalPathColor () const
const QColor & getNeighborColor () const
const QColor & getNodeColor () const
float getNodeRadius () const
const QColor & getUserLoopClosureColor () const
const QColor & getVirtualLoopClosureColor () const
const QString & getWorkingDirectory () const
 GraphViewer (QWidget *parent=0)
bool isGridMapVisible () const
bool isLocalRadiusVisible () 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)
void setGlobalLoopClosureColor (const QColor &color)
void setGlobalPath (const std::vector< std::pair< int, Transform > > &globalPath)
void setGlobalPathColor (const QColor &color)
void setGridMapVisible (bool visible)
void setLinkWidth (float width)
void setLocalLoopClosureColor (const QColor &color)
void setLocalPathColor (const QColor &color)
void setLocalRadius (float radius)
void setLocalRadiusVisible (bool visible)
void setNeighborColor (const QColor &color)
void setNodeColor (const QColor &color)
void setNodeRadius (float radius)
void setOriginVisible (bool visible)
void setReferentialVisible (bool visible)
void setUserLoopClosureColor (const QColor &color)
void setVirtualLoopClosureColor (const QColor &color)
void setWorkingDirectory (const QString &path)
void updateGraph (const std::map< int, Transform > &poses, const std::multimap< int, Link > &constraints)
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)
void updateReferentialPosition (const Transform &t)
virtual ~GraphViewer ()

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *event)
virtual void wheelEvent (QWheelEvent *event)

Private Attributes

QColor _currentGoalColor
QColor _globalPathColor
QMultiMap< int, LinkItem * > _globalPathLinkItems
float _gridCellSize
QGraphicsPixmapItem * _gridMap
QMultiMap< int, LinkItem * > _linkItems
float _linkWidth
QColor _localPathColor
QMultiMap< int, LinkItem * > _localPathLinkItems
QGraphicsEllipseItem * _localRadius
QColor _loopClosureColor
QColor _loopClosureLocalColor
QColor _loopClosureUserColor
QColor _loopClosureVirtualColor
QColor _neighborColor
QColor _nodeColor
QMap< int, NodeItem * > _nodeItems
float _nodeRadius
QGraphicsItemGroup * _originReferential
QGraphicsItemGroup * _referential
QGraphicsItem * _root
QString _workingDirectory

Detailed Description

Definition at line 47 of file GraphViewer.h.


Constructor & Destructor Documentation

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

Definition at line 159 of file GraphViewer.cpp.

Definition at line 224 of file GraphViewer.cpp.


Member Function Documentation

Definition at line 593 of file GraphViewer.cpp.

Definition at line 562 of file GraphViewer.cpp.

Definition at line 578 of file GraphViewer.cpp.

Definition at line 585 of file GraphViewer.cpp.

void rtabmap::GraphViewer::contextMenuEvent ( QContextMenuEvent *  event) [protected, virtual]

Definition at line 827 of file GraphViewer.cpp.

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

Definition at line 77 of file GraphViewer.h.

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

Definition at line 79 of file GraphViewer.h.

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

Definition at line 84 of file GraphViewer.h.

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

Definition at line 75 of file GraphViewer.h.

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

Definition at line 80 of file GraphViewer.h.

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

Definition at line 83 of file GraphViewer.h.

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

Definition at line 78 of file GraphViewer.h.

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

Definition at line 76 of file GraphViewer.h.

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

Definition at line 74 of file GraphViewer.h.

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

Definition at line 81 of file GraphViewer.h.

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

Definition at line 82 of file GraphViewer.h.

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

Definition at line 73 of file GraphViewer.h.

Definition at line 653 of file GraphViewer.cpp.

Definition at line 665 of file GraphViewer.cpp.

Definition at line 657 of file GraphViewer.cpp.

Definition at line 661 of file GraphViewer.cpp.

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

Definition at line 626 of file GraphViewer.cpp.

Definition at line 794 of file GraphViewer.cpp.

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

Definition at line 599 of file GraphViewer.cpp.

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

Definition at line 705 of file GraphViewer.cpp.

Definition at line 481 of file GraphViewer.cpp.

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

Definition at line 720 of file GraphViewer.cpp.

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

Definition at line 455 of file GraphViewer.cpp.

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

Definition at line 773 of file GraphViewer.cpp.

Definition at line 777 of file GraphViewer.cpp.

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

Definition at line 682 of file GraphViewer.cpp.

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

Definition at line 735 of file GraphViewer.cpp.

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

Definition at line 769 of file GraphViewer.cpp.

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

Definition at line 494 of file GraphViewer.cpp.

Definition at line 789 of file GraphViewer.cpp.

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

Definition at line 709 of file GraphViewer.cpp.

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

Definition at line 697 of file GraphViewer.cpp.

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

Definition at line 674 of file GraphViewer.cpp.

Definition at line 781 of file GraphViewer.cpp.

Definition at line 785 of file GraphViewer.cpp.

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

Definition at line 747 of file GraphViewer.cpp.

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

Definition at line 758 of file GraphViewer.cpp.

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

Definition at line 670 of file GraphViewer.cpp.

void rtabmap::GraphViewer::updateGraph ( const std::map< int, Transform > &  poses,
const std::multimap< int, Link > &  constraints 
)

Definition at line 228 of file GraphViewer.cpp.

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

Definition at line 499 of file GraphViewer.cpp.

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

Definition at line 406 of file GraphViewer.cpp.

void rtabmap::GraphViewer::updatePosterior ( const std::map< int, float > &  posterior)

Definition at line 426 of file GraphViewer.cpp.

Definition at line 393 of file GraphViewer.cpp.

void rtabmap::GraphViewer::wheelEvent ( QWheelEvent *  event) [protected, virtual]

Definition at line 808 of file GraphViewer.cpp.


Member Data Documentation

Definition at line 121 of file GraphViewer.h.

Definition at line 128 of file GraphViewer.h.

Definition at line 133 of file GraphViewer.h.

Definition at line 139 of file GraphViewer.h.

QGraphicsPixmapItem* rtabmap::GraphViewer::_gridMap [private]

Definition at line 136 of file GraphViewer.h.

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

Definition at line 131 of file GraphViewer.h.

Definition at line 135 of file GraphViewer.h.

Definition at line 127 of file GraphViewer.h.

Definition at line 132 of file GraphViewer.h.

QGraphicsEllipseItem* rtabmap::GraphViewer::_localRadius [private]

Definition at line 140 of file GraphViewer.h.

Definition at line 123 of file GraphViewer.h.

Definition at line 124 of file GraphViewer.h.

Definition at line 125 of file GraphViewer.h.

Definition at line 126 of file GraphViewer.h.

Definition at line 122 of file GraphViewer.h.

Definition at line 120 of file GraphViewer.h.

Definition at line 130 of file GraphViewer.h.

Definition at line 134 of file GraphViewer.h.

QGraphicsItemGroup* rtabmap::GraphViewer::_originReferential [private]

Definition at line 138 of file GraphViewer.h.

QGraphicsItemGroup* rtabmap::GraphViewer::_referential [private]

Definition at line 137 of file GraphViewer.h.

QGraphicsItem* rtabmap::GraphViewer::_root [private]

Definition at line 129 of file GraphViewer.h.

Definition at line 119 of file GraphViewer.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Fri Aug 28 2015 12:51:44