OpendTect-6_4  6.4
uiwellpartserv.h
Go to the documentation of this file.
1 #ifndef uiwellpartserv_h
2 #define uiwellpartserv_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: August 2003
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiwellmod.h"
16 #include "uiapplserv.h"
17 #include "bufstringset.h"
18 #include "uistring.h"
19 
20 namespace Well { class Data; class LogDisplayParSet; }
21 
23 class uiBulkLogImport;
24 class uiBulkMarkerImport;
25 class uiBulkTrackImport;
26 class uiD2TMLogSelDlg;
27 class uiD2TModelGen;
30 class uiWellDispPropDlg;
31 class uiWellImportAsc;
32 class uiWellMan;
33 
41 public:
44 
45  const char* name() const { return "Wells"; }
46 
47  // Services
48  void importTrack();
49  void importLogs();
50  void importMarkers();
51  void bulkImportTrack();
52  void bulkImportLogs();
53  void bulkImportMarkers();
54  void bulkImportD2TModel();
55 
56  void manageWells();
57  void launchRockPhysics();
58  bool selectWells(TypeSet<MultiID>&);
59 
60  bool hasLogs(const MultiID&) const;
61  void getLogNames(const MultiID&,
62  BufferStringSet&) const;
63 
64  bool editDisplayProperties(const MultiID&);
65  void displayIn2DViewer(const MultiID&);
66 
67  bool dispLineOnCreation(){ return disponcreation_; }
68  const char* getRandLineMultiID() { return multiid_; }
69  void selectWellCoordsForRdmLine();
70  void getRdmLineCoordinates(TypeSet<Coord>&);
71  void sendPreviewEvent();
72  void closePropDlg(const MultiID&);
75  void setPreviewIds( const TypeSet<int>& ids )
76  { previewids_ = ids; }
77  TypeSet<int>& getPreviewIds() { return previewids_; }
78 
79  void createSimpleWells() { simpImp(0); }
80  const BufferStringSet& createdWellIDs() { return crwellids_; }
81 
82  void doLogTools();
83 
84  void createWellFromPicks();
85  const char* askWellName();
86  bool setupNewWell(BufferString&,Color&);
87  bool storeWell(const TypeSet<Coord3>&,const char* nm,
88  MultiID&,bool addwellhead=false);
89 
90  static int evPreviewRdmLine();
91  static int evCleanPreview();
92  static int evDisplayWell();
93 
94 protected:
95 
99  uiD2TModelGen* uid2tmgen_;
100  uiD2TMLogSelDlg* uid2tmlogseldlg_;
108 
109  BufferStringSet crwellids_; // for uiSimpleMultiWellCreate
110 
112  const char* multiid_;
114 
115  void importReadyCB(CallBacker*);
116  void rdmlnDlgDeleted(CallBacker*);
117  void rdmlnDlgClosed(CallBacker*);
118  void wellPropDlgClosed(CallBacker*);
119  void saveWellDispProps(const Well::Data*);
120  void saveWellDispProps(const Well::Data&,
121  const MultiID&);
122  void applyAll(CallBacker*);
123  void simpImp(CallBacker*);
124  void simpleImpDlgClosed(CallBacker*);
125  void survChangedCB(CallBacker*);
126  int getPropDlgIndex(const MultiID&);
127 
128 };
129 
130 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Well display properties dialog box.
Definition: uiwelldisppropdlg.h:28
TypeSet< int > & getPreviewIds()
Definition: uiwellpartserv.h:77
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
uiWell2RandomLineDlg * rdmlinedlg_
Definition: uiwellpartserv.h:97
const char * name() const
Definition: uiwellpartserv.h:45
uiD2TModelGen * uid2tmgen_
Definition: uiwellpartserv.h:99
Notifier< uiWellPartServer > uiwellpropDlgClosed
Definition: uiwellpartserv.h:74
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiBulkTrackImport * impbulktrackdlg_
Definition: uiwellpartserv.h:102
void createSimpleWells()
Definition: uiwellpartserv.h:79
Definition: uibulkwellimp.h:84
uiSimpleMultiWellCreate * impsimpledlg_
Definition: uiwellpartserv.h:101
const char * multiid_
Definition: uiwellpartserv.h:112
BufferStringSet crwellids_
Definition: uiwellpartserv.h:109
const char * getRandLineMultiID()
Definition: uiwellpartserv.h:68
Definition: uibulkwellimp.h:47
Set of BufferString objects.
Definition: bufstringset.h:28
bool allapplied_
Definition: uiwellpartserv.h:113
Definition: uisimplemultiwell.h:21
void importLogs(CallBacker *)
Part Server for Wells.
Definition: uiwellpartserv.h:39
Notifier< uiWellPartServer > randLineDlgClosed
Definition: uiwellpartserv.h:73
uiD2TMLogSelDlg * uid2tmlogseldlg_
Definition: uiwellpartserv.h:100
uiBulkMarkerImport * impbulkmrkrdlg_
Definition: uiwellpartserv.h:104
Definition: uiwellman.h:27
Definition: directionalsurvey.h:19
Dialog for well import from Ascii.
Definition: uiwellimpasc.h:34
uiBulkLogImport * impbulklogdlg_
Definition: uiwellpartserv.h:103
TypeSet< int > previewids_
Definition: uiwellpartserv.h:107
Definition: repos.h:25
uiBulkD2TModelImport * impbulkd2tdlg_
Definition: uiwellpartserv.h:105
: setup a dialog where the user can select throught which wells (s)he wants to make a random line pat...
Definition: uiwellrdmlinedlg.h:83
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
bool disponcreation_
Definition: uiwellpartserv.h:111
Definition: uibulkwellimp.h:66
Services from application level to &#39;Part servers&#39;.
Definition: uiapplserv.h:24
bool dispLineOnCreation()
Definition: uiwellpartserv.h:67
Definition: uibulkwellimp.h:25
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
Makes available certain services that are needed on a higher level.
Definition: uiapplserv.h:48
The holder of all data concerning a certain well.
Definition: welldata.h:113
const BufferStringSet & createdWellIDs()
Definition: uiwellpartserv.h:80
void setPreviewIds(const TypeSet< int > &ids)
Definition: uiwellpartserv.h:75
uiWellImportAsc * uiwellimpdlg_
Definition: uiwellpartserv.h:96
uiWellMan * manwelldlg_
Definition: uiwellpartserv.h:106
Compound key consisting of ints.
Definition: multiid.h:25
ObjectSet< uiWellDispPropDlg > wellpropdlgs_
Definition: uiwellpartserv.h:98

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