OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Well::Log Class Reference

Well log. More...

Inheritance diagram for Well::Log:
[legend]

Public Member Functions

 Log (const char *nm=0)
 
 Log (const Log &t)
 
Logoperator= (const Log &)
 
float value (int idx) const
 
void setValue (int idx, float val)
 
float getValue (float, bool noudfs=false) const
 
void addValue (float dh, float val)
 addition must always ascend or descend More...
 
void updateAfterValueChanges ()
 call it upon any change of value(s) More...
 
void ensureAscZ ()
 
bool insertAtDah (float dh, float val)
 
void removeTopBottomUdfs ()
 
Interval< float > & valueRange ()
 
const Interval< float > & valueRange () const
 
const char * unitMeasLabel () const
 
const UnitOfMeasureunitOfMeasure () const
 
void setUnitMeasLabel (const char *s)
 
void convertTo (const UnitOfMeasure *)
 
PropertyRef::StdType propType () const
 
bool isCode () const
 log values are all integers stored as floats More...
 
float * valArr ()
 
const float * valArr () const
 
IOParpars ()
 
const IOParpars () const
 
- Public Member Functions inherited from Well::DahObj
 DahObj (const char *nm=0)
 
 DahObj (const DahObj &d)
 
 ~DahObj ()
 
int size () const
 
float dah (int idx) const
 
int indexOf (float dah) const
 
virtual void remove (int idx)
 
virtual void setEmpty ()
 
bool isEmpty () const
 
Interval< float > dahRange () const
 returns (0, 0) for empty dah_ More...
 
float dahStep (bool min_else_average) const
 
void addToDahFrom (int fromidx, float extradah)
 
void removeFromDahFrom (int fromidx, float extradah)
 
void deInterpolate ()
 Remove unnecessary points. More...
 
float * dahArr ()
 
const float * dahArr () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Static Public Member Functions

static const char * sKeyUnitLbl ()
 
static const char * sKeyHdrInfo ()
 
static const char * sKeyStorage ()
 

Protected Member Functions

void removeAux (int idx)
 
void eraseAux ()
 
float gtVal (float, int &) const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

TypeSet< float > vals_
 
Interval< float > range_
 
BufferString unitmeaslbl_
 
bool iscode_
 
IOPar pars_
 
- Protected Attributes inherited from Well::DahObj
TypeSet< float > dah_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Detailed Description

Well log.

No regular sampling required, as in all DahObjs.

Logs can contain undefined points and sections (washouts etc.) - they will never have undefined dah values though. If you can't handle undef values, use getValue( dah, true ).

Log are imported 'as is', making this one of the rare non-SI value objects in OpendTect. The unit of measure label you get may be able to uncover what the actual unit of measure is.

The IOPar pars() will be retrieved and stored with each log; it is not really used; moreover, it's intended for plugins to dump their extra info about this log.

Constructor & Destructor Documentation

Well::Log::Log ( const char *  nm = 0)
inline
Well::Log::Log ( const Log t)
inline

Member Function Documentation

void Well::Log::addValue ( float  dh,
float  val 
)

addition must always ascend or descend

void Well::Log::convertTo ( const UnitOfMeasure )
void Well::Log::ensureAscZ ( )
void Well::Log::eraseAux ( )
inlineprotectedvirtual

Implements Well::DahObj.

float Well::Log::getValue ( float  ,
bool  noudfs = false 
) const
float Well::Log::gtVal ( float  ,
int &   
) const
protected
bool Well::Log::insertAtDah ( float  dh,
float  val 
)
virtual

Implements Well::DahObj.

bool Well::Log::isCode ( ) const
inline

log values are all integers stored as floats

Log& Well::Log::operator= ( const Log )
IOPar& Well::Log::pars ( )
inline
const IOPar& Well::Log::pars ( ) const
inline
PropertyRef::StdType Well::Log::propType ( ) const
void Well::Log::removeAux ( int  idx)
inlineprotectedvirtual

Implements Well::DahObj.

void Well::Log::removeTopBottomUdfs ( )
void Well::Log::setUnitMeasLabel ( const char *  s)
inline
void Well::Log::setValue ( int  idx,
float  val 
)
static const char* Well::Log::sKeyHdrInfo ( )
static
static const char* Well::Log::sKeyStorage ( )
static
static const char* Well::Log::sKeyUnitLbl ( )
static
const char* Well::Log::unitMeasLabel ( ) const
inline
const UnitOfMeasure* Well::Log::unitOfMeasure ( ) const
void Well::Log::updateAfterValueChanges ( )

call it upon any change of value(s)

float* Well::Log::valArr ( )
inline
const float* Well::Log::valArr ( ) const
inline
float Well::Log::value ( int  idx) const
inlinevirtual

Implements Well::DahObj.

Interval<float>& Well::Log::valueRange ( )
inline
const Interval<float>& Well::Log::valueRange ( ) const
inline

Member Data Documentation

bool Well::Log::iscode_
protected
IOPar Well::Log::pars_
protected
Interval<float> Well::Log::range_
protected
BufferString Well::Log::unitmeaslbl_
protected
TypeSet<float> Well::Log::vals_
protected

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