OpendTect  6.6
uiwelldispprop.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: Dec 2008
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiwellmod.h"
15 #include "uigroup.h"
16 #include "welldisp.h"
17 #include "uistrings.h"
18 
19 class uiCheckBox;
20 class uiColorInput;
21 class uiComboBox;
22 class uiColorTableSel;
23 class uiGenInput;
24 class uiLabeledComboBox;
25 class uiLabeledSpinBox;
26 class uiSpinBox;
27 class uiListBox;
28 class uiCheckList;
29 class uiSlider;
31 
32 namespace Well { class LogDisplayParSet; class LogSet; }
33 
40 public:
41 
42  mExpClass(uiWell) Setup
43  {
44  public:
45  Setup( const uiString& sztxt=uiString::emptyString(),
46  const uiString& coltxt=uiString::emptyString() )
47  : mysztxt_(!sztxt.isEmpty() ? sztxt : tr("Line thickness"))
48  , mycoltxt_(!coltxt.isEmpty() ? coltxt :
51  , onlyfor2ddisplay_(false) {}
52  mDefSetupMemb(uiString,mysztxt)
53  mDefSetupMemb(uiString,mycoltxt)
54  mDefSetupMemb(bool,onlyfor2ddisplay)
55  };
56 
58  Well::DisplayProperties::BasicProps&);
59  Well::DisplayProperties::BasicProps& props() { return *props_; }
60 
61  void putToScreen();
62  void getFromScreen();
63 
64 
67 
68 protected:
69 
70  virtual void doPutToScreen() {}
71  virtual void doGetFromScreen() {}
72 
73  Well::DisplayProperties::BasicProps* props_;
74 
79 };
80 
81 
88 public:
90  Well::DisplayProperties::Track&);
91 
92  Well::DisplayProperties::Track& trackprops()
93  { return static_cast<Well::DisplayProperties::Track&>(*props_); }
94 
95  void resetProps(Well::DisplayProperties::Track&);
96 
97 protected:
98 
99  virtual void doPutToScreen();
100  virtual void doGetFromScreen();
101 
107 };
108 
109 
116 public:
118  Well::DisplayProperties::Markers&,
119  const BufferStringSet& allmarkernms,
120  bool is2d=false);
121 
122  Well::DisplayProperties::Markers& mrkprops()
123  { return static_cast<Well::DisplayProperties::Markers&>(*props_); }
124 
127  const TypeSet<Color>&);
128  void resetProps(Well::DisplayProperties::Markers&);
129 
130 protected:
131 
132  virtual void doPutToScreen();
133  virtual void doGetFromScreen();
136  void getSelNames();
137  void setSelNames();
146  bool is2d_;
148 };
149 
150 
157 public:
160  const Well::LogSet* wl);
163  const Well::Data*);
165 
167  { return static_cast<Well::DisplayProperties::Log&>(*props_); }
168 
170  void setLogSet(const Well::LogSet*);
171 
172 protected:
173 
178  void setTubeSel();
186  void calcRange(const char*, Interval<float>&);
187  void setFldSensitive(bool);
189  void selNone();
190  void setFieldVals();
192  void setStyleSensitive(bool);
193 
215 
218  const Well::LogSet* wl_ = nullptr;
219 
220 };
221 
uiWellDispProperties::doPutToScreen
virtual void doPutToScreen()
Definition: uiwelldispprop.h:70
uiWellDispProperties::uiWellDispProperties
mODTextTranslationClass(uiWellDispProperties) public uiWellDispProperties(uiParent *, const Setup &, Well::DisplayProperties::BasicProps &)
uiWellLogDispProperties::doGetFromScreen
void doGetFromScreen()
uiWellLogDispProperties::calcRange
void calcRange(const char *, Interval< float > &)
uiWellMarkersDispProperties::nmcolfld_
uiColorInput * nmcolfld_
Definition: uiwelldispprop.h:143
uiWellLogDispProperties::clipratefld_
uiGenInput * clipratefld_
Definition: uiwelldispprop.h:195
uiWellLogDispProperties::setFillRangeFields
void setFillRangeFields(Interval< float > &)
Well::Data
The holder of all data concerning a certain well.
Definition: welldata.h:121
uiWellMarkersDispProperties::getSelNames
void getSelNames()
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
uiWellMarkersDispProperties::nmsizedynamicfld_
uiCheckBox * nmsizedynamicfld_
Definition: uiwelldispprop.h:147
uiWellLogDispProperties::setLogSet
void setLogSet(const Well::LogSet *)
uiComboBox
Combo box.
Definition: uicombobox.h:32
uiWellMarkersDispProperties::nmsizefld_
uiLabeledSpinBox * nmsizefld_
Definition: uiwelldispprop.h:140
uiWellLogDispProperties::setFldSensitive
void setFldSensitive(bool)
uiWellDispProperties::szfld_
uiLabeledSpinBox * szfld_
Definition: uiwelldispprop.h:77
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiCheckBox
Definition: uibutton.h:167
uiWellLogDispProperties::logprops
Well::DisplayProperties::Log & logprops()
Definition: uiwelldispprop.h:166
uiWellLogDispProperties::lblr_
uiLabeledSpinBox * lblr_
Definition: uiwelldispprop.h:202
uiWellLogDispProperties::rangefld_
uiGenInput * rangefld_
Definition: uiwelldispprop.h:196
uiWellMarkersDispProperties::doPutToScreen
virtual void doPutToScreen()
uiWellMarkersDispProperties::doGetFromScreen
virtual void doGetFromScreen()
uiWellLogDispProperties::setWellLogSel
void setWellLogSel()
mDefSetupMemb
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:154
uiWellDispProperties::doGetFromScreen
virtual void doGetFromScreen()
Definition: uiwelldispprop.h:71
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
sKey::Setup
FixedString Setup()
Definition: keystrs.h:139
uiWellTrackDispProperties::trackprops
mODTextTranslationClass(uiWellTrackDispProperties) public Well::DisplayProperties::Track & trackprops()
Definition: uiwelldispprop.h:92
uiWellLogDispProperties::ovlapfld_
uiSpinBox * ovlapfld_
Definition: uiwelldispprop.h:199
uiWellLogDispProperties::filllogsfld_
uiLabeledComboBox * filllogsfld_
Definition: uiwelldispprop.h:206
uiWellLogDispProperties::logfilltypefld_
uiLabeledComboBox * logfilltypefld_
Definition: uiwelldispprop.h:207
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
uiWellLogDispProperties::repeatfld_
uiSpinBox * repeatfld_
Definition: uiwelldispprop.h:200
uiWellTrackDispProperties::doGetFromScreen
virtual void doGetFromScreen()
uigroup.h
uiWellLogDispProperties::seiscolorfld_
uiColorInput * seiscolorfld_
Definition: uiwelldispprop.h:213
uiWellDispProperties::propChanged
Notifier< uiWellDispProperties > propChanged
Definition: uiwelldispprop.h:65
uiWellLogDispProperties::setStyleSensitive
void setStyleSensitive(bool)
uiGenInput
General Input Element.
Definition: uigeninput.h:59
uiWellLogDispProperties::fillcolorfld_
uiColorInput * fillcolorfld_
Definition: uiwelldispprop.h:214
uiWellLogDispProperties::disableLogDisplays
void disableLogDisplays()
uiWellDispProperties::curwelllogproperty_
uiWellLogDispProperties * curwelllogproperty_
Definition: uiwelldispprop.h:66
uiWellLogDispProperties::revertlogfld_
uiCheckBox * revertlogfld_
Definition: uiwelldispprop.h:209
uiWellTrackDispProperties::dispabovefld_
uiCheckBox * dispabovefld_
Definition: uiwelldispprop.h:102
uiWellLogDispProperties::doPutToScreen
void doPutToScreen()
uiWellTrackDispProperties::nmstylefld_
uiComboBox * nmstylefld_
Definition: uiwelldispprop.h:105
uiWellMarkersDispProperties::nmstylefld_
uiComboBox * nmstylefld_
Definition: uiwelldispprop.h:141
uiWellDispProperties::props_
Well::DisplayProperties::BasicProps * props_
Definition: uiwelldispprop.h:73
Well
Definition: directionalsurvey.h:20
uiWellLogDispProperties::uiWellLogDispProperties
mODTextTranslationClass(uiWellLogDispProperties) public uiWellLogDispProperties(uiParent *, const Setup &, Well::DisplayProperties::Log &, const Well::Data *)
uiWellLogDispProperties::updateFillRange
void updateFillRange(CallBacker *)
uiColorTableSel
Definition: uicolortable.h:30
uiCheckList
Group of check boxes. Ensures a certain policy is honored.
Definition: uichecklist.h:34
uiWellMarkersDispProperties::mrkprops
mODTextTranslationClass(uiWellMarkersDispProperties) public Well::DisplayProperties::Markers & mrkprops()
Definition: uiwelldispprop.h:122
uiWellMarkersDispProperties
Well Markers display properties.
Definition: uiwelldispprop.h:115
uiStrings::sLine
static uiString sLine(int num=1)
Definition: uistrings.h:422
uiLabeledComboBox
Definition: uicombobox.h:145
uiGroup
Definition: uigroup.h:54
uiWellLogDispProperties::setRangeFields
void setRangeFields(Interval< float > &)
uiWellDispProperties::putToScreen
void putToScreen()
uiString::toLower
uiString & toLower(bool yn=true)
applied before arg subst.
uiWellMarkersDispProperties::cylinderheightfld_
uiLabeledSpinBox * cylinderheightfld_
Definition: uiwelldispprop.h:144
uistrings.h
Setup
Definition: ceemdalgo.h:161
uiListBox
List Box.
Definition: uilistbox.h:75
uiStrings::phrJoinStrings
static uiString phrJoinStrings(const uiString &a, const uiString &b)
"
uiWellLogDispProperties::setTubeSel
void setTubeSel()
uiSlider
Definition: uislider.h:42
uiWellMarkersDispProperties::setSelNames
void setSelNames()
uiWellTrackDispProperties::doPutToScreen
virtual void doPutToScreen()
Notifier< uiWellDispProperties >
uiWellLogDispProperties::valuerange_
Interval< float > valuerange_
Definition: uiwelldispprop.h:216
uiWellTrackDispProperties::nmsizedynamicfld_
uiCheckBox * nmsizedynamicfld_
Definition: uiwelldispprop.h:106
uiWellLogDispProperties::stylefld_
uiCheckList * stylefld_
Definition: uiwelldispprop.h:194
uiWellLogDispProperties::logwidthslider_
uiSlider * logwidthslider_
Definition: uiwelldispprop.h:203
File::Log
@ Log
Definition: file.h:122
uiWellTrackDispProperties::nmsizefld_
uiLabeledSpinBox * nmsizefld_
Definition: uiwelldispprop.h:104
uiWellDispProperties
Well display properties.
Definition: uiwelldispprop.h:39
uiWellLogDispProperties::setSeismicSel
void setSeismicSel()
uiWellMarkersDispProperties::setMarkerNmColSel
void setMarkerNmColSel(CallBacker *)
uiWellDispProperties::props
Well::DisplayProperties::BasicProps & props()
Definition: uiwelldispprop.h:59
uiWellTrackDispProperties::resetProps
void resetProps(Well::DisplayProperties::Track &)
uiWellLogDispProperties::resetProps
void resetProps(Well::DisplayProperties::Log &)
uiWellMarkersDispProperties::singlecolfld_
uiCheckBox * singlecolfld_
Definition: uiwelldispprop.h:139
uiWellDispProperties::propChg
void propChg(CallBacker *)
uiSpinBox
Definition: uispinbox.h:24
uiWellLogDispProperties::choiceSel
void choiceSel(CallBacker *)
uiWellTrackDispProperties::dispbelowfld_
uiCheckBox * dispbelowfld_
Definition: uiwelldispprop.h:103
uiWellLogDispProperties::singlfillcolfld_
uiCheckBox * singlfillcolfld_
Definition: uiwelldispprop.h:210
uiWellDispProperties::setup_
Setup setup_
Definition: uiwelldispprop.h:78
uiWellLogDispProperties::isStyleChanged
void isStyleChanged(CallBacker *)
uiColorInput
small element for color selection. Has no text label.
Definition: uicolor.h:44
uiWellLogDispProperties::colorrangefld_
uiGenInput * colorrangefld_
Definition: uiwelldispprop.h:197
uiWellDispProperties::getFromScreen
void getFromScreen()
Well::LogSet
Log set.
Definition: welllogset.h:32
uiWellMarkersDispProperties::shapefld_
uiLabeledComboBox * shapefld_
Definition: uiwelldispprop.h:138
uiWellLogDispProperties::setFieldVals
void setFieldVals()
uiWellLogDispProperties::logsfld_
uiLabeledComboBox * logsfld_
Definition: uiwelldispprop.h:205
uiWellDispProperties::colfld_
uiColorInput * colfld_
Definition: uiwelldispprop.h:76
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
uiWellLogDispProperties::logSel
void logSel(CallBacker *)
uiString::emptyString
static const uiString & emptyString()
Definition: uistring.h:300
uiWellMarkersDispProperties::markerFldsChged
void markerFldsChged(CallBacker *)
uiWellLogDispProperties::cliprangefld_
uiGenInput * cliprangefld_
Definition: uiwelldispprop.h:198
uiWellLogDispProperties::~uiWellLogDispProperties
~uiWellLogDispProperties()
uiWellMarkersDispProperties::displaymarkersfld_
uiListBox * displaymarkersfld_
Definition: uiwelldispprop.h:145
uiWellMarkersDispProperties::resetProps
void resetProps(Well::DisplayProperties::Markers &)
uiWellLogDispProperties
Well Log display properties.
Definition: uiwelldispprop.h:156
uiWellLogDispProperties::fillvaluerange_
Interval< float > fillvaluerange_
Definition: uiwelldispprop.h:217
welldisp.h
uiWellMarkersDispProperties::setAllMarkerNames
void setAllMarkerNames(const BufferStringSet &, const TypeSet< Color > &)
uiWellLogDispProperties::updateRange
void updateRange(CallBacker *)
uiParent
Definition: uiparent.h:26
uiWellLogDispProperties::lblo_
uiLabeledSpinBox * lblo_
Definition: uiwelldispprop.h:201
uiStrings::sColor
static uiString sColor(int num=1)
Definition: uistrings.h:302
uiWellMarkersDispProperties::setAllMarkerNames
void setAllMarkerNames(const BufferStringSet &)
uiWellMarkersDispProperties::is2d_
bool is2d_
Definition: uiwelldispprop.h:146
uiWellLogDispProperties::selNone
void selNone()
uiLabeledSpinBox
Definition: uispinbox.h:138
Interval< float >
uiWellLogDispProperties::logarithmfld_
uiCheckBox * logarithmfld_
Definition: uiwelldispprop.h:208
uiWellLogDispProperties::lvlofdetailfld_
uiLabeledSpinBox * lvlofdetailfld_
Definition: uiwelldispprop.h:204
uiWellLogDispProperties::isFilledSel
void isFilledSel(CallBacker *)
uiWellMarkersDispProperties::samecolasmarkerfld_
uiCheckBox * samecolasmarkerfld_
Definition: uiwelldispprop.h:142
uiWellTrackDispProperties
Well Track display properties.
Definition: uiwelldispprop.h:87
uiWellLogDispProperties::flipcoltabfld_
uiCheckBox * flipcoltabfld_
Definition: uiwelldispprop.h:211
TypeSet< Color >
uiWellLogDispProperties::coltablistfld_
uiColorTableSel * coltablistfld_
Definition: uiwelldispprop.h:212

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