SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::gui::qt::QMomentumStatWidget Class Reference

#include <QMomentumStatWidget.h>

Inheritance diagram for sofa::gui::qt::QMomentumStatWidget:

Public Member Functions

 QMomentumStatWidget (QWidget *parent, simulation::Node *node)
 
virtual ~QMomentumStatWidget ()
 
virtual 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::QMomentumStatWidget::QMomentumStatWidget ( QWidget parent,
simulation::Node node 
)
sofa::gui::qt::QMomentumStatWidget::~QMomentumStatWidget ( )
virtual

Function details

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

the only function that should be overloaded

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