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

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