OpendTect-6_4  6.4
welltied2tmodelmanager.h
Go to the documentation of this file.
1 #ifndef welltied2tmodelmanager_h
2 #define welltied2tmodelmanager_h
3 
4 /*+
5 ________________________________________________________________________
6 
7 (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8 Author: Bruno
9 Date: Feb 2009
10 RCS: $Id: welltied2tmodelmanager.h,v 1.1 2009-01-19 13:02:33 cvsbruno Exp
11 $
12 ________________________________________________________________________
13 
14 -*/
15 
16 #include "wellattribmod.h"
17 #include "namedobj.h"
18 #include "uistring.h"
19 
20 namespace Well
21 {
22  class Data;
23  class D2TModel;
24 }
25 
26 namespace WellTie
27 {
28 
29 class DataWriter;
30 class Setup;
31 
37 { mODTextTranslationClass(D2TModelMgr);
38 public:
39  D2TModelMgr(Well::Data&,DataWriter&,const Setup&);
40  ~D2TModelMgr();
41 
42  bool undo();
43  bool cancel();
44 
45  bool updateFromWD();
46  bool commitToWD();
47 
48  void setWD( Well::Data* wd ) { wd_ = wd; }
49  void shiftModel(float);
50  void setAsCurrent(Well::D2TModel*);
51  void setFromData(float* dah,float* time,int sz);
52 
53  uiString errMsg() const { return errmsg_; }
54 
55 protected:
56 
58 
59  Well::D2TModel* d2T();
62 
64 
67 
68 };
69 
70 } // namespace WellTie
71 
72 #endif
Manages the D2T models used during TWTS.
Definition: welltied2tmodelmanager.h:36
#define mExpClass(module)
Definition: commondefs.h:160
FixedString Setup()
Definition: keystrs.h:116
bool emptyoninit_
Definition: welltied2tmodelmanager.h:66
Depth to time model.
Definition: welld2tmodel.h:34
DataWriter & datawriter_
Definition: welltied2tmodelmanager.h:65
void setWD(Well::Data *wd)
Definition: welltied2tmodelmanager.h:48
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: welltiesetup.h:29
Definition: uistring.h:89
Definition: welltiecshot.h:21
uiString errmsg_
Definition: welltied2tmodelmanager.h:63
Well::D2TModel * prvd2t_
Definition: welltied2tmodelmanager.h:60
Well::Data * wd_
Definition: welltied2tmodelmanager.h:57
uiString errMsg() const
Definition: welltied2tmodelmanager.h:53
Definition: directionalsurvey.h:19
Definition: repos.h:25
BufferString errmsg_
Definition: horizontracker.h:119
Definition: welltiedata.h:183
Well::D2TModel * orgd2t_
Definition: welltied2tmodelmanager.h:61
The holder of all data concerning a certain well.
Definition: welldata.h:113

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