OpendTect-6_4  6.4
horizon2dextender.h
Go to the documentation of this file.
1 #ifndef horizon2dextender_h
2 #define horizon2dextender_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: May 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "mpeenginemod.h"
16 #include "sectionextender.h"
17 
18 #include "coord.h"
19 #include "posinfo2dsurv.h"
20 #include "trckeyvalue.h"
21 
22 
23 namespace EM { class Horizon2D; }
24 
25 namespace MPE
26 {
27 
33 {
34 public:
37  static SectionExtender* create(EM::EMObject*,EM::SectionID);
38  static void initClass();
39 
40  void setAngleThreshold(float radians);
41  float getAngleThreshold() const;
42 
43  void setDirection(const TrcKeyValue&);
44  const TrcKeyValue* getDirection() const;
45  void setGeomID(Pos::GeomID);
46  Pos::GeomID geomID() const;
47 
48  int nextStep();
49 
50 protected:
51 
52  void addNeighbor(bool upwards,
53  const TrcKey& sourcesid);
54  virtual float getDepth(const TrcKey& src,
55  const TrcKey& target) const;
56  virtual void prepareDataIfRequired() {}
57 
59  bool alldirs_;
64 };
65 
66 } // namespace MPE
67 
68 #endif
od_int16 SectionID
Definition: emposid.h:25
#define mExpClass(module)
Definition: commondefs.h:160
Definition: trckeyvalue.h:27
TrcKeyValue direction_
Definition: horizon2dextender.h:61
SequentialTask to extend the section of an EM object with ID EM::SectionID.
Definition: sectionextender.h:39
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:32
bool alldirs_
Definition: horizon2dextender.h:59
virtual void prepareDataIfRequired()
Definition: horizon2dextender.h:56
float anglethreshold_
Definition: horizon2dextender.h:58
Pos::GeomID geomid_
Definition: horizon2dextender.h:63
Coord xydirection_
Definition: horizon2dextender.h:60
A cartesian coordinate in 2D space.
Definition: coord.h:25
2D Horizon. The Horizon is only present along 2d lines, set by addLine. Each position's subid is form...
Definition: emhorizon2d.h:108
EM::Horizon2D & hor2d_
Definition: horizon2dextender.h:62
Index_Type GeomID
Definition: commontypes.h:52
static uiHor3DInterpol * create(uiParent *)
Base class for all EarthModel objects.
Definition: emobject.h:158
SectionExtender to extend EM::Horizon2D.
Definition: horizon2dextender.h:32
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
static void initClass()

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