OpendTect-6_4  6.4
horizonmodifier.h
Go to the documentation of this file.
1 #ifndef horizonmodifier_h
2 #define horizonmodifier_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: N. Hemstra
9  Date: April 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "earthmodelmod.h"
16 #include "emposid.h"
17 #include "multiid.h"
18 #include "ranges.h"
19 #include "posinfo2dsurv.h"
20 
21 namespace EM { class Horizon; }
23 
29 {
30 public:
31 
32  HorizonModifier(bool is2d=false);
33  ~HorizonModifier();
34 
35  enum ModifyMode { Shift, Remove };
36 
37  bool setHorizons(const MultiID&,const MultiID&);
38  void setStaticHorizon(bool tophor);
39  void setMode(ModifyMode);
40 
41  void doWork();
42 
43 protected:
44 
45  bool getNextNode(BinID&);
46  bool getNextNode3D(BinID&);
47  bool getNextNode2D(BinID&);
48  void getLines(const EM::Horizon*);
49  float getDepth2D(const EM::Horizon*,const BinID&);
50  void shiftNode(const BinID&);
51  void removeNode(const BinID&);
52 
55 
56  bool is2d_;
60 
63 };
64 
65 
66 #endif
EM::Horizon * bothor_
Definition: horizonmodifier.h:54
#define mExpClass(module)
Definition: commondefs.h:160
TypeSet< StepInterval< int > > trcrgs_
Definition: horizonmodifier.h:58
Finds next BinID in TrcKeySampling; initializes to first position.
Definition: trckeysampling.h:189
Modifies horizons.
Definition: horizonmodifier.h:28
FixedString Horizon()
Definition: keystrs.h:72
TypeSet< Pos::GeomID > geomids_
Definition: horizonmodifier.h:57
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
bool is2d_
Definition: horizonmodifier.h:56
ModifyMode modifymode_
Definition: horizonmodifier.h:61
TrcKeySamplingIterator * iter_
Definition: horizonmodifier.h:59
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
Definition: oduicommon.h:75
EM::Horizon * tophor_
Definition: horizonmodifier.h:53
Definition: horizonmodifier.h:35
ModifyMode
Definition: horizonmodifier.h:35
bool topisstatic_
Definition: horizonmodifier.h:62
Compound key consisting of ints.
Definition: multiid.h:25
Horizon Surface.
Definition: emhorizon.h:47

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