OpendTect-6_4  6.4
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
VelocityDesc Class Reference

Public Types

enum  Type {
  Unknown, Interval, RMS, Avg,
  Delta, Epsilon, Eta
}
 

Public Member Functions

 mDeclareEnumUtils (Type)
 
 VelocityDesc ()
 
 VelocityDesc (Type)
 
bool operator== (const VelocityDesc &) const
 
bool operator!= (const VelocityDesc &) const
 
bool isVelocity () const
 
bool isThomsen () const
 
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 

Static Public Member Functions

static bool isVelocity (Type)
 
static bool isThomsen (Type)
 
static void removePars (IOPar &)
 
static const char * sKeyVelocityType ()
 
static const char * sKeyIsFeetPerSecond ()
 
static const char * sKeyIsVelocity ()
 
static const char * sKeyVelocityVolume ()
 
static uiString getVelUnit (bool withparens=true)
 
static uiString getVelVolumeLabel ()
 

Public Attributes

Type type_
 
StaticsDesc statics_
 

Private Member Functions

 mODTextTranslationClass (VelocityDesc)
 

Detailed Description

Specifies velocity type and statics for a velocity.

To tag a velocity volume as a velocity, this class can be used to do the work:

PtrMan<IOObj> ioobj = IOM().get( multiid );
desc.fillPar( ioobj->pars() );
IOM().commitChanges( ioobj );

Member Enumeration Documentation

Enumerator
Unknown 
Interval 
RMS 
Avg 
Delta 
Epsilon 
Eta 

Constructor & Destructor Documentation

VelocityDesc::VelocityDesc ( )
VelocityDesc::VelocityDesc ( Type  )

Member Function Documentation

void VelocityDesc::fillPar ( IOPar ) const
static uiString VelocityDesc::getVelUnit ( bool  withparens = true)
static
static uiString VelocityDesc::getVelVolumeLabel ( )
static
static bool VelocityDesc::isThomsen ( Type  )
static
Returns
true if not unknown or a Velocity
bool VelocityDesc::isThomsen ( ) const
Returns
true if not unknown or a Velocity
static bool VelocityDesc::isVelocity ( Type  )
static
Returns
true if not unknown or a Thomsen parameter
bool VelocityDesc::isVelocity ( ) const
Returns
true if not unknown or a Thomsen parameter
VelocityDesc::mDeclareEnumUtils ( Type  )
VelocityDesc::mODTextTranslationClass ( VelocityDesc  )
private
bool VelocityDesc::operator!= ( const VelocityDesc ) const
bool VelocityDesc::operator== ( const VelocityDesc ) const
static void VelocityDesc::removePars ( IOPar )
static
static const char* VelocityDesc::sKeyIsFeetPerSecond ( )
static
static const char* VelocityDesc::sKeyIsVelocity ( )
static
static const char* VelocityDesc::sKeyVelocityType ( )
static
static const char* VelocityDesc::sKeyVelocityVolume ( )
static
bool VelocityDesc::usePar ( const IOPar )

Member Data Documentation

StaticsDesc VelocityDesc::statics_
Type VelocityDesc::type_

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