#include <GraphViewer.h>
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) | |
void | highlightNode (int nodeId, int highlightIndex) |
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 | setHighlightColor (const QColor &color, int index) |
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 | mouseMoveEvent (QMouseEvent *event) |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual void | wheelEvent (QWheelEvent *event) |
Definition at line 52 of file GraphViewer.h.
Enumerator | |
---|---|
XY | |
XZ | |
YZ |
Definition at line 57 of file GraphViewer.h.
rtabmap::GraphViewer::GraphViewer | ( | QWidget * | parent = 0 | ) |
Definition at line 284 of file GraphViewer.cpp.
|
virtual |
Definition at line 474 of file GraphViewer.cpp.
void rtabmap::GraphViewer::clearAll | ( | ) |
Definition at line 1295 of file GraphViewer.cpp.
void rtabmap::GraphViewer::clearGraph | ( | ) |
Definition at line 1249 of file GraphViewer.cpp.
void rtabmap::GraphViewer::clearMap | ( | ) |
Definition at line 1280 of file GraphViewer.cpp.
void rtabmap::GraphViewer::clearPosterior | ( | ) |
Definition at line 1287 of file GraphViewer.cpp.
|
signal |
|
protectedvirtual |
Definition at line 1922 of file GraphViewer.cpp.
|
inline |
Definition at line 97 of file GraphViewer.h.
|
inline |
Definition at line 99 of file GraphViewer.h.
|
inline |
Definition at line 106 of file GraphViewer.h.
|
inline |
Definition at line 108 of file GraphViewer.h.
|
inline |
Definition at line 107 of file GraphViewer.h.
|
inline |
Definition at line 110 of file GraphViewer.h.
|
inline |
Definition at line 109 of file GraphViewer.h.
|
inline |
Definition at line 94 of file GraphViewer.h.
|
inline |
Definition at line 100 of file GraphViewer.h.
|
inline |
Definition at line 105 of file GraphViewer.h.
|
inline |
Definition at line 116 of file GraphViewer.h.
|
inline |
Definition at line 117 of file GraphViewer.h.
|
inline |
Definition at line 98 of file GraphViewer.h.
|
inline |
Definition at line 103 of file GraphViewer.h.
|
inline |
Definition at line 95 of file GraphViewer.h.
|
inline |
Definition at line 96 of file GraphViewer.h.
|
inline |
Definition at line 93 of file GraphViewer.h.
|
inline |
Definition at line 104 of file GraphViewer.h.
|
inline |
Definition at line 101 of file GraphViewer.h.
GraphViewer::ViewPlane rtabmap::GraphViewer::getViewPlane | ( | ) | const |
Definition at line 1445 of file GraphViewer.cpp.
|
inline |
Definition at line 102 of file GraphViewer.h.
|
inline |
Definition at line 92 of file GraphViewer.h.
|
inline |
Definition at line 64 of file GraphViewer.h.
Definition at line 1223 of file GraphViewer.cpp.
bool rtabmap::GraphViewer::isEnsureFrameVisible | ( | ) | const |
Definition at line 1449 of file GraphViewer.cpp.
bool rtabmap::GraphViewer::isGlobalPathVisible | ( | ) | const |
Definition at line 1421 of file GraphViewer.cpp.
bool rtabmap::GraphViewer::isGPSGraphVisible | ( | ) | const |
Definition at line 1433 of file GraphViewer.cpp.
bool rtabmap::GraphViewer::isGraphVisible | ( | ) | const |
Definition at line 1417 of file GraphViewer.cpp.
bool rtabmap::GraphViewer::isGridMapVisible | ( | ) | const |
Definition at line 1401 of file GraphViewer.cpp.
bool rtabmap::GraphViewer::isGtGraphVisible | ( | ) | const |
Definition at line 1429 of file GraphViewer.cpp.
|
inline |
Definition at line 111 of file GraphViewer.h.
bool rtabmap::GraphViewer::isLocalPathVisible | ( | ) | const |
Definition at line 1425 of file GraphViewer.cpp.
bool rtabmap::GraphViewer::isLocalRadiusVisible | ( | ) | const |
Definition at line 1413 of file GraphViewer.cpp.
bool rtabmap::GraphViewer::isOdomCacheOverlayVisible | ( | ) | const |
Definition at line 1437 of file GraphViewer.cpp.
bool rtabmap::GraphViewer::isOrientationENU | ( | ) | const |
Definition at line 1441 of file GraphViewer.cpp.
bool rtabmap::GraphViewer::isOriginVisible | ( | ) | const |
Definition at line 1405 of file GraphViewer.cpp.
bool rtabmap::GraphViewer::isReferentialVisible | ( | ) | const |
Definition at line 1409 of file GraphViewer.cpp.
void rtabmap::GraphViewer::loadSettings | ( | QSettings & | settings, |
const QString & | group = "" |
||
) |
Definition at line 1351 of file GraphViewer.cpp.
|
signal |
|
protectedvirtual |
Definition at line 1871 of file GraphViewer.cpp.
|
protectedvirtual |
Definition at line 1889 of file GraphViewer.cpp.
|
signal |
|
slot |
Definition at line 1828 of file GraphViewer.cpp.
void rtabmap::GraphViewer::saveSettings | ( | QSettings & | settings, |
const QString & | group = "" |
||
) | const |
Definition at line 1301 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setCurrentGoalColor | ( | const QColor & | color | ) |
Definition at line 1524 of file GraphViewer.cpp.
Definition at line 1126 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setEnsureFrameVisible | ( | bool | visible | ) |
Definition at line 1822 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setGlobalLoopClosureColor | ( | const QColor & | color | ) |
Definition at line 1539 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setGlobalPath | ( | const std::vector< std::pair< int, Transform > > & | globalPath | ) |
Definition at line 1100 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setGlobalPathColor | ( | const QColor & | color | ) |
Definition at line 1622 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setGlobalPathVisible | ( | bool | visible | ) |
Definition at line 1751 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setGPSColor | ( | const QColor & | color | ) |
Definition at line 1638 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setGPSGraphVisible | ( | bool | visible | ) |
Definition at line 1763 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setGraphVisible | ( | bool | visible | ) |
Definition at line 1747 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setGridMapVisible | ( | bool | visible | ) |
Definition at line 1719 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setGTColor | ( | const QColor & | color | ) |
Definition at line 1626 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setGtGraphVisible | ( | bool | visible | ) |
Definition at line 1759 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setHighlightColor | ( | const QColor & | color, |
int | index | ||
) |
Definition at line 1650 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setInterSessionLoopColor | ( | const QColor & | color | ) |
Definition at line 1683 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setIntraInterSessionColorsEnabled | ( | bool | enabled | ) |
Definition at line 1703 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setIntraSessionLoopColor | ( | const QColor & | color | ) |
Definition at line 1664 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setLandmarkColor | ( | const QColor & | color | ) |
Definition at line 1603 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setLinkWidth | ( | float | width | ) |
Definition at line 1490 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setLocalLoopClosureColor | ( | const QColor & | color | ) |
Definition at line 1554 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setLocalPathColor | ( | const QColor & | color | ) |
Definition at line 1618 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setLocalPathVisible | ( | bool | visible | ) |
Definition at line 1755 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setLocalRadius | ( | float | radius | ) |
Definition at line 1150 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setLocalRadiusVisible | ( | bool | visible | ) |
Definition at line 1735 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setLoopClosureOutlierThr | ( | float | value | ) |
Definition at line 1739 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setMaxLinkLength | ( | float | value | ) |
Definition at line 1743 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setNeighborColor | ( | const QColor & | color | ) |
Definition at line 1528 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setNeighborMergedColor | ( | const QColor & | color | ) |
Definition at line 1592 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setNodeColor | ( | const QColor & | color | ) |
Definition at line 1505 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setNodeOdomCacheColor | ( | const QColor & | color | ) |
Definition at line 1513 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setNodeRadius | ( | float | radius | ) |
Definition at line 1474 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setNodeVisible | ( | bool | visible | ) |
Definition at line 1458 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setOdomCacheOverlayVisible | ( | bool | visible | ) |
Definition at line 1767 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setOrientationENU | ( | bool | enabled | ) |
Definition at line 1771 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setOriginVisible | ( | bool | visible | ) |
Definition at line 1727 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setReferentialVisible | ( | bool | visible | ) |
Definition at line 1731 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setRejectedLoopClosureColor | ( | const QColor & | color | ) |
Definition at line 1614 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setUserLoopClosureColor | ( | const QColor & | color | ) |
Definition at line 1570 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setViewPlane | ( | ViewPlane | plane | ) |
Definition at line 1792 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setVirtualLoopClosureColor | ( | const QColor & | color | ) |
Definition at line 1581 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setWorkingDirectory | ( | const QString & | path | ) |
Definition at line 1454 of file GraphViewer.cpp.
void rtabmap::GraphViewer::setWorldMapRotation | ( | const float & | theta | ) |
Definition at line 478 of file GraphViewer.cpp.
void rtabmap::GraphViewer::updateGPSGraph | ( | const std::map< int, Transform > & | gpsMapPoses, |
const std::map< int, GPS > & | gpsValues | ||
) |
Definition at line 901 of file GraphViewer.cpp.
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<int, int>() , |
||
const std::set< int > & | odomCacheIds = std::set<int>() |
||
) |
Definition at line 484 of file GraphViewer.cpp.
Definition at line 760 of file GraphViewer.cpp.
void rtabmap::GraphViewer::updateLocalPath | ( | const std::vector< int > & | localPath | ) |
Definition at line 1155 of file GraphViewer.cpp.
void rtabmap::GraphViewer::updateMap | ( | const cv::Mat & | map8U, |
float | resolution, | ||
float | xMin, | ||
float | yMin | ||
) |
Definition at line 1051 of file GraphViewer.cpp.
void rtabmap::GraphViewer::updatePosterior | ( | const std::map< int, float > & | posterior, |
float | fixedMax = 0.0f , |
||
int | zValueOffset = 0 |
||
) |
Definition at line 1072 of file GraphViewer.cpp.
void rtabmap::GraphViewer::updateReferentialPosition | ( | const Transform & | t | ) |
Definition at line 1031 of file GraphViewer.cpp.
|
protectedvirtual |
Definition at line 1859 of file GraphViewer.cpp.
|
private |
Definition at line 187 of file GraphViewer.h.
|
private |
Definition at line 240 of file GraphViewer.h.
|
private |
Definition at line 197 of file GraphViewer.h.
Definition at line 218 of file GraphViewer.h.
|
private |
Definition at line 207 of file GraphViewer.h.
|
private |
Definition at line 210 of file GraphViewer.h.
Definition at line 216 of file GraphViewer.h.
Definition at line 214 of file GraphViewer.h.
|
private |
Definition at line 199 of file GraphViewer.h.
|
private |
Definition at line 206 of file GraphViewer.h.
|
private |
Definition at line 232 of file GraphViewer.h.
|
private |
Definition at line 223 of file GraphViewer.h.
|
private |
Definition at line 209 of file GraphViewer.h.
Definition at line 215 of file GraphViewer.h.
Definition at line 213 of file GraphViewer.h.
|
private |
Definition at line 198 of file GraphViewer.h.
|
private |
Definition at line 219 of file GraphViewer.h.
|
private |
Definition at line 202 of file GraphViewer.h.
|
private |
Definition at line 194 of file GraphViewer.h.
Definition at line 212 of file GraphViewer.h.
|
private |
Definition at line 222 of file GraphViewer.h.
|
private |
Definition at line 196 of file GraphViewer.h.
Definition at line 217 of file GraphViewer.h.
|
private |
Definition at line 208 of file GraphViewer.h.
|
private |
Definition at line 233 of file GraphViewer.h.
|
private |
Definition at line 189 of file GraphViewer.h.
|
private |
Definition at line 190 of file GraphViewer.h.
|
private |
Definition at line 235 of file GraphViewer.h.
|
private |
Definition at line 195 of file GraphViewer.h.
|
private |
Definition at line 191 of file GraphViewer.h.
|
private |
Definition at line 192 of file GraphViewer.h.
|
private |
Definition at line 201 of file GraphViewer.h.
|
private |
Definition at line 200 of file GraphViewer.h.
|
private |
Definition at line 236 of file GraphViewer.h.
|
private |
Definition at line 238 of file GraphViewer.h.
|
private |
Definition at line 188 of file GraphViewer.h.
|
private |
Definition at line 193 of file GraphViewer.h.
|
private |
Definition at line 185 of file GraphViewer.h.
Definition at line 211 of file GraphViewer.h.
|
private |
Definition at line 186 of file GraphViewer.h.
|
private |
Definition at line 221 of file GraphViewer.h.
|
private |
Definition at line 220 of file GraphViewer.h.
|
private |
Definition at line 234 of file GraphViewer.h.
|
private |
Definition at line 237 of file GraphViewer.h.
|
private |
Definition at line 228 of file GraphViewer.h.
|
private |
Definition at line 229 of file GraphViewer.h.
|
private |
Definition at line 230 of file GraphViewer.h.
|
private |
Definition at line 231 of file GraphViewer.h.
|
private |
Definition at line 224 of file GraphViewer.h.
|
private |
Definition at line 225 of file GraphViewer.h.
|
private |
Definition at line 226 of file GraphViewer.h.
|
private |
Definition at line 227 of file GraphViewer.h.
|
private |
Definition at line 205 of file GraphViewer.h.
|
private |
Definition at line 239 of file GraphViewer.h.
|
private |
Definition at line 184 of file GraphViewer.h.
|
private |
Definition at line 204 of file GraphViewer.h.
|
private |
Definition at line 203 of file GraphViewer.h.