#include <StatsToolBox.h>
Public Slots | |
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 78 of file StatsToolBox.h.
rtabmap::StatsToolBox::StatsToolBox | ( | QWidget * | parent | ) |
Definition at line 158 of file StatsToolBox.cpp.
rtabmap::StatsToolBox::~StatsToolBox | ( | ) | [virtual] |
Definition at line 173 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::addCurve | ( | const QString & | name, |
bool | newFigure = true |
||
) |
Definition at line 477 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::closeFigures | ( | ) |
Definition at line 178 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::contextMenuEvent | ( | QContextMenuEvent * | event | ) | [protected, virtual] |
Definition at line 404 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::figureDeleted | ( | QObject * | obj | ) | [private, slot] |
Definition at line 372 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::figuresSetupChanged | ( | ) | [signal] |
void rtabmap::StatsToolBox::getFiguresSetup | ( | QList< int > & | curvesPerFigure, |
QStringList & | curveNames | ||
) |
Definition at line 458 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 291 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::setWorkingDirectory | ( | const QString & | workingDirectory | ) |
Definition at line 503 of file StatsToolBox.cpp.
void rtabmap::StatsToolBox::updateStat | ( | const QString & | statFullName, |
float | x, | ||
float | y | ||
) | [slot] |
Definition at line 187 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 195 of file StatsToolBox.cpp.
QMap<QString, QWidget*> rtabmap::StatsToolBox::_figures [private] |
Definition at line 110 of file StatsToolBox.h.
QMenu* rtabmap::StatsToolBox::_plotMenu [private] |
Definition at line 107 of file StatsToolBox.h.
QToolBox* rtabmap::StatsToolBox::_statBox [private] |
Definition at line 108 of file StatsToolBox.h.
QString rtabmap::StatsToolBox::_workingDirectory [private] |
Definition at line 109 of file StatsToolBox.h.