TwiceAsNice
2019-02-18
|
An instance of this class represents an BridgePlotBuffer which is connected to a property. The Widget displays the buffered numerical data in a 2D-Curve. The curve, buffer size, scale, zoom and export functionalities are implizite provided by the Widget. To connect a property simply call the derived connect function. For additional information plaese see the TwiceAsNice Wiki. More...
#include <CurvePlot.h>
Public Member Functions | |
CurvePlot (QWidget *parent=0) | |
Constructor. More... | |
virtual | ~CurvePlot () |
Destructor. More... | |
void | getSessionData (Nice::JointPtr &_data) |
void | setSessionData (Nice::JointPtr _data) |
void | connect (Nice::Joint *_a) |
Private Slots | |
virtual void | slot_exportPDF () |
virtual void | slot_stop (bool _stop) |
virtual void | slot_displayChanged () |
virtual void | slot_saveAs () |
virtual void | slot_save () |
virtual void | slot_updateChanged (const QTime &_time) |
virtual void | slot_scaleChanged (int _index) |
virtual void | slot_xChanged (int _index) |
virtual void | slot_bufferChanged (const QTime &_time) |
virtual void | slot_snapChanged (int _index) |
virtual void | slot_scaleX (double _factor) |
virtual void | slot_scaleOffset (double _offset) |
virtual void | slot_scaleDynamic (bool _on) |
void | slot_showCurve (QwtPlotItem *item, bool on) |
void | slot_erase () |
virtual void | update () |
virtual void | moved (const QPoint &pos) |
Private Member Functions | |
void | addScaleLabel () |
void | showMarker (double x, double y) |
double | getClosestY (const QPoint &pos) |
double | getClosestX (const QPoint &pos) |
void | updateCurveCount () |
Update the amount of curves pprovides by the BridgePlotBuffer (size of the vector) More... | |
void | shrink (unsigned int i) |
Shrinks the amount of curves to the actual amount of data received. More... | |
void | grow (unsigned int size) |
Grows the amount of curves to the actual amount of data received. More... | |
void | setBufferSizeSpinBox () |
Initialize the TimeEdit to the size of the BridgePlotBuffer. More... | |
void | showOptions () |
virtual void | setState (Nice::CompletionState _state) |
void | setAttributes (const Nice::Any &t) |
void | startDump () |
![]() | |
void | setupUi (QWidget *CurvePlotUI) |
void | retranslateUi (QWidget *CurvePlotUI) |
Friends | |
class | AbstractWidgetItem |
An instance of this class represents an BridgePlotBuffer which is connected to a property. The Widget displays the buffered numerical data in a 2D-Curve. The curve, buffer size, scale, zoom and export functionalities are implizite provided by the Widget. To connect a property simply call the derived connect function. For additional information plaese see the TwiceAsNice Wiki.
CurvePlot::CurvePlot | ( | QWidget * | parent = 0 | ) |
Constructor.
parent | Parent widget. |
|
virtual |
Destructor.
|
private |
void CurvePlot::connect | ( | Nice::Joint * | _a | ) |
|
private |
|
private |
void CurvePlot::getSessionData | ( | Nice::JointPtr & | _data | ) |
|
private |
Grows the amount of curves to the actual amount of data received.
i | The size to grow the amount of curves to. |
|
privatevirtualslot |
|
private |
Initialize the TimeEdit to the size of the BridgePlotBuffer.
void CurvePlot::setSessionData | ( | Nice::JointPtr | _data | ) |
|
inlineprivatevirtual |
|
private |
|
private |
|
private |
Shrinks the amount of curves to the actual amount of data received.
i | The size to shrink the amount of curves to. |
|
privatevirtualslot |
|
privatevirtualslot |
|
privateslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privateslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
private |
|
privatevirtualslot |
|
private |
Update the amount of curves pprovides by the BridgePlotBuffer (size of the vector)
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Mutex
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |