OpendTect
7.0
|
Public Member Functions | |
Log (const char *nm=nullptr) | |
Log (const Log &) | |
~Log () | |
void | addValue (float md, float val) |
addition must always ascend or descend More... | |
Log * | cleanUdfs () const |
void | convertTo (const UnitOfMeasure *) |
void | ensureAscZ () |
float | getValue (float md, bool noudfs=false) const |
mDeprecatedObs void | guessMnemonic () |
bool | haveMnemonic () const |
bool | haveUnit () const |
bool | insertAtDah (float md, float val) override |
bool | isCode () const |
log values are all integers stored as floats More... | |
bool | isLoaded () const |
const char * | mnemLabel () const |
const Mnemonic * | mnemonic () const |
const Mnemonic * | mnemonic (bool setifnull) const |
const char * | mnemonicLabel () const |
Log & | operator= (const Log &) |
IOPar & | pars () |
const IOPar & | pars () const |
void | prepareForDisplay () |
call it when plotting this log, preferably on a copy More... | |
Mnemonic::StdType | propType () const |
void | removeTopBottomUdfs () |
Log * | sampleLog (const StepInterval< float > &) const |
void | setMnemLabel (const char *str) |
void | setMnemonic (const Mnemonic &) |
void | setMnemonicLabel (const char *, bool setifnull=false) |
void | setUnitMeasLabel (const char *, bool converttosymbol=true) |
void | setUnitOfMeasure (const UnitOfMeasure *) |
void | setValue (int idx, float val) |
void | setValueRange (const Interval< float > &) |
const char * | unitMeasLabel () const |
const UnitOfMeasure * | unitOfMeasure () const |
void | updateAfterValueChanges () |
call it upon any change of value(s) More... | |
Log * | upScaleLog (const StepInterval< float > &) const |
float * | valArr () |
const float * | valArr () const |
float | value (int idx) const override |
Interval< float > & | valueRange () |
const Interval< float > & | valueRange () const |
Public Member Functions inherited from Well::DahObj | |
virtual | ~DahObj () |
void | addToDahFrom (int fromidx, float extradah) |
float | dah (int idx) const |
float * | dahArr () |
const float * | dahArr () const |
Interval< float > & | dahRange () |
Interval< float > | dahRange () const |
returns Udf for empty dah_ More... | |
float | dahStep (bool min_else_average) const |
void | deInterpolate () |
Remove unnecessary points. More... | |
int | indexOf (float dah) const |
bool | isEmpty () const |
virtual void | remove (int idx) |
void | removeFromDahFrom (int fromidx, float extradah) |
virtual void | setEmpty () |
int | size () const |
void | updateDahRange () |
Public Member Functions inherited from NamedCallBacker | |
NamedCallBacker (const char *nm=0) | |
NamedCallBacker (const NamedCallBacker &) | |
virtual Notifier< NamedCallBacker > & | objectToBeDeleted () const |
bool | operator== (const NamedCallBacker &oth) const |
bool | operator== (const NamedObject &oth) const |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
virtual CallBacker * | trueCaller () |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=nullptr) | |
NamedObject (const NamedObject &oth) | |
virtual | ~NamedObject () |
virtual BufferString | getName () const |
bool | getNameFromPar (const IOPar &) |
const name_type & | name () const override |
NamedObject & | operator= (const NamedObject &) |
bool | operator== (const NamedObject &oth) const |
virtual void | setName (const char *nm) |
Public Member Functions inherited from ObjectWithName | |
virtual | ~ObjectWithName () |
bool | hasName (const char *nm) const |
bool | hasName (const name_type &nm) const |
void | putNameInPar (IOPar &) const |
Static Public Member Functions | |
static Log * | createSampledLog (const StepInterval< float > &, float val=mUdf(float)) |
static const char * | sKeyDahRange () |
static const char * | sKeyDefMnemLbl () |
static const char * | sKeyHdrInfo () |
static const char * | sKeyLogRange () |
static const char * | sKeyMnemLbl () |
static const char * | sKeyStorage () |
static const char * | sKeyUnitLbl () |
Static Public Member Functions inherited from Well::DahObj | |
static Notifier< DahObj > & | instanceCreated () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Protected Member Functions | |
void | eraseAux () override |
const Mnemonic * | getGuessedMnemonic () |
float | gtVal (float, int &) const |
void | removeAux (int idx) override |
Protected Member Functions inherited from Well::DahObj | |
DahObj (const char *nm=nullptr) | |
DahObj (const DahObj &) | |
DahObj & | operator= (const DahObj &) |
Protected Member Functions inherited from NamedCallBacker | |
void | sendDelNotif () const |
Protected Attributes | |
bool | iscode_ = false |
const Mnemonic * | mn_ = nullptr |
BufferString | mnemlbl_ |
IOPar | pars_ |
Interval< float > | range_ |
BufferString | unitmeaslbl_ |
const UnitOfMeasure * | uom_ = nullptr |
TypeSet< float > | vals_ |
Protected Attributes inherited from Well::DahObj | |
TypeSet< float > | dah_ |
Interval< float > | dahrange_ |
Protected Attributes inherited from NamedCallBacker | |
Threads::Atomic< bool > | delalreadytriggered_ |
Notifier< NamedCallBacker > | delnotif_ |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Additional Inherited Members | |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
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.
<>
Well::Log::Log | ( | const char * | nm = nullptr | ) |
Well::Log::Log | ( | const Log & | ) |
Well::Log::~Log | ( | ) |
void Well::Log::addValue | ( | float | md, |
float | val | ||
) |
addition must always ascend or descend
Log* Well::Log::cleanUdfs | ( | ) | const |
void Well::Log::convertTo | ( | const UnitOfMeasure * | ) |
|
static |
void Well::Log::ensureAscZ | ( | ) |
|
inlineoverrideprotectedvirtual |
Implements Well::DahObj.
|
protected |
float Well::Log::getValue | ( | float | md, |
bool | noudfs = false |
||
) | const |
|
protected |
mDeprecatedObs void Well::Log::guessMnemonic | ( | ) |
|
inline |
|
inline |
|
overridevirtual |
Implements Well::DahObj.
|
inline |
log values are all integers stored as floats
bool Well::Log::isLoaded | ( | ) | const |
|
inline |
const Mnemonic* Well::Log::mnemonic | ( | ) | const |
const Mnemonic* Well::Log::mnemonic | ( | bool | setifnull | ) | const |
const char* Well::Log::mnemonicLabel | ( | ) | const |
|
inline |
|
inline |
void Well::Log::prepareForDisplay | ( | ) |
call it when plotting this log, preferably on a copy
Mnemonic::StdType Well::Log::propType | ( | ) | const |
|
inlineoverrideprotectedvirtual |
Implements Well::DahObj.
void Well::Log::removeTopBottomUdfs | ( | ) |
Log* Well::Log::sampleLog | ( | const StepInterval< float > & | ) | const |
|
inline |
void Well::Log::setMnemonic | ( | const Mnemonic & | ) |
void Well::Log::setMnemonicLabel | ( | const char * | , |
bool | setifnull = false |
||
) |
void Well::Log::setUnitMeasLabel | ( | const char * | , |
bool | converttosymbol = true |
||
) |
void Well::Log::setUnitOfMeasure | ( | const UnitOfMeasure * | ) |
void Well::Log::setValue | ( | int | idx, |
float | val | ||
) |
void Well::Log::setValueRange | ( | const Interval< float > & | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |
|
inline |
void Well::Log::updateAfterValueChanges | ( | ) |
call it upon any change of value(s)
Log* Well::Log::upScaleLog | ( | const StepInterval< float > & | ) | const |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements Well::DahObj.
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024