OpendTect  6.6
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
VelocityDesc Class Reference

Public Types

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

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

StaticsDesc statics_
 
Type type_
 

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 );
bool commitChanges(const IOObj &)
IOObj * get(const DBKey &) const
Next functions return a new (unmanaged) IOObj.
Definition: ptrman.h:121
Definition: veldesc.h:38
@ Interval
Definition: veldesc.h:40

<>

Member Enumeration Documentation

◆ Type

Enumerator
Unknown 
Interval 
RMS 
Avg 
Delta 
Epsilon 
Eta 

Constructor & Destructor Documentation

◆ VelocityDesc() [1/2]

VelocityDesc::VelocityDesc ( )

◆ VelocityDesc() [2/2]

VelocityDesc::VelocityDesc ( Type  )

Member Function Documentation

◆ fillPar()

void VelocityDesc::fillPar ( IOPar ) const

◆ getVelUnit()

static uiString VelocityDesc::getVelUnit ( bool  withparens = true)
static

◆ getVelVolumeLabel()

static uiString VelocityDesc::getVelVolumeLabel ( )
static

◆ isThomsen() [1/2]

bool VelocityDesc::isThomsen ( ) const
Returns
true if not unknown or a Velocity

◆ isThomsen() [2/2]

static bool VelocityDesc::isThomsen ( Type  )
static
Returns
true if not unknown or a Velocity

◆ isVelocity() [1/2]

bool VelocityDesc::isVelocity ( ) const
Returns
true if not unknown or a Thomsen parameter

◆ isVelocity() [2/2]

static bool VelocityDesc::isVelocity ( Type  )
static
Returns
true if not unknown or a Thomsen parameter

◆ operator!=()

bool VelocityDesc::operator!= ( const VelocityDesc ) const

◆ operator==()

bool VelocityDesc::operator== ( const VelocityDesc ) const

◆ removePars()

static void VelocityDesc::removePars ( IOPar )
static

◆ sKeyIsFeetPerSecond()

static const char* VelocityDesc::sKeyIsFeetPerSecond ( )
static

◆ sKeyIsVelocity()

static const char* VelocityDesc::sKeyIsVelocity ( )
static

◆ sKeyVelocityType()

static const char* VelocityDesc::sKeyVelocityType ( )
static

◆ sKeyVelocityVolume()

static const char* VelocityDesc::sKeyVelocityVolume ( )
static

◆ usePar()

bool VelocityDesc::usePar ( const IOPar )

Member Data Documentation

◆ statics_

StaticsDesc VelocityDesc::statics_

◆ type_

Type VelocityDesc::type_

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