OpendTect  6.3
uiwellmarkerdlg.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: May 2007
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiwellmod.h"
14 #include "uidialog.h"
15 #include "wellmarker.h"
16 
17 class uiStratLevelSel;
18 class uiCheckBox;
19 class uiTable;
20 namespace Well {
21  class Data;
22  class Marker;
23  class Track;
24  class MarkerSet;
25  class Reader;
26 }
27 
30 mExpClass(uiWell) uiMarkerDlg : public uiDialog
32 public:
34  ~uiMarkerDlg();
35 
36  void setMarkerSet(const Well::MarkerSet&,
37  bool addtoexisting=false);
38  bool getMarkerSet(Well::MarkerSet&) const;
39  static void exportMarkerSet(uiParent* p,
40  const Well::MarkerSet& mset,
41  const Well::Track& trck,
42  uiCheckBox* cb=0 );
43 protected:
44 
49 
50  //TODO will go with the Strat level Sel
51 
52  void getColLabels(BufferStringSet&) const;
53  int getNrRows() const;
54  int rowNrFor(uiStratLevelSel*) const;
55  void mouseClick(CallBacker*);
56  void doStrat(CallBacker*);
57  void rdFile(CallBacker*);
58  bool acceptOK();
59  void stratLvlChg(CallBacker*);
60  void unitChangedCB(CallBacker*);
61  void updateFromLevel(int,uiStratLevelSel*);
62  bool getFromScreen();
63  void markerChangedCB(CallBacker*);
64  void markerAddedCB(CallBacker*);
65  void setAsRegMarkersCB(CallBacker*);
66  float zFactor() const;
67  void exportCB(CallBacker*);
68  bool getKey(DBKey&) const;
69  void updateDisplayCB(CallBacker*);
70  bool rejectOK();
71  bool updateMarkerDepths(int rowidx,bool md2tvdss);
72  float getOldMarkerVal(const Well::Marker&) const;
73 
74  Well::Marker getMarker(int rowidx,bool fromname) const;
75 
76 };
77 
78 
83 public:
85 
86 protected:
87 
88  uiTable* table_;
89  const Well::Data* wd_;
90 
91  void exportCB(CallBacker*);
92 
93 };
#define mExpClass(module)
Definition: commondefs.h:157
Set of Markers.
Definition: wellmarker.h:83
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
const Well::Data * wd_
Definition: uiwellmarkerdlg.h:89
Selector for stratigraphic levels.
Definition: uistratlvlsel.h:24
Dialog for marker specifications.
Definition: uiwellmarkerdlg.h:30
uiCheckBox * unitfld_
Definition: uiwellmarkerdlg.h:46
Definition: uitable.h:29
Definition: uiparent.h:24
Set of BufferString objects.
Definition: bufstringset.h:25
uiTable * table_
Definition: uiwellmarkerdlg.h:82
Definition: uidialog.h:40
Dialog for Viewing the markers for a well.
Definition: uiwellmarkerdlg.h:81
Definition: wellcommon.h:16
Well track.
Definition: welltrack.h:22
Definition: repos.h:23
uiTable * table_
Definition: uiwellmarkerdlg.h:45
Marker, can be attached to Strat level. When not attached, uses the object's own (fallback) name and ...
Definition: wellmarker.h:32
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
The holder of all data concerning a certain well.
Definition: welldata.h:36
Definition: uibutton.h:130
const Well::Track & track_
Definition: uiwellmarkerdlg.h:47
Well::MarkerSet * oldmrkrs_
Definition: uiwellmarkerdlg.h:48

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