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

#include <StatsToolBox.h>

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

Public Slots

void updateMenu (const QMenu *menu)
 

Signals

void plotRequested (const StatItem *, const QString &)
 
void valueAdded (qreal)
 
void valueAdded (qreal, qreal)
 
void valuesChanged (const std::vector< qreal > &, const std::vector< qreal > &)
 

Public Member Functions

void addValue (qreal x, qreal y)
 
void addValue (qreal y)
 
void clearCache ()
 
void setCacheOn (bool on)
 
void setValues (const std::vector< qreal > &x, const std::vector< qreal > &y)
 
 StatItem (const QString &name, bool cacheOn, const std::vector< qreal > &x, const std::vector< qreal > &y, const QString &unit=QString(), const QMenu *menu=0, QGridLayout *grid=0, QWidget *parent=0)
 
QString value () const
 
std::vector< qreal > xValues () const
 
std::vector< qreal > yValues () const
 
virtual ~StatItem ()
 

Private Slots

void preparePlotRequest ()
 

Private Member Functions

void setupUi (QGridLayout *grid)
 

Private Attributes

QToolButton * _button
 
bool _cacheOn
 
QMenu * _menu
 
QLabel * _name
 
QLabel * _unit
 
QLabel * _value
 
std::vector< qreal > _x
 
std::vector< qreal > _y
 

Detailed Description

Definition at line 44 of file StatsToolBox.h.

Constructor & Destructor Documentation

◆ StatItem()

rtabmap::StatItem::StatItem ( const QString &  name,
bool  cacheOn,
const std::vector< qreal > &  x,
const std::vector< qreal > &  y,
const QString &  unit = QString(),
const QMenu *  menu = 0,
QGridLayout *  grid = 0,
QWidget *  parent = 0 
)

Definition at line 47 of file StatsToolBox.cpp.

◆ ~StatItem()

rtabmap::StatItem::~StatItem ( )
virtual

Definition at line 75 of file StatsToolBox.cpp.

Member Function Documentation

◆ addValue() [1/2]

void rtabmap::StatItem::addValue ( qreal  x,
qreal  y 
)

Definition at line 97 of file StatsToolBox.cpp.

◆ addValue() [2/2]

void rtabmap::StatItem::addValue ( qreal  y)

Definition at line 87 of file StatsToolBox.cpp.

◆ clearCache()

void rtabmap::StatItem::clearCache ( )

Definition at line 80 of file StatsToolBox.cpp.

◆ plotRequested

void rtabmap::StatItem::plotRequested ( const StatItem ,
const QString &   
)
signal

◆ preparePlotRequest

void rtabmap::StatItem::preparePlotRequest ( )
privateslot

Definition at line 200 of file StatsToolBox.cpp.

◆ setCacheOn()

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

Definition at line 177 of file StatsToolBox.cpp.

◆ setupUi()

void rtabmap::StatItem::setupUi ( QGridLayout *  grid)
private

Definition at line 137 of file StatsToolBox.cpp.

◆ setValues()

void rtabmap::StatItem::setValues ( const std::vector< qreal > &  x,
const std::vector< qreal > &  y 
)

Definition at line 114 of file StatsToolBox.cpp.

◆ updateMenu

void rtabmap::StatItem::updateMenu ( const QMenu *  menu)
slot

Definition at line 187 of file StatsToolBox.cpp.

◆ value()

QString rtabmap::StatItem::value ( ) const

Definition at line 132 of file StatsToolBox.cpp.

◆ valueAdded [1/2]

void rtabmap::StatItem::valueAdded ( qreal  )
signal

◆ valueAdded [2/2]

void rtabmap::StatItem::valueAdded ( qreal  ,
qreal   
)
signal

◆ valuesChanged

void rtabmap::StatItem::valuesChanged ( const std::vector< qreal > &  ,
const std::vector< qreal > &   
)
signal

◆ xValues()

std::vector<qreal> rtabmap::StatItem::xValues ( ) const
inline

Definition at line 55 of file StatsToolBox.h.

◆ yValues()

std::vector<qreal> rtabmap::StatItem::yValues ( ) const
inline

Definition at line 56 of file StatsToolBox.h.

Member Data Documentation

◆ _button

QToolButton* rtabmap::StatItem::_button
private

Definition at line 76 of file StatsToolBox.h.

◆ _cacheOn

bool rtabmap::StatItem::_cacheOn
private

Definition at line 82 of file StatsToolBox.h.

◆ _menu

QMenu* rtabmap::StatItem::_menu
private

Definition at line 80 of file StatsToolBox.h.

◆ _name

QLabel* rtabmap::StatItem::_name
private

Definition at line 77 of file StatsToolBox.h.

◆ _unit

QLabel* rtabmap::StatItem::_unit
private

Definition at line 79 of file StatsToolBox.h.

◆ _value

QLabel* rtabmap::StatItem::_value
private

Definition at line 78 of file StatsToolBox.h.

◆ _x

std::vector<qreal> rtabmap::StatItem::_x
private

Definition at line 83 of file StatsToolBox.h.

◆ _y

std::vector<qreal> rtabmap::StatItem::_y
private

Definition at line 84 of file StatsToolBox.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:28