OpendTect-6_4  6.4
uiseistransf.h
Go to the documentation of this file.
1 #ifndef uiseistransf_h
2 #define uiseistransf_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: A.H. Bril
8  Date: June 2002
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiseismod.h"
15 #include "uigroup.h"
16 #include "seisioobjinfo.h"
17 #include "seisselection.h"
18 
19 class IOObj;
20 class Scaler;
21 class Executor;
22 class uiScaler;
23 class uiGenInput;
24 class uiSeisSubSel;
25 class SeisResampler;
26 class uiSeis2DSubSel;
27 class uiSeis3DSubSel;
28 namespace Seis { class SelData; }
29 
30 
33 public:
34 
35  mExpClass(uiSeis) Setup : public Seis::SelSetup
36  {
37  public:
39  : Seis::SelSetup(gt)
40  , withnullfill_(false) {}
42  Setup( const Seis::SelSetup& sss )
43  : Seis::SelSetup(sss)
44  , withnullfill_(false) {}
45  Setup( bool _is2d, bool _isps )
46  : Seis::SelSetup(_is2d,_isps)
47  , withnullfill_(false) {}
48 
49  mDefSetupMemb(bool,withnullfill)
50  };
51 
52  uiSeisTransfer(uiParent*,const Setup&);
53  void updateFrom(const IOObj&);
54 
55  Executor* getTrcProc(const IOObj& from,const IOObj& to,
56  const char* executor_txt,
57  const uiString& work_txt,
58  const char* linenm2d_overrule=0) const;
59 
64 
65  uiSeis2DSubSel* selFld2D();
66  uiSeis3DSubSel* selFld3D();
67 
68  void setSteering(bool);
69  void setInput(const IOObj&);
70  Seis::SelData* getSelData() const;
71  SeisResampler* getResampler() const;
72 
73  Scaler* getScaler() const;
74  bool removeNull() const;
75  bool extendTrcsToSI() const;
76  bool fillNull() const;
77  int nullTrcPolicy() const
78  { return removeNull() ? 0 : (fillNull() ? 2 : 1); }
79 
80  void fillPar(IOPar&) const;
81  static const char* sKeyNullTrcPol() { return "Null trace policy"; }
82 
83  SeisIOObjInfo::SpaceInfo spaceInfo(int bps=4) const;
84 
85 protected:
86 
88  bool issteer_;
89 
90  void updSteer(CallBacker*);
91 public:
92  void showSubselFld(bool showselfld);
93 };
94 
95 
96 #endif
Definition: uigroup.h:54
#define mExpClass(module)
Definition: commondefs.h:160
Summary for a Seismic object.
Definition: segydirectdef.h:23
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
int nullTrcPolicy() const
Definition: uiseistransf.h:77
Definition: ioobj.h:58
T to(const F &fr)
Definition: convert.h:33
uiGenInput * trcgrowfld_
Definition: uiseistransf.h:63
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: uiseissubsel.h:90
setup for subselection of seismic data
Definition: seisselection.h:29
Setup(bool _is2d, bool _isps)
Definition: uiseistransf.h:45
Definition: uiscaler.h:24
Setup setup_
Definition: uiseistransf.h:87
static const char * sKeyNullTrcPol()
Definition: uiseistransf.h:81
Setup(Seis::GeomType gt)
'add null traces' (3D)
Definition: uiseistransf.h:38
Definition: uistring.h:89
Definition: uiparent.h:26
Definition: uiseistransf.h:31
uiGenInput * remnullfld
Definition: uiseistransf.h:62
GeomType
Definition: seistype.h:33
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Definition: uiseistransf.h:35
Setup(const Seis::SelSetup &sss)
Definition: uiseistransf.h:42
General Input Element.
Definition: uigeninput.h:58
Definition: uiseissubsel.h:39
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
Scaling of floating point numbers.
Definition: scaler.h:33
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
contains input (sub-)selection data from a cube or lineset
Definition: seisselection.h:82
will sub-sample in inl and crl, and re-sample in Z
Definition: seisresampler.h:29
Definition: uiseissubsel.h:78
bool issteer_
Definition: uiseistransf.h:88
uiSeisSubSel * selfld
Definition: uiseistransf.h:60
uiScaler * scalefld_
Definition: uiseistransf.h:61
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