OpendTect-6_4  6.4
prestackagc.h
Go to the documentation of this file.
1 #ifndef prestackagc_h
2 #define prestackagc_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: April 2005
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "prestackprocessingmod.h"
17 #include "prestackprocessor.h"
18 #include "ranges.h"
19 
20 namespace PreStack
21 {
22 
27 mExpClass(PreStackProcessing) AGC : public Processor
29 public:
31  Processor, AGC, "AGC",
32  toUiString(sFactoryKeyword()))
33 
34  AGC();
35  bool prepareWork();
36 
37  void setWindow(const Interval<float>&);
38  const Interval<float>& getWindow() const;
39  void getWindowUnit(BufferString&,
40  bool withparens) const;
41 
42  void setLowEnergyMute(float fraction);
43  float getLowEnergyMute() const;
44 
45  void fillPar(IOPar&) const;
46  bool usePar(const IOPar&);
47 
48  static const char* sKeyWindow();
49  static const char* sKeyMuteFraction();
50 
51 protected:
52  bool doWork(od_int64,od_int64,int);
53  od_int64 totalNr() const { return totalnr_; }
54 
58  int totalnr_;
59 };
60 
61 } // namespace PreStack
62 
63 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Processor for PreStack AGC.
Definition: prestackagc.h:27
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Export_Basic uiString toUiString(ViewStyle)
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
Definition: synthseis.h:36
Interval< float > window_
Definition: prestackagc.h:55
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
int totalnr_
Definition: prestackagc.h:58
float mutefraction_
Definition: prestackagc.h:57
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Interval< int > samplewindow_
Definition: prestackagc.h:56
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
od_int64 totalNr() const
Definition: prestackagc.h:53

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