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