OpendTect  6.6
uiwelllogtools.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: Bruno
7 Date: Jan 2011
8 RCS: $Id$
9 ________________________________________________________________________
10 
11 -*/
12 
13 
14 #include "uiwellmod.h"
15 #include "uidialog.h"
16 #include "bufstringset.h"
17 #include "multiid.h"
18 #include "uistring.h"
19 
20 class uiCheckBox;
21 class uiComboBox;
23 class uiGenInput;
24 class uiMultiWellLogSel;
25 class uiLabel;
26 class uiLabeledComboBox;
27 class uiLabeledSpinBox;
28 class uiButton;
29 class uiSpinBox;
30 class uiTable;
31 class uiWellLogDisplay;
32 
33 
34 namespace Well
35 { class Data; class Log; class LogSet; class D2TModel; class Track; }
36 
37 
40 public:
41 
42  mStruct(uiWell) LogData
43  {
44  LogData(const Well::LogSet&,
45  const Well::D2TModel*,
46  const Well::Track*);
47  ~LogData();
48 
49  MultiID wellid_;
50  BufferString wellname_;
51  Interval<float> dahrg_;
52 
53  int setSelectedLogs(BufferStringSet&);
54  void getOutputLogs(Well::LogSet& ls) const;
55 
56  protected:
57 
58  Well::LogSet& logs_;
59 
61  ObjectSet<Well::Log> outplogs_;
62 
63  const Well::D2TModel* d2t_;
64  const Well::Track* track_;
65 
66  friend class uiWellLogToolWin;
67  };
68 
70  bool withedit=true);
72 
73  bool needSave() const { return needsave_; }
74 
76  { lds = logdatas_; }
77 
78 protected:
79 
89  uiButton* applybut_;
90  uiButton* okbut_;
91  uiButton* cancelbut_;
93 
96  bool needsave_;
97  bool closeok_ = true;
98 
100  void displayLogs();
101  bool saveLogs();
102 
109  bool closeOK();
110 };
111 
112 
115 public:
117  const BufferStringSet* welllnms=nullptr,
118  const BufferStringSet* lognms=nullptr);
119 protected:
120 
122 
126 };
127 
128 
131 public:
134 
135  void selectMD(float md);
136  bool isLogChanged() const { return changed_; }
137 
139 
140 protected:
141  void fillTable();
146 
149 
150  bool changed_;
151 
152 };
153 
uiWellLogToolWin::rejectOK
void rejectOK(CallBacker *)
uiWellLogToolWinMgr::winClosed
void winClosed(CallBacker *)
uiWellLogToolWin::applybut_
uiButton * applybut_
Definition: uiwelllogtools.h:89
uiWellLogToolWin::saveCB
void saveCB(CallBacker *)
uiWellLogDisplay
Displays maximum two Well logs.
Definition: uiwelllogdisplay.h:28
uiWellLogToolWin::needSave
bool needSave() const
Definition: uiwelllogtools.h:73
uiMainWin
User interface main window.
Definition: uimainwin.h:35
uiWellLogEditor::rowInsertCB
void rowInsertCB(CallBacker *)
uistring.h
ObjectSet< const Well::Log >
uiWellLogToolWin::actionfld_
uiComboBox * actionfld_
Definition: uiwelllogtools.h:80
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
uiWellLogToolWin::gatelbl_
uiLabel * gatelbl_
Definition: uiwelllogtools.h:84
uiComboBox
Combo box.
Definition: uicombobox.h:32
uiWellLogToolWin::replacespikevalfld_
uiGenInput * replacespikevalfld_
Definition: uiwelllogtools.h:87
uiWellLogEditor
Definition: uiwelllogtools.h:130
uiWellLogToolWin::logdatas_
ObjectSet< LogData > logdatas_
Definition: uiwelllogtools.h:94
uiWellLogToolWin::needsave_
bool needsave_
Definition: uiwelllogtools.h:96
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiCheckBox
Definition: uibutton.h:167
uiWellLogEditor::valChgCB
void valChgCB(CallBacker *)
uiWellLogToolWin::logdisps_
ObjectSet< uiWellLogDisplay > logdisps_
Definition: uiwelllogtools.h:95
uiWellLogEditor::~uiWellLogEditor
mODTextTranslationClass(uiWellLogEditor) public ~uiWellLogEditor()
uiWellLogToolWin::saveLogs
bool saveLogs()
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
Repos::Data
@ Data
Definition: repos.h:24
uiWellLogToolWin
Definition: uiwelllogtools.h:39
uiWellLogToolWin::freqfld_
uiFreqFilterSelFreq * freqfld_
Definition: uiwelllogtools.h:88
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
uiGenInput
General Input Element.
Definition: uigeninput.h:59
uiWellLogToolWin::uiWellLogToolWin
mODTextTranslationClass(uiWellLogToolWin) public uiWellLogToolWin(uiParent *, ObjectSet< LogData > &, bool withedit=true)
uiWellLogToolWin::cancelbut_
uiButton * cancelbut_
Definition: uiwelllogtools.h:91
multiid.h
uiWellLogEditor::acceptOK
bool acceptOK(CallBacker *)
confirm accept
Well::Track
Well track.
Definition: welltrack.h:29
uiWellLogToolWin::actionSelCB
void actionSelCB(CallBacker *)
Well
Definition: directionalsurvey.h:20
uiWellLogEditor::rowDelCB
void rowDelCB(CallBacker *)
uiWellLogToolWin::acceptOK
void acceptOK(CallBacker *)
uiWellLogToolWin::handleSpikeSelCB
void handleSpikeSelCB(CallBacker *)
uiLabeledComboBox
Definition: uicombobox.h:145
uiGroup
Definition: uigroup.h:54
uiWellLogToolWin::closeok_
bool closeok_
Definition: uiwelllogtools.h:97
mStruct
#define mStruct(module)
Definition: commondefs.h:182
uiFreqFilterSelFreq
Definition: uifreqfilter.h:22
uiWellLogEditor::table_
uiTable * table_
Definition: uiwelllogtools.h:148
Notifier< uiWellLogEditor >
uiWellLogEditor::fillTable
void fillTable()
File::Log
@ Log
Definition: file.h:122
uiWellLogToolWinMgr
Definition: uiwelllogtools.h:114
uidialog.h
uiWellLogToolWin::replacespikefld_
uiLabeledComboBox * replacespikefld_
Definition: uiwelllogtools.h:86
uiWellLogToolWin::getLogDatas
void getLogDatas(ObjectSet< LogData > &lds) const
Definition: uiwelllogtools.h:75
uiWellLogToolWin::savefld_
uiGenInput * savefld_
Definition: uiwelllogtools.h:81
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
uiSpinBox
Definition: uispinbox.h:24
uiWellLogToolWin::gatefld_
uiSpinBox * gatefld_
Definition: uiwelllogtools.h:83
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
uiWellLogEditor::changed_
bool changed_
Definition: uiwelllogtools.h:150
Well::Log
Well log.
Definition: welllog.h:44
uiWellLogToolWin::extfld_
uiGenInput * extfld_
Definition: uiwelllogtools.h:82
Well::LogSet
Log set.
Definition: welllogset.h:32
bufstringset.h
uiWellLogToolWin::thresholdfld_
uiLabeledSpinBox * thresholdfld_
Definition: uiwelllogtools.h:85
uiWellLogToolWinMgr::checkMaxLogsToDisplay
int checkMaxLogsToDisplay()
uiTable
Definition: uitable.h:31
uiWellLogEditor::isLogChanged
bool isLogChanged() const
Definition: uiwelllogtools.h:136
uiWellLogToolWin::zdisplayrg_
Interval< float > zdisplayrg_
Definition: uiwelllogtools.h:92
uiLabel
Definition: uilabel.h:24
uiParent
Definition: uiparent.h:26
uiWellLogEditor::log_
Well::Log & log_
Definition: uiwelllogtools.h:147
uiLabeledSpinBox
Definition: uispinbox.h:138
uiWellLogEditor::selectMD
void selectMD(float md)
Interval< float >
uiDialog
Definition: uidialog.h:42
uiMultiWellLogSel
Definition: uimultiwelllogsel.h:144
uiWellLogToolWin::displayLogs
void displayLogs()
Well::D2TModel
Depth to time model.
Definition: welld2tmodel.h:34
uiWellLogToolWin::createEditGroup
uiGroup * createEditGroup()
uiWellLogToolWin::okbut_
uiButton * okbut_
Definition: uiwelllogtools.h:90
uiWellLogToolWinMgr::acceptOK
bool acceptOK(CallBacker *)
confirm accept
uiWellLogToolWinMgr::welllogselfld_
uiMultiWellLogSel * welllogselfld_
Definition: uiwelllogtools.h:114
uiWellLogEditor::valueChanged
Notifier< uiWellLogEditor > valueChanged
Definition: uiwelllogtools.h:138
uiWellLogToolWin::~uiWellLogToolWin
~uiWellLogToolWin()
uiWellLogToolWin::closeOK
bool closeOK()
confirm window close
uiWellLogToolWin::applyPushedCB
void applyPushedCB(CallBacker *)

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