#include <StatsToolBox.h>
Public Slots | |
void | updateStat (const QString &statFullName, float y) |
void | updateStat (const QString &statFullName, float x, float y) |
void | updateStat (const QString &statFullName, const std::vector< float > &x, const std::vector< float > &y) |
Signals | |
void | figuresSetupChanged () |
void | menuChanged (const QMenu *) |
Public Member Functions | |
void | addCurve (const QString &name, bool newFigure=true) |
void | closeFigures () |
void | getFiguresSetup (QList< int > &curvesPerFigure, QStringList &curveNames) |
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 |
QMenu * | _plotMenu |
QToolBox * | _statBox |
QString | _workingDirectory |
Definition at line 82 of file StatsToolBox.h.
rtabmap::StatsToolBox::StatsToolBox | ( | QWidget * | parent | ) |
Definition at line 164 of file StatsToolBox.cpp.
rtabmap::StatsToolBox::~StatsToolBox | ( | ) | [virtual] |
Definition at line 179 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::addCurve | ( | const QString & | name, |
bool | newFigure = true |
||
) |
Definition at line 496 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::closeFigures | ( | ) |
Definition at line 184 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::contextMenuEvent | ( | QContextMenuEvent * | event | ) | [protected, virtual] |
Definition at line 423 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::figureDeleted | ( | QObject * | obj | ) | [private, slot] |
Definition at line 391 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::figuresSetupChanged | ( | ) | [signal] |
void rtabmap::StatsToolBox::getFiguresSetup | ( | QList< int > & | curvesPerFigure, |
QStringList & | curveNames | ||
) |
Definition at line 477 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 308 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::setWorkingDirectory | ( | const QString & | workingDirectory | ) |
Definition at line 522 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::updateStat | ( | const QString & | statFullName, |
float | y | ||
) | [slot] |
Definition at line 193 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::updateStat | ( | const QString & | statFullName, |
float | x, | ||
float | y | ||
) | [slot] |
Definition at line 200 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::updateStat | ( | const QString & | statFullName, |
const std::vector< float > & | x, | ||
const std::vector< float > & | y | ||
) | [slot] |
Definition at line 208 of file StatsToolBox.cpp.
QMap<QString, QWidget*> rtabmap::StatsToolBox::_figures [private] |
Definition at line 115 of file StatsToolBox.h.
QMenu* rtabmap::StatsToolBox::_plotMenu [private] |
Definition at line 112 of file StatsToolBox.h.
QToolBox* rtabmap::StatsToolBox::_statBox [private] |
Definition at line 113 of file StatsToolBox.h.
QString rtabmap::StatsToolBox::_workingDirectory [private] |
Definition at line 114 of file StatsToolBox.h.