OpendTect-6_4  6.4
horizon2dseedpicker.h
Go to the documentation of this file.
1 #ifndef horizon2dseedpicker_h
2 #define horizon2dseedpicker_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H. Bril
9  Date: 23-10-1996
10  Contents: Ranges
11  RCS: $Id$
12 ________________________________________________________________________
13 
14 -*/
15 
16 #include "mpeenginemod.h"
17 #include "emseedpicker.h"
18 #include "posinfo2dsurv.h"
19 #include "attribsel.h"
20 
21 namespace MPE
22 {
23 
30 public:
33 
34  void setLine(Pos::GeomID);
35 
36  bool startSeedPick();
37 
38  bool addSeed(const TrcKeyValue&,bool drop);
39  bool addSeed(const TrcKeyValue& seedcrd,bool drop,
40  const TrcKeyValue& seedkey);
41  bool canAddSeed( const Attrib::SelSpec& );
42  bool removeSeed(const TrcKey&,bool environment,bool retrack);
43  TrcKey replaceSeed(const TrcKey& oldpos,
44  const TrcKeyValue& newpos);
45 
46  bool reTrack();
47 
48  bool doesModeUseVolume() const;
49  bool updatePatchLine(bool);
50 
51 protected:
52 
53  bool retrackOnActiveLine(int startcol,
54  bool startwasdefined,
55  bool eraseonly=false);
56 
57  void extendSeedListEraseInBetween(
58  bool wholeline,int startcol,
59  bool startwasdefined,int step);
60 
61  bool retrackFromSeedList();
62  int nrLineNeighbors(int colnr) const;
63  bool interpolateSeeds(bool manualnode);
64  bool interpolateSeeds();
67  TrcKeyZSampling getTrackBox() const;
68  bool getNextSeedPos(int seedpos,int dirstep,
69  int& nextseedpos) const;
70  bool addPatchSowingSeeds();
72 };
73 
74 } // namespace MPE
75 
76 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition: trckeyvalue.h:27
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:32
void addSeed(EM::SectionID, EM::SubID)
Tracks EM objects.
Definition: emtracker.h:40
Handles adding of seeds and retracking of events based on new seeds. An instance of the class is usua...
Definition: emseedpicker.h:63
Pos::GeomID geomid_
Definition: horizon2dseedpicker.h:71
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:35
EMSeedPicker to pick seeds in EM::Horizon2D.
Definition: horizon2dseedpicker.h:28
Index_Type GeomID
Definition: commontypes.h:52
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:45
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28

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