24 namespace Math {
class Formula; }
50 Layer& operator=(
const Layer&);
59 inline float zTop()
const {
return ztop_; }
60 inline int nrValues()
const {
return vals_.size(); }
61 float thickness()
const;
62 float value(
int)
const;
63 bool isMath(
int)
const;
66 inline float zBot()
const {
return ztop_ + thickness(); }
67 inline float depth()
const {
return ztop_ + 0.5f * thickness(); }
69 inline void setZTop(
float v ) { ztop_ = v; }
70 void setThickness(
float v);
71 void setValue(
int,
float);
80 Color dispColor(
bool lith_else_upnode)
const;
99 virtual LayerValue* clone(
const Layer* l=0)
const = 0;
102 virtual float value()
const = 0;
119 virtual float value()
const {
return val_; }
148 virtual void setXPos(
float);
150 virtual float value()
const;
#define mExpClass(module)
Definition: commondefs.h:160
Definition: propertyref.h:176
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
ObjectSet< LayerValue > vals_
Definition: stratlayer.h:88
const Content * content_
Definition: stratlayer.h:89
Ref Data for a (usually petrophysical) property.
Definition: propertyref.h:42
data for a layer.
Definition: stratlayer.h:41
const LeafUnitRef * ref_
Definition: stratlayer.h:86
Definition: uistring.h:89
void setZTop(float v)
Definition: stratlayer.h:69
const LeafUnitRef & unitRef() const
Definition: stratlayer.h:53
void setRef(const LeafUnitRef &r)
Definition: stratlayer.h:54
float zBot() const
Definition: stratlayer.h:66
Set of pointers to objects.
Definition: commontypes.h:32
virtual bool isSimple() const
Definition: stratlayer.h:118
virtual void setXPos(float)
Definition: stratlayer.h:105
SimpleLayerValue(float val)
Definition: stratlayer.h:113
Definition: stratlayer.h:110
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
a name and an ID.
Definition: stratlith.h:37
Definition: stratlayer.h:95
UnitRef for layers.
Definition: stratunitref.h:236
int nrValues() const
Definition: stratlayer.h:60
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
virtual float value() const
Definition: stratlayer.h:119
SimpleLayerValue * clone(const Layer *l=0) const
Definition: stratlayer.h:115
Stratigraphy.
Definition: stratlevel.h:26
float zTop() const
Definition: stratlayer.h:59
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
bool isEmpty() const
Definition: odstring.h:51
Tree of UnitRef's.
Definition: stratreftree.h:29
BufferString errmsg_
Definition: horizontracker.h:119
float val_
Definition: stratlayer.h:124
Concatenated short keys separated by dots. Used for Object identifiers in the Object Manager...
Definition: compoundkey.h:23
stuff that can be inside porous layers
Definition: stratcontent.h:29
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
void setValue(float val)
Definition: stratlayer.h:120
virtual bool isSimple() const
Definition: stratlayer.h:101
void setContent(const Content &c)
Definition: stratlayer.h:76
CompoundKey ID
Definition: stratlayer.h:45
float depth() const
Definition: stratlayer.h:67
float ztop_
Definition: stratlayer.h:87
virtual ~LayerValue()
Definition: stratlayer.h:100