OpendTect-6_4  6.4
seisresampler.h
Go to the documentation of this file.
1 #ifndef seisresampler_h
2 #define seisresampler_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H. Bril
9  Date: 20-1-98
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "seismod.h"
16 #include "gendefs.h"
17 class SeisTrc;
18 class TrcKeyZSampling;
19 
20 
30 {
31 public:
32 
33  SeisResampler(const TrcKeyZSampling&,bool is2d=false,
34  const Interval<float>* valrange=0);
36  SeisResampler(const SeisResampler&);
37  virtual ~SeisResampler();
38  SeisResampler& operator =(const SeisResampler&);
39 
40  SeisTrc* get( SeisTrc& t ) { return doWork(t); }
41  const SeisTrc* get( const SeisTrc& t ) { return doWork(t); }
42 
43  int nrPassed() const { return nrtrcs; }
44  void set2D( bool yn ) { is3d = !yn; }
45 
46 protected:
47 
48  SeisTrc* doWork(const SeisTrc&);
49 
50  int nrtrcs;
51  float replval;
52  bool dozsubsel;
56  bool is3d;
57 
58 };
59 
60 
61 #endif
bool is3d
Definition: seisresampler.h:56
#define mExpClass(module)
Definition: commondefs.h:160
Summary for a Seismic object.
Definition: segydirectdef.h:23
TrcKeyZSampling & operator=(const TrcKeyZSampling &)
TrcKeyZSampling & cs
Definition: seisresampler.h:55
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
bool dozsubsel
Definition: seisresampler.h:52
Interval< float > * valrg
Definition: seisresampler.h:54
will sub-sample in inl and crl, and re-sample in Z
Definition: seisresampler.h:29
SeisTrc & worktrc
Definition: seisresampler.h:53
Seismic trace.
Definition: seistrc.h:34
int nrPassed() const
Definition: seisresampler.h:43
float replval
Definition: seisresampler.h:51
int nrtrcs
Definition: seisresampler.h:50
void set2D(bool yn)
Definition: seisresampler.h:44

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