OpendTect-6_4  6.4
uiimphorizon.h
Go to the documentation of this file.
1 #ifndef uiimphorizon_h
2 #define uiimphorizon_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: June 2002
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiearthmodelmod.h"
16 #include "uidialog.h"
17 
18 class Array2DInterpol;
19 class BinIDValueSet;
20 class BufferStringSet;
21 class CtxtIOObj;
22 class HorizonScanner;
23 
24 class uiCheckBox;
25 class uiColorInput;
26 class uiFileInput;
27 class uiGenInput;
28 class uiIOObjSel;
29 class uiListBox;
30 class uiPosSubSel;
31 class uiPushButton;
32 class uiScaler;
33 class uiStratLevelSel;
34 class uiTableImpDataSel;
35 namespace Table { class FormatDesc; }
36 namespace EM { class Horizon3D; }
37 
40 mExpClass(uiEarthModel) uiImportHorizon : public uiDialog
42 public:
43  static void initClass();
45  ~uiImportHorizon();
46 
47  bool doDisplay() const;
48  MultiID getSelID() const;
49 
51 
52 protected:
53 
66 
67  virtual bool acceptOK(CallBacker*);
68  void descChg(CallBacker*);
69  void inputChgd(CallBacker*);
70  void addAttribCB(CallBacker*);
71  void rmAttribCB(CallBacker*);
72  void clearListCB(CallBacker*);
73  void scanPush(CallBacker*);
74  void fillUdfSel(CallBacker*);
75  void stratLvlChg(CallBacker*);
76  void interpolSettingsCB(CallBacker*);
77 
78  bool getFileNames(BufferStringSet&) const;
79  bool checkInpFlds();
80  bool doScan();
81  bool doImport();
82  bool fillUdfs(ObjectSet<BinIDValueSet>&);
83  EM::Horizon3D* createHor() const;
84  EM::Horizon3D* loadHor();
85 
89  bool isgeom_;
90 
91 private:
92  uiString goOnMsg();
93 };
94 
95 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
CtxtIOObj & ctio_
Definition: uiimphorizon.h:86
Base class for two dimensional array interpolators.
Definition: array2dinterpol.h:34
is the base class for all buttons.
Definition: uibutton.h:83
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Group to capture a user&#39;s position subselection wishes.
Definition: uipossubsel.h:33
uiTableImpDataSel * dataselfld_
Definition: uiimphorizon.h:61
uiListBox * attrlistfld_
Definition: uiimphorizon.h:56
Selector for stratigraphic levels.
Definition: uistratlvlsel.h:24
uiGenInput * filludffld_
Definition: uiimphorizon.h:58
A file-name input.
Definition: uifileinput.h:34
Table::FormatDesc & fd_
Definition: uiimphorizon.h:87
Definition: uiscaler.h:24
description of input our output data content
Definition: tabledef.h:220
Definition: uistring.h:89
Definition: uiparent.h:26
uiFileInput * inpfld_
Definition: uiimphorizon.h:54
Set of BufferString objects.
Definition: bufstringset.h:28
uiPushButton * scanbut_
Definition: uiimphorizon.h:55
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
Definition: uidialog.h:42
Executor to scan horizons.
Definition: horizonscanner.h:29
List Box.
Definition: uilistbox.h:75
uiPushButton * interpolparbut_
Definition: uiimphorizon.h:59
Definition: geom2dascio.h:21
uiCheckBox * displayfld_
Definition: uiimphorizon.h:65
Dialog for Horizon Import.
Definition: uiimphorizon.h:40
uiColorInput * colbut_
Definition: uiimphorizon.h:62
General Input Element.
Definition: uigeninput.h:58
uiIOObjSel * outputfld_
Definition: uiimphorizon.h:64
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
Notifier< uiImportHorizon > importReady
Definition: uiimphorizon.h:50
small element for color selection. Has no text label.
Definition: uicolor.h:44
uiStratLevelSel * stratlvlfld_
Definition: uiimphorizon.h:63
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
Table-based data import selection.
Definition: uitblimpexpdatasel.h:38
uiPosSubSel * subselfld_
Definition: uiimphorizon.h:57
Array2DInterpol * interpol_
Definition: uiimphorizon.h:60
3D Horizon. A Horizon is made up of one or more grids (so they can overlap at faults). The grids are defined by knot-points in a matrix and fillstyle in between the knots.
Definition: emhorizon3d.h:96
Definition: uibutton.h:134
bool isgeom_
Definition: uiimphorizon.h:89
HorizonScanner * scanner_
Definition: uiimphorizon.h:88
Compound key consisting of ints.
Definition: multiid.h:25
static void initClass()

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