OpendTect-6_4  6.4
prestackmute.h
Go to the documentation of this file.
1 #ifndef prestackmute_h
2 #define prestackmute_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert Bril
9  Date: Nov 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "prestackprocessingmod.h"
17 #include "prestackprocessor.h"
18 #include "multiid.h"
19 
20 class Muter;
21 
22 namespace PreStack
23 {
24 
25 class MuteDef;
26 
31 mExpClass(PreStackProcessing) Mute : public Processor
33 public:
35  Processor, Mute,
36  "Mute", toUiString(sFactoryKeyword()))
37 
38  Mute();
39  ~Mute();
40 
41  bool prepareWork();
42 
43  uiString errMsg() const { return errmsg_; }
44 
45  static const char* sTaperLength() { return "Taper Length";}
46  static const char* sTailMute() { return "Tail Mute";}
47  static const char* sMuteDef() { return "Mute Definition";}
48 
49  const MultiID& muteDefID() const { return id_; }
50  const MuteDef& muteDef() const { return def_; }
51  MuteDef& muteDef() { return def_; }
52  bool isTailMute() const { return tail_; }
53  float taperLength() const { return taperlen_; }
54  bool setMuteDefID(const MultiID&);
55  void setEmptyMute();
56  void setTailMute(bool yn=true);
57  void setTaperLength(float);
58 
59  void fillPar(IOPar&) const;
60  bool usePar(const IOPar&);
61  bool mustHaveUserInput() { return false; }
62 
63 protected:
64 
69 
70  od_int64 nrIterations() const { return outidx_.size(); }
71  bool doWork(od_int64,od_int64,int);
72 
73  bool tail_;
74  float taperlen_;
75 
78 };
79 
80 } // namespace PreStack
81 
82 #endif
#define mExpClass(module)
Definition: commondefs.h:160
od_int64 nrIterations() const
Definition: prestackmute.h:70
static const char * sTaperLength()
Definition: prestackmute.h:45
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Export_Basic uiString toUiString(ViewStyle)
TypeSet< int > outidx_
Definition: prestackmute.h:76
Processes PreStack data at one cdp location. The algorithm is implemented in subclasses, and can be created by the PreStack::PF() factory.
Definition: prestackprocessor.h:36
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
#define od_int64
Definition: plftypes.h:36
const MultiID & muteDefID() const
Definition: prestackmute.h:49
Definition: synthseis.h:36
Processor for PreStack muting.
Definition: prestackmute.h:31
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
Definition: uistring.h:89
NamedObject for definition of a mute function.
Definition: prestackmutedef.h:32
static const char * sTailMute()
Definition: prestackmute.h:46
bool tail_
Definition: prestackmute.h:73
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
MuteDef & def_
Definition: prestackmute.h:65
MultiID id_
Definition: prestackmute.h:67
MuteDef & muteDef()
Definition: prestackmute.h:51
uiString errmsg_
Definition: prestackmute.h:68
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
float taperLength() const
Definition: prestackmute.h:53
float taperlen_
Definition: prestackmute.h:74
Muter * muter_
Definition: prestackmute.h:66
BufferString errmsg_
Definition: horizontracker.h:119
const MuteDef & muteDef() const
Definition: prestackmute.h:50
static const char * sMuteDef()
Definition: prestackmute.h:47
bool mustHaveUserInput()
Definition: prestackmute.h:61
TypeSet< int > offsets_
Definition: prestackmute.h:77
bool isTailMute() const
Definition: prestackmute.h:52
uiString errMsg() const
Definition: prestackmute.h:43
Compound key consisting of ints.
Definition: multiid.h:25
Sets start or end part of a float series to 0.
Definition: muter.h:29

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