OpendTect  6.6
uiwelldlgs.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: Nanne Hemstra
8  Date: October 2003
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiwellmod.h"
15 #include "uiselsimple.h"
16 #include "multiid.h"
17 #include "ranges.h"
18 #include "position.h"
19 #include "uistring.h"
20 
21 class uiButtonGroup;
22 class uiCheckBox;
23 class uiD2TModelGroup;
24 class uiFileInput;
25 class uiGenInput;
26 class uiLabel;
27 class uiMultiWellSel;
28 class uiPushButton;
29 class uiTable;
30 class uiTableImpDataSel;
31 class uiUnitSel;
32 class uiWellSel;
33 class BufferStringSet;
34 
35 namespace Table { class FormatDesc; }
36 namespace Well { class Data; class Track; class D2TModel; class Log;
37  class LogSet;}
38 
39 
40 
45 public:
48 
49  static const uiString sCkShotData();
50  static const uiString sTimeDepthModel();
51 
52 protected:
53 
57  bool writable_;
58 
67 
69  float origgl_;
70 
71  void fillTable(CallBacker* cb);
72  bool fillTable();
75  bool updNow();
83 
84  double getX(int row) const;
85  double getY(int row) const;
86  double getZ(int row) const;
87  float getMD(int row) const;
88  void setX(int row,double);
89  void setY(int row,double);
90  void setZ(int row,double);
91  void setMD(int row,float);
92 
93  void updatePos(bool isx);
94  bool rowIsIncomplete(int) const;
95  bool rowIsNotSet(int) const;
96 };
97 
98 
102 public:
105 
106 protected:
107 
109  bool cksh_;
110  bool writable_;
111  Well::D2TModel* orgd2t_; // Must be declared *below* others
113 
118 
126  bool updateDtpointDepth(int row);
127  bool updateDtpointTime(int row);
128  bool updateDtpoint(int row,float oldval);
135 
137  int getTVDGLCol() const;
138  int getTVDSDCol() const;
139  int getTVDSSCol() const;
140  int getTimeCol() const;
141  int getVintCol() const;
142  bool rowIsIncomplete(int row) const;
143  int getPreviousCompleteRowIdx(int row) const;
144  int getNextCompleteRowIdx(int row) const;
145  void setDepthValue(int irow,int icol,float);
146  float getDepthValue(int irow,int icol) const;
147  void setTimeValue(int irow,float);
148  float getTimeValue(int irow) const;
149 };
150 
151 
154 class uiColorInput;
155 
158 public:
161 
162  const Color& getWellColor();
163  const char* getWellName() const { return wellname_; }
164 
165 protected:
166 
170 
171  virtual bool acceptOK(CallBacker*);
173 };
174 
175 
176 /* brief Dialog for editing the logs's unit of measure */
177 
180 public:
182  const BufferStringSet wellnms,
183  const BufferStringSet lognms);
184 
185 protected:
186 
190 
192 
194  const BufferStringSet& wellnms,
195  const BufferStringSet& lognms);
196  bool setUoMValues();
197 };
198 
199 
200 
201 /* brief Dialog to set Depth-to-Time model to selected wells */
202 
205 public:
208 
210 
211 protected:
212 
215 
218 };
219 
220 
221 /* brief Dialog to copy a well */
222 // This tool simply reads the well and all auxilary data
223 // and writes it back to disk under another name
224 
227 public:
230 
231  void setKey(const MultiID&);
232  MultiID getKey() const;
233 
234 protected:
235 
238 
241 };
uiD2TModelDlg::writable_
bool writable_
Definition: uiwelldlgs.h:110
uiWellLogUOMDlg::unflds_
ObjectSet< uiUnitSel > unflds_
Definition: uiwelldlgs.h:188
uiD2TModelDlg::readNew
void readNew(CallBacker *)
uiCopyWellDlg::getKey
MultiID getKey() const
uiNewWellDlg::wellname_
BufferString wellname_
Definition: uiwelldlgs.h:168
uiD2TModelDlg::~uiD2TModelDlg
~uiD2TModelDlg()
uiWellTrackDlg::readNew
void readNew(CallBacker *)
uiD2TModelDlg::cksh_
bool cksh_
Definition: uiwelldlgs.h:109
Coord3
A cartesian coordinate in 3D space.
Definition: coord.h:72
uiD2TModelDlg::updateDtpoint
bool updateDtpoint(int row, float oldval)
uiSetD2TFromOtherWell::inpSelCB
void inpSelCB(CallBacker *)
uiD2TModelDlg::getModel
void getModel(Well::D2TModel &)
uiD2TModelDlg::tbl_
uiTable * tbl_
Definition: uiwelldlgs.h:114
uiWellLogUOMDlg
Definition: uiwelldlgs.h:179
uiD2TModelDlg::fillTable
void fillTable(CallBacker *)
uiWellTrackDlg::tbl_
uiTable * tbl_
Definition: uiwelldlgs.h:60
uiWellTrackDlg::sCkShotData
static const uiString sCkShotData()
uistring.h
Well::Data
The holder of all data concerning a certain well.
Definition: welldata.h:121
uiSetD2TFromOtherWell
Definition: uiwelldlgs.h:204
uiWellTrackDlg::setMD
void setMD(int row, float)
ObjectSet
Set of pointers to objects.
Definition: commontypes.h:31
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
uiSetD2TFromOtherWell::mODTextTranslationClass
mODTextTranslationClass(uiSetD2TFromOtherWell)
uiD2TModelDlg::orgd2t_
Well::D2TModel * orgd2t_
Definition: uiwelldlgs.h:111
uiD2TModelDlg::updReplVelNow
void updReplVelNow(CallBacker *)
uiCopyWellDlg::inpSelCB
void inpSelCB(CallBacker *)
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiWellTrackDlg::track_
Well::Track & track_
Definition: uiwelldlgs.h:55
uiSetD2TFromOtherWell::setSelected
void setSelected(const TypeSet< MultiID > &)
uiCheckBox
Definition: uibutton.h:167
uiWellTrackDlg::updateKbElev
void updateKbElev(CallBacker *)
uiWellTrackDlg::fillTable
bool fillTable()
uiWellTrackDlg::acceptOK
bool acceptOK(CallBacker *)
confirm accept
uiWellTrackDlg::wellheadyfld_
uiGenInput * wellheadyfld_
Definition: uiwelldlgs.h:64
uiD2TModelDlg::getTVDSSCol
int getTVDSSCol() const
uiUnitSel
Selector for UnitOfMeasure's.
Definition: uiunitsel.h:39
uiD2TModelDlg::fillReplVel
void fillReplVel(CallBacker *)
uiD2TModelDlg::getVintCol
int getVintCol() const
uiWellTrackDlg::getMD
float getMD(int row) const
uiSetD2TFromOtherWell::~uiSetD2TFromOtherWell
~uiSetD2TFromOtherWell()
uiTableImpDataSel
Table-based data import selection.
Definition: uitblimpexpdatasel.h:38
Table
Definition: geom2dascio.h:20
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
uiD2TModelDlg::correctD2TModelIfInvalid
void correctD2TModelIfInvalid()
uiNewWellDlg
Definition: uiwelldlgs.h:157
uiWellLogUOMDlg::uiWellLogUOMDlg
uiWellLogUOMDlg(uiParent *, ObjectSet< Well::LogSet > wls, const BufferStringSet wellnms, const BufferStringSet lognms)
uiWellTrackDlg::exportCB
void exportCB(CallBacker *)
Repos::Data
@ Data
Definition: repos.h:24
uiWellTrackDlg::mODTextTranslationClass
mODTextTranslationClass(uiWellTrackDlg)
uiWellTrackDlg::updateXpos
void updateXpos(CallBacker *)
uiWellTrackDlg::wellheadxfld_
uiGenInput * wellheadxfld_
Definition: uiwelldlgs.h:63
uiSetD2TFromOtherWell::inpwellfld_
uiWellSel * inpwellfld_
Definition: uiwelldlgs.h:216
uiD2TModelDlg::rowIsIncomplete
bool rowIsIncomplete(int row) const
uiD2TModelDlg::getTVDGLCol
int getTVDGLCol() const
uiD2TModelDlg::getNextCompleteRowIdx
int getNextCompleteRowIdx(int row) const
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
uiWellTrackDlg::kbelevfld_
uiGenInput * kbelevfld_
Definition: uiwelldlgs.h:65
uiCopyWellDlg::acceptOK
bool acceptOK(CallBacker *)
confirm accept
uiNewWellDlg::getWellColor
const Color & getWellColor()
uiD2TModelDlg::updNow
void updNow(CallBacker *)
uiD2TModelDlg
Dialog for D2T Model editing.
Definition: uiwelldlgs.h:101
uiGenInput
General Input Element.
Definition: uigeninput.h:59
uiCopyWellDlg::setKey
void setKey(const MultiID &)
uiWellTrackDlg::fillSetFields
void fillSetFields(CallBacker *cb=0)
uiWellTrackDlg::setZ
void setZ(int row, double)
uiD2TModelDlg::updateDtpointDepth
bool updateDtpointDepth(int row)
multiid.h
uiWellTrackDlg::rowIsIncomplete
bool rowIsIncomplete(int) const
uiD2TModelDlg::uiD2TModelDlg
uiD2TModelDlg(uiParent *, Well::Data &, bool chksh)
uiGetObjectName
Get a name from user, whilst displaying names that already exist.
Definition: uiselsimple.h:88
uiWellTrackDlg::sTimeDepthModel
static const uiString sTimeDepthModel()
uiWellTrackDlg::~uiWellTrackDlg
~uiWellTrackDlg()
Well::Track
Well track.
Definition: welltrack.h:29
Well
Definition: directionalsurvey.h:20
uiWellLogUOMDlg::logs_
ObjectSet< Well::Log > logs_
Definition: uiwelldlgs.h:187
uiD2TModelDlg::updateDtpointTime
bool updateDtpointTime(int row)
uiD2TModelDlg::setDepthValue
void setDepthValue(int irow, int icol, float)
uiWellTrackDlg::getX
double getX(int row) const
uiFileInput
A file-name input.
Definition: uifileinput.h:34
uiCopyWellDlg
Definition: uiwelldlgs.h:226
uiWellTrackDlg::getZ
double getZ(int row) const
uiD2TModelDlg::wd_
Well::Data & wd_
Definition: uiwelldlgs.h:108
uiCopyWellDlg::infld_
uiWellSel * infld_
Definition: uiwelldlgs.h:239
uiD2TModelDlg::getTimeValue
float getTimeValue(int irow) const
uiD2TModelDlg::expData
void expData(CallBacker *)
uiSetD2TFromOtherWell::wellfld_
uiMultiWellSel * wellfld_
Definition: uiwelldlgs.h:217
uiWellTrackDlg::setX
void setX(int row, double)
uiWellTrackDlg::origgl_
float origgl_
Definition: uiwelldlgs.h:69
uiselsimple.h
uiNewWellDlg::acceptOK
virtual bool acceptOK(CallBacker *)
confirm accept
uiD2TModelDlg::acceptOK
bool acceptOK(CallBacker *)
confirm accept
File::Log
@ Log
Definition: file.h:122
uiWellTrackDlg::updNow
bool updNow()
uiWellTrackDlg::fillTable
void fillTable(CallBacker *cb)
uiD2TModelDlg::dtpointRemovedCB
void dtpointRemovedCB(CallBacker *)
uiWellTrackDlg::rejectOK
bool rejectOK(CallBacker *)
confirm reject
uiWellLogUOMDlg::uominfotbl_
uiTable * uominfotbl_
Definition: uiwelldlgs.h:189
uiWellTrackDlg::zinftfld_
uiCheckBox * zinftfld_
Definition: uiwelldlgs.h:62
uiNewWellDlg::mODTextTranslationClass
mODTextTranslationClass(uiNewWellDlg)
position.h
uiD2TModelDlg::timefld_
uiCheckBox * timefld_
Definition: uiwelldlgs.h:116
uiWellTrackDlg::rowIsNotSet
bool rowIsNotSet(int) const
uiD2TModelDlg::getTimeCol
int getTimeCol() const
uiNewWellDlg::getWellName
const char * getWellName() const
Definition: uiwelldlgs.h:163
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
uiNewWellDlg::nms_
BufferStringSet * nms_
Definition: uiwelldlgs.h:169
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
uiNewWellDlg::~uiNewWellDlg
~uiNewWellDlg()
uiD2TModelDlg::setTimeValue
void setTimeValue(int irow, float)
uiColorInput
small element for color selection. Has no text label.
Definition: uicolor.h:44
uiSetD2TFromOtherWell::uiSetD2TFromOtherWell
uiSetD2TFromOtherWell(uiParent *)
uiWellTrackDlg::updateYpos
void updateYpos(CallBacker *)
uiTable
Definition: uitable.h:31
uiWellTrackDlg::getY
double getY(int row) const
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
uiWellTrackDlg::uwifld_
uiGenInput * uwifld_
Definition: uiwelldlgs.h:61
uiD2TModelDlg::mODTextTranslationClass
mODTextTranslationClass(uiD2TModelDlg)
uiNewWellDlg::mkWellNms
const BufferStringSet & mkWellNms()
uiD2TModelDlg::dtpointChangedCB
void dtpointChangedCB(CallBacker *)
uiLabel
Definition: uilabel.h:24
uiCopyWellDlg::~uiCopyWellDlg
mODTextTranslationClass(uiCopyWellDlg) public ~uiCopyWellDlg()
uiMultiWellSel
Definition: uiwellsel.h:64
uiWellTrackDlg
Dialog for Well track editing.
Definition: uiwelldlgs.h:44
uiD2TModelGroup
Definition: uid2tmodelgrp.h:24
uiWellTrackDlg::uiWellTrackDlg
uiWellTrackDlg(uiParent *, Well::Data &)
uiParent
Definition: uiparent.h:26
Table::FormatDesc
description of input our output data content
Definition: tabledef.h:220
uiWellTrackDlg::glfld_
uiGenInput * glfld_
Definition: uiwelldlgs.h:66
uiWellTrackDlg::fd_
Table::FormatDesc & fd_
Definition: uiwelldlgs.h:59
uiWellTrackDlg::setY
void setY(int row, double)
uiSetD2TFromOtherWell::acceptOK
bool acceptOK(CallBacker *)
confirm accept
uiD2TModelDlg::getColLabels
void getColLabels(BufferStringSet &) const
uiCopyWellDlg::outfld_
uiWellSel * outfld_
Definition: uiwelldlgs.h:240
uiWellTrackDlg::wd_
Well::Data & wd_
Definition: uiwelldlgs.h:54
uiButtonGroup
Definition: uibuttongroup.h:30
uiNewWellDlg::uiNewWellDlg
uiNewWellDlg(uiParent *)
ranges.h
uiD2TModelDlg::getDepthValue
float getDepthValue(int irow, int icol) const
uiNewWellDlg::colsel_
uiColorInput * colsel_
Definition: uiwelldlgs.h:167
uiDialog
Definition: uidialog.h:42
uiWellLogUOMDlg::setUoMValues
bool setUoMValues()
uiD2TModelDlg::getFromScreen
bool getFromScreen()
uiWellLogUOMDlg::fillTable
void fillTable(ObjectSet< Well::LogSet > wls, const BufferStringSet &wellnms, const BufferStringSet &lognms)
uiWellTrackDlg::origpos_
Coord3 origpos_
Definition: uiwelldlgs.h:68
Color
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer,...
Definition: color.h:26
Well::D2TModel
Depth to time model.
Definition: welld2tmodel.h:34
uiWellLogUOMDlg::acceptOK
bool acceptOK(CallBacker *)
confirm accept
uiD2TModelDlg::getPreviousCompleteRowIdx
int getPreviousCompleteRowIdx(int row) const
uiD2TModelDlg::getTVDSDCol
int getTVDSDCol() const
uiWellTrackDlg::writable_
bool writable_
Definition: uiwelldlgs.h:57
uiD2TModelDlg::zinftfld_
uiCheckBox * zinftfld_
Definition: uiwelldlgs.h:115
uiWellTrackDlg::updatePos
void updatePos(bool isx)
uiWellTrackDlg::orgtrack_
Well::Track * orgtrack_
Definition: uiwelldlgs.h:56
uiD2TModelDlg::origreplvel_
float origreplvel_
Definition: uiwelldlgs.h:112
uiWellLogUOMDlg::mODTextTranslationClass
mODTextTranslationClass(uiWellLogUOMDlg)
uiWellSel
Definition: uiwellsel.h:22
TypeSet< MultiID >
uiPushButton
is the base class for all buttons.
Definition: uibutton.h:88
uiD2TModelDlg::rejectOK
bool rejectOK(CallBacker *)
confirm reject
uiD2TModelDlg::replvelfld_
uiGenInput * replvelfld_
Definition: uiwelldlgs.h:117
uiWellTrackDlg::updNow
void updNow(CallBacker *)

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