OpendTect-6_4  6.4
horizonscanner.h
Go to the documentation of this file.
1 #ifndef horizonscanner_h
2 #define horizonscanner_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: N. Hemstra
9  Date: Feb 2004
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "earthmodelmod.h"
16 #include "executor.h"
17 #include "bufstringset.h"
18 #include "ranges.h"
19 
20 class BinIDValueSet;
21 namespace EM { class Horizon3DAscIO; }
22 namespace Table { class FormatDesc; }
23 namespace PosInfo { class Detector; }
24 
29 mExpClass(EarthModel) HorizonScanner : public Executor
31 public:
32 
33  HorizonScanner(const BufferStringSet& fnms,
34  Table::FormatDesc& fd, bool isgeom);
35  ~HorizonScanner();
36 
37  virtual uiString uiMessage() const;
38  virtual od_int64 totalNr() const;
39  virtual od_int64 nrDone() const;
40  virtual uiString uiNrDoneText() const;
41 
42  bool reInitAscIO(const char*);
43  void setPosIsXY(bool yn) { isxy_ = yn; }
44  bool posIsXY() const { return isxy_; }
45  bool analyzeData();
46 
47  int nrPositions() const;
48  StepInterval<int> inlRg() const;
49  StepInterval<int> crlRg() const;
50  bool gapsFound(bool inl) const;
51 
52  static const char* defaultUserInfoFile();
53  void launchBrowser(const char* fnm=0) const;
54  void report(IOPar&) const;
55 
56  const ObjectSet<BinIDValueSet>& getSections() { return sections_; }
57 
58 protected:
59 
60  virtual int nextStep();
61 
62  void init();
63 
64  mutable int totalnr_;
65  int nrdone_;
69  int fileidx_;
71 
72  bool firsttime_;
73  bool isgeom_;
74  bool isxy_;
75  bool selxy_;
76  bool doscale_;
79 
82 
83  mutable uiString curmsg_;
84 };
85 
86 
87 #endif
#define mExpClass(module)
Definition: commondefs.h:160
const ObjectSet< BinIDValueSet > & getSections()
Definition: horizonscanner.h:56
bool selxy_
Definition: horizonscanner.h:75
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
bool doscale_
Definition: horizonscanner.h:76
bool isgeom_
Definition: horizonscanner.h:73
#define od_int64
Definition: plftypes.h:36
bool init()
EM::Horizon3DAscIO * ascio_
Definition: horizonscanner.h:67
description of input our output data content
Definition: tabledef.h:220
Definition: uistring.h:89
Set of BufferString objects.
Definition: bufstringset.h:28
PosInfo::Detector & dtctor_
Definition: horizonscanner.h:66
int fileidx_
Definition: horizonscanner.h:69
bool firsttime_
Definition: horizonscanner.h:72
int totalnr_
Definition: horizonscanner.h:64
TypeSet< Interval< float > > valranges_
Definition: horizonscanner.h:77
Executor to scan horizons.
Definition: horizonscanner.h:29
BinIDValueSet * bvalset_
Definition: horizonscanner.h:80
Ascii I/O for Horizon3D.
Definition: emhorizonascio.h:28
Set of (small) copyable elements.
Definition: commontypes.h:30
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Definition: geom2dascio.h:21
BufferStringSet filenames_
Definition: horizonscanner.h:68
ObjectSet< BinIDValueSet > sections_
Definition: horizonscanner.h:81
uiString curmsg_
Definition: horizonscanner.h:83
Table::FormatDesc & fd_
Definition: horizonscanner.h:78
BufferStringSet rejectedlines_
Definition: horizonscanner.h:70
Position info, often segmented.
Definition: posinfo.h:40
Determines many geometry parameters from a series of Coords with corresponding BinID or trace numbers...
Definition: posinfodetector.h:53
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
bool posIsXY() const
Definition: horizonscanner.h:44
bool isxy_
Definition: horizonscanner.h:74
int nrdone_
Definition: horizonscanner.h:65
void setPosIsXY(bool yn)
Definition: horizonscanner.h:43
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