OpendTect  6.3
horizon2dextender.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: K. Tingdahl
8  Date: May 2006
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "mpeenginemod.h"
14 #include "sectionextender.h"
15 
16 #include "coord.h"
17 #include "posinfo2dsurv.h"
18 #include "trckeyvalue.h"
19 
20 
21 namespace EM { class Horizon2D; }
22 
23 namespace MPE
24 {
25 
31 {
32 public:
35  static SectionExtender* create(EM::EMObject*,EM::SectionID);
36  static void initClass();
37 
38  void setAngleThreshold(float radians);
39  float getAngleThreshold() const;
40 
41  void setDirection(const TrcKeyValue&);
42  const TrcKeyValue* getDirection() const;
43  void setGeomID(Pos::GeomID);
44  Pos::GeomID geomID() const;
45 
46  int nextStep();
47 
48 protected:
49 
50  void addNeighbor(bool upwards,
51  const TrcKey& sourcesid);
52  virtual float getDepth(const TrcKey& src,
53  const TrcKey& target) const;
54  virtual void prepareDataIfRequired() {}
55 
57  bool alldirs_;
62 };
63 
64 } // namespace MPE
od_int16 SectionID
Definition: emposid.h:23
#define mExpClass(module)
Definition: commondefs.h:157
Definition: trckeyvalue.h:25
TrcKeyValue direction_
Definition: horizon2dextender.h:59
SequentialTask to extend the section of an EM object with ID EM::SectionID.
Definition: sectionextender.h:37
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:30
bool alldirs_
Definition: horizon2dextender.h:57
virtual void prepareDataIfRequired()
Definition: horizon2dextender.h:54
float anglethreshold_
Definition: horizon2dextender.h:56
Pos::GeomID geomid_
Definition: horizon2dextender.h:61
Coord xydirection_
Definition: horizon2dextender.h:58
2D Horizon. The Horizon is only present along 2d lines, set by addLine. Each position's subid is form...
Definition: emhorizon2d.h:106
EM::Horizon2D & hor2d_
Definition: horizon2dextender.h:60
Index_Type GeomID
Definition: commontypes.h:48
static uiHor3DInterpol * create(uiParent *)
Base class for all EarthModel objects.
Definition: emobject.h:117
SectionExtender to extend EM::Horizon2D.
Definition: horizon2dextender.h:30
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:23
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:26
2D point or vector class.
Definition: commontypes.h:58
static void initClass()

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