OpendTect-6_4  6.4
uiwelllogdisplay.h
Go to the documentation of this file.
1 #ifndef uiwelllogdisplay_h
2 #define uiwelllogdisplay_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Mar 2009
10  RCS: $Id: uiwelllogdisplay.h
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "uiwellmod.h"
17 #include "uiwelldahdisplay.h"
18 #include "uidialog.h"
19 
20 class uiPolyLineItem;
21 class uiPolygonItem;
22 namespace Well { class Log; }
23 
29 {
30 public:
31 
34 
35  mStruct(uiWell) LogData : public uiWellDahDisplay::DahObjData
36  {
37 
38  void setLog(const Well::Log*);
39  const Well::Log* log() const;
40 
41  void getInfoForDah(float,BufferString&) const;
42 
44 
46 
47  protected:
48  LogData(uiGraphicsScene&,bool isfirst,
50 
51  virtual void copySetupFrom( const LogData& ld )
52  {
53  xrev_ = ld.xrev_;
54  disp_ = ld.disp_;
55  }
56 
57  ObjectSet<uiPolygonItem> curvepolyitms_;
58 
59  friend class uiWellLogDisplay;
60  };
61 
62  LogData& logData(bool first=true);
63  const LogData& logData(bool first=true) const
64  { return const_cast<uiWellLogDisplay*>(this)
65  ->logData(first); }
66 
67 protected:
68 
70 
71  void gatherDataInfo(bool);
72  void draw();
73 
74  void drawCurve(bool);
75  void drawSeismicCurve(bool);
76  void drawFilledCurve(bool);
77 
78 };
79 
80 
87 public:
88 
91  bool make_copy=true);
93 
94  void setLog(const Well::Log*,bool first=true,
95  const char* wellnm=0);
96  const Well::Log* getLog(bool first=true) const;
97 
98  uiWellLogDisplay& logDisplay() { return *dispfld_; }
100 
102 
103  static uiWellLogDispDlg* popupNonModal(uiParent*,const Well::Log*,
104  const Well::Log* wl2=0,
105  const char* wellnm1=0,
106  const char* wellnm2=0);
108 
109 protected:
110 
111  bool logsmine_;
112  const Well::Log* log1_;
113  const Well::Log* log2_;
116 
118  void logSetCB(CallBacker*);
119 
120 };
121 
122 
123 #endif
#define mExpClass(module)
Definition: commondefs.h:160
void drawSeismicCurve(bool)
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
FixedString Setup()
Definition: keystrs.h:116
Non-modal dialog displaying a maximum of two Well logs.
Definition: uiwelllogdisplay.h:85
#define mStruct(module)
Definition: commondefs.h:165
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Well log.
Definition: welllog.h:44
Definition: uigraphicsitemimpl.h:192
void drawCurve(bool)
Definition: file.h:99
uiWellLogDisplay & logDisplay()
for detailed work
Definition: uiwelllogdisplay.h:98
Definition: uiparent.h:26
const LogData & logData(bool first=true) const
Definition: uiwelllogdisplay.h:63
Definition: uidialog.h:42
Definition: callback.h:254
Set of pointers to objects.
Definition: commontypes.h:32
BufferString wellnm1_
Definition: uiwelllogdisplay.h:114
Definition: directionalsurvey.h:19
uiWellLogDisplay * dispfld_
Definition: uiwelllogdisplay.h:117
Well depth/distance along hole display.
Definition: uiwelldahdisplay.h:57
const Well::Log * log2_
Definition: uiwelllogdisplay.h:113
BufferString wellnm2_
Definition: uiwelllogdisplay.h:115
Definition: uigraphicsitemimpl.h:214
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Notifier< uiWellLogDispDlg > logSet
Definition: uiwelllogdisplay.h:101
Displays maximum two Well logs.
Definition: uiwelllogdisplay.h:28
struct(uiWell) LogData LogData & logData(bool first=true)
void gatherDataInfo(bool)
const Well::Log * log1_
Definition: uiwelllogdisplay.h:112
Setup setup_
Definition: uiwelllogdisplay.h:69
bool logsmine_
Definition: uiwelllogdisplay.h:111
void drawFilledCurve(bool)
Definition: uigraphicsscene.h:39

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