OpendTect  6.3
uiseiswvltgen.h
Go to the documentation of this file.
1 #pragma once
2 /*+
3 ________________________________________________________________________
4 
5  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6  Author: Bert
7  Date: Mar 2009
8 ________________________________________________________________________
9 
10 -*/
11 
12 #include "uiseismod.h"
13 #include "uidialog.h"
14 #include "dbkey.h"
15 #include "bufstringset.h"
16 #include "mathfunc.h"
17 #include "uistring.h"
18 
19 class CtxtIOObj;
20 class Wavelet;
21 class uiCheckBox;
22 class uiLabeledComboBox;
23 class uiGenInput;
24 class uiWaveletIOObjSel;
25 class uiFuncSelDraw;
26 
27 
30 public:
33 
34  DBKey storeKey() const;
35 
36 protected:
37 
38  bool putWvlt(const Wavelet&);
39 
41 };
42 
43 
46 public:
49 
50 protected:
51 
52  uiGenInput* isrickfld_;
56 
57  bool acceptOK();
58 };
59 
60 
63 public:
64 
67  public:
68  WvltMathFunction(const Wavelet*);
69 
72  float getValue(float) const;
73  float getIntValue(float) const;
74  virtual float getValue( const float* p ) const
75  { return getValue(*p); }
76  };
77 
78  uiSeisWvltMerge(uiParent*,const char* curwvltnm=0);
79  ~uiSeisWvltMerge();
80 
81 protected:
82 
90 
94 
95  void constructDrawer(bool);
96  void clearStackedWvlt(uiFuncSelDraw*);
97  uiFuncSelDraw* getCurrentDrawer();
98  void centerToMaxEnergyPos(Wavelet&);
99  void centerToMaxAmplPos(Wavelet&);
100  void makeStackedWvlt();
101  void reloadWvlts();
102  void reloadFunctions();
103 
104  bool acceptOK();
105  void centerChged(CallBacker*);
106  void funcSelChg(CallBacker*);
107  void reloadAll(CallBacker*);
108 };
#define mExpClass(module)
Definition: commondefs.h:157
description of properties of dialog.
Definition: uidialog.h:49
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
uiGenInput * srfld_
Definition: uiseiswvltgen.h:54
Definition: uiseiswvltgen.h:65
Definition: uiwindowfuncseldlg.h:104
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Definition: wavelet.h:22
Mathematical function.
Definition: mathfunc.h:59
ObjectSet< WvltMathFunction > wvltfuncset_
Definition: uiseiswvltgen.h:87
Definition: uiparent.h:24
~uiSeisWvltGen()
Definition: uiseiswvltgen.h:48
Set of BufferString objects.
Definition: bufstringset.h:25
selects wavelets.
Definition: uiwaveletsel.h:22
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:24
ObjectSet< Wavelet > wvltset_
Definition: uiseiswvltgen.h:89
Definition: uidialog.h:40
Set of pointers to objects.
Definition: commontypes.h:28
Definition: uiseiswvltgen.h:28
BufferString curwvltnm_
Definition: uiseiswvltgen.h:83
General Input Element.
Definition: uigeninput.h:56
Definition: uiseiswvltgen.h:61
void funcSelChg(CallBacker *)
BufferStringSet namelist_
Definition: uiseiswvltgen.h:85
TypeSet< float > samples_
Definition: uiseiswvltgen.h:71
StepInterval< float > samppos_
Definition: uiseiswvltgen.h:70
Definition: uicombobox.h:137
uiGenInput * freqfld_
Definition: uiseiswvltgen.h:53
ObjectSet< uiFuncSelDraw > wvltdrawer_
Definition: uiseiswvltgen.h:88
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
uiGenInput * peakamplfld_
Definition: uiseiswvltgen.h:55
uiCheckBox * centerfld_
Definition: uiseiswvltgen.h:92
uiCheckBox * normalizefld_
Definition: uiseiswvltgen.h:91
uiLabeledComboBox * centerchoicefld_
Definition: uiseiswvltgen.h:93
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
uiWaveletIOObjSel * wvltfld_
Definition: uiseiswvltgen.h:40
Definition: uiseiswvltgen.h:44
Definition: uibutton.h:130
int maxwvltsize_
Definition: uiseiswvltgen.h:84
Wavelet * stackedwvlt_
Definition: uiseiswvltgen.h:86
virtual float getValue(const float *p) const
Definition: uiseiswvltgen.h:74

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