Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
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/ring_span.hpp
"
8
9
using namespace
PJ
;
10
11
12
namespace
Ui
{
13
class
OutlierRemovalFilter
;
14
}
15
16
class
OutlierRemovalFilter
:
public
TimeSeriesTransform
17
{
18
public
:
19
explicit
OutlierRemovalFilter
();
20
21
~
OutlierRemovalFilter
()
override
;
22
23
const
char
*
name
()
const override
{
return
"Outlier Removal"
; }
24
25
QWidget* optionsWidget()
override
;
26
27
bool
xmlSaveState(QDomDocument& doc, QDomElement& parent_element)
const override
;
28
29
bool
xmlLoadState(
const
QDomElement& parent_element)
override
;
30
31
private
:
32
Ui::OutlierRemovalFilter *
ui
;
33
QWidget *
_widget
;
34
std::vector<double>
_buffer
;
35
nonstd::ring_span_lite::ring_span<double>
_ring_view
;
36
37
nonstd::optional<PlotData::Point>
38
calculateNextPoint(
size_t
index)
override
;
39
};
ring_span.hpp
Ui
Definition:
ulog_parameters_dialog.h:7
nonstd::ring_span_lite::ring_span< double >
OutlierRemovalFilter
Definition:
outlier_removal.h:16
OutlierRemovalFilter::_ring_view
nonstd::ring_span_lite::ring_span< double > _ring_view
Definition:
outlier_removal.h:35
PJ
Definition:
dataloader_base.h:11
OutlierRemovalFilter::name
const char * name() const override
Definition:
outlier_removal.h:23
nonstd::optional_lite::optional
class optional
Definition:
optional.hpp:238
OutlierRemovalFilter::ui
Ui::OutlierRemovalFilter * ui
Definition:
outlier_removal.h:32
OutlierRemovalFilter::_buffer
std::vector< double > _buffer
Definition:
outlier_removal.h:34
PJ::TimeSeriesTransform
Definition:
transform_function.h:10
OutlierRemovalFilter::_widget
QWidget * _widget
Definition:
outlier_removal.h:33
transform_function.h
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 03:48:10