OpendTect-6_4  6.4
seisdatapackwriter.h
Go to the documentation of this file.
1 #ifndef seisdatapackwriter_h
2 #define seisdatapackwriter_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Y.C. Liu
9  Date: April 2007
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "seismod.h"
16 #include "trckeyzsampling.h"
17 #include "executor.h"
18 #include "multiid.h"
19 
20 namespace PosInfo { class CubeData; }
22 class Scaler;
23 class SeisTrcWriter;
24 class SeisTrc;
25 namespace VolProc { class ChainOutput; }
26 
27 
30 public:
32  const RegularSeisDataPack&,
33  const TypeSet<int>& components=TypeSet<int>());
35 
36  void setSelection(const TrcKeySampling&,
37  const Interval<int>&);
38  const RegularSeisDataPack* dataPack() const { return dp_; }
39  void setNextDataPack(const RegularSeisDataPack&);
40 
41  void setComponentScaler(const Scaler&,int compidx);
42 
43  od_int64 nrDone() const;
44  od_int64 totalNr() const;
45  uiString uiMessage() const;
47  { return tr("Traces written:"); }
48  int nextStep();
49 
50  TrcKeySampling hSampling() const { return tks_; }
51  Interval<int> zSampling() const { return zrg_; }
52 
53 private:
54 
55  void setCubeIdxRange();
56  bool setTrc();
57  void adjustSteeringScaler(int compidx);
58 
62 
63  int nrdone_;
64  int totalnr_;
69 
74  bool is2d_;
75 
76  void getPosInfo();
77  void obtainDP();
78  void releaseDP();
79 
80  friend class VolProc::ChainOutput;
81 
82 };
83 
84 
85 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Summary for a Seismic object.
Definition: segydirectdef.h:23
TrcKeySamplingIterator iterator_
Definition: seisdatapackwriter.h:65
Interval< int > zrg_
Definition: seisdatapackwriter.h:71
TrcKeySampling hSampling() const
Definition: seisdatapackwriter.h:50
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Interval< int > zSampling() const
Definition: seisdatapackwriter.h:51
#define od_int64
Definition: plftypes.h:36
Definition: seiswrite.h:41
uiString uiNrDoneText() const
will be nrDoneText() in 7.x
Definition: seisdatapackwriter.h:46
SeisDataPack for 2D and 3D seismic data.
Definition: seisdatapack.h:28
Finds next BinID in TrcKeySampling; initializes to first position.
Definition: trckeysampling.h:189
Definition: uistring.h:89
int nrdone_
Definition: seisdatapackwriter.h:63
MultiID mid_
Definition: seisdatapackwriter.h:60
Definition: seisdatapackwriter.h:28
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:27
Adapter for a VolProc chain to external attribute calculation.
Definition: seisdatapackwriter.h:25
const RegularSeisDataPack * dp_
Definition: seisdatapackwriter.h:61
Manages output creation for a VolProc::Chain.
Definition: volprocchainoutput.h:37
Scaling of floating point numbers.
Definition: scaler.h:33
SeisTrc * trc_
Definition: seisdatapackwriter.h:68
Position info, often segmented.
Definition: posinfo.h:40
Seismic trace.
Definition: seistrc.h:34
const PosInfo::CubeData * posinfo_
Definition: seisdatapackwriter.h:66
TypeSet< int > compidxs_
Definition: seisdatapackwriter.h:59
ObjectSet< Scaler > compscalers_
Definition: seisdatapackwriter.h:73
const RegularSeisDataPack * dataPack() const
Definition: seisdatapackwriter.h:38
TrcKeySampling tks_
Definition: seisdatapackwriter.h:70
SeisTrcWriter * writer_
Definition: seisdatapackwriter.h:67
bool is2d_
Definition: seisdatapackwriter.h:74
Position info for an entire 3D cube. The LineData&#39;s are not sorted.
Definition: posinfo.h:95
int totalnr_
Definition: seisdatapackwriter.h:64
Compound key consisting of ints.
Definition: multiid.h:25
Specification to enable chunkwise execution of a process.
Definition: executor.h:39
StepInterval< int > cubezrgidx_
Definition: seisdatapackwriter.h:72

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