OpendTect-6_4  6.4
seispsmerge.h
Go to the documentation of this file.
1 #ifndef seispsmerge_h
2 #define seispsmerge_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: R. K. Singh
9  Date: Oct 2007
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "seismod.h"
16 #include "executor.h"
17 #include "trckeyzsampling.h"
18 #include "uistring.h"
19 class IOObj;
20 class SeisTrc;
21 class SeisTrcBuf;
22 class SeisPSReader;
23 class SeisTrcWriter;
24 class SeisResampler;
25 namespace Seis { class SelData; }
26 
27 
37 public:
38 
40  const IOObj& out, bool dostack,
41  const Seis::SelData* sd=0);
42  virtual ~SeisPSMerger();
43 
44  void setOffsetRange( float r0, float r1 )
45  { offsrg_.start = r0; offsrg_.stop = r1; }
46 
47  uiString uiMessage() const { return msg_; }
49  return tr("Gathers written");
50  }
51  virtual od_int64 nrDone() const { return nrdone_; }
52  virtual od_int64 totalNr() const { return totnr_; }
53  virtual int nextStep();
54 
55 protected:
56 
60 
64 
65  bool dostack_;
67  int totnr_;
68  int nrdone_;
69 
70  void init(const TrcKeySampling&);
71  void stackGathers(SeisTrcBuf&,const ObjectSet<SeisTrcBuf>&);
72 };
73 
74 
76 {
77 public:
78  SeisPSCopier(const IOObj& in,const IOObj& out,
79  const Seis::SelData* sd=0);
80  ~SeisPSCopier();
81 protected:
82 
84  ObjectSet<const IOObj>& mkObjs(const IOObj&);
85 
86 };
87 
88 
89 #endif
#define mExpClass(module)
Definition: commondefs.h:160
uiString uiMessage() const
will be message() again in 7.x
Definition: seispsmerge.h:47
Summary for a Seismic object.
Definition: segydirectdef.h:23
Definition: ioobj.h:58
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
virtual od_int64 nrDone() const
Definition: seispsmerge.h:51
#define od_int64
Definition: plftypes.h:36
bool init()
Definition: seiswrite.h:41
Prestack seismic data merger.
Definition: seispsmerge.h:35
Finds next BinID in TrcKeySampling; initializes to first position.
Definition: trckeysampling.h:189
int totnr_
Definition: seispsmerge.h:67
Definition: uistring.h:89
Interval< float > offsrg_
Definition: seispsmerge.h:59
TrcKeySamplingIterator * iter_
Definition: seispsmerge.h:61
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:27
Seis::SelData * sd_
Definition: seispsmerge.h:57
contains input (sub-)selection data from a cube or lineset
Definition: seisselection.h:82
will sub-sample in inl and crl, and re-sample in Z
Definition: seisresampler.h:29
ObjectSet< SeisPSReader > readers_
Definition: seispsmerge.h:62
int nrdone_
Definition: seispsmerge.h:68
Definition: seispsmerge.h:75
Seismic trace.
Definition: seistrc.h:34
bool dostack_
Definition: seispsmerge.h:65
uiString uiNrDoneText() const
will be nrDoneText() in 7.x
Definition: seispsmerge.h:48
uiString msg_
Definition: seispsmerge.h:66
SeisResampler * resampler_
Definition: seispsmerge.h:58
set of seismic traces.
Definition: seisbuf.h:31
void setOffsetRange(float r0, float r1)
Definition: seispsmerge.h:44
reads from a prestack seismic data store.
Definition: seispsread.h:34
SeisTrcWriter * writer_
Definition: seispsmerge.h:63
ObjectSet< const IOObj > * objs_
Definition: seispsmerge.h:83
virtual od_int64 totalNr() const
Definition: seispsmerge.h:52
Specification to enable chunkwise execution of a process.
Definition: executor.h:39

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