first_derivative.h
Go to the documentation of this file.
1 #ifndef FIRST_DERIVATIVE_H
2 #define FIRST_DERIVATIVE_H
3 
4 #include <QLineEdit>
6 #include "ui_first_derivative.h"
7 
8 using namespace PJ;
9 
11 {
12 public:
14 
15  ~FirstDerivative() override;
16 
17  const char* name() const override
18  {
19  return "Derivative";
20  }
21 
22  QWidget* optionsWidget() override;
23 
24  bool xmlSaveState(QDomDocument& doc, QDomElement& parent_element) const override;
25 
26  bool xmlLoadState(const QDomElement& parent_element) override;
27 
28  void on_buttonCompute_clicked();
29 
30 private:
31  std::optional<PlotData::Point> calculateNextPoint(size_t index) override;
32 
33  QWidget* _widget;
34  Ui::FirstDerivariveForm* ui;
35  double _dT;
36 };
37 
38 #endif // FIRST_DERIVATIVE_H
Simplified version with Single input and Single output.
Ui::FirstDerivariveForm * ui
const char * name() const override
Name of the plugin type, NOT the particular instance.


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:02