OpendTect  6.6
veldesc.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: K. Tingdahl
8  Date: September 2007
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 */
13 
14 #include "algomod.h"
15 #include "enums.h"
16 #include "multiid.h"
17 #include "staticsdesc.h"
18 #include "uistring.h"
19 
20 
39 public:
40  enum Type { Unknown, Interval, RMS, Avg, Delta, Epsilon, Eta };
42 
45 
48 
49  bool operator==(const VelocityDesc&) const;
50  bool operator!=(const VelocityDesc&) const;
51 
52  static bool isVelocity(Type);
54  bool isVelocity() const;
56  static bool isThomsen(Type);
58  bool isThomsen() const;
60 
61  static void removePars(IOPar&);
62  void fillPar(IOPar&) const;
63  bool usePar(const IOPar&);
64 
65  static const char* sKeyVelocityType();
66  static const char* sKeyIsFeetPerSecond();
67  static const char* sKeyIsVelocity();
68  static const char* sKeyVelocityVolume();
69 
70  static uiString getVelUnit(bool withparens=true);
72 };
73 
74 
VelocityDesc::sKeyIsVelocity
static const char * sKeyIsVelocity()
VelocityDesc::isThomsen
bool isThomsen() const
uistring.h
VelocityDesc::sKeyIsFeetPerSecond
static const char * sKeyIsFeetPerSecond()
VelocityDesc::Type
Type
Definition: veldesc.h:40
VelocityDesc::sKeyVelocityType
static const char * sKeyVelocityType()
VelocityDesc::sKeyVelocityVolume
static const char * sKeyVelocityVolume()
VelocityDesc::usePar
bool usePar(const IOPar &)
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
VelocityDesc::mDeclareEnumUtils
mDeclareEnumUtils(Type)
VelocityDesc::VelocityDesc
VelocityDesc(Type)
VelocityDesc::operator==
bool operator==(const VelocityDesc &) const
VelocityDesc::removePars
static void removePars(IOPar &)
multiid.h
VelocityDesc
Definition: veldesc.h:38
Stats::RMS
@ RMS
Definition: stattype.h:23
VelocityDesc::getVelUnit
static uiString getVelUnit(bool withparens=true)
StaticsDesc
Specifies Statics as a horizon and either a horizon attribute or a constant velocity....
Definition: staticsdesc.h:24
VelocityDesc::isVelocity
bool isVelocity() const
VelocityDesc::statics_
StaticsDesc statics_
Definition: veldesc.h:47
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
enums.h
VelocityDesc::isVelocity
static bool isVelocity(Type)
staticsdesc.h
VelocityDesc::isThomsen
static bool isThomsen(Type)
VelocityDesc::Unknown
@ Unknown
Definition: veldesc.h:40
VelocityDesc::getVelVolumeLabel
static uiString getVelVolumeLabel()
VelocityDesc::type_
Type type_
Definition: veldesc.h:46
Interval
Interval of values.
Definition: commontypes.h:30
VelocityDesc::fillPar
void fillPar(IOPar &) const
VelocityDesc::operator!=
bool operator!=(const VelocityDesc &) const
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
VelocityDesc::mODTextTranslationClass
mODTextTranslationClass(VelocityDesc)
VelocityDesc::VelocityDesc
VelocityDesc()

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