The Manager of the plotters.
More...
#include </home/runner/work/yarp-documentation/yarp-documentation/yarp/src/guis/yarpscope/plugin/plotmanager.h>
|
| void | onTimeout () |
| | Timeout of the refresh timer.
|
| |
|
| | PlotManager (QObject *parent=0) |
| |
| | ~PlotManager () |
| |
| Plotter * | addPlot (const QString &title, int gridx, int gridy, int hspan, int vspan, float minval, float maxval, int size, const QString &bgcolor, bool autorescale) |
| | Adds a new Plotter.
|
| |
| QList< QObject * > * | getPlotters () |
| | Returns a list of all plotters.
|
| |
| void | setInterval (int interval) |
| | Sets the refresh interval.
|
| |
| void | setMainCustomPlot (QCustomPlot *) |
| |
| void | playPressed (bool check) |
| | Sets the play or pause state.
|
| |
| void | clear () |
| | Clear all plotters datas.
|
| |
| void | rescale () |
| | Rescale all plotters.
|
| |
The Manager of the plotters.
This class is used to manage the various plotters
Definition at line 18 of file plotmanager.h.
◆ PlotManager()
| PlotManager::PlotManager |
( |
QObject * |
parent = 0 | ) |
|
|
explicit |
◆ ~PlotManager()
| PlotManager::~PlotManager |
( |
| ) |
|
◆ addPlot()
| Plotter * PlotManager::addPlot |
( |
const QString & |
title, |
|
|
int |
gridx, |
|
|
int |
gridy, |
|
|
int |
hspan, |
|
|
int |
vspan, |
|
|
float |
minval, |
|
|
float |
maxval, |
|
|
int |
size, |
|
|
const QString & |
bgcolor, |
|
|
bool |
autorescale |
|
) |
| |
Adds a new Plotter.
- Parameters
-
| title | the title of the plotter |
| gridx | the x pos in the grid |
| gridy | the y pos in the grid |
| hspan | the horizonatl span |
| vspan | the vertical span |
| minval | the minimum scale value |
| maxval | the maximium scale value |
| size | number of sample of datas in plotter |
| bgcolor | the background color of the plotter |
| autorescale | not used |
Definition at line 52 of file plotmanager.cpp.
◆ clear()
| void PlotManager::clear |
( |
| ) |
|
◆ getPlotters()
| QList< QObject * > * PlotManager::getPlotters |
( |
| ) |
|
◆ instance()
Returns an instance of the class (Singleton).
Definition at line 28 of file plotmanager.cpp.
◆ onTimeout
| void PlotManager::onTimeout |
( |
| ) |
|
|
slot |
◆ playPressed()
| void PlotManager::playPressed |
( |
bool |
check | ) |
|
Sets the play or pause state.
- Parameters
-
Definition at line 98 of file plotmanager.cpp.
◆ plottersChanged
| void PlotManager::plottersChanged |
( |
| ) |
|
|
signal |
◆ requestRepaint
| void PlotManager::requestRepaint |
( |
| ) |
|
|
signal |
◆ rescale()
| void PlotManager::rescale |
( |
| ) |
|
◆ setInterval()
| void PlotManager::setInterval |
( |
int |
interval | ) |
|
◆ setMainCustomPlot()
| void PlotManager::setMainCustomPlot |
( |
QCustomPlot * |
| ) |
|
The documentation for this class was generated from the following files: