plotjuggler_app
transforms
first_derivative.h
Go to the documentation of this file.
1
#ifndef FIRST_DERIVATIVE_H
2
#define FIRST_DERIVATIVE_H
3
4
#include <QLineEdit>
5
#include "
PlotJuggler/transform_function.h
"
6
#include "ui_first_derivative.h"
7
8
using namespace
PJ
;
9
10
class
FirstDerivative
:
public
TransformFunction_SISO
11
{
12
public
:
13
FirstDerivative
();
14
15
~
FirstDerivative
()
override
;
16
17
static
const
char
*
transformName
()
18
{
19
return
"Derivative"
;
20
}
21
22
const
char
*
name
()
const override
23
{
24
return
FirstDerivative::transformName
();
25
}
26
27
QWidget* optionsWidget()
override
;
28
29
bool
xmlSaveState(QDomDocument& doc, QDomElement& parent_element)
const override
;
30
31
bool
xmlLoadState(
const
QDomElement& parent_element)
override
;
32
33
void
on_buttonCompute_clicked();
34
35
private
:
36
std::optional<PlotData::Point> calculateNextPoint(
size_t
index)
override
;
37
38
QWidget*
_widget
;
39
Ui::FirstDerivariveForm*
ui
;
40
double
_dT
;
41
};
42
43
#endif // FIRST_DERIVATIVE_H
FirstDerivative
Definition:
first_derivative.h:10
FirstDerivative::_dT
double _dT
Definition:
first_derivative.h:40
transform_function.h
FirstDerivative::_widget
QWidget * _widget
Definition:
first_derivative.h:38
PJ::TransformFunction_SISO
Simplified version with Single input and Single output.
Definition:
transform_function.h:88
FirstDerivative::name
const char * name() const override
Name of the plugin type, NOT the particular instance.
Definition:
first_derivative.h:22
FirstDerivative::ui
Ui::FirstDerivariveForm * ui
Definition:
first_derivative.h:39
PJ
Definition:
dataloader_base.h:16
FirstDerivative::transformName
static const char * transformName()
Definition:
first_derivative.h:17
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44