OpendTect-6_4  6.4
uichangesurfacedlg.h
Go to the documentation of this file.
1 #ifndef uichangesurfacedlg_h
2 #define uichangesurfacedlg_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: N. Hemstra
9  Date: June 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "uiearthmodelmod.h"
17 #include "uidialog.h"
18 
19 namespace EM { class Horizon; }
20 
21 class uiHorSaveFieldGrp;
22 class Executor;
23 class uiGenInput;
24 class uiIOObjSel;
25 template <class T> class Array2D;
26 
29 mExpClass(uiEarthModel) uiChangeHorizonDlg : public uiDialog
31 public:
33  bool is2d,const uiString&);
35  uiHorSaveFieldGrp* saveFldGrp() const { return savefldgrp_; }
37 
38 protected:
39 
43 
45  bool is2d_;
46 
47  bool acceptOK(CallBacker*);
48  bool readHorizon();
49  bool doProcessing();
50  bool doProcessing2D();
51  bool doProcessing3D();
52 
53  void attachPars();
54  virtual const char* infoMsg(const Executor*) const { return 0; }
55  virtual Executor* getWorker(Array2D<float>&,
56  const StepInterval<int>&,
57  const StepInterval<int>&) = 0;
58  virtual bool fillUdfsOnly() const { return false;}
59  virtual bool needsFullSurveyArray() const { return false;}
60  virtual const char* undoText() const { return 0; }
61 
62 public:
63  //Notifier<uiChangeHorizonDlg>* horReadyFroDisplay();
64 };
65 
66 
67 
68 
69 class uiStepOutSel;
70 
73 public:
75 
76 protected:
77 
80 
81  Executor* getWorker(Array2D<float>&,
82  const StepInterval<int>&,
83  const StepInterval<int>&);
84  virtual const char* undoText() const { return "filtering"; }
85 
86 };
87 
88 
89 #endif
Definition: uigroup.h:54
#define mExpClass(module)
Definition: commondefs.h:160
uiGenInput * medianfld_
Definition: uichangesurfacedlg.h:72
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
uiIOObjSel * inputfld_
Definition: uichangesurfacedlg.h:41
Notifier< uiChangeHorizonDlg > horReadyForDisplay
Definition: uichangesurfacedlg.h:36
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: uichangesurfacedlg.h:71
Definition: uistring.h:89
Definition: uiparent.h:26
allows selection of stepouts.
Definition: uistepoutsel.h:29
uiStepOutSel * stepoutfld_
Definition: uichangesurfacedlg.h:79
Definition: uidialog.h:42
bool is2d_
Definition: uichangesurfacedlg.h:45
virtual bool fillUdfsOnly() const
Definition: uichangesurfacedlg.h:58
uiHorSaveFieldGrp * saveFldGrp() const
Definition: uichangesurfacedlg.h:35
save or overwrite horizon field set up. It will create new horizon based on given horizon...
Definition: uihorsavefieldgrp.h:31
virtual const char * undoText() const
Definition: uichangesurfacedlg.h:60
Array2D ( Subclass of ArrayND ) is a two dimensional array.
Definition: arraynd.h:131
General Input Element.
Definition: uigeninput.h:58
FixedString Horizon()
Definition: keystrs.h:72
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
uiHorSaveFieldGrp * savefldgrp_
Definition: uichangesurfacedlg.h:40
uiGroup * parsgrp_
Definition: uichangesurfacedlg.h:42
Base class for surface changers. At the moment only does horizons.
Definition: uichangesurfacedlg.h:29
EM::Horizon * horizon_
Definition: uichangesurfacedlg.h:44
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
virtual const char * undoText() const
Definition: uichangesurfacedlg.h:84
virtual bool needsFullSurveyArray() const
Definition: uichangesurfacedlg.h:59
Horizon Surface.
Definition: emhorizon.h:47
virtual const char * infoMsg(const Executor *) const
Definition: uichangesurfacedlg.h:54
Specification to enable chunkwise execution of a process.
Definition: executor.h:39

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