OpendTect-6_4  6.4
uiwelllogtools.h
Go to the documentation of this file.
1 #ifndef uiwelllogtools_h
2 #define uiwelllogtools_h
3 /*+
4 ________________________________________________________________________
5 
6 (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7 Author: Bruno
8 Date: Jan 2011
9 RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 
15 #include "uiwellmod.h"
16 #include "uiwellmod.h"
17 #include "uidialog.h"
18 #include "bufstringset.h"
19 #include "multiid.h"
20 #include "uistring.h"
21 
22 class uiCheckBox;
23 class uiComboBox;
25 class uiGenInput;
26 class uiMultiWellLogSel;
27 class uiLabel;
28 class uiLabeledComboBox;
29 class uiLabeledSpinBox;
30 class uiButton;
31 class uiSpinBox;
32 class uiTable;
33 class uiWellLogDisplay;
34 
35 
36 namespace Well
37 { class Data; class Log; class LogSet; class D2TModel; class Track; }
38 
39 
42 public:
43 
44  mStruct(uiWell) LogData
45  {
46  LogData(const Well::LogSet&,
47  const Well::D2TModel*,
48  const Well::Track*);
49  ~LogData();
50 
51  MultiID wellid_;
52  BufferString wellname_;
53  Interval<float> dahrg_;
54 
55  int setSelectedLogs(BufferStringSet&);
56  void getOutputLogs(Well::LogSet& ls) const;
57 
58  protected:
59 
60  Well::LogSet& logs_;
61 
63  ObjectSet<Well::Log> outplogs_;
64 
65  const Well::D2TModel* d2t_;
66  const Well::Track* track_;
67 
68  friend class uiWellLogToolWin;
69  };
70 
73 
74  bool needSave() const { return needsave_; }
75 
77  { lds = logdatas_; }
78 
79 protected:
80 
90  uiButton* applybut_;
91  uiButton* okbut_;
92  uiButton* cancelbut_;
94 
97  bool needsave_;
98 
99  void displayLogs();
100 
101  void saveCB(CallBacker*);
102  void actionSelCB(CallBacker*);
104  void applyPushedCB(CallBacker*);
105  bool acceptOK(CallBacker*);
106  bool rejectOK(CallBacker*);
107 };
108 
109 
112 public:
114  const BufferStringSet* welllnms=0,
115  const BufferStringSet* lognms=0);
116 protected:
117 
119 
120  bool acceptOK(CallBacker*);
121  void winClosed(CallBacker*);
122 };
123 
124 
127 public:
129  ~uiWellLogEditor();
130 
131  void selectMD(float md);
132  bool isLogChanged() const { return changed_; }
133 
135 
136 protected:
137  void fillTable();
138  void valChgCB(CallBacker*);
139  bool acceptOK(CallBacker*);
140  void rowDelCB(CallBacker*);
141  void rowInsertCB(CallBacker*);
142 
145 
146  bool changed_;
147 };
148 
149 #endif
#define mExpClass(module)
Definition: commondefs.h:160
User interface main window.
Definition: uimainwin.h:36
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
bool isLogChanged() const
Definition: uiwelllogtools.h:132
bool rejectOK(CallBacker *)
bool acceptOK(CallBacker *)
Depth to time model.
Definition: welld2tmodel.h:34
void saveCB(CallBacker *)
Definition: uiwelllogtools.h:40
#define mStruct(module)
Definition: commondefs.h:165
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
bool needsave_
Definition: uiwelllogtools.h:97
uiButton * cancelbut_
Definition: uiwelllogtools.h:92
uiGenInput * replacespikevalfld_
Definition: uiwelllogtools.h:88
Definition: uiwelllogtools.h:125
uiButton * applybut_
Definition: uiwelllogtools.h:90
Well log.
Definition: welllog.h:44
uiWellLogToolWin(uiParent *, ObjectSet< LogData > &)
Definition: uitable.h:30
ObjectSet< uiWellLogDisplay > logdisps_
Definition: uiwelllogtools.h:96
Definition: file.h:99
Log set.
Definition: welllogset.h:32
uiTable * table_
Definition: uiwelllogtools.h:144
Combo box.
Definition: uicombobox.h:32
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
bool needSave() const
Definition: uiwelllogtools.h:74
Definition: uidialog.h:42
void actionSelCB(CallBacker *)
Set of pointers to objects.
Definition: commontypes.h:32
void handleSpikeSelCB(CallBacker *)
uiComboBox * actionfld_
Definition: uiwelllogtools.h:81
Notifier< uiWellLogEditor > valueChanged
Definition: uiwelllogtools.h:134
uiLabel * gatelbl_
Definition: uiwelllogtools.h:85
Definition: uispinbox.h:128
Well::Log & log_
Definition: uiwelllogtools.h:143
Definition: directionalsurvey.h:19
Well track.
Definition: welltrack.h:29
General Input Element.
Definition: uigeninput.h:58
bool changed_
Definition: uiwelllogtools.h:146
uiFreqFilterSelFreq * freqfld_
Definition: uiwelllogtools.h:89
Definition: uiwelllogtools.h:110
Definition: uicombobox.h:133
Definition: uispinbox.h:24
uiGenInput * savefld_
Definition: uiwelllogtools.h:82
Definition: uimultiwelllogsel.h:139
uiLabeledComboBox * replacespikefld_
Definition: uiwelllogtools.h:87
Definition: repos.h:25
uiSpinBox * gatefld_
Definition: uiwelllogtools.h:84
uiMultiWellLogSel * welllogselfld_
Definition: uiwelllogtools.h:118
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
uiGenInput * extfld_
Definition: uiwelllogtools.h:83
Definition: uilabel.h:24
Displays maximum two Well logs.
Definition: uiwelllogdisplay.h:28
void getLogDatas(ObjectSet< LogData > &lds) const
Definition: uiwelllogtools.h:76
Interval< float > zdisplayrg_
Definition: uiwelllogtools.h:93
Definition: uifreqfilter.h:22
Definition: uibutton.h:134
ObjectSet< LogData > logdatas_
Definition: uiwelllogtools.h:95
Compound key consisting of ints.
Definition: multiid.h:25
uiLabeledSpinBox * thresholdfld_
Definition: uiwelllogtools.h:86
void applyPushedCB(CallBacker *)
uiButton * okbut_
Definition: uiwelllogtools.h:91

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