OpendTect  6.3
prestackagc.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: K. Tingdahl
8  Date: April 2005
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "prestackprocessingmod.h"
15 #include "prestackprocessor.h"
16 #include "ranges.h"
17 
18 namespace PreStack
19 {
20 
25 mExpClass(PreStackProcessing) AGC : public Processor
27 public:
29  Processor, AGC, "AGC",
30  toUiString(sFactoryKeyword()))
31 
32  AGC();
33  bool prepareWork();
34 
35  void setWindow(const Interval<float>&);
36  const Interval<float>& getWindow() const;
37  void getWindowUnit(uiString&,
38  bool withparens) const;
39 
40  void setLowEnergyMute(float fraction);
41  float getLowEnergyMute() const;
42 
43  void fillPar(IOPar&) const;
44  bool usePar(const IOPar&);
45 
46  static const char* sKeyWindow();
47  static const char* sKeyMuteFraction();
48 
49 protected:
50  bool doWork(od_int64,od_int64,int);
51  od_int64 totalNr() const { return totalnr_; }
52 
56  int totalnr_;
57 };
58 
59 } // namespace PreStack
#define mExpClass(module)
Definition: commondefs.h:157
Processor for PreStack AGC.
Definition: prestackagc.h:25
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
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:34
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
#define od_int64
Definition: plftypes.h:34
Definition: prestackagc.h:18
Interval< float > window_
Definition: prestackagc.h:53
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:287
int totalnr_
Definition: prestackagc.h:56
Definition: uistring.h:88
float mutefraction_
Definition: prestackagc.h:55
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
Interval< int > samplewindow_
Definition: prestackagc.h:54
uiString toUiString(const DBKey &ky)
Definition: dbkey.h:117
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
od_int64 totalNr() const
Definition: prestackagc.h:51

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