OpendTect-6_4  6.4
uiseiswvltgen.h
Go to the documentation of this file.
1 #ifndef uiseiswvltgen_h
2 #define uiseiswvltgen_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: Mar 2009
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiseismod.h"
15 #include "uidialog.h"
16 #include "multiid.h"
17 #include "bufstringset.h"
18 #include "mathfunc.h"
19 #include "uistring.h"
20 
21 class CtxtIOObj;
22 class Wavelet;
23 class uiCheckBox;
24 class uiLabeledComboBox;
25 class uiGenInput;
26 class uiIOObjSel;
27 class uiFuncSelDraw;
28 
29 
32 public:
35 
36  MultiID storeKey() const;
37 
38 protected:
39 
40  bool putWvlt(const Wavelet&);
41 
44 };
45 
46 
49 public:
52 
53 protected:
54 
55  uiGenInput* isrickfld_;
59 
60  bool acceptOK(CallBacker*);
61 };
62 
63 
66 public:
67 
68  mExpClass(uiSeis) WvltMathFunction : public FloatMathFunction
69  { mODTextTranslationClass(WvltMathFunction)
70  public:
71  WvltMathFunction(const Wavelet*);
72 
73  StepInterval<float> samppos_;
74  int size_;
75  const float* samples_;
76  float getValue(float) const;
77  float getIntValue(float) const;
78  virtual float getValue( const float* p ) const
79  { return getValue(*p); }
80  };
81 
82  uiSeisWvltMerge(uiParent*,const char* curwvltnm=0);
83  ~uiSeisWvltMerge();
84 
85 protected:
86 
90 
96 
100 
101  void constructDrawer(bool);
102  void clearStackedWvlt(uiFuncSelDraw*);
103  uiFuncSelDraw* getCurrentDrawer();
104  void centerToMaxEnergyPos(Wavelet&);
105  void centerToMaxAmplPos(Wavelet&);
106  void makeStackedWvlt();
107  void reloadWvlts();
108  void reloadFunctions();
109 
110  bool acceptOK(CallBacker*);
111  void centerChged(CallBacker*);
112  void funcSelChg(CallBacker*);
113  void reloadAll(CallBacker*);
114 };
115 
116 
117 
118 #endif
#define mExpClass(module)
Definition: commondefs.h:160
description of properties of dialog.
Definition: uidialog.h:51
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
uiGenInput * srfld_
Definition: uiseiswvltgen.h:57
Definition: uiwindowfuncseldlg.h:106
uiIOObjSel * wvltfld_
Definition: uiseiswvltgen.h:43
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: wavelet.h:25
Mathematical function.
Definition: mathfunc.h:61
ObjectSet< WvltMathFunction > wvltfuncset_
Definition: uiseiswvltgen.h:93
Definition: uiparent.h:26
~uiSeisWvltGen()
Definition: uiseiswvltgen.h:51
Set of BufferString objects.
Definition: bufstringset.h:28
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
ObjectSet< Wavelet > wvltset_
Definition: uiseiswvltgen.h:95
Definition: uidialog.h:42
CtxtIOObj & ctio_
Definition: uiseiswvltgen.h:42
Definition: uiseiswvltgen.h:30
BufferString curwvltnm_
Definition: uiseiswvltgen.h:87
General Input Element.
Definition: uigeninput.h:58
Definition: uiseiswvltgen.h:64
void funcSelChg(CallBacker *)
BufferStringSet namelist_
Definition: uiseiswvltgen.h:91
StepInterval< float > wvltsampling_
Definition: uiseiswvltgen.h:89
Definition: uicombobox.h:133
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
uiGenInput * freqfld_
Definition: uiseiswvltgen.h:56
ObjectSet< uiFuncSelDraw > wvltdrawer_
Definition: uiseiswvltgen.h:94
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
uiGenInput * peakamplfld_
Definition: uiseiswvltgen.h:58
uiCheckBox * centerfld_
Definition: uiseiswvltgen.h:98
uiCheckBox * normalizefld_
Definition: uiseiswvltgen.h:97
uiLabeledComboBox * centerchoicefld_
Definition: uiseiswvltgen.h:99
Definition: uiseiswvltgen.h:47
Definition: uibutton.h:134
int maxwvltsize_
Definition: uiseiswvltgen.h:88
Compound key consisting of ints.
Definition: multiid.h:25
Wavelet * stackedwvlt_
Definition: uiseiswvltgen.h:92

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