OpendTect-6_4  6.4
uiwellmarkerdlg.h
Go to the documentation of this file.
1 #ifndef uiwellmarkerdlg_h
2 #define uiwellmarkerdlg_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: May 2007
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiwellmod.h"
16 #include "uidialog.h"
17 #include "wellmarker.h"
18 
19 class uiStratLevelSel;
20 class uiCheckBox;
21 class uiTable;
22 namespace Well {
23  class Data;
24  class Marker;
25  class Track;
26  class MarkerSet;
27  class Reader;
28 }
29 
32 mExpClass(uiWell) uiMarkerDlg : public uiDialog
34 public:
36  ~uiMarkerDlg();
37 
38  void setMarkerSet(const Well::MarkerSet&,
39  bool addtoexisting=false);
40  bool getMarkerSet(Well::MarkerSet&) const;
41  static void exportMarkerSet(uiParent* p,
42  const Well::MarkerSet& mset,
43  const Well::Track& trck,
44  uiCheckBox* cb=0 );
45 protected:
46 
51 
52  //TODO will go with the Strat level Sel
53 
54  void getColLabels(BufferStringSet&) const;
55  int getNrRows() const;
56  int rowNrFor(uiStratLevelSel*) const;
57  void mouseClick(CallBacker*);
58  void doStrat(CallBacker*);
59  void rdFile(CallBacker*);
60  bool acceptOK(CallBacker*);
61  void stratLvlChg(CallBacker*);
62  void unitChangedCB(CallBacker*);
63  void updateFromLevel(int,uiStratLevelSel*);
64  bool getFromScreen();
65  void markerChangedCB(CallBacker*);
66  void markerAddedCB(CallBacker*);
67  bool setAsRegMarkersCB(CallBacker*);
68  float zFactor() const;
69  void exportCB(CallBacker*);
70  bool getKey(MultiID&) const;
71  void updateDisplayCB(CallBacker*);
72  bool rejectOK(CallBacker*);
73  bool updateMarkerDepths(int rowidx,bool md2tvdss);
74  float getOldMarkerVal(Well::Marker*) const;
75 
76  //This marker is now yours
77  Well::Marker* getMarker(int rowidx,bool fromname) const;
78 
79  void assignRandomColorsCB(CallBacker*);
80  void assignRandomColors(Well::MarkerSet&);
81 
82 };
83 
84 
89 public:
91 
92 protected:
93 
94  uiTable* table_;
95  const Well::Data* wd_;
96 
97  void exportCB(CallBacker*);
98 
99 };
100 
101 
102 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Set of Markers.
Definition: wellmarker.h:76
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
const Well::Data * wd_
Definition: uiwellmarkerdlg.h:95
Selector for stratigraphic levels.
Definition: uistratlvlsel.h:24
Dialog for marker specifications.
Definition: uiwellmarkerdlg.h:32
uiCheckBox * unitfld_
Definition: uiwellmarkerdlg.h:48
Definition: uitable.h:30
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
uiTable * table_
Definition: uiwellmarkerdlg.h:88
Definition: uidialog.h:42
Dialog for Viewing the markers for a well.
Definition: uiwellmarkerdlg.h:87
Definition: directionalsurvey.h:19
Well track.
Definition: welltrack.h:29
Definition: repos.h:25
uiTable * table_
Definition: uiwellmarkerdlg.h:47
Marker, should be attached to Strat level.
Definition: wellmarker.h:35
The holder of all data concerning a certain well.
Definition: welldata.h:113
Definition: uibutton.h:134
const Well::Track & track_
Definition: uiwellmarkerdlg.h:49
Well::MarkerSet * oldmrkrs_
Definition: uiwellmarkerdlg.h:50
Compound key consisting of ints.
Definition: multiid.h:25

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