OpendTect-6_4  6.4
uihorsavefieldgrp.h
Go to the documentation of this file.
1 #ifndef uihorsavefieldgrp_h
2 #define uihorsavefieldgrp_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Y. Liu
9  Date: Nov 2009
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "uiearthmodelmod.h"
17 #include "uigroup.h"
18 
19 namespace EM { class Horizon; class SurfaceIODataSelection; }
20 
21 class uiCheckBox;
22 class uiGenInput;
23 class uiIOObjSel;
24 class uiPosSubSel;
25 
31 mExpClass(uiEarthModel) uiHorSaveFieldGrp : public uiGroup
33 public:
35  bool is2d=false);
37  bool is2d, bool wthsubsel);
39 
40  void setSaveFieldName(const char*);
41  bool displayNewHorizon() const;
42  bool overwriteHorizon() const;
43  void allowOverWrite(bool);
44  EM::Horizon* getNewHorizon() const { return newhorizon_; }
45 
46  EM::Horizon* readHorizon(const MultiID&);
47  bool saveHorizon();
48 
49  void setHorRange(const Interval<int>& newinlrg,
50  const Interval<int>& newcrlrg);
51  void setFullSurveyArray(bool yn);
52  bool needsFullSurveyArray() const;
53  bool acceptOK(CallBacker*);
54 
55 protected:
56 
61 
65  bool is2d_;
66 
67  EM::SurfaceIODataSelection getSelection(bool) const;
68  bool createNewHorizon();
69  void saveCB(CallBacker*);
70  void expandToFullSurveyArray();
71  void init(bool);
72 };
73 
74 
75 #endif
Definition: uigroup.h:54
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Group to capture a user&#39;s position subselection wishes.
Definition: uipossubsel.h:33
bool init()
EM::Horizon * newhorizon_
Definition: uihorsavefieldgrp.h:63
Definition: uiparent.h:26
EM::Horizon * horizon_
Definition: uihorsavefieldgrp.h:62
save or overwrite horizon field set up. It will create new horizon based on given horizon...
Definition: uihorsavefieldgrp.h:31
uiCheckBox * addnewfld_
Definition: uihorsavefieldgrp.h:58
uiIOObjSel * outputfld_
Definition: uihorsavefieldgrp.h:59
uiGenInput * savefld_
Definition: uihorsavefieldgrp.h:57
General Input Element.
Definition: uigeninput.h:58
FixedString Horizon()
Definition: keystrs.h:72
EM::Horizon * getNewHorizon() const
Definition: uihorsavefieldgrp.h:44
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
uiPosSubSel * rgfld_
Definition: uihorsavefieldgrp.h:60
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
bool is2d_
Definition: uihorsavefieldgrp.h:65
bool usefullsurvey_
Definition: uihorsavefieldgrp.h:64
Surface I/O data selection.
Definition: emsurfaceiodata.h:62
Definition: uibutton.h:134
Compound key consisting of ints.
Definition: multiid.h:25
Horizon Surface.
Definition: emhorizon.h:47

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