OpendTect-6_4  6.4
lmkemfaulttransl.h
Go to the documentation of this file.
1 #ifndef lmkemfaulttransl_h
2 #define lmkemfaulttransl_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Kristofer Tingdahl
9  Date: 4-11-2002
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "earthmodelmod.h"
17 #include "emsurfacetr.h"
18 #include "rowcol.h"
19 #include "executor.h"
20 
21 namespace EM { class Fault3D; }
22 
29 public:
30  lmkEMFault3DTranslator(const char* nm,
31  const char* unm)
32  : EMSurfaceTranslator(nm,unm) {}
33  virtual ~lmkEMFault3DTranslator();
34 
35  virtual Executor* reader(EM::Fault3D&,Conn*,const char* formatfilename);
36  virtual Executor* writer(const EM::Fault3D&,Conn*,
37  const char* formatfilename);
38 
39  virtual bool isUserSelectable(bool) const { return false; }
40 
42 
43  static const char* xstr();
44  static const char* ystr();
45  static const char* zstr();
46  static const char* pointtypestr();
47  static const char* domainstr();
48  static const char* surveystr();
49  static const char* domainunitstr();
50  static const char* distancunitestr();
51  static const char* lineidstr();
52  static const char* tracestr();
53 
54  virtual Executor* reader( EM::Surface& s )
55  { return EMSurfaceTranslator::reader(s); }
56 };
57 
58 
65 public:
67  const char* formatfile);
69  virtual int nextStep();
70 
71  virtual uiString uiMessage() const;
72  static const char* streamerrmsg;
73 
74 protected:
75 
77 
80  bool useinlcrl;
81  bool error;
82 
83  int lastpt;
85 
95 };
96 
97 
102 mClass(EarthModel) lmkEMFault3DWriter : public Executor
104 public:
106  Conn*,const char* formatfile);
108 
109  virtual int nextStep();
110  virtual uiString uiMessage() const;
111  static const char* streamerrmsg;
112 
113 protected:
114 
116 
119  bool error;
120 
122 
130 };
131 
132 
133 #define mLMK_START_PT 1
134 #define mLMK_INTERMED_PT 2
135 #define mLMK_END_PT 3
136 #define mLMK_CONTROL_PT 4
137 
138 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Landmark EM::Fault3D reader.
Definition: lmkemfaulttransl.h:63
Interval< int > domainunitinterval
Definition: lmkemfaulttransl.h:128
Interval< int > yinterval
Definition: lmkemfaulttransl.h:125
Conn * conn
Definition: lmkemfaulttransl.h:78
uiString msg
Definition: lmkemfaulttransl.h:79
Interval< int > pointtypeinterval
Definition: lmkemfaulttransl.h:123
const EM::Fault3D & fault
Definition: lmkemfaulttransl.h:115
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
bool error
Definition: lmkemfaulttransl.h:119
Interval< int > xinterval
Definition: lmkemfaulttransl.h:124
bool error
Definition: lmkemfaulttransl.h:81
virtual Executor * reader(EM::Surface &)
Definition: emsurfacetr.h:140
RowCol lastnode
Definition: lmkemfaulttransl.h:84
Interval< int > distancuniteinterval
Definition: lmkemfaulttransl.h:129
Interval< int > domaininterval
Definition: lmkemfaulttransl.h:92
Interval< int > lineidinterval
Definition: lmkemfaulttransl.h:89
Definition: uistring.h:89
Interval< int > domainunitinterval
Definition: lmkemfaulttransl.h:93
RowCol lastnode
Definition: lmkemfaulttransl.h:121
Conn * conn
Definition: lmkemfaulttransl.h:117
Interval< int > traceinterval
Definition: lmkemfaulttransl.h:90
Landmark EM::Fault3D EMSurfaceTranslator.
Definition: lmkemfaulttransl.h:27
isTranslator(lmk, EMFault3D) public
Definition: lmkemfaulttransl.h:28
static const char * streamerrmsg
Definition: lmkemfaulttransl.h:72
Interval< int > zinterval
Definition: lmkemfaulttransl.h:88
static const char * streamerrmsg
Definition: lmkemfaulttransl.h:111
Interval< int > distancuniteinterval
Definition: lmkemfaulttransl.h:94
bool useinlcrl
Definition: lmkemfaulttransl.h:80
virtual Executor * reader(EM::Surface &s)
Definition: lmkemfaulttransl.h:54
Data connection.
Definition: conn.h:30
IdxPair used for its row() and col().
Definition: rowcol.h:25
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
BufferString msg
Definition: lmkemfaulttransl.h:118
Landmark EM::Fault3D writer.
Definition: lmkemfaulttransl.h:102
Interval< int > pointtypeinterval
Definition: lmkemfaulttransl.h:91
BufferString warningmsg
Definition: lmkemfaulttransl.h:41
Base class for surfaces like horizons and faults. A surface is made up of one or more segments or pat...
Definition: emsurface.h:33
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
EM::Fault3D & fault
Definition: lmkemfaulttransl.h:76
3D Fault
Definition: emfault3d.h:78
virtual bool isUserSelectable(bool) const
Definition: lmkemfaulttransl.h:39
Interval< int > domaininterval
Definition: lmkemfaulttransl.h:127
#define mClass(module)
Definition: commondefs.h:164
Translator for EM::Surface.
Definition: emsurfacetr.h:123
Interval< int > zinterval
Definition: lmkemfaulttransl.h:126
Interval< int > xinterval
Definition: lmkemfaulttransl.h:86
Interval< int > yinterval
Definition: lmkemfaulttransl.h:87
int lastpt
Definition: lmkemfaulttransl.h:83
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