OpendTect-6_4  6.4
stratlayseqgendesc.h
Go to the documentation of this file.
1 #ifndef stratlayseqgendesc_h
2 #define stratlayseqgendesc_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Oct 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "stratmod.h"
17 #include "objectset.h"
18 #include "multiid.h"
19 #include "propertyref.h"
20 #include "iopar.h"
21 #include "od_iosfwd.h"
22 #include "uistring.h"
23 
24 namespace Strat
25 {
26 class RefTree;
27 class LayerSequence;
28 class LayerGenerator;
29 
30 
41 public:
45 
46  const RefTree& refTree() const { return rt_; }
47  IOPar& getWorkBenchParams() { return workbenchparams_; }
48 
49  const PropertyRefSelection& propSelection() const { return propsel_; }
50  void setPropSelection(const PropertyRefSelection&);
51  float startDepth() const { return startdepth_; }
52  void setStartDepth( float z) { startdepth_ = z; }
53  const MultiID& elasticPropSel() const;
54  void setElasticPropSel(const MultiID&);
55 
56  bool getFrom(od_istream&);
57  bool putTo(od_ostream&) const;
58 
59  bool prepareGenerate() const;
60  bool generate(LayerSequence&,float modpos) const;
61 
62  uiString errMsg() const { return errmsg_; }
63 
64  const char* userIdentification(int) const;
65  int indexFromUserIdentification(const char*) const;
66  LayerSequenceGenDesc& operator=(const LayerSequenceGenDesc&);
67 
68 protected:
69 
71 
72  const RefTree& rt_;
75  float startdepth_;
76 
77  static const char* sKeyWorkBenchParams();
78  mutable uiString errmsg_;
79 
80 };
81 
82 
83 }; // namespace Strat
84 
85 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition: propertyref.h:176
OD class for stream write common access to the user log file, or std::cout in batch progs...
Definition: od_ostream.h:26
A sequence of layers.
Definition: stratlayersequence.h:36
const RefTree & rt_
Definition: stratlayseqgendesc.h:72
Collection of LayerGenerator's that can generate a full LayerSequence.
Definition: stratlayseqgendesc.h:39
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
PropertyRefSelection propsel_
Definition: stratlayseqgendesc.h:73
void setStartDepth(float z)
Definition: stratlayseqgendesc.h:52
Definition: uistring.h:89
IOPar & getWorkBenchParams()
Definition: stratlayseqgendesc.h:47
MultiID elasticpropselmid_
Definition: stratlayseqgendesc.h:74
uiString errmsg_
Definition: stratlayseqgendesc.h:78
OD class for stream read.
Definition: od_istream.h:24
float startdepth_
Definition: stratlayseqgendesc.h:75
Set of pointers to objects.
Definition: commontypes.h:32
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
IOPar workbenchparams_
Definition: stratlayseqgendesc.h:70
Stratigraphy.
Definition: stratlevel.h:26
Tree of UnitRef's.
Definition: stratreftree.h:29
BufferString errmsg_
Definition: horizontracker.h:119
Description that can generate layers and add these to a sequence.
Definition: stratlaygen.h:35
const PropertyRefSelection & propSelection() const
Definition: stratlayseqgendesc.h:49
const RefTree & refTree() const
Definition: stratlayseqgendesc.h:46
float startDepth() const
Definition: stratlayseqgendesc.h:51
uiString errMsg() const
Definition: stratlayseqgendesc.h:62
Compound key consisting of ints.
Definition: multiid.h:25

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