OpendTect-6_4  6.4
prestacktrimstatics.h
Go to the documentation of this file.
1 #ifndef prestacktrimstatics_h
2 #define prestacktrimstatics_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 template <class T> class Array1D;
21 
22 namespace PreStack
23 {
24 
25 class MuteDef;
26 
31 mExpClass(PreStackProcessing) TrimStatics : public Processor
33 public:
35  Processor, TrimStatics, "Trim Statics",
36  toUiString(sFactoryKeyword()))
37 
38  TrimStatics();
39  ~TrimStatics();
40 
41  bool prepareWork();
42 
43  uiString errMsg() const { return errmsg_; }
44 
45  mExpClass(PreStackProcessing) Iteration
46  {
47  public:
48  Iteration();
49  bool operator==(const Iteration&) const;
50  bool operator!=(const Iteration&) const;
51 
54  float maxshift_;
55  };
56 
57  void addIteration(const Iteration&);
58  void removeIteration(int);
59  void removeAllIterations();
60 
61  const TypeSet<Iteration>& getIterations() const;
62  TypeSet<Iteration>& getIterations();
63 
64  void setOutput( int op ) { output_ = op; }
65  int getOutput() const { return output_; }
66 
67  void fillPar(IOPar&) const;
68  bool usePar(const IOPar&);
69 
70 protected:
73  int output_;
75 
76  od_int64 nrIterations() const;
77  bool doWork(od_int64,od_int64,int);
78  bool doPilotTraceOutput(od_int64,od_int64);
79  bool doShiftOutput(od_int64,od_int64);
80  bool doTrimStaticsOutput(od_int64,od_int64);
81 };
82 
83 } // namespace PreStack
84 
85 #endif
Array1D ( Subclass of ArrayND ) is a one dimensional array.
Definition: arraynd.h:101
#define mExpClass(module)
Definition: commondefs.h:160
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
#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
ObjectSet< Array1D< float > > pilottrcs_
Definition: prestacktrimstatics.h:74
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
Definition: uistring.h:89
float maxshift_
Definition: prestacktrimstatics.h:54
Set of pointers to objects.
Definition: commontypes.h:32
Interval< float > ptoffsetrg_
Definition: prestacktrimstatics.h:52
Set of (small) copyable elements.
Definition: commontypes.h:30
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
TypeSet< Iteration > iterations_
Definition: prestacktrimstatics.h:72
Processor for PreStack Trim Statics.
Definition: prestacktrimstatics.h:31
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:62
int output_
Definition: prestacktrimstatics.h:73
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Interval< float > tsoffsetrg_
Definition: prestacktrimstatics.h:53
uiString errmsg_
Definition: prestacktrimstatics.h:71
BufferString errmsg_
Definition: horizontracker.h:119
int getOutput() const
Definition: prestacktrimstatics.h:65
uiString errMsg() const
Definition: prestacktrimstatics.h:43
void setOutput(int op)
Definition: prestacktrimstatics.h:64
Definition: prestacktrimstatics.h:45

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