OpendTect-6_4  6.4
horizon2dscanner.h
Go to the documentation of this file.
1 #ifndef horizon2dscanner_h
2 #define horizon2dscanner_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Raman Singh
9  Date: May 2008
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiemattribmod.h"
16 #include "executor.h"
17 #include "bufstringset.h"
18 #include "posinfo2d.h"
19 #include "ranges.h"
20 #include "multiid.h"
21 
22 class BinIDValueSet;
23 namespace Survey { class Geometry2D; }
24 namespace EM { class Horizon2DAscIO; }
25 namespace Table { class FormatDesc; }
26 
27 mExpClass(uiEMAttrib) Horizon2DScanner : public Executor
29 public:
30 
32  Table::FormatDesc& fd);
33 
34  virtual uiString uiMessage() const;
35  virtual od_int64 totalNr() const;
36  virtual od_int64 nrDone() const;
37  virtual uiString uiNrDoneText() const;
38 
39  bool getLineNames(BufferStringSet&) const;
40  BinIDValueSet* getVals() { return bvalset_; }
41 
42  bool reInitAscIO(const char*);
43 
44  static const char* defaultUserInfoFile();
45  void launchBrowser(const char* fnm=0) const;
46  void report(IOPar&) const;
47  bool hasGaps();
48 
49 protected:
50  virtual int nextStep();
51 
52  void init();
53 
54  mutable int totalnr_;
57  int fileidx_;
58 
60  bool isgeom_;
63 
65 
70 
71 protected:
72  bool istracenr_;
73 };
74 
75 
76 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Table::FormatDesc & fd_
Definition: horizon2dscanner.h:62
Definition: horizon2dscanner.h:27
BufferStringSet filenames_
Definition: horizon2dscanner.h:56
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
BinIDValueSet * getVals()
Definition: horizon2dscanner.h:40
Geometry of a 2D Line.
Definition: survgeom2d.h:27
#define od_int64
Definition: plftypes.h:36
Ascii I/O for Horizon2D.
Definition: emhorizonascio.h:63
bool init()
bool istracenr_
Definition: horizon2dscanner.h:72
const Survey::Geometry2D * curlinegeom_
Definition: horizon2dscanner.h:64
BufferStringSet invalidnms_
Definition: horizon2dscanner.h:68
bool isgeom_
Definition: horizon2dscanner.h:60
description of input our output data content
Definition: tabledef.h:220
Definition: uistring.h:89
Set of BufferString objects.
Definition: bufstringset.h:28
int fileidx_
Definition: horizon2dscanner.h:57
Set of (small) copyable elements.
Definition: commontypes.h:30
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
BufferStringSet linenames_
Definition: horizon2dscanner.h:66
Definition: geom2dascio.h:21
TypeSet< Interval< float > > valranges_
Definition: horizon2dscanner.h:61
BinIDValueSet * bvalset_
Definition: horizon2dscanner.h:69
int totalnr_
Definition: horizon2dscanner.h:54
BufferString curline_
Definition: horizon2dscanner.h:59
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
Definition: survgeom.h:25
EM::Horizon2DAscIO * ascio_
Definition: horizon2dscanner.h:55
BufferStringSet validnms_
Definition: horizon2dscanner.h:67
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