OpendTect-6_4  6.4
uiimpfault.h
Go to the documentation of this file.
1 #ifndef uiimpfault_h
2 #define uiimpfault_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: May 2002
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiearthmodelmod.h"
16 #include "uidialog.h"
17 
18 class CtxtIOObj;
19 class od_istream;
20 class uiFileInput;
21 class uiGenInput;
22 class uiIOObjSel;
23 class uiTableImpDataSel;
24 
25 namespace EM { class Fault3D; class Fault; }
26 namespace Table { class FormatDesc; }
27 
30 mExpClass(uiEarthModel) uiImportFault : public uiDialog
32 public:
33  ~uiImportFault();
34  MultiID getSelID() const;
35 
37 
38 protected:
39  uiImportFault(uiParent*,const char*,bool is2d=false);
40 
41  void createUI();
42  void inputChgd(CallBacker*);
43  void typeSel(CallBacker*);
44  void stickSel(CallBacker*);
45  bool checkInpFlds();
46  bool handleAscii();
47  bool handleLMKAscii();
48  virtual bool acceptOK(CallBacker*) { return false; }
49  virtual bool getFromAscIO(od_istream&,EM::Fault&);
50  EM::Fault* createFault() const;
51 
62  bool isfss_;
63  const char* type_;
64  bool is2d_;
65 
66  static const char* sKeyAutoStickSel();
67  static const char* sKeyInlCrlSep();
68  static const char* sKeySlopeThres();
69  static const char* sKeyGeometric();
70  static const char* sKeyIndexed();
71  static const char* sKeyFileOrder();
72 };
73 
74 
75 /*Brief Dialog for 3D Fault*/
76 mExpClass(uiEarthModel) uiImportFault3D : public uiImportFault
77 {
78 public:
79  uiImportFault3D(uiParent*,const char* type);
80 protected:
81  bool acceptOK(CallBacker*);
82 };
83 
84 
85 /*Brief Dialog for 2D FaultStickSet*/
86 
88 {
89 public:
90  uiImportFaultStickSet2D(uiParent*,const char* type);
91 
92 protected:
93 
94  bool acceptOK(CallBacker*);
95  bool getFromAscIO(od_istream&,EM::Fault&);
96 
97 };
98 
99 
100 #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
Fault Surface base class.
Definition: emfault.h:84
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
CtxtIOObj & ctio_
Definition: uiimpfault.h:59
uiFileInput * infld_
Definition: uiimpfault.h:52
A file-name input.
Definition: uifileinput.h:34
uiGenInput * sortsticksfld_
Definition: uiimpfault.h:56
Notifier< uiImportFault > importReady
Definition: uiimpfault.h:36
uiGenInput * typefld_
Definition: uiimpfault.h:54
description of input our output data content
Definition: tabledef.h:220
Definition: uiparent.h:26
virtual bool acceptOK(CallBacker *)
confirm accept
Definition: uiimpfault.h:48
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
Definition: uidialog.h:42
OD class for stream read.
Definition: od_istream.h:24
Dialog for fault import.
Definition: uiimpfault.h:30
bool is2d_
Definition: uiimpfault.h:64
uiGenInput * thresholdfld_
Definition: uiimpfault.h:58
Definition: geom2dascio.h:21
General Input Element.
Definition: uigeninput.h:58
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
const char * type_
Definition: uiimpfault.h:63
uiFileInput * formatfld_
Definition: uiimpfault.h:53
uiIOObjSel * outfld_
Definition: uiimpfault.h:55
FixedString Fault()
Definition: keystrs.h:65
Table::FormatDesc * fd_
Definition: uiimpfault.h:60
Definition: uiimpfault.h:87
Definition: uiimpfault.h:76
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
Table-based data import selection.
Definition: uitblimpexpdatasel.h:38
uiGenInput * stickselfld_
Definition: uiimpfault.h:57
uiTableImpDataSel * dataselfld_
Definition: uiimpfault.h:61
bool isfss_
Definition: uiimpfault.h:62
Compound key consisting of ints.
Definition: multiid.h:25

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