OpendTect  6.6
uiwellpartserv.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: Nanne Hemstra
8  Date: August 2003
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiwellmod.h"
14 #include "uiapplserv.h"
15 #include "bufstringset.h"
16 #include "uistring.h"
17 
18 namespace Well { class Data; class LogDisplayParSet; }
19 
21 class uiBulkLogImport;
22 class uiBulkMarkerImport;
23 class uiBulkTrackImport;
24 class uiD2TMLogSelDlg;
25 class uiD2TModelGen;
28 class uiWellDispPropDlg;
29 class uiWellImportAsc;
30 class uiWellMan;
31 
39 public:
42 
43  const char* name() const { return "Wells"; }
44 
45  // Services
46  void importTrack();
47  void importLogs();
48  void importMarkers();
54 
57 
58  void manageWells();
61 
62  bool hasLogs(const MultiID&) const;
63  void getLogNames(const MultiID&,
64  BufferStringSet&) const;
65 
66  mDeprecated("Specify color") bool editDisplayProperties(const MultiID&);
67  bool editDisplayProperties(const MultiID&,Color);
68  void displayIn2DViewer(const MultiID&);
69 
70  bool dispLineOnCreation(){ return disponcreation_; }
71  const char* getRandLineMultiID() { return multiid_; }
75  void closePropDlg(const MultiID&);
78  void setPreviewIds( const TypeSet<int>& ids )
79  { previewids_ = ids; }
80  TypeSet<int>& getPreviewIds() { return previewids_; }
81 
82  void createSimpleWells() { simpImp(0); }
83  const BufferStringSet& createdWellIDs() { return crwellids_; }
84 
85  void doLogTools();
86 
88  const char* askWellName();
90  bool storeWell(const TypeSet<Coord3>&,const char* nm,
91  MultiID&,bool addwellhead=false);
92 
93  static int evPreviewRdmLine();
94  static int evCleanPreview();
95  static int evDisplayWell();
96 
97 protected:
98 
102  uiD2TModelGen* uid2tmgen_;
103  uiD2TMLogSelDlg* uid2tmlogseldlg_;
111 
112  BufferStringSet crwellids_; // for uiSimpleMultiWellCreate
113 
115  const char* multiid_;
117 
118  void cleanup();
129  const MultiID&);
137 
138 };
139 
uiWellPartServer::sendPreviewEvent
void sendPreviewEvent()
uiWellPartServer::simpImp
void simpImp(CallBacker *)
uiWellPartServer::storeWell
bool storeWell(const TypeSet< Coord3 > &, const char *nm, MultiID &, bool addwellhead=false)
uiWellPartServer::askWellName
const char * askWellName()
uiWellPartServer::simpleImpDlgClosed
void simpleImpDlgClosed(CallBacker *)
uiWellPartServer::rdmlnDlgClosed
void rdmlnDlgClosed(CallBacker *)
uiWellDispPropDlg
Well display properties dialog box.
Definition: uiwelldisppropdlg.h:32
uiWellPartServer::saveWellDispPropsCB
void saveWellDispPropsCB(CallBacker *)
uiSimpleMultiWellCreate
Definition: uisimplemultiwell.h:21
uiWellPartServer::bulkImportD2TModel
void bulkImportD2TModel()
uiWellPartServer::closePropDlg
void closePropDlg(const MultiID &)
uiWellPartServer::applyTabProps
void applyTabProps(CallBacker *)
uiWellPartServer::mODTextTranslationClass
mODTextTranslationClass(uiWellPartServer)
uiWellPartServer::impbulklogdlg_
uiBulkLogImport * impbulklogdlg_
Definition: uiwellpartserv.h:106
uiWellPartServer::selectWells
bool selectWells(TypeSet< MultiID > &)
uiWellPartServer::manageWells
void manageWells()
uistring.h
Well::Data
The holder of all data concerning a certain well.
Definition: welldata.h:121
uiWellPartServer::getLogNames
void getLogNames(const MultiID &, BufferStringSet &) const
ObjectSet< uiWellDispPropDlg >
uiWellPartServer::wellPropDlgToBeDeleted
void wellPropDlgToBeDeleted(CallBacker *)
uiWellPartServer::name
const char * name() const
Definition: uiwellpartserv.h:43
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
uiWellPartServer::getRdmLineCoordinates
void getRdmLineCoordinates(TypeSet< Coord > &)
uiWellPartServer::impbulkd2tdlg_
uiBulkD2TModelImport * impbulkd2tdlg_
Definition: uiwellpartserv.h:108
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiBulkTrackImport
Definition: uibulkwellimp.h:27
uiWellPartServer::disponcreation_
bool disponcreation_
Definition: uiwellpartserv.h:114
uiWellPartServer::saveWellDispProps
void saveWellDispProps(const Well::Data *)
uiWellPartServer::importMarkers
void importMarkers()
uiWellPartServer::applyAll
void applyAll(CallBacker *)
uiWellPartServer::setPreviewIds
void setPreviewIds(const TypeSet< int > &ids)
Definition: uiwellpartserv.h:78
uiWellPartServer::getPropDlgIndex
int getPropDlgIndex(const MultiID &)
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
uiWellPartServer::uiwellimpdlg_
uiWellImportAsc * uiwellimpdlg_
Definition: uiwellpartserv.h:99
Repos::Data
@ Data
Definition: repos.h:24
uiBulkLogImport
Definition: uibulkwellimp.h:50
uiWellPartServer::doLogTools
void doLogTools()
uiApplPartServer
Makes available certain services that are needed on a higher level.
Definition: uiapplserv.h:48
uiWellPartServer::importTrack
void importTrack()
uiWellPartServer::createdWellIDs
const BufferStringSet & createdWellIDs()
Definition: uiwellpartserv.h:83
uiWellPartServer::selectWellCoordsForRdmLine
void selectWellCoordsForRdmLine()
uiWellPartServer::hasLogs
bool hasLogs(const MultiID &) const
uiWellPartServer::getPreviewIds
TypeSet< int > & getPreviewIds()
Definition: uiwellpartserv.h:80
uiWellPartServer::rdmlinedlg_
uiWell2RandomLineDlg * rdmlinedlg_
Definition: uiwellpartserv.h:100
uiWellPartServer::uid2tmgen_
uiD2TModelGen * uid2tmgen_
Definition: uiwellpartserv.h:102
uiWellPartServer::survChangedCB
void survChangedCB(CallBacker *)
Well
Definition: directionalsurvey.h:20
uiWellPartServer::setupNewWell
bool setupNewWell(BufferString &, Color &)
uiapplserv.h
uiWellPartServer::evPreviewRdmLine
static int evPreviewRdmLine()
uiWellPartServer::uiwellpropDlgClosed
Notifier< uiWellPartServer > uiwellpropDlgClosed
Definition: uiwellpartserv.h:77
Notifier< uiWellPartServer >
uiWellPartServer::importReadyCB
void importReadyCB(CallBacker *)
uiBulkD2TModelImport
Definition: uibulkwellimp.h:89
uiApplService
Services from application level to 'Part servers'.
Definition: uiapplserv.h:24
uiWellPartServer::manwelldlg_
uiWellMan * manwelldlg_
Definition: uiwellpartserv.h:109
uiWellMan
Definition: uiwellman.h:26
uiWellPartServer::wellpropdlgs_
ObjectSet< uiWellDispPropDlg > wellpropdlgs_
Definition: uiwellpartserv.h:101
uiBulkMarkerImport
Definition: uibulkwellimp.h:71
uiWellPartServer::launchRockPhysics
void launchRockPhysics()
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
uiWellPartServer::bulkImportLogs
void bulkImportLogs()
uiWellPartServer::bulkImportDirectional
void bulkImportDirectional()
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
uiWellImportAsc
Dialog for well import from Ascii.
Definition: uiwellimpasc.h:34
uiWellPartServer::exportWellData
void exportWellData()
uiWellPartServer::bulkImportTrack
void bulkImportTrack()
bufstringset.h
uiWellPartServer::multiid_
const char * multiid_
Definition: uiwellpartserv.h:115
uiWellPartServer::mDeprecated
mDeprecated("Specify color") bool editDisplayProperties(const MultiID &)
uiWellPartServer::getRandLineMultiID
const char * getRandLineMultiID()
Definition: uiwellpartserv.h:71
uiWellPartServer::crwellids_
BufferStringSet crwellids_
Definition: uiwellpartserv.h:112
uiWellPartServer::randLineDlgClosed
Notifier< uiWellPartServer > randLineDlgClosed
Definition: uiwellpartserv.h:76
uiWellPartServer::saveAllWellDispProps
void saveAllWellDispProps()
uiWellPartServer::cleanup
void cleanup()
uiWellPartServer::bulkImportMarkers
void bulkImportMarkers()
uiWellPartServer::saveWellDispProps
mDeprecatedDef void saveWellDispProps(const Well::Data &, const MultiID &)
uiWellPartServer::impbulktrackdlg_
uiBulkTrackImport * impbulktrackdlg_
Definition: uiwellpartserv.h:105
uiWellPartServer::evDisplayWell
static int evDisplayWell()
uiWellPartServer::createWellFromPicks
void createWellFromPicks()
uiWellPartServer::uiWellPartServer
uiWellPartServer(uiApplService &)
uiWellPartServer
Part Server for Wells.
Definition: uiwellpartserv.h:38
uiWellPartServer::~uiWellPartServer
~uiWellPartServer()
uiWellPartServer::createSimpleWells
void createSimpleWells()
Definition: uiwellpartserv.h:82
uiWellPartServer::previewids_
TypeSet< int > previewids_
Definition: uiwellpartserv.h:110
uiWellPartServer::evCleanPreview
static int evCleanPreview()
uiWellPartServer::exportLogToLAS
void exportLogToLAS()
mDeprecatedDef
#define mDeprecatedDef
Definition: plfdefs.h:216
uiWellPartServer::impsimpledlg_
uiSimpleMultiWellCreate * impsimpledlg_
Definition: uiwellpartserv.h:104
uiWellPartServer::wellPropDlgClosed
void wellPropDlgClosed(CallBacker *)
uiWellPartServer::impbulkmrkrdlg_
uiBulkMarkerImport * impbulkmrkrdlg_
Definition: uiwellpartserv.h:107
Color
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer,...
Definition: color.h:26
uiWell2RandomLineDlg
: setup a dialog where the user can select throught which wells (s)he wants to make a random line pat...
Definition: uiwellrdmlinedlg.h:83
uiWellPartServer::uid2tmlogseldlg_
uiD2TMLogSelDlg * uid2tmlogseldlg_
Definition: uiwellpartserv.h:103
uiWellPartServer::rdmlnDlgDeleted
void rdmlnDlgDeleted(CallBacker *)
uiWellPartServer::resetAllProps
void resetAllProps(CallBacker *)
uiWellPartServer::allapplied_
bool allapplied_
Definition: uiwellpartserv.h:116
uiWellPartServer::importLogs
void importLogs()
TypeSet< MultiID >

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