OpendTect  6.3
uiimpfault.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: May 2002
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiearthmodelmod.h"
14 #include "uidialog.h"
15 #include "od_iosfwd.h"
16 
17 class CtxtIOObj;
18 class uiFileInput;
19 class uiGenInput;
20 class uiIOObjSel;
21 class uiTableImpDataSel;
22 
23 namespace EM { class Fault3D; class Fault; }
24 namespace Table { class FormatDesc; }
25 
28 mExpClass(uiEarthModel) uiImportFault : public uiDialog
30 public:
31  ~uiImportFault();
32  DBKey getSelID() const;
33 
35 
36 protected:
37  uiImportFault(uiParent*,const char*,bool is2d=false);
38 
39  void createUI();
40  void inputChgd(CallBacker*);
41  void typeSel(CallBacker*);
42  void stickSel(CallBacker*);
43  bool checkInpFlds();
44  bool handleAscii();
45  bool handleLMKAscii();
46  virtual bool acceptOK() { return false; }
47  virtual bool getFromAscIO(od_istream&,EM::Fault&);
48  EM::Fault* createFault() const;
49 
60  bool isfss_;
61  const char* type_;
62  bool is2d_;
63 
64  static const char* sKeyAutoStickSel();
65  static const char* sKeyInlCrlSep();
66  static const char* sKeySlopeThres();
67  static const char* sKeyGeometric();
68  static const char* sKeyIndexed();
69  static const char* sKeyFileOrder();
70 };
71 
72 
73 /*Brief Dialog for 3D Fault*/
74 mExpClass(uiEarthModel) uiImportFault3D : public uiImportFault
75 {
76 public:
77  uiImportFault3D(uiParent*,const char* type);
78 protected:
79  bool acceptOK();
80 };
81 
82 
83 /*Brief Dialog for 2D FaultStickSet*/
84 
86 {
87 public:
88  uiImportFaultStickSet2D(uiParent*,const char* type);
89 
90 protected:
91 
92  bool acceptOK();
93  bool getFromAscIO(od_istream&,EM::Fault&);
94 
95 };
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
Fault Surface base class.
Definition: emfault.h:82
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
CtxtIOObj & ctio_
Definition: uiimpfault.h:57
uiFileInput * infld_
Definition: uiimpfault.h:50
A file-name input.
Definition: uifileinput.h:32
uiGenInput * sortsticksfld_
Definition: uiimpfault.h:54
Notifier< uiImportFault > importReady
Definition: uiimpfault.h:34
uiGenInput * typefld_
Definition: uiimpfault.h:52
description of input our output data content
Definition: tabledef.h:215
Definition: uiparent.h:24
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:24
virtual bool acceptOK()
confirm accept
Definition: uiimpfault.h:46
Definition: uidialog.h:40
OD class for stream read.
Definition: od_istream.h:23
Dialog for fault import.
Definition: uiimpfault.h:28
bool is2d_
Definition: uiimpfault.h:62
uiGenInput * thresholdfld_
Definition: uiimpfault.h:56
Definition: geom2dascio.h:18
General Input Element.
Definition: uigeninput.h:56
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:36
const char * type_
Definition: uiimpfault.h:61
uiFileInput * formatfld_
Definition: uiimpfault.h:51
uiIOObjSel * outfld_
Definition: uiimpfault.h:53
FixedString Fault()
Definition: keystrs.h:64
Table::FormatDesc * fd_
Definition: uiimpfault.h:58
Definition: uiimpfault.h:85
Definition: uiimpfault.h:74
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:23
Table-based data import selection.
Definition: uitblimpexpdatasel.h:36
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
uiGenInput * stickselfld_
Definition: uiimpfault.h:55
uiTableImpDataSel * dataselfld_
Definition: uiimpfault.h:59
bool isfss_
Definition: uiimpfault.h:60

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