OpendTect-6_4  6.4
seisscanner.h
Go to the documentation of this file.
1 #ifndef seisscanner_h
2 #define seisscanner_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: Feb 2004
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "seismod.h"
16 #include "position.h"
17 #include "samplingdata.h"
18 #include "executor.h"
19 #include "seistype.h"
20 #include "dataclipper.h"
21 #include "uistring.h"
22 class IOObj;
23 class SeisTrc;
24 class TrcKeyZSampling;
25 class SeisTrcReader;
26 class PosGeomDetector;
27 namespace PosInfo { class Detector; }
28 
29 #define mSeisScanMaxNrDistribVals 50000
30 
31 
34 public:
35 
37  int max_nr_trcs=-1);
38  ~SeisScanner();
39 
40  uiString uiMessage() const;
41  od_int64 totalNr() const;
42  od_int64 nrDone() const;
43  uiString uiNrDoneText() const;
44  int nextStep();
45 
46  void report(IOPar&) const;
47  bool getSurvInfo(TrcKeyZSampling&,Coord crd[3]) const;
49 
51  ( sampling_.start, sampling_.atIndex(nrsamples_-1) ); }
52  Interval<float> valRange() const { return valrg_; }
53  unsigned int nrNullTraces() const { return nrnulltraces_; }
54 
55  void launchBrowser(const IOPar&,const char* fnm) const;
57 
58 protected:
59 
62  mutable uiString curmsg_;
65  int totalnr_;
67 
76 
77  void wrapUp();
78  bool doValueWork();
79  bool addTrc();
80 
81  const char* getClipRgStr(float) const;
82 };
83 
84 
85 #endif
#define mExpClass(module)
Definition: commondefs.h:160
SeisTrc & trc_
Definition: seisscanner.h:60
Summary for a Seismic object.
Definition: segydirectdef.h:23
Interval< float > zRange() const
Definition: seisscanner.h:50
Definition: ioobj.h:58
uiString curmsg_
Definition: seisscanner.h:62
SamplingData< float > sampling_
Definition: seisscanner.h:68
int totalnr_
Definition: seisscanner.h:65
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
#define od_int64
Definition: plftypes.h:36
int invalidsamplenr_
Definition: seisscanner.h:74
Definition: uistring.h:89
A cartesian coordinate in 2D space.
Definition: coord.h:25
Interval< float > valrg_
Definition: seisscanner.h:72
DataClipSampler clipsampler_
Definition: seisscanner.h:75
GeomType
Definition: seistype.h:33
reads from a seismic data store.
Definition: seisread.h:50
SeisTrcReader & rdr_
Definition: seisscanner.h:61
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
int maxnrtrcs_
Definition: seisscanner.h:64
Interval< int > nonnullsamplerg_
Definition: seisscanner.h:71
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
Definition: seisscanner.h:32
int nrsamples_
Definition: seisscanner.h:69
PosInfo::Detector & dtctor_
Definition: seisscanner.h:66
Data clipping sampler.
Definition: dataclipper.h:134
Position info, often segmented.
Definition: posinfo.h:40
BinID invalidsamplebid_
Definition: seisscanner.h:73
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Seismic trace.
Definition: seistrc.h:34
Interval< float > valRange() const
Definition: seisscanner.h:52
Determines many geometry parameters from a series of Coords with corresponding BinID or trace numbers...
Definition: posinfodetector.h:53
Seis::GeomType geom_
Definition: seisscanner.h:63
unsigned int nrNullTraces() const
Definition: seisscanner.h:53
int nrnulltraces_
Definition: seisscanner.h:70
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