Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
rtabmap::StatItem Class Reference

#include <StatsToolBox.h>

List of all members.

Public Slots

void updateMenu (const QMenu *menu)

Signals

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

Public Member Functions

void addValue (float y)
void addValue (float x, float y)
void clearCache ()
void setCacheOn (bool on)
void setValues (const std::vector< float > &x, const std::vector< float > &y)
 StatItem (const QString &name, bool cacheOn, const std::vector< float > &x, const std::vector< float > &y, const QString &unit=QString(), const QMenu *menu=0, QGridLayout *grid=0, QWidget *parent=0)
QString value () const
std::vector< float > xValues () const
std::vector< float > 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< float > _x
std::vector< float > _y

Detailed Description

Definition at line 44 of file StatsToolBox.h.


Constructor & Destructor Documentation

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

Definition at line 47 of file StatsToolBox.cpp.

Definition at line 75 of file StatsToolBox.cpp.


Member Function Documentation

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

Definition at line 87 of file StatsToolBox.cpp.

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

Definition at line 97 of file StatsToolBox.cpp.

Definition at line 80 of file StatsToolBox.cpp.

void rtabmap::StatItem::plotRequested ( const StatItem ,
const QString &   
) [signal]
void rtabmap::StatItem::preparePlotRequest ( ) [private, slot]

Definition at line 200 of file StatsToolBox.cpp.

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

Definition at line 177 of file StatsToolBox.cpp.

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

Definition at line 137 of file StatsToolBox.cpp.

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

Definition at line 114 of file StatsToolBox.cpp.

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

Definition at line 187 of file StatsToolBox.cpp.

QString rtabmap::StatItem::value ( ) const

Definition at line 132 of file StatsToolBox.cpp.

void rtabmap::StatItem::valueAdded ( float  ) [signal]
void rtabmap::StatItem::valueAdded ( float  ,
float   
) [signal]
void rtabmap::StatItem::valuesChanged ( const std::vector< float > &  ,
const std::vector< float > &   
) [signal]
std::vector<float> rtabmap::StatItem::xValues ( ) const [inline]

Definition at line 55 of file StatsToolBox.h.

std::vector<float> rtabmap::StatItem::yValues ( ) const [inline]

Definition at line 56 of file StatsToolBox.h.


Member Data Documentation

QToolButton* rtabmap::StatItem::_button [private]

Definition at line 76 of file StatsToolBox.h.

Definition at line 82 of file StatsToolBox.h.

QMenu* rtabmap::StatItem::_menu [private]

Definition at line 80 of file StatsToolBox.h.

QLabel* rtabmap::StatItem::_name [private]

Definition at line 77 of file StatsToolBox.h.

QLabel* rtabmap::StatItem::_unit [private]

Definition at line 79 of file StatsToolBox.h.

QLabel* rtabmap::StatItem::_value [private]

Definition at line 78 of file StatsToolBox.h.

std::vector<float> rtabmap::StatItem::_x [private]

Definition at line 83 of file StatsToolBox.h.

std::vector<float> 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 Jun 6 2019 21:59:42