Pile Group Tool  2.0.3
Educational tool demonstrating behavior of pile groups in layered soil
resultplotsuper.h
1 #ifndef RESULTPLOTSUPER_H
2 #define RESULTPLOTSUPER_H
3 
4 #include <QWidget>
5 #include <QVector>
6 #include "pilegrouptool_parameters.h"
7 
8 class ResultPlotSuper : public QWidget
9 {
10  Q_OBJECT
11 public:
12  explicit ResultPlotSuper(QWidget *parent = nullptr);
13  virtual void plotResults(QVector<QVector<double> *> &, QVector<QVector<double> *> &);
14  virtual void updateSoil(QVector<double> &layerDepth);
15  virtual void refresh(void) = 0;
16 
17 signals:
18 
19 public slots:
20 
21 protected:
22  QVector<double> depthOfLayer = QVector<double>(4, 0.0);
23  QVector<QVector<double> > m_pos; // lists of depth of points
24  QVector<QVector<double> > m_data; // lists of associated results at points
25 };
26 
27 #endif // RESULTPLOTSUPER_H
The ResultPlotSuper class is an abstract class implementing simple line plots.
Definition: resultplotsuper.h:8