#include <QEnergyStatWidget.h>
Public Member Functions | |
QEnergyStatWidget (QWidget *parent, simulation::Node *node) | |
~QEnergyStatWidget () | |
void | stepImpl () override |
the only function that should be overloaded More... | |
Public Member Functions inherited from sofa::gui::qt::QGraphStatWidget | |
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 | |
Protected Attributes inherited from sofa::gui::qt::QGraphStatWidget | |
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... | |
Protected Member Functions inherited from sofa::gui::qt::QGraphStatWidget | |
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::QEnergyStatWidget::QEnergyStatWidget | ( | QWidget * | parent, |
simulation::Node * | node | ||
) |
sofa::gui::qt::QEnergyStatWidget::~QEnergyStatWidget | ( | ) |
|
overridevirtual |
the only function that should be overloaded
Implements sofa::gui::qt::QGraphStatWidget.