OpendTect  6.3
seisresampler.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: A.H. Bril
8  Date: 20-1-98
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "seiscommon.h"
14 #include "gendefs.h"
15 class SeisTrc;
16 class TrcKeyZSampling;
17 
18 
28 {
29 public:
30 
31  SeisResampler(const TrcKeyZSampling&,bool is2d=false,
32  const Interval<float>* valrange=0);
34  SeisResampler(const SeisResampler&);
35  virtual ~SeisResampler();
36  SeisResampler& operator =(const SeisResampler&);
37 
38  SeisTrc* get( SeisTrc& t ) { return doWork(t); }
39  const SeisTrc* get( const SeisTrc& t ) { return doWork(t); }
40 
41  int nrPassed() const { return nrtrcs; }
42  void set2D( bool yn ) { is3d = !yn; }
43 
44 protected:
45 
46  SeisTrc* doWork(const SeisTrc&);
47 
48  int nrtrcs;
49  float replval;
50  bool dozsubsel;
54  bool is3d;
55 
56 };
bool is3d
Definition: seisresampler.h:54
#define mExpClass(module)
Definition: commondefs.h:157
Seismics.
Definition: segydirectdef.h:20
TrcKeyZSampling & operator=(const TrcKeyZSampling &)
TrcKeyZSampling & cs
Definition: seisresampler.h:53
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:32
bool dozsubsel
Definition: seisresampler.h:50
Interval< float > * valrg
Definition: seisresampler.h:52
will sub-sample in inl and crl, and re-sample in Z
Definition: seisresampler.h:27
SeisTrc & worktrc
Definition: seisresampler.h:51
Seismic trace.
Definition: seistrc.h:31
int nrPassed() const
Definition: seisresampler.h:41
float replval
Definition: seisresampler.h:49
int nrtrcs
Definition: seisresampler.h:48
void set2D(bool yn)
Definition: seisresampler.h:42

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