OpendTect  6.3
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 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "stratmod.h"
15 #include "objectset.h"
16 #include "dbkey.h"
17 #include "propertyref.h"
18 #include "iopar.h"
19 #include "od_iosfwd.h"
20 #include "uistring.h"
21 
22 namespace Strat
23 {
24 class RefTree;
25 class LayerSequence;
26 class LayerGenerator;
27 
28 
39 public:
43 
44  const RefTree& refTree() const { return rt_; }
45  IOPar& getWorkBenchParams() { return workbenchparams_; }
46 
47  const PropertyRefSelection& propSelection() const { return propsel_; }
48  void setPropSelection(const PropertyRefSelection&);
49  float startDepth() const { return startdepth_; }
50  void setStartDepth( float z) { startdepth_ = z; }
51  const DBKey& elasticPropSel() const;
52  void setElasticPropSel(const DBKey&);
53 
54  bool getFrom(od_istream&);
55  bool putTo(od_ostream&) const;
56 
57  bool prepareGenerate() const;
58  bool generate(LayerSequence&,float modpos) const;
59 
60  uiString errMsg() const { return errmsg_; }
61 
62  const char* userIdentification(int) const;
63  int indexFromUserIdentification(const char*) const;
64  LayerSequenceGenDesc& operator=(const LayerSequenceGenDesc&);
65 
66 protected:
67 
69 
70  const RefTree& rt_;
73  float startdepth_;
74 
75  static const char* sKeyWorkBenchParams();
76  mutable uiString errmsg_;
77 
78 };
79 
80 
81 }; // namespace Strat
#define mExpClass(module)
Definition: commondefs.h:157
Definition: propertyref.h:174
OD class for stream write common access to the user log file, or std::cout in batch progs...
Definition: od_ostream.h:25
A sequence of layers.
Definition: stratlayersequence.h:34
const RefTree & rt_
Definition: stratlayseqgendesc.h:70
Collection of LayerGenerator's that can generate a full LayerSequence.
Definition: stratlayseqgendesc.h:37
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
PropertyRefSelection propsel_
Definition: stratlayseqgendesc.h:71
void setStartDepth(float z)
Definition: stratlayseqgendesc.h:50
Definition: uistring.h:88
IOPar & getWorkBenchParams()
Definition: stratlayseqgendesc.h:45
uiString errmsg_
Definition: stratlayseqgendesc.h:76
OD class for stream read.
Definition: od_istream.h:23
float startdepth_
Definition: stratlayseqgendesc.h:73
Set of pointers to objects.
Definition: commontypes.h:28
DBKey elasticpropseldbkey_
Definition: stratlayseqgendesc.h:72
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
IOPar workbenchparams_
Definition: stratlayseqgendesc.h:68
Stratigraphy.
Definition: stratlevel.h:25
Tree of UnitRef's.
Definition: stratreftree.h:27
BufferString errmsg_
Definition: horizontracker.h:117
Description that can generate layers and add these to a sequence.
Definition: stratlaygen.h:33
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
const PropertyRefSelection & propSelection() const
Definition: stratlayseqgendesc.h:47
const RefTree & refTree() const
Definition: stratlayseqgendesc.h:44
float startDepth() const
Definition: stratlayseqgendesc.h:49
uiString errMsg() const
Definition: stratlayseqgendesc.h:60

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