OpendTect-6_4  6.4
uifreqfilter.h
Go to the documentation of this file.
1 #ifndef uifreqfilter_h
2 #define uifreqfilter_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bruno
9  Date: April 2012
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uitoolsmod.h"
16 #include "fftfilter.h"
17 #include "uigroup.h"
18 
19 
20 class uiGenInput;
21 
24 public:
26 
27  const Interval<float>& freqRange() const { return freqrg_; }
28  FFTFilter::Type filterType() const { return filtertype_; }
29 
31  { freqrg_ = rg; putToScreen(); }
32  void setMinFreq(float f) { freqrg_.start = f; putToScreen();}
33  void setMaxFreq(float f) { freqrg_.stop = f; putToScreen(); }
34 
36  { filtertype_ = tp; putToScreen(); }
37 
38  void set(float minf,float maxf,FFTFilter::Type tp);
39 
41 
42 protected:
45 
48 
49  virtual void putToScreen();
50  virtual void getFromScreen(CallBacker*);
51  void parChgCB(CallBacker*);
52  virtual void typeSel(CallBacker*);
53 
54 private:
55  const uiString sMinMax();
56 };
57 
58 
59 #endif
Definition: uigroup.h:54
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
const Interval< float > & freqRange() const
Definition: uifreqfilter.h:27
uiGenInput * freqfld_
Definition: uifreqfilter.h:44
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiGenInput * typefld_
Definition: uifreqfilter.h:43
Notifier< uiFreqFilterSelFreq > parchanged
Definition: uifreqfilter.h:40
void setFilterType(FFTFilter::Type tp)
Definition: uifreqfilter.h:35
Definition: uistring.h:89
Definition: uiparent.h:26
void setMaxFreq(float f)
Definition: uifreqfilter.h:33
General Input Element.
Definition: uigeninput.h:58
void setMinFreq(float f)
Definition: uifreqfilter.h:32
FFTFilter::Type filterType() const
Definition: uifreqfilter.h:28
void setFreqRange(Interval< float > rg)
Definition: uifreqfilter.h:30
Definition: uifreqfilter.h:22
Interval< float > freqrg_
Definition: uifreqfilter.h:47
FFTFilter::Type filtertype_
Definition: uifreqfilter.h:46
Type
Definition: fftfilter.h:39

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019