OpendTect-6_4  6.4
gridcreator.h
Go to the documentation of this file.
1 #ifndef gridcreator_h
2 #define gridcreator_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: January 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "emattribmod.h"
16 #include "executor.h"
17 
18 #include "bufstringset.h"
19 
20 class TrcKeyZSampling;
21 class IOObj;
22 class TaskRunner;
23 namespace EM { class Horizon2D; }
24 
31 public:
32  Seis2DGridCreator(const IOPar&);
34 
35  virtual uiString uiNrDoneText() const;
36 
37  static const char* sKeyOverWrite();
38  static const char* sKeyInput();
39  static const char* sKeyOutput();
40  static const char* sKeySelType();
41  static const char* sKeyOutpAttrib();
42  static const char* sKeyInlSelType();
43  static const char* sKeyCrlSelType();
44 
45  static const char* sKeyBaseLine();
46  static const char* sKeyStartBinID();
47  static const char* sKeyStopBinID();
48  static const char* sKeyInlSpacing();
49  static const char* sKeyCrlSpacing();
50 
51  static const char* sKeyInlPrefix();
52  static const char* sKeyCrlPrefix();
53  bool hasWarning(BufferString&) const;
54 
55 
56 protected:
57 
59  bool init(const IOPar&);
60  bool initFromInlCrl(const IOPar&,const IOObj&,const IOObj&,
61  const TrcKeyZSampling&);
62  bool initFromRandomLine(const IOPar&,const IOObj&,
63  const IOObj&,const TrcKeyZSampling&);
64 };
65 
66 
73 public:
76 
77  virtual od_int64 totalNr() const;
78  virtual od_int64 nrDone() const;
79  virtual uiString uiNrDoneText() const;
80 
81  bool init(const IOPar&,TaskRunner* tr=0);
82  bool finish(TaskRunner* tr=0);
83 
84  static const char* sKeyInputIDs();
85  static const char* sKeySeisID();
86  static const char* sKeyPrefix();
87 
88 protected:
89 
93 
94 };
95 
96 
97 #endif
ExecutorGroup to create 2D seismic grid from 3D.
Definition: gridcreator.h:29
#define mExpClass(module)
Definition: commondefs.h:160
Definition: ioobj.h:58
Executor consisting of other executors.
Definition: executor.h:77
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
#define od_int64
Definition: plftypes.h:36
bool init()
ObjectSet< EM::Horizon2D > horizons_
Definition: gridcreator.h:90
Definition: uistring.h:89
Set of BufferString objects.
Definition: bufstringset.h:28
BufferStringSet failedlines_
Definition: gridcreator.h:58
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
ExecutorGroup to create 2D horizon grid from 3D.
Definition: gridcreator.h:71
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
od_int64 totalnr_
Definition: gridcreator.h:92
od_int64 nrdone_
Definition: gridcreator.h:91

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