OpendTect-6_4  6.4
veldesc.h
Go to the documentation of this file.
1 #ifndef veldesc_h
2 #define veldesc_h
3 
4 /*
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: September 2007
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 */
14 
15 #include "algomod.h"
16 #include "enums.h"
17 #include "multiid.h"
18 #include "staticsdesc.h"
19 #include "uistring.h"
20 
21 
39 { mODTextTranslationClass(VelocityDesc);
40 public:
41  enum Type { Unknown, Interval, RMS, Avg, Delta, Epsilon, Eta };
43 
44  VelocityDesc();
45  VelocityDesc(Type);
46 
49 
50  bool operator==(const VelocityDesc&) const;
51  bool operator!=(const VelocityDesc&) const;
52 
53  static bool isVelocity(Type);
55  bool isVelocity() const;
57  static bool isThomsen(Type);
59  bool isThomsen() const;
61 
62  static void removePars(IOPar&);
63  void fillPar(IOPar&) const;
64  bool usePar(const IOPar&);
65 
66  static const char* sKeyVelocityType();
67  static const char* sKeyIsFeetPerSecond();
68  static const char* sKeyIsVelocity();
69  static const char* sKeyVelocityVolume();
70 
71  static uiString getVelUnit(bool withparens=true);
72  static uiString getVelVolumeLabel();
73 };
74 
75 
76 #endif
#define mExpClass(module)
Definition: commondefs.h:160
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: veldesc.h:38
Definition: veldesc.h:41
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
StaticsDesc statics_
Definition: veldesc.h:48
Definition: uistring.h:89
Type
Definition: veldesc.h:41
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:258
Interval of values.
Definition: commontypes.h:31
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Specifies Statics as a horizon and either a horizon attribute or a constant velocity. Velocity is always in m/s.
Definition: staticsdesc.h:24
Definition: stattype.h:24
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:62
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Type type_
Definition: veldesc.h:47

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