OpendTect  6.6
stratlayseqgendesc.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: Bert
8  Date: Oct 2010
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 
13 -*/
14 
15 #include "stratmod.h"
16 #include "objectset.h"
17 #include "multiid.h"
18 #include "propertyref.h"
19 #include "iopar.h"
20 #include "od_iosfwd.h"
21 #include "uistring.h"
22 
23 namespace Strat
24 {
25 class RefTree;
26 class LayerSequence;
27 class LayerGenerator;
28 
29 
40 public:
44 
45  const RefTree& refTree() const { return rt_; }
46  IOPar& getWorkBenchParams() { return workbenchparams_; }
47 
48  const PropertyRefSelection& propSelection() const { return propsel_; }
50  float startDepth() const { return startdepth_; }
51  void setStartDepth( float z) { startdepth_ = z; }
52  const MultiID& elasticPropSel() const;
53  void setElasticPropSel(const MultiID&);
54 
56  bool putTo(od_ostream&) const;
57 
58  bool prepareGenerate() const;
59  bool generate(LayerSequence&,float modpos) const;
60 
61  uiString errMsg() const { return errmsg_; }
62 
63  const char* userIdentification(int) const;
64  int indexFromUserIdentification(const char*) const;
66 
67 protected:
68 
70 
71  const RefTree& rt_;
74  float startdepth_;
75 
76  static const char* sKeyWorkBenchParams();
77  mutable uiString errmsg_;
78 
79 };
80 
81 
82 }; // namespace Strat
83 
Strat::LayerSequenceGenDesc::rt_
const RefTree & rt_
Definition: stratlayseqgendesc.h:71
Strat::LayerSequenceGenDesc::propsel_
PropertyRefSelection propsel_
Definition: stratlayseqgendesc.h:72
uistring.h
Strat::LayerSequenceGenDesc::mODTextTranslationClass
mODTextTranslationClass(LayerSequenceGenDesc)
ObjectSet< LayerGenerator >
Strat::LayerSequenceGenDesc::setStartDepth
void setStartDepth(float z)
Definition: stratlayseqgendesc.h:51
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
od_istream
OD class for stream read common access to the std::cin.
Definition: od_istream.h:24
Strat::LayerSequenceGenDesc::errMsg
uiString errMsg() const
Definition: stratlayseqgendesc.h:61
Strat::LayerSequenceGenDesc::sKeyWorkBenchParams
static const char * sKeyWorkBenchParams()
Strat::LayerSequenceGenDesc::elasticPropSel
const MultiID & elasticPropSel() const
Strat::LayerSequenceGenDesc::operator=
LayerSequenceGenDesc & operator=(const LayerSequenceGenDesc &)
Strat::LayerSequenceGenDesc::errmsg_
uiString errmsg_
Definition: stratlayseqgendesc.h:77
Strat::LayerSequenceGenDesc::startdepth_
float startdepth_
Definition: stratlayseqgendesc.h:74
Strat::LayerSequenceGenDesc::refTree
const RefTree & refTree() const
Definition: stratlayseqgendesc.h:45
Strat::RefTree
Tree of UnitRef's
Definition: stratreftree.h:29
Strat::LayerSequenceGenDesc::LayerSequenceGenDesc
LayerSequenceGenDesc(const RefTree &)
Strat::LayerSequenceGenDesc::propSelection
const PropertyRefSelection & propSelection() const
Definition: stratlayseqgendesc.h:48
Strat::LayerSequenceGenDesc::setElasticPropSel
void setElasticPropSel(const MultiID &)
Strat::LayerSequenceGenDesc::prepareGenerate
bool prepareGenerate() const
PropertyRefSelection
Definition: propertyref.h:166
Strat::LayerSequenceGenDesc::getWorkBenchParams
IOPar & getWorkBenchParams()
Definition: stratlayseqgendesc.h:46
Strat::LayerSequenceGenDesc::elasticpropselmid_
MultiID elasticpropselmid_
Definition: stratlayseqgendesc.h:73
multiid.h
Strat::LayerSequenceGenDesc
Collection of LayerGenerator's that can generate a full LayerSequence.
Definition: stratlayseqgendesc.h:39
Strat::LayerSequenceGenDesc::setPropSelection
void setPropSelection(const PropertyRefSelection &)
Strat::LayerSequenceGenDesc::indexFromUserIdentification
int indexFromUserIdentification(const char *) const
Strat::LayerSequence
A sequence of layers.
Definition: stratlayersequence.h:36
Strat::LayerSequenceGenDesc::~LayerSequenceGenDesc
~LayerSequenceGenDesc()
Strat::LayerSequenceGenDesc::workbenchparams_
IOPar workbenchparams_
Definition: stratlayseqgendesc.h:69
Strat::LayerSequenceGenDesc::userIdentification
const char * userIdentification(int) const
propertyref.h
Strat::LayerSequenceGenDesc::putTo
bool putTo(od_ostream &) const
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
Strat
Stratigraphy.
Definition: stratlevel.h:26
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
Strat::LayerSequenceGenDesc::LayerSequenceGenDesc
LayerSequenceGenDesc(const LayerSequenceGenDesc &)
od_iosfwd.h
MPE::errmsg_
BufferString errmsg_
Definition: horizontracker.h:118
Strat::LayerSequenceGenDesc::generate
bool generate(LayerSequence &, float modpos) const
Strat::LayerSequenceGenDesc::startDepth
float startDepth() const
Definition: stratlayseqgendesc.h:50
iopar.h
Strat::LayerSequenceGenDesc::getFrom
bool getFrom(od_istream &)
od_ostream
OD class for stream write common access to the user log file, or std::cout in other than od_main.
Definition: od_ostream.h:26
objectset.h
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55

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