#include <StatsToolBox.h>
Public Slots | |
| void | clear () |
| void | updateStat (const QString &statFullName, bool cacheOn) |
| void | updateStat (const QString &statFullName, float y, bool cacheOn) |
| void | updateStat (const QString &statFullName, float x, float y, bool cacheOn) |
| void | updateStat (const QString &statFullName, const std::vector< float > &x, const std::vector< float > &y, bool cacheOn) |
Signals | |
| void | figuresSetupChanged () |
| void | menuChanged (const QMenu *) |
Public Member Functions | |
| void | addCurve (const QString &name, bool newFigure=true, bool cacheOn=false) |
| void | closeFigures () |
| void | getFiguresSetup (QList< int > &curvesPerFigure, QStringList &curveNames) |
| void | setCacheOn (bool on) |
| void | setNewFigureMaxItems (int value) |
| void | setWorkingDirectory (const QString &workingDirectory) |
| StatsToolBox (QWidget *parent) | |
| virtual | ~StatsToolBox () |
Protected Member Functions | |
| virtual void | contextMenuEvent (QContextMenuEvent *event) |
Private Slots | |
| void | figureDeleted (QObject *obj) |
| void | plot (const StatItem *stat, const QString &plotName=QString()) |
Private Attributes | |
| QMap< QString, QWidget * > | _figures |
| int | _newFigureMaxItems |
| QMenu * | _plotMenu |
| QToolBox * | _statBox |
| QString | _workingDirectory |
Definition at line 90 of file StatsToolBox.h.
| rtabmap::StatsToolBox::StatsToolBox | ( | QWidget * | parent | ) |
Definition at line 216 of file StatsToolBox.cpp.
| rtabmap::StatsToolBox::~StatsToolBox | ( | ) | [virtual] |
Definition at line 232 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::addCurve | ( | const QString & | name, |
| bool | newFigure = true, |
||
| bool | cacheOn = false |
||
| ) |
Definition at line 603 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::clear | ( | ) | [slot] |
Definition at line 520 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::closeFigures | ( | ) |
Definition at line 237 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::contextMenuEvent | ( | QContextMenuEvent * | event | ) | [protected, virtual] |
Definition at line 542 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::figureDeleted | ( | QObject * | obj | ) | [private, slot] |
Definition at line 488 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::figuresSetupChanged | ( | ) | [signal] |
| void rtabmap::StatsToolBox::getFiguresSetup | ( | QList< int > & | curvesPerFigure, |
| QStringList & | curveNames | ||
| ) |
Definition at line 584 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::menuChanged | ( | const QMenu * | ) | [signal] |
| void rtabmap::StatsToolBox::plot | ( | const StatItem * | stat, |
| const QString & | plotName = QString() |
||
| ) | [private, slot] |
Definition at line 381 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::setCacheOn | ( | bool | on | ) |
Definition at line 246 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::setNewFigureMaxItems | ( | int | value | ) | [inline] |
Definition at line 101 of file StatsToolBox.h.
| void rtabmap::StatsToolBox::setWorkingDirectory | ( | const QString & | workingDirectory | ) |
Definition at line 629 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::updateStat | ( | const QString & | statFullName, |
| bool | cacheOn | ||
| ) | [slot] |
Definition at line 255 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::updateStat | ( | const QString & | statFullName, |
| float | y, | ||
| bool | cacheOn | ||
| ) | [slot] |
Definition at line 261 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::updateStat | ( | const QString & | statFullName, |
| float | x, | ||
| float | y, | ||
| bool | cacheOn | ||
| ) | [slot] |
Definition at line 268 of file StatsToolBox.cpp.
| void rtabmap::StatsToolBox::updateStat | ( | const QString & | statFullName, |
| const std::vector< float > & | x, | ||
| const std::vector< float > & | y, | ||
| bool | cacheOn | ||
| ) | [slot] |
Definition at line 276 of file StatsToolBox.cpp.
QMap<QString, QWidget*> rtabmap::StatsToolBox::_figures [private] |
Definition at line 128 of file StatsToolBox.h.
int rtabmap::StatsToolBox::_newFigureMaxItems [private] |
Definition at line 127 of file StatsToolBox.h.
QMenu* rtabmap::StatsToolBox::_plotMenu [private] |
Definition at line 124 of file StatsToolBox.h.
QToolBox* rtabmap::StatsToolBox::_statBox [private] |
Definition at line 125 of file StatsToolBox.h.
QString rtabmap::StatsToolBox::_workingDirectory [private] |
Definition at line 126 of file StatsToolBox.h.