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

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