OpendTect  6.3
horizon2dseedpicker.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 #include "posinfo2dsurv.h"
17 #include "attribsel.h"
18 
19 namespace MPE
20 {
21 
28 public:
31 
32  void setLine(Pos::GeomID);
33 
34  bool startSeedPick();
35 
36  bool addSeed(const TrcKeyValue&,bool drop);
37  bool addSeed(const TrcKeyValue& seedcrd,bool drop,
38  const TrcKeyValue& seedkey);
39  bool canAddSeed( const Attrib::SelSpec& );
40  bool removeSeed(const TrcKey&,bool environment,bool retrack);
41  TrcKey replaceSeed(const TrcKey& oldpos,
42  const TrcKeyValue& newpos);
43 
44  bool reTrack();
45 
46  bool doesModeUseVolume() const;
47  bool updatePatchLine(bool);
48 
49 protected:
50 
51  bool retrackOnActiveLine(int startcol,
52  bool startwasdefined,
53  bool eraseonly=false);
54 
55  void extendSeedSetEraseInBetween(
56  bool wholeline,int startcol,
57  bool startwasdefined,int step);
58 
59  bool retrackFromSeedSet();
60  int nrLineNeighbors(int colnr) const;
61  bool interpolateSeeds(bool manualnode=false);
62  TrcKeyZSampling getTrackBox() const;
63  bool getNextSeedPos(int seedpos,int dirstep,
64  int& nextseedpos) const;
65  bool addPatchSowingSeeds();
66 
68 };
69 
70 } // namespace MPE
#define mExpClass(module)
Definition: commondefs.h:157
Definition: trckeyvalue.h:25
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
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
Pos::GeomID geomid_
Definition: horizon2dseedpicker.h:67
void setLine(uiLineItem &, const LineParameters< float > &, const uiAxisHandler &xah, const uiAxisHandler &yah, const Interval< float > *xvalrg=0)
draws line not outside box defined by X and Y value ranges
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:32
EMSeedPicker to pick seeds in EM::Horizon2D.
Definition: horizon2dseedpicker.h:26
Index_Type GeomID
Definition: commontypes.h:48
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:43
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:26

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