OpendTect  6.3
uiwelltietoseismicdlg.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6 (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7 Author: Bruno
8 Date: January 2009
9 RCS: $Id: uiwellwelltietoseismicdlg.h,v 1.1 2009-01-19 13:02:33 cvsbruno Exp
10 $
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiwellattribmod.h"
16 #include "uidialog.h"
17 #include "uiflatviewmainwin.h"
18 #include "bufstringset.h"
19 #include "uistring.h"
20 
21 class Wavelet;
22 class uiGroup;
23 class uiToolBar;
24 class uiGenInput;
25 class uiPushButton;
26 class uiLabel;
27 class uiLabeledComboBox;
28 class uiCheckBox;
29 class uiWellLogDisplay;
30 
31 namespace Well { class Data; }
32 
33 namespace WellTie
34 {
35 
36 class Data;
37 class DispParams;
38 class Setup;
39 class Server;
40 class EventStretch;
41 class uiControlView;
42 class uiCrossCorrView;
43 class uiInfoDlg;
44 class uiTieView;
45 class uiWaveletView;
46 
47 
48 mExpClass(uiWellAttrib) uiTieWin : public uiFlatViewMainWin
50 public:
51 
53  ~uiTieWin();
54 
55  const WellTie::Setup& welltieSetup() const;
56 
57  void fillPar(IOPar&) const;
58  void usePar(const IOPar&);
59 
60  static const char* sKeyWinPar() { return "Well Tie Window"; }
61 
62 protected:
63 
67 
80 
85 
86  void addControls();
87  void addToolBarTools();
88  void createViewerTaskFields(uiGroup*);
89  void createDispPropFields(uiGroup*);
90  void drawFields();
91  void getDispParams();
92  void initAll();
93  void putDispParams();
94  void resetInfoDlg();
95 
96  void okPushCB(CallBacker*);
97  void cancelPushCB(CallBacker*);
98  void applyPushed(CallBacker*);
99  void applyShiftPushed(CallBacker*);
100  void compute(CallBacker*);
101  void checkIfPick(CallBacker*);
102  void checkShotChg(CallBacker*);
103  void checkShotDisp(CallBacker*);
104  void clearLastPick(CallBacker*);
105  void clearPicks(CallBacker*);
106  void dispParPushed(CallBacker*);
107  void dispPropChg(CallBacker*);
108  void dispInfoMsg(CallBacker*);
109  void displayUserMsg(CallBacker*);
110  void doWork(CallBacker*);
111  void drawUserPick(CallBacker*);
112  void editD2TPushed(CallBacker*);
113  void eventTypeChg(CallBacker*);
114  void infoPushed(CallBacker*);
115  void matchHorMrks(CallBacker*);
116  void provideWinHelp(CallBacker*);
117  void reDrawSeisViewer(CallBacker*);
118  void reDrawAuxDatas(CallBacker*);
119  void reDrawAll(CallBacker*);
120  void setView(CallBacker*);
121  void saveDataPushed(CallBacker*);
122  void timeChanged(CallBacker*);
123  void undoPushed(CallBacker*);
124  void userDepthsChanged(CallBacker*);
125  void snapshotCB(CallBacker*);
126  void cleanUp(CallBacker*);
127 
128 };
129 
130 
131 
132 mExpClass(uiWellAttrib) uiInfoDlg : public uiDialog
134 public:
135 
137  ~uiInfoDlg();
138 
140 
141  void drawData();
142  bool getMarkerDepths(Interval<float>& zrg );
143  void dtmodelChanged(CallBacker*);
144  const Wavelet& getWavelet() const;
145  bool isInitWvltActive() const;
146 
147  void fillPar(IOPar&) const;
148  void usePar(const IOPar&);
149 
150 protected:
151 
160 
162 
164  bool zrginft_;
165  int selidx_;
168 
169  const Data& data_;
170 
171  void putToScreen();
172  bool updateZrg();
173  bool computeNewWavelet();
174 
175  void applyMarkerPushed(CallBacker*);
176  void wvltChanged(CallBacker*);
177  void needNewEstimatedWvlt(CallBacker*);
178  void zrgChanged(CallBacker*);
179  void synthChanged(CallBacker*);
180  void crossCorrelationChanged(CallBacker*);
181  void crossAttribsParsChanged(CallBacker*);
182 };
183 
184 } // namespace WellTie
Definition: uigroup.h:53
Definition: uitoolbar.h:30
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
uiControlView * controlview_
Definition: uiwelltietoseismicdlg.h:81
uiPushButton * matchhormrksbut_
Definition: uiwelltietoseismicdlg.h:78
DispParams & params_
Definition: uiwelltietoseismicdlg.h:66
FixedString Setup()
Definition: keystrs.h:113
uiTieView * drawer_
Definition: uiwelltietoseismicdlg.h:83
uiLabel * wvltscaler_
Definition: uiwelltietoseismicdlg.h:159
Definition: uiwelltieeventstretch.h:27
is the base class for all buttons.
Definition: uibutton.h:80
EventStretch & stretcher_
Definition: uiwelltietoseismicdlg.h:65
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Definition: uiwelltieview.h:103
Definition: welltiesetup.h:28
Definition: uiwelltietoseismicdlg.h:132
uiCheckBox * zinftfld_
Definition: uiwelltietoseismicdlg.h:69
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
uiGroup * vwrgrp_
Definition: uiwelltietoseismicdlg.h:71
uiPushButton * infobut_
Definition: uiwelltietoseismicdlg.h:73
Definition: uiwelltiewavelet.h:33
Definition: wavelet.h:22
uiCheckBox * zintimefld_
Definition: uiwelltietoseismicdlg.h:70
uiPushButton * applybut_
Definition: uiwelltietoseismicdlg.h:74
Definition: welltiedata.h:107
bool zrginft_
Definition: uiwelltietoseismicdlg.h:164
uiInfoDlg * infodlg_
Definition: uiwelltietoseismicdlg.h:82
BufferStringSet markernames_
Definition: uiwelltietoseismicdlg.h:161
Definition: uiparent.h:24
Notifier< uiInfoDlg > redrawNeeded
Definition: uiwelltietoseismicdlg.h:139
Definition: welltiecshot.h:20
uiPushButton * clearlastpicksbut_
Definition: uiwelltietoseismicdlg.h:77
Set of BufferString objects.
Definition: bufstringset.h:25
uiGenInput * estwvltlengthfld_
Definition: uiwelltietoseismicdlg.h:156
Definition: uidialog.h:40
int selidx_
Definition: uiwelltietoseismicdlg.h:165
Class to help setup a callback handling.
Definition: notify.h:121
Server & server_
Definition: uiwelltietoseismicdlg.h:64
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
uiLabeledComboBox * eventtypefld_
Definition: uiwelltietoseismicdlg.h:72
Definition: wellcommon.h:16
uiCrossCorrView * crosscorr_
Definition: uiwelltietoseismicdlg.h:157
General Input Element.
Definition: uigeninput.h:56
Definition: uiwelltietoseismicdlg.h:48
Definition: uicombobox.h:137
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
ObjectSet< uiLabel > zlabelflds_
Definition: uiwelltietoseismicdlg.h:154
Definition: uiwelltiecontrolview.h:29
uiWaveletView * wvltdraw_
Definition: uiwelltietoseismicdlg.h:158
Definition: repos.h:23
BufferString startmrknm_
Definition: uiwelltietoseismicdlg.h:166
(Non-modal) main window containing one or more uiFlatViewer(s).
Definition: uiflatviewmainwin.h:21
uiToolBar * toolbar_
Definition: uiwelltietoseismicdlg.h:79
uiGenInput * choicefld_
Definition: uiwelltietoseismicdlg.h:155
BufferString stopmrknm_
Definition: uiwelltietoseismicdlg.h:167
Interval< float > zrg_
Definition: uiwelltietoseismicdlg.h:163
uiCheckBox * markerfld_
Definition: uiwelltietoseismicdlg.h:68
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
Definition: uiwelltieview.h:42
Server & server_
Definition: uiwelltietoseismicdlg.h:152
Definition: uilabel.h:22
uiPushButton * undobut_
Definition: uiwelltietoseismicdlg.h:75
Displays maximum two Well logs.
Definition: uiwelllogdisplay.h:27
static const char * sKeyWinPar()
Definition: uiwelltietoseismicdlg.h:60
IOPar par_
Definition: uiwelltietoseismicdlg.h:84
Definition: uibutton.h:130
Definition: welltiedata.h:42
ObjectSet< uiGenInput > zrangeflds_
Definition: uiwelltietoseismicdlg.h:153
uiPushButton * clearpicksbut_
Definition: uiwelltietoseismicdlg.h:76
const Data & data_
Definition: uiwelltietoseismicdlg.h:169
Definition: welltiedata.h:221

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