OpendTect  6.3
horizon3dseedpicker.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: A.H. Bril
8  Date: 23-10-1996
9  Contents: Ranges
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "mpeenginemod.h"
15 #include "emseedpicker.h"
16 
17 #include "attribsel.h"
18 #include "trckeyzsampling.h"
19 #include "uistring.h"
20 
22 namespace Attrib { class SelSpec; }
23 
24 namespace MPE
25 {
26 
33 public:
36 
37  bool addSeed(const TrcKeyValue& seedcrd,bool drop,
38  const TrcKeyValue& seedkey);
39  bool removeSeed(const TrcKey&,bool environment,bool retrack);
40  TrcKey replaceSeed(const TrcKey& oldpos,
41  const TrcKeyValue& newpos);
42 
43  bool reTrack();
44  bool doesModeUseVolume() const;
45 
46  void setFaultData( const FaultTrcDataProvider* data )
47  { fltdataprov_ = data; }
48  bool updatePatchLine(bool);
49 
50 protected:
51  bool retrackOnActiveLine(const BinID& startbid,
52  bool startwasdefined,
53  bool eraseonly=false);
54  bool retrackFromSeedSet();
55  void processJunctions();
56  int nrLateralNeighbors(const BinID& pid) const;
57  int nrLineNeighbors(const BinID& pid,
58  bool perptotrackdir=false) const;
59 
60  bool interpolateSeeds(bool setmanualnode=false);
61  TrcKeyZSampling getTrackBox() const;
62  bool getNextSeed(const BinID& seedbid,const BinID& dir,
63  BinID& nextseedbid) const;
64  bool addPatchSowingSeeds();
66 
67 private:
68  void extendSeedSetEraseInBetween(
69  bool wholeline,const BinID& startbid,
70  bool startwasdefined,const BinID& dir );
71 };
72 
73 } // namespace MPE
#define mExpClass(module)
Definition: commondefs.h:157
Definition: trckeyvalue.h:25
const FaultTrcDataProvider * fltdataprov_
Definition: horizon3dseedpicker.h:65
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
SeedPicker to pick seeds in EM::Horizon3D.
Definition: horizon3dseedpicker.h:31
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:30
void addSeed(EM::SectionID, EM::SubID)
Tracks EM objects.
Definition: emtracker.h:38
Handles adding of seeds and retracking of events based on new seeds. An instance of the class is usua...
Definition: emseedpicker.h:56
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:32
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:28
void setFaultData(const FaultTrcDataProvider *data)
Definition: horizon3dseedpicker.h:46
FaultTrace data provider.
Definition: faulttrace.h:221
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:26
Semblance Attribute.
Definition: attribdataholder.h:21

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