Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
y
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Properties
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
i
m
o
q
r
s
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
b
c
d
e
f
h
k
l
o
p
r
s
t
u
x
z
Enumerator
b
c
d
f
h
i
k
l
n
o
p
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
plotjuggler_app
transforms
moving_variance.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <QRadioButton>
4
#include <QSpinBox>
5
#include <QDoubleSpinBox>
6
#include "
PlotJuggler/transform_function.h
"
7
#include "ui_moving_variance.h"
8
#include "
PlotJuggler/contrib/ring_span.hpp
"
9
10
using namespace
PJ
;
11
12
namespace
Ui
13
{
14
class
MovingVarianceFilter
;
15
}
16
17
class
MovingVarianceFilter
:
public
TransformFunction_SISO
18
{
19
public
:
20
explicit
MovingVarianceFilter
();
21
22
~
MovingVarianceFilter
()
override
;
23
24
void
reset
()
override
;
25
26
static
const
char
*
transformName
()
27
{
28
return
"Moving Variance / Stdev"
;
29
}
30
31
const
char
*
name
()
const override
32
{
33
return
transformName();
34
}
35
36
QWidget* optionsWidget()
override
;
37
38
bool
xmlSaveState(QDomDocument& doc, QDomElement& parent_element)
const override
;
39
40
bool
xmlLoadState(
const
QDomElement& parent_element)
override
;
41
42
private
:
43
Ui::MovingVarianceFilter*
ui
;
44
QWidget*
_widget
;
45
std::vector<PlotData::Point>
_buffer
;
46
nonstd::ring_span_lite::ring_span<PlotData::Point>
_ring_view
;
47
48
std::optional<PlotData::Point> calculateNextPoint(
size_t
index)
override
;
49
};
MovingVarianceFilter
Definition:
moving_variance.h:17
MovingVarianceFilter::transformName
static const char * transformName()
Definition:
moving_variance.h:26
MovingVarianceFilter::ui
Ui::MovingVarianceFilter * ui
Definition:
moving_variance.h:43
transform_function.h
Ui
Definition:
cheatsheet_dialog.h:6
PJ::TransformFunction_SISO
Simplified version with Single input and Single output.
Definition:
transform_function.h:88
ring_span.hpp
backward::Color::reset
@ reset
Definition:
backward.hpp:3678
MovingVarianceFilter::_ring_view
nonstd::ring_span_lite::ring_span< PlotData::Point > _ring_view
Definition:
moving_variance.h:46
PJ
Definition:
dataloader_base.h:16
MovingVarianceFilter::name
const char * name() const override
Name of the plugin type, NOT the particular instance.
Definition:
moving_variance.h:31
MovingVarianceFilter::_widget
QWidget * _widget
Definition:
moving_variance.h:44
MovingVarianceFilter::_buffer
std::vector< PlotData::Point > _buffer
Definition:
moving_variance.h:45
nonstd::ring_span_lite::ring_span< PlotData::Point >
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Jan 26 2025 03:23:24