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

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