Line | |
---|
1 | // %flair:license{
|
---|
2 | // This file is part of the Flair framework distributed under the
|
---|
3 | // CECILL-C License, Version 1.0.
|
---|
4 | // %flair:license}
|
---|
5 | /*!
|
---|
6 | * \file LowPassFilter_impl.h
|
---|
7 | * \brief Classe permettant le calcul d'un filtre passe bas
|
---|
8 | * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
9 | * \date 2011/05/01
|
---|
10 | * \version 4.0
|
---|
11 | */
|
---|
12 |
|
---|
13 | #ifndef LOWPASSFILTER_FILTER_IMPL_H
|
---|
14 | #define LOWPASSFILTER_FILTER_IMPL_H
|
---|
15 |
|
---|
16 | #include <IODevice.h>
|
---|
17 |
|
---|
18 | namespace flair
|
---|
19 | {
|
---|
20 | namespace core
|
---|
21 | {
|
---|
22 | class cvmatrix;
|
---|
23 | }
|
---|
24 | namespace gui
|
---|
25 | {
|
---|
26 | class LayoutPosition;
|
---|
27 | class SpinBox;
|
---|
28 | class DoubleSpinBox;
|
---|
29 | }
|
---|
30 | namespace filter
|
---|
31 | {
|
---|
32 | class LowPassFilter;
|
---|
33 | }
|
---|
34 | }
|
---|
35 |
|
---|
36 | class LowPassFilter_impl
|
---|
37 | {
|
---|
38 |
|
---|
39 | public:
|
---|
40 | LowPassFilter_impl(const flair::filter::LowPassFilter* self,const flair::gui::LayoutPosition* position,std::string name,const flair::core::cvmatrix* init_value=NULL);
|
---|
41 | ~LowPassFilter_impl();
|
---|
42 | void UpdateFrom(const flair::core::io_data *data);
|
---|
43 | flair::core::cvmatrix *output;
|
---|
44 |
|
---|
45 | private:
|
---|
46 | flair::core::Time previous_time;
|
---|
47 | bool first_update;
|
---|
48 | flair::core::cvmatrix* prev_value;
|
---|
49 | flair::gui::DoubleSpinBox *freq,*T;
|
---|
50 | };
|
---|
51 |
|
---|
52 | #endif // LOWPASSFILTER_FILTER_IMPL_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.