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
outlier_removal.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <QWidget>
4
#include <QDoubleSpinBox>
5
#include "
PlotJuggler/transform_function.h
"
6
#include "ui_outlier_removal.h"
7
#include "
PlotJuggler/contrib/ring_span.hpp
"
8
9
using namespace
PJ
;
10
11
namespace
Ui
12
{
13
class
OutlierRemovalFilter
;
14
}
15
16
class
OutlierRemovalFilter
:
public
TransformFunction_SISO
17
{
18
public
:
19
explicit
OutlierRemovalFilter
();
20
21
~
OutlierRemovalFilter
()
override
;
22
23
static
const
char
*
transformName
()
24
{
25
return
"Outlier Removal"
;
26
}
27
28
const
char
*
name
()
const override
29
{
30
return
transformName();
31
}
32
33
QWidget* optionsWidget()
override
;
34
35
bool
xmlSaveState(QDomDocument& doc, QDomElement& parent_element)
const override
;
36
37
bool
xmlLoadState(
const
QDomElement& parent_element)
override
;
38
39
private
:
40
Ui::OutlierRemovalFilter*
ui
;
41
QWidget*
_widget
;
42
std::vector<double>
_buffer
;
43
nonstd::ring_span_lite::ring_span<double>
_ring_view
;
44
45
std::optional<PlotData::Point> calculateNextPoint(
size_t
index)
override
;
46
};
OutlierRemovalFilter::_buffer
std::vector< double > _buffer
Definition:
outlier_removal.h:42
transform_function.h
OutlierRemovalFilter::ui
Ui::OutlierRemovalFilter * ui
Definition:
outlier_removal.h:40
Ui
Definition:
cheatsheet_dialog.h:6
OutlierRemovalFilter::_ring_view
nonstd::ring_span_lite::ring_span< double > _ring_view
Definition:
outlier_removal.h:43
PJ::TransformFunction_SISO
Simplified version with Single input and Single output.
Definition:
transform_function.h:88
ring_span.hpp
OutlierRemovalFilter::name
const char * name() const override
Name of the plugin type, NOT the particular instance.
Definition:
outlier_removal.h:28
OutlierRemovalFilter::_widget
QWidget * _widget
Definition:
outlier_removal.h:41
PJ
Definition:
dataloader_base.h:16
OutlierRemovalFilter::transformName
static const char * transformName()
Definition:
outlier_removal.h:23
nonstd::ring_span_lite::ring_span< double >
OutlierRemovalFilter
Definition:
outlier_removal.h:16
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Jan 26 2025 03:23:24