SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::gui::qt::QEnergyStatWidget Class Reference

#include <QEnergyStatWidget.h>

Inheritance diagram for sofa::gui::qt::QEnergyStatWidget:

Public Member Functions

 QEnergyStatWidget (QWidget *parent, simulation::Node *node)
 
 ~QEnergyStatWidget ()
 
void step ()
 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)
 
virtual ~QGraphStatWidget ()
 
void updateVisualization ()
 

Additional Inherited Members

- Protected Attributes inherited from sofa::gui::qt::QGraphStatWidget
unsigned _numberOfCurves
 
simulation::Node_node
 
std::vector< double_XHistory
 X-axis values (by default take the node time) More...
 
std::vector< std::vector< double > > _YHistory
 Y-axis values, one for each curve (_numberOfCurves) More...
 
QwtPlot * _graph
 
std::vector< QwtPlotCurve * > _curves
 resized to _numberOfCurves 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...
 

Constructor details

sofa::gui::qt::QEnergyStatWidget::QEnergyStatWidget ( QWidget parent,
simulation::Node node 
)
sofa::gui::qt::QEnergyStatWidget::~QEnergyStatWidget ( )

Function details

void sofa::gui::qt::QEnergyStatWidget::step ( )
virtual

the only function that should be overloaded

Reimplemented from sofa::gui::qt::QGraphStatWidget.