Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
rtabmap::StatsToolBox Class Reference

#include <StatsToolBox.h>

Inheritance diagram for rtabmap::StatsToolBox:
Inheritance graph
[legend]

Public Slots

void clear ()
 
void updateStat (const QString &statFullName, bool cacheOn)
 
void updateStat (const QString &statFullName, qreal y, bool cacheOn)
 
void updateStat (const QString &statFullName, qreal x, qreal y, bool cacheOn)
 
void updateStat (const QString &statFullName, const std::vector< qreal > &x, const std::vector< qreal > &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
 

Detailed Description

Definition at line 90 of file StatsToolBox.h.

Constructor & Destructor Documentation

◆ StatsToolBox()

rtabmap::StatsToolBox::StatsToolBox ( QWidget *  parent)

Definition at line 216 of file StatsToolBox.cpp.

◆ ~StatsToolBox()

rtabmap::StatsToolBox::~StatsToolBox ( )
virtual

Definition at line 232 of file StatsToolBox.cpp.

Member Function Documentation

◆ addCurve()

void rtabmap::StatsToolBox::addCurve ( const QString &  name,
bool  newFigure = true,
bool  cacheOn = false 
)

Definition at line 603 of file StatsToolBox.cpp.

◆ clear

void rtabmap::StatsToolBox::clear ( )
slot

Definition at line 520 of file StatsToolBox.cpp.

◆ closeFigures()

void rtabmap::StatsToolBox::closeFigures ( )

Definition at line 237 of file StatsToolBox.cpp.

◆ contextMenuEvent()

void rtabmap::StatsToolBox::contextMenuEvent ( QContextMenuEvent *  event)
protectedvirtual

Definition at line 542 of file StatsToolBox.cpp.

◆ figureDeleted

void rtabmap::StatsToolBox::figureDeleted ( QObject *  obj)
privateslot

Definition at line 488 of file StatsToolBox.cpp.

◆ figuresSetupChanged

void rtabmap::StatsToolBox::figuresSetupChanged ( )
signal

◆ getFiguresSetup()

void rtabmap::StatsToolBox::getFiguresSetup ( QList< int > &  curvesPerFigure,
QStringList &  curveNames 
)

Definition at line 584 of file StatsToolBox.cpp.

◆ menuChanged

void rtabmap::StatsToolBox::menuChanged ( const QMenu *  )
signal

◆ plot

void rtabmap::StatsToolBox::plot ( const StatItem stat,
const QString &  plotName = QString() 
)
privateslot

Definition at line 381 of file StatsToolBox.cpp.

◆ setCacheOn()

void rtabmap::StatsToolBox::setCacheOn ( bool  on)

Definition at line 246 of file StatsToolBox.cpp.

◆ setNewFigureMaxItems()

void rtabmap::StatsToolBox::setNewFigureMaxItems ( int  value)
inline

Definition at line 101 of file StatsToolBox.h.

◆ setWorkingDirectory()

void rtabmap::StatsToolBox::setWorkingDirectory ( const QString &  workingDirectory)

Definition at line 629 of file StatsToolBox.cpp.

◆ updateStat [1/4]

void rtabmap::StatsToolBox::updateStat ( const QString &  statFullName,
bool  cacheOn 
)
slot

Definition at line 255 of file StatsToolBox.cpp.

◆ updateStat [2/4]

void rtabmap::StatsToolBox::updateStat ( const QString &  statFullName,
qreal  y,
bool  cacheOn 
)
slot

Definition at line 261 of file StatsToolBox.cpp.

◆ updateStat [3/4]

void rtabmap::StatsToolBox::updateStat ( const QString &  statFullName,
qreal  x,
qreal  y,
bool  cacheOn 
)
slot

Definition at line 268 of file StatsToolBox.cpp.

◆ updateStat [4/4]

void rtabmap::StatsToolBox::updateStat ( const QString &  statFullName,
const std::vector< qreal > &  x,
const std::vector< qreal > &  y,
bool  cacheOn 
)
slot

Definition at line 276 of file StatsToolBox.cpp.

Member Data Documentation

◆ _figures

QMap<QString, QWidget*> rtabmap::StatsToolBox::_figures
private

Definition at line 128 of file StatsToolBox.h.

◆ _newFigureMaxItems

int rtabmap::StatsToolBox::_newFigureMaxItems
private

Definition at line 127 of file StatsToolBox.h.

◆ _plotMenu

QMenu* rtabmap::StatsToolBox::_plotMenu
private

Definition at line 124 of file StatsToolBox.h.

◆ _statBox

QToolBox* rtabmap::StatsToolBox::_statBox
private

Definition at line 125 of file StatsToolBox.h.

◆ _workingDirectory

QString rtabmap::StatsToolBox::_workingDirectory
private

Definition at line 126 of file StatsToolBox.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00