OpendTect  6.3
uiwelltiecheckshotedit.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: Oct 2011
9 RCS: $Id: uiwellwelltiecheckshotedit.h,v 1.1 2009-01-19 13:02:33 cvsbruno Exp
10 $
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiwellattribmod.h"
16 #include "uidialog.h"
17 #include "welllog.h"
18 #include "undo.h"
19 #include "uistring.h"
20 
21 namespace Well { class D2TModel; class Data; class DahObj;}
22 class uiWellDahDisplay;
23 class uiCheckBox;
24 class uiComboBox;
25 class uiPolyLineItem;
26 class uiToolBar;
27 class uiToolButton;
29 
30 namespace WellTie
31 {
32 
33 class Server;
34 
35 mExpClass(uiWellAttrib) DahObjUndoEvent : public UndoEvent
37 public:
38  DahObjUndoEvent(float dah,float val,
39  Well::DahObj&,bool isadd);
40 
41  const char* getStandardDesc() const;
42  bool unDo();
43  bool reDo();
44 
45 protected:
46 
47  bool isadd_;
49  float dah_;
50  float val_;
51 };
52 
53 
54 mExpClass(uiWellAttrib) uiCheckShotEdit : public uiDialog
56 public:
58  ~uiCheckShotEdit();
59 
62 
63  PointID currentPoint(const DriftCurve&,float,float) const;
64 
65 protected:
66 
69 
76 
82 
84 
85  bool isedit_;
86 
91 
94 
95  void draw();
96  void drawDahObj(const Well::DahObj* d,bool,bool);
97  void drawDrift();
98  void drawPoints();
99  void movePt();
100  void doInsertRemovePt();
101 
102  void applyCB(CallBacker*);
103  void editCSPushed(CallBacker*);
104  void editCB(CallBacker*);
105  void undoCB(CallBacker*);
106  void redoCB(CallBacker*);
107  void mousePressedCB(CallBacker*);
108  void mouseReleasedCB(CallBacker*);
109  void mouseMovedCB(CallBacker*);
110  void setInfoMsg(CallBacker*);
111 
112  bool acceptOK();
113  bool rejectOK();
114  void reSizeCB(CallBacker*);
115 };
116 
117 } // namespace WellTie
Definition: uitoolbar.h:30
uiComboBox * driftchoicefld_
Definition: uiwelltiecheckshotedit.h:83
#define mExpClass(module)
Definition: commondefs.h:157
DriftCurve::PointID movingpointid_
Definition: uiwelltiecheckshotedit.h:93
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
Well::Data & wd_
Definition: uiwelltiecheckshotedit.h:68
Depth to time model.
Definition: welld2tmodel.h:25
uiToolButton * undobut_
Definition: uiwelltiecheckshotedit.h:79
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Undo undo_
Definition: uiwelltiecheckshotedit.h:92
Definition: uiwelltiecheckshotedit.h:35
Well log.
Definition: welllog.h:40
RefMan< DriftCurve > driftcurve_
Definition: uiwelltiecheckshotedit.h:74
bool isadd_
Definition: uiwelltiecheckshotedit.h:47
Well::D2TModel * orgcs_
Definition: uiwelltiecheckshotedit.h:73
RefMan< DriftCurve > newdriftcurve_
Definition: uiwelltiecheckshotedit.h:75
Definition: uiwelldisplaycontrol.h:23
Combo box.
Definition: uicombobox.h:30
Well::Log::PointID PointID
Definition: uiwelltiecheckshotedit.h:61
Definition: uiparent.h:24
Definition: welltiecshot.h:20
single integer ID with comparison but no automatic conversion. Note that you will want to make a subc...
Definition: integerid.h:47
Well::DahObj & dahobj_
Definition: uiwelltiecheckshotedit.h:48
Definition: uidialog.h:40
Class to handle undo/redo information.
Definition: undo.h:40
Well::Log DriftCurve
Definition: uiwelltiecheckshotedit.h:60
uiToolButton * editbut_
Definition: uiwelltiecheckshotedit.h:78
Well::D2TModel * orgd2t_
Definition: uiwelltiecheckshotedit.h:71
float val_
Definition: uiwelltiecheckshotedit.h:50
Server & server_
Definition: uiwelltiecheckshotedit.h:67
Definition: wellcommon.h:16
object with a geometry defined by depth along hole.
Definition: welldahobj.h:36
Well depth/distance along hole display.
Definition: uiwelldahdisplay.h:49
Holds the information on how to undo/redo something.
Definition: undo.h:104
Definition: uiwelltiecheckshotedit.h:54
uiToolBar * toolbar_
Definition: uiwelltiecheckshotedit.h:77
uiCheckBox * viewcorrd2t_
Definition: uiwelltiecheckshotedit.h:81
uiWellDahDisplay * driftdisplay_
Definition: uiwelltiecheckshotedit.h:88
Definition: repos.h:23
uiToolButton * redobut_
Definition: uiwelltiecheckshotedit.h:80
Definition: uigraphicsitemimpl.h:219
bool isedit_
Definition: uiwelltiecheckshotedit.h:85
Well::D2TModel * tkzs_
Definition: uiwelltiecheckshotedit.h:72
Definition: uitoolbutton.h:20
float dah_
Definition: uiwelltiecheckshotedit.h:49
Well::D2TModel * d2t_
Definition: uiwelltiecheckshotedit.h:70
uiWellDahDisplay * d2tdisplay_
Definition: uiwelltiecheckshotedit.h:87
The holder of all data concerning a certain well.
Definition: welldata.h:36
uiPolyLineItem * d2tlineitm_
Definition: uiwelltiecheckshotedit.h:90
Definition: uibutton.h:130
Definition: welltiedata.h:221
Definition: ptrman.h:200
uiWellDisplayControl * control_
Definition: uiwelltiecheckshotedit.h:89

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