OpendTect-6_4  6.4
uifkspectrum.h
Go to the documentation of this file.
1 #ifndef uifkspectrum_h
2 #define uifkspectrum_h
3 
4 /*
5 ________________________________________________________________________
6 
7 (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8 Author: Satyaki Maitra
9 Date: September 2007
10 RCS: $Id$
11 ______________________________________________________________________
12 
13 */
14 
15 #include "uiseismod.h"
16 #include "uiflatviewmainwin.h"
17 #include "datapack.h"
18 #include "survinfo.h"
19 #include "odcomplex.h"
20 
21 namespace Fourier { class CC; }
22 template <class T> class Array2D;
23 namespace FlatView { class AuxData; }
24 class uiGenInput;
25 class uiToolButton;
26 
29 public:
30  uiFKSpectrum(uiParent*,bool setbp=false);
31  ~uiFKSpectrum();
32 
33  void setDataPackID(DataPack::ID,DataPackMgr::ID,
34  int version=0);
35  void setData(const Array2D<float>&);
36 
37  float getMinValue() const;
38  float getMaxValue() const;
39 
40 protected:
41 
42  void initFFT(int,int);
43  bool compute(const Array2D<float>&);
44  bool view(Array2D<float>&);
45  FlatView::AuxData* initAuxData();
46  void setVelCB(CallBacker*);
47  void mouseMoveCB(CallBacker*);
48  void mousePressCB(CallBacker*);
49 
57 
61 
66 };
67 
68 #endif
uiGenInput * maxfld_
Definition: uifkspectrum.h:64
#define mExpClass(module)
Definition: commondefs.h:160
Does Fourier Transforms of any size.
Definition: fourier.h:30
Class that represents non-bitmap data to be displayed in a flatviewer, such as markers, lines and more.
Definition: flatview.h:34
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: uifkspectrum.h:27
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiGenInput * ffld_
Definition: uifkspectrum.h:58
int ID
Each Mgr has its own ID.
Definition: datapack.h:147
uiGenInput * kfld_
Definition: uifkspectrum.h:59
Fourier::CC * fft_
Definition: uifkspectrum.h:50
Definition: uiparent.h:26
int ID
Definition: datapack.h:38
FlatView::AuxData * minvelitm_
Definition: uifkspectrum.h:55
FlatView::AuxData * maxvelitm_
Definition: uifkspectrum.h:56
Array2D ( Subclass of ArrayND ) is a two dimensional array.
Definition: arraynd.h:131
General Input Element.
Definition: uigeninput.h:58
Array2D< float_complex > * input_
Definition: uifkspectrum.h:51
Definition: convolve2d.h:27
(Non-modal) main window containing one or more uiFlatViewer(s).
Definition: uiflatviewmainwin.h:23
uiGenInput * velfld_
Definition: uifkspectrum.h:60
uiGenInput * minfld_
Definition: uifkspectrum.h:62
uiToolButton * minsetbut_
Definition: uifkspectrum.h:63
Definition: uitoolbutton.h:22
Array2D< float_complex > * output_
Definition: uifkspectrum.h:52
Definition: bitmap2rgb.h:18
Array2D< float > * spectrum_
Definition: uifkspectrum.h:53
FlatView::AuxData * lineitm_
Definition: uifkspectrum.h:54
uiToolButton * maxsetbut_
Definition: uifkspectrum.h:65

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