Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
transforms
integral_transform.h
Go to the documentation of this file.
1
#ifndef INTEGRAL_TRANSFORM_H
2
#define INTEGRAL_TRANSFORM_H
3
4
#include <QLineEdit>
5
#include "
PlotJuggler/transform_function.h
"
6
#include "ui_integral_transform.h"
7
8
using namespace
PJ
;
9
10
class
IntegralTransform
:
public
TimeSeriesTransform
11
{
12
public
:
13
IntegralTransform
();
14
15
~
IntegralTransform
()
override
;
16
17
const
char
*
name
()
const override
{
return
"Integral"
; }
18
19
QWidget* optionsWidget()
override
;
20
21
void
init()
override
;
22
23
bool
xmlSaveState(QDomDocument& doc, QDomElement& parent_element)
const override
;
24
25
bool
xmlLoadState(
const
QDomElement& parent_element)
override
;
26
27
void
on_buttonCompute_clicked();
28
29
private
:
30
nonstd::optional<PlotData::Point>
31
calculateNextPoint(
size_t
index)
override
;
32
33
QWidget *
_widget
;
34
Ui::IntegralTransform*
ui
;
35
double
_dT
;
36
37
double
_accumulated_value
;
38
};
39
40
#endif // INTEGRAL_TRANSFORM_H
IntegralTransform::name
const char * name() const override
Definition:
integral_transform.h:17
IntegralTransform::ui
Ui::IntegralTransform * ui
Definition:
integral_transform.h:34
IntegralTransform
Definition:
integral_transform.h:10
PJ
Definition:
dataloader_base.h:11
IntegralTransform::_widget
QWidget * _widget
Definition:
integral_transform.h:33
nonstd::optional_lite::optional
class optional
Definition:
optional.hpp:238
IntegralTransform::_dT
double _dT
Definition:
integral_transform.h:35
IntegralTransform::_accumulated_value
double _accumulated_value
Definition:
integral_transform.h:37
PJ::TimeSeriesTransform
Definition:
transform_function.h:10
transform_function.h
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 03:47:35