integral_transform.h
Go to the documentation of this file.
1 #ifndef INTEGRAL_TRANSFORM_H
2 #define INTEGRAL_TRANSFORM_H
3 
4 #include <QLineEdit>
6 #include "ui_integral_transform.h"
7 
8 using namespace PJ;
9 
11 {
12 public:
14 
15  ~IntegralTransform() override;
16 
17  static const char* transformName()
18  {
19  return "Integral";
20  }
21 
22  const char* name() const override
23  {
24  return transformName();
25  }
26 
27  QWidget* optionsWidget() override;
28 
29  void reset() override;
30 
31  bool xmlSaveState(QDomDocument& doc, QDomElement& parent_element) const override;
32 
33  bool xmlLoadState(const QDomElement& parent_element) override;
34 
35  void on_buttonCompute_clicked();
36 
37 private:
38  std::optional<PlotData::Point> calculateNextPoint(size_t index) override;
39 
40  QWidget* _widget;
41  Ui::IntegralTransform* ui;
42  double _dT;
43 
45 };
46 
47 #endif // INTEGRAL_TRANSFORM_H
IntegralTransform::name
const char * name() const override
Name of the plugin type, NOT the particular instance.
Definition: integral_transform.h:22
transform_function.h
IntegralTransform::transformName
static const char * transformName()
Definition: integral_transform.h:17
IntegralTransform::ui
Ui::IntegralTransform * ui
Definition: integral_transform.h:41
IntegralTransform::_widget
QWidget * _widget
Definition: integral_transform.h:40
PJ::TransformFunction_SISO
Simplified version with Single input and Single output.
Definition: transform_function.h:88
IntegralTransform
Definition: integral_transform.h:10
backward::Color::reset
@ reset
Definition: backward.hpp:3678
PJ
Definition: dataloader_base.h:16
IntegralTransform::_dT
double _dT
Definition: integral_transform.h:42
IntegralTransform::_accumulated_value
double _accumulated_value
Definition: integral_transform.h:44


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44