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

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