Class representing a Plotter.
More...
#include </home/runner/work/yarp-documentation/yarp-documentation/yarp/src/guis/yarpscope/plugin/plotter.h>
|
| void | onInteract () |
| | Sets the interaction mode to true.
|
| |
| void | onTimeout () |
| | Timeout on which the data is acquired.
|
| |
|
| | Plotter (const QString &title, int gridx, int gridy, int hspan, int vspan, float minval, float maxval, int size, const QString &bgcolor, bool autorescale, QObject *parent=0) |
| | Constructor of the class.
|
| |
| | ~Plotter () |
| |
| Graph * | addGraph (QString remotePort, QString localPort, int index, QString title, QString color, QString type, int size, double graph_y_scale=1.0) |
| | Add a Graph to the current Plotter.
|
| |
| void | clear () |
| | Clears the graphs data.
|
| |
| void | rescale () |
| | Rescales the plotter and its graphs.
|
| |
| void | setPaintGeometry (QRectF) |
| | Sets the paint geometry for this Plotter.
|
| |
Class representing a Plotter.
Definition at line 114 of file plotter.h.
◆ Plotter()
| Plotter::Plotter |
( |
const QString & |
title, |
|
|
int |
gridx, |
|
|
int |
gridy, |
|
|
int |
hspan, |
|
|
int |
vspan, |
|
|
float |
minval, |
|
|
float |
maxval, |
|
|
int |
size, |
|
|
const QString & |
bgcolor, |
|
|
bool |
autorescale, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicit |
Constructor of the class.
- 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 26 of file plotter.cpp.
◆ ~Plotter()
◆ addGraph()
| Graph * Plotter::addGraph |
( |
QString |
remotePort, |
|
|
QString |
localPort, |
|
|
int |
index, |
|
|
QString |
title, |
|
|
QString |
color, |
|
|
QString |
type, |
|
|
int |
size, |
|
|
double |
graph_y_scale = 1.0 |
|
) |
| |
Add a Graph to the current Plotter.
- Parameters
-
| index | the index of the graph |
| title | the title of the graph |
| color | the color of the graph |
| type | the type of the graph (bar, lines, points) |
| the | tickness of the graph |
| graph_y_scale | to multiply the all data points for a scale factor |
Definition at line 119 of file plotter.cpp.
◆ clear()
◆ duplicateLastGraphValue
| void Plotter::duplicateLastGraphValue |
( |
int |
graphIndex | ) |
|
|
signal |
◆ internalAppendGraph
| void Plotter::internalAppendGraph |
( |
int |
index, |
|
|
QString |
title, |
|
|
QString |
color, |
|
|
QString |
type, |
|
|
int |
size, |
|
|
int |
buffer_size |
|
) |
| |
|
signal |
◆ maxValueChanged
| void Plotter::maxValueChanged |
( |
| ) |
|
|
signal |
◆ minValueChanged
| void Plotter::minValueChanged |
( |
| ) |
|
|
signal |
◆ onInteract
| void Plotter::onInteract |
( |
| ) |
|
|
slot |
Sets the interaction mode to true.
Called when the user interact with the plotter using mouse
Definition at line 77 of file plotter.cpp.
◆ onTimeout
| void Plotter::onTimeout |
( |
| ) |
|
|
slot |
Timeout on which the data is acquired.
Definition at line 171 of file plotter.cpp.
◆ plotSampleSizeChanged
| void Plotter::plotSampleSizeChanged |
( |
| ) |
|
|
signal |
◆ rescale()
| void Plotter::rescale |
( |
| ) |
|
Rescales the plotter and its graphs.
Definition at line 98 of file plotter.cpp.
◆ setPaintGeometry()
| void Plotter::setPaintGeometry |
( |
QRectF |
r | ) |
|
◆ autorescale
| bool Plotter::autorescale |
◆ bgcolor
◆ customPlot
| QCustomPlot Plotter::customPlot |
◆ graphList
| QList<QObject*> Plotter::graphList |
◆ gridx
◆ gridy
◆ hspan
◆ initialSize
◆ interact
◆ maxval
◆ minval
◆ paintRectGeometry
| QRectF Plotter::paintRectGeometry |
◆ size
◆ start
◆ title
◆ vspan
The documentation for this class was generated from the following files: