OpendTect  6.6
uiwelllogcalc.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: Bert
8  Date: June 2009
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiwellmod.h"
15 #include "uidialog.h"
16 #include "bufstringset.h"
17 #include "multiid.h"
18 #include "propertyref.h"
19 
20 class uiUnitSel;
21 class uiGenInput;
22 class uiCheckBox;
23 class uiComboBox;
24 class uiMathFormula;
25 namespace Math { class Formula; }
26 namespace Well { class D2TModel; class Log; class LogSet; class Track;}
27 
28 
33 public:
35  bool rockphysmode=false);
37 
38  bool haveNewLogs() const { return havenew_; }
39 
40  void setOutputLogName(const char* nm);
41  const char* getOutputLogName() const;
42 
43 protected:
44 
51 
54  float zsampintv_;
57  bool havenew_;
58 
59  struct InpData
60  {
61  InpData( const Well::Log* w=0, bool n=false )
62  : wl_(w), shift_(0), specidx_(-1)
63  , isconst_(false), constval_(0) {}
64 
65  bool operator ==( const InpData& id ) const
66  { return wl_ == id.wl_; }
67 
68  const Well::Log* wl_;
69  int shift_;
70  int specidx_;
71  bool isconst_;
72  float constval_;
73  };
74 
75  void getAllLogs();
78  void setUnits4Log(int);
79  void fillSRFld(int);
80 
86 
93  void vwLog(CallBacker*);
95 
97 };
98 
uiWellLogCalc::getLog4InpIdx
Well::Log * getLog4InpIdx(Well::LogSet &, int varnr)
uiWellLogCalc::rockPhysReq
void rockPhysReq(CallBacker *)
uiWellLogCalc::nmfld_
uiGenInput * nmfld_
Definition: uiwelllogcalc.h:46
uiWellLogCalc::InpData::InpData
InpData(const Well::Log *w=0, bool n=false)
Definition: uiwelllogcalc.h:61
uiWellLogCalc::feetSel
void feetSel(CallBacker *)
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
uiWellLogCalc::vwLog
void vwLog(CallBacker *)
uiWellLogCalc::zsampintv_
float zsampintv_
Definition: uiwelllogcalc.h:54
uiComboBox
Combo box.
Definition: uicombobox.h:32
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiCheckBox
Definition: uibutton.h:167
uiWellLogCalc::form_
Math::Formula & form_
Definition: uiwelllogcalc.h:53
uiWellLogCalc::InpData::isconst_
bool isconst_
Definition: uiwelllogcalc.h:71
uiWellLogCalc::lognms_
BufferStringSet lognms_
Definition: uiwelllogcalc.h:55
uiUnitSel
Selector for UnitOfMeasure's.
Definition: uiunitsel.h:39
uiWellLogCalc::InpData::wl_
const Well::Log * wl_
Definition: uiwelllogcalc.h:68
uiWellLogCalc::formfld_
uiMathFormula * formfld_
Definition: uiwelllogcalc.h:45
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
uiWellLogCalc::initWin
void initWin(CallBacker *)
operator==
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:81
uiWellLogCalc::InpData::constval_
float constval_
Definition: uiwelllogcalc.h:72
uiGenInput
General Input Element.
Definition: uigeninput.h:59
uiWellLogCalc::wellids_
const TypeSet< MultiID > wellids_
Definition: uiwelllogcalc.h:56
uiWellLogCalc::acceptOK
bool acceptOK(CallBacker *)
confirm accept
multiid.h
uiWellLogCalc
Dialog for marker specifications.
Definition: uiwelllogcalc.h:32
uiWellLogCalc::getInpDatas
bool getInpDatas(Well::LogSet &, TypeSet< InpData > &)
uiWellLogCalc::mODTextTranslationClass
mODTextTranslationClass(uiWellLogCalc)
uiWellLogCalc::superwls_
Well::LogSet & superwls_
Definition: uiwelllogcalc.h:52
uiWellLogCalc::viewOutputCB
void viewOutputCB(CallBacker *)
Well::Track
Well track.
Definition: welltrack.h:29
Well
Definition: directionalsurvey.h:20
uiWellLogCalc::getAllLogs
void getAllLogs()
uiWellLogCalc::getOutputLogName
const char * getOutputLogName() const
uiWellLogCalc::setUnits4Log
void setUnits4Log(int)
uiWellLogCalc::formSet
void formSet(CallBacker *)
uiWellLogCalc::srfld_
uiGenInput * srfld_
Definition: uiwelllogcalc.h:47
uiWellLogCalc::inpSel
void inpSel(CallBacker *)
uiWellLogCalc::formUnitSel
void formUnitSel(CallBacker *)
uiWellLogCalc::interppolfld_
uiComboBox * interppolfld_
Definition: uiwelllogcalc.h:50
uiWellLogCalc::deleteLog
void deleteLog(TypeSet< InpData > &)
uiWellLogCalc::setOutputLogName
void setOutputLogName(const char *nm)
uiWellLogCalc::useForm
bool useForm(const TypeSet< PropertyRef::StdType > *t=0)
File::Log
@ Log
Definition: file.h:122
uiWellLogCalc::InpData
Definition: uiwelllogcalc.h:60
uiWellLogCalc::~uiWellLogCalc
~uiWellLogCalc()
uidialog.h
uiWellLogCalc::uiWellLogCalc
uiWellLogCalc(uiParent *, const TypeSet< MultiID > &, bool rockphysmode=false)
propertyref.h
Math::Formula
Math formula: (expression, inputs, units, calculation, storage).
Definition: mathformula.h:66
Well::Log
Well log.
Definition: welllog.h:44
Well::LogSet
Log set.
Definition: welllogset.h:32
bufstringset.h
uiWellLogCalc::ftbox_
uiCheckBox * ftbox_
Definition: uiwelllogcalc.h:48
uiWellLogCalc::getInpLog
Well::Log * getInpLog(Well::LogSet &, int, bool)
uiWellLogCalc::fillSRFld
void fillSRFld(int)
uiWellLogCalc::haveNewLogs
bool haveNewLogs() const
Definition: uiwelllogcalc.h:38
uiWellLogCalc::InpData::shift_
int shift_
Definition: uiwelllogcalc.h:69
uiWellLogCalc::calcLog
bool calcLog(Well::Log &, const TypeSet< InpData > &, Well::Track &, Well::D2TModel *)
uiParent
Definition: uiparent.h:26
uiMathFormula
Definition: uimathformula.h:34
uiWellLogCalc::havenew_
bool havenew_
Definition: uiwelllogcalc.h:57
uiDialog
Definition: uidialog.h:42
Well::D2TModel
Depth to time model.
Definition: welld2tmodel.h:34
Math
Definition: math2.h:29
uiWellLogCalc::InpData::specidx_
int specidx_
Definition: uiwelllogcalc.h:70
TypeSet< MultiID >
uiWellLogCalc::outunfld_
uiUnitSel * outunfld_
Definition: uiwelllogcalc.h:49

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