OpendTect  6.3
horizonmodifier.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: N. Hemstra
8  Date: April 2006
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "earthmodelmod.h"
14 #include "emposid.h"
15 #include "dbkey.h"
16 #include "ranges.h"
17 #include "posinfo2dsurv.h"
18 
19 namespace EM { class Horizon; }
21 
27 {
28 public:
29 
30  HorizonModifier(bool is2d=false);
31  ~HorizonModifier();
32 
33  enum ModifyMode { Shift, Remove };
34 
35  bool setHorizons(const DBKey&,const DBKey&);
36  void setStaticHorizon(bool tophor);
37  void setMode(ModifyMode);
38 
39  void doWork();
40 
41 protected:
42 
43  bool getNextNode(BinID&);
44  bool getNextNode3D(BinID&);
45  bool getNextNode2D(BinID&);
46  void getLines(const EM::Horizon*);
47  float getDepth2D(const EM::Horizon*,const BinID&);
48  void shiftNode(const BinID&);
49  void removeNode(const BinID&);
50 
53 
54  bool is2d_;
58 
61 };
EM::Horizon * bothor_
Definition: horizonmodifier.h:52
#define mExpClass(module)
Definition: commondefs.h:157
TypeSet< StepInterval< int > > trcrgs_
Definition: horizonmodifier.h:56
Finds next BinID in TrcKeySampling; initializes to first position.
Definition: trckeysampling.h:181
Modifies horizons.
Definition: horizonmodifier.h:26
FixedString Horizon()
Definition: keystrs.h:70
TypeSet< Pos::GeomID > geomids_
Definition: horizonmodifier.h:55
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:28
bool is2d_
Definition: horizonmodifier.h:54
ModifyMode modifymode_
Definition: horizonmodifier.h:59
TrcKeySamplingIterator * iter_
Definition: horizonmodifier.h:57
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:23
Definition: oduicommon.h:73
EM::Horizon * tophor_
Definition: horizonmodifier.h:51
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
Definition: horizonmodifier.h:33
ModifyMode
Definition: horizonmodifier.h:33
bool topisstatic_
Definition: horizonmodifier.h:60
Horizon Surface.
Definition: emhorizon.h:46

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