#include <QMomentumStatWidget.h>
Public Member Functions | |
QMomentumStatWidget (QWidget *parent, simulation::Node *node) | |
virtual | ~QMomentumStatWidget () |
void | stepImpl () override |
the only function that should be overloaded More... | |
![]() | |
QGraphStatWidget (QWidget *parent, simulation::Node *node, const QString &title, unsigned numberOfCurves, int bufferSize) | |
virtual | ~QGraphStatWidget () |
virtual void | step () final |
Main method called to update the graph. More... | |
Additional Inherited Members | |
![]() | |
simulation::Node * | m_node |
pointer to the node monitored More... | |
int | m_bufferSize |
size of the buffers to stored More... | |
QChart * | m_chart |
Pointer to the chart Data. More... | |
std::vector< QLineSeries * > | m_curves |
vector of series to be ploted More... | |
QValueAxis * | m_axisX |
x axis pointer More... | |
QValueAxis * | m_axisY |
y axis pointer More... | |
SReal | m_yMin |
min y axis value stored More... | |
SReal | m_yMax |
max y axis value stored More... | |
SReal | m_lastTime |
last timestep monitored More... | |
int | m_cptStep |
step counter monitored More... | |
![]() | |
void | setCurve (unsigned index, const QString &name, const QColor &color) |
set the index-th curve (index must be < _numberOfCurves) More... | |
void | updateYAxisBounds (SReal value) |
Method to update Y axis scale. More... | |
void | flushSeries () |
flush data from series not anymore displayed More... | |
sofa::gui::qt::QMomentumStatWidget::QMomentumStatWidget | ( | QWidget * | parent, |
simulation::Node * | node | ||
) |
|
virtual |
|
overridevirtual |
the only function that should be overloaded
Implements sofa::gui::qt::QGraphStatWidget.