OpendTect  6.6
sectiontracker.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  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "mpeenginemod.h"
16 #include "task.h"
17 #include "trckeyzsampling.h"
18 #include "emposid.h"
19 #include "geomelement.h"
20 
21 class BinIDValue;
22 
23 namespace Attrib { class SelSpec; }
24 namespace EM { class EMObject; }
25 
26 namespace MPE
27 {
28 
29 class SectionSourceSelector;
30 class SectionExtender;
31 class SectionAdjuster;
32 
38 {
39 public:
41  const EM::SectionID&,
43  SectionExtender* = 0,
44  SectionAdjuster* = 0);
45  virtual ~SectionTracker();
46 
47  EM::EMObject& emObject() { return emobject_; }
49  virtual bool init();
50 
51  void reset();
52 
56  const SectionExtender* extender() const;
58  const SectionAdjuster* adjuster() const;
59 
60  virtual bool select();
61  virtual bool extend();
62  virtual bool adjust();
63  const char* errMsg() const;
64 
65  void useAdjuster(bool yn);
66  bool adjusterUsed() const;
67 
68  void setSetupID(const MultiID& id);
69  const MultiID& setupID() const;
70  bool hasInitializedSetup() const;
71 
72  void setSeedOnlyPropagation(bool yn);
74 
77 
81 
82  void fillPar(IOPar&) const;
83  bool usePar(const IOPar&);
84 
85 protected:
86 
87  void getLockedSeeds(TypeSet<EM::SubID>& lockedseeds);
88 
91 
97 
101 
102 
103  static const char* trackerstr;
104  static const char* useadjusterstr;
105  static const char* seedonlypropstr;
106 };
107 
108 } // namespace MPE
109 
MPE::SectionTracker::setSetupID
void setSetupID(const MultiID &id)
MPE::SectionTracker::fillPar
void fillPar(IOPar &) const
MPE::SectionTracker::getNeededAttribs
void getNeededAttribs(TypeSet< Attrib::SelSpec > &) const
emposid.h
MPE::SectionTracker::extender
SectionExtender * extender()
task.h
MPE::SectionTracker::usePar
bool usePar(const IOPar &)
MPE::SectionTracker::selector_
SectionSourceSelector * selector_
Definition: sectiontracker.h:98
MPE::SectionTracker::extend
virtual bool extend()
geomelement.h
MPE::SectionTracker::adjuster_
SectionAdjuster * adjuster_
Definition: sectiontracker.h:100
MPE::SectionAdjuster
SequentialTask to adjust the section of an EM object with ID EM::SectionID.
Definition: sectionadjuster.h:35
MPE::SectionTracker::trackerstr
static const char * trackerstr
Definition: sectiontracker.h:103
MPE::SectionTracker::seedonlypropstr
static const char * seedonlypropstr
Definition: sectiontracker.h:105
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
MPE::SectionTracker::setupID
const MultiID & setupID() const
MPE::SectionTracker::getDisplaySpec
const Attrib::SelSpec & getDisplaySpec() const
MPE::SectionTracker::propagatingFromSeedOnly
bool propagatingFromSeedOnly() const
MPE::SectionTracker::init
virtual bool init()
MPE::SectionTracker
Tracks sections of EM::EMObject with ID EM::SectionID.
Definition: sectiontracker.h:38
EM
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: bulk2dhorizonscanner.h:26
MPE::SectionTracker::SectionTracker
SectionTracker(EM::EMObject &, const EM::SectionID &, SectionSourceSelector *=0, SectionExtender *=0, SectionAdjuster *=0)
MPE::SectionTracker::emObject
EM::EMObject & emObject()
Definition: sectiontracker.h:47
MPE::SectionTracker::emobject_
EM::EMObject & emobject_
Definition: sectiontracker.h:89
TrcKeyZSampling
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
MPE::SectionTracker::extender
const SectionExtender * extender() const
MPE::SectionTracker::extender_
SectionExtender * extender_
Definition: sectiontracker.h:99
MPE::SectionTracker::sectionID
EM::SectionID sectionID() const
MPE::SectionTracker::reset
void reset()
MPE
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:32
MPE::SectionTracker::select
virtual bool select()
MPE::SectionSourceSelector
SequentialTask to select source of an EM section with ID EM::SectionID.
Definition: sectionselector.h:31
MPE::SectionTracker::adjusterUsed
bool adjusterUsed() const
trckeyzsampling.h
MPE::SectionTracker::useadjuster_
bool useadjuster_
Definition: sectiontracker.h:93
MPE::SectionExtender
SequentialTask to extend the section of an EM object with ID EM::SectionID.
Definition: sectionextender.h:38
MPE::SectionTracker::hasInitializedSetup
bool hasInitializedSetup() const
MPE::SectionTracker::adjuster
SectionAdjuster * adjuster()
MPE::SectionTracker::setSeedOnlyPropagation
void setSeedOnlyPropagation(bool yn)
MPE::SectionTracker::sid_
EM::SectionID sid_
Definition: sectiontracker.h:90
MPE::SectionTracker::useadjusterstr
static const char * useadjusterstr
Definition: sectiontracker.h:104
MPE::SectionTracker::adjuster
const SectionAdjuster * adjuster() const
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
MPE::SectionTracker::setDisplaySpec
void setDisplaySpec(const Attrib::SelSpec &)
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
MPE::SectionTracker::seedonlypropagation_
bool seedonlypropagation_
Definition: sectiontracker.h:96
EM::SectionID
od_int16 SectionID
Definition: emposid.h:24
MPE::SectionTracker::adjust
virtual bool adjust()
MPE::SectionTracker::selector
const SectionSourceSelector * selector() const
MPE::SectionTracker::errmsg_
BufferString errmsg_
Definition: sectiontracker.h:92
MPE::SectionTracker::getAttribCube
virtual TrcKeyZSampling getAttribCube(const Attrib::SelSpec &) const
MPE::SectionTracker::useAdjuster
void useAdjuster(bool yn)
MPE::SectionTracker::getLockedSeeds
void getLockedSeeds(TypeSet< EM::SubID > &lockedseeds)
MPE::SectionTracker::selector
SectionSourceSelector * selector()
BinIDValue
BinID and a value.
Definition: binidvalue.h:31
MPE::SectionTracker::displayas_
Attrib::SelSpec & displayas_
Definition: sectiontracker.h:95
EM::EMObject
Base class for all EarthModel objects.
Definition: emobject.h:159
MPE::SectionTracker::~SectionTracker
virtual ~SectionTracker()
Attrib
Semblance Attribute.
Definition: attribdataholder.h:25
Attrib::SelSpec
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:45
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
MPE::SectionTracker::errMsg
const char * errMsg() const
MPE::SectionTracker::setupid_
MultiID setupid_
Definition: sectiontracker.h:94
TypeSet< Attrib::SelSpec >

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