OpendTect-6_4  6.4
seismerge.h
Go to the documentation of this file.
1 #ifndef seismerge_h
2 #define seismerge_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Mar 2008
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "seismod.h"
16 #include "executor.h"
17 #include "binid.h"
18 #include "samplingdata.h"
19 
20 class Scaler;
21 class SeisTrc;
22 class SeisTrcBuf;
23 class SeisTrcReader;
24 class SeisTrcWriter;
25 
26 
31 public:
32 
33  SeisMerger(const ObjectSet<IOPar>& in,const IOPar& out,
34  bool is2d);
35  SeisMerger(const IOPar&); //For post-processing
36  virtual ~SeisMerger();
37 
38  uiString uiMessage() const;
39  od_int64 nrDone() const { return nrpos_; }
40  od_int64 totalNr() const { return totnrpos_; }
42  return tr("Positions handled");
43  }
44  int nextStep();
45  void setScaler(Scaler*);
46 
47  bool stacktrcs_;
48 
49 protected:
50 
51  bool is2d_;
55  int nrpos_;
56  int totnrpos_;
58 
61  int nrsamps_;
64 
65  SeisTrc* getNewTrc();
66  SeisTrc* getTrcFrom(SeisTrcReader&);
67  void get3DTraces();
68  SeisTrc* getStacked(SeisTrcBuf&);
69  bool toNextPos();
70  int writeTrc(SeisTrc*);
71  int writeFromBuf();
72 
73 };
74 
75 
76 #endif
od_int64 nrDone() const
Definition: seismerge.h:39
#define mExpClass(module)
Definition: commondefs.h:160
Summary for a Seismic object.
Definition: segydirectdef.h:23
int nrpos_
Definition: seismerge.h:55
od_int64 totalNr() const
Definition: seismerge.h:40
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
#define od_int64
Definition: plftypes.h:36
Definition: seiswrite.h:41
Definition: uistring.h:89
SamplingData< float > sd_
Definition: seismerge.h:62
bool stacktrcs_
If not, first trace will be used.
Definition: seismerge.h:47
uiString uiNrDoneText() const
will be nrDoneText() in 7.x
Definition: seismerge.h:41
reads from a seismic data store.
Definition: seisread.h:50
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
SeisTrcBuf & trcbuf_
Definition: seismerge.h:60
int nrsamps_
Definition: seismerge.h:61
ObjectSet< SeisTrcReader > rdrs_
Definition: seismerge.h:52
Scaling of floating point numbers.
Definition: scaler.h:33
SeisTrcWriter * wrr_
Definition: seismerge.h:53
bool is2d_
Definition: seismerge.h:51
int totnrpos_
Definition: seismerge.h:56
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Seismic trace.
Definition: seistrc.h:34
int currdridx_
Definition: seismerge.h:54
set of seismic traces.
Definition: seisbuf.h:31
uiString errmsg_
Definition: seismerge.h:57
BinID curbid_
Definition: seismerge.h:59
Scaler * scaler_
Definition: seismerge.h:63
Merges 2D and 3D post-stack data.
Definition: seismerge.h:29
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