OpendTect
7.0
|
Depth to time model. More...
Public Member Functions | |
D2TModel (const char *nm=nullptr) | |
D2TModel (const D2TModel &) | |
virtual | ~D2TModel () |
void | add (float d_ah, float tm) |
bool | ensureValid (const Well::Data &, uiString &errmsg, TypeSet< double > *zvals=0, TypeSet< double > *tvals=0) |
void | getAllTime (int sz, const float *dah, const Track &, const UnitOfMeasure *in, float *twt, const UnitOfMeasure *out) const |
float | getDah (float time, const Track &) const |
float | getDepth (float time, const Track &) const |
float | getTime (float d_ah, const Track &) const |
bool | getTimeDepthModel (const Well::Data &, TimeDepthModel &) const |
Interval< float > | getTimeRange (const Interval< float > &dahrg, const Track &, const UnitOfMeasure *in, const UnitOfMeasure *out) const |
double | getVelocityForDah (float d_ah, const Track &) const |
double | getVelocityForDepth (float dpt, const Track &) const |
double | getVelocityForTwt (float twt, const Track &) const |
bool | insertAtDah (float d_ah, float t) override |
void | makeFromTrack (const Track &, float cstvel, float replvel) |
bool | operator!= (const D2TModel &) const |
D2TModel & | operator= (const D2TModel &) |
bool | operator== (const D2TModel &) const |
float | t (int idx) const |
float * | valArr () |
const float * | valArr () const |
float | value (int idx) const override |
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 const char * | sKeyDataSrc () |
static const char * | sKeyTimeWell () |
known in time More... | |
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 () |
Public Attributes | |
BufferString | datasource |
BufferString | desc |
Protected Member Functions | |
void | eraseAux () override |
float | getDepth (float time) const |
Legacy, misleading name. Use getDah(). More... | |
bool | getOldVelocityBoundsForDah (float d_ah, const Track &, Interval< double > &depths, Interval< float > ×) const |
Read legacy incorrect time-depth model. More... | |
bool | getOldVelocityBoundsForTwt (float twt, const Track &, Interval< double > &depths, Interval< float > ×) const |
Read legacy incorrect time-depth model. More... | |
bool | getVelocityBoundsForDah (float d_ah, const Track &, Interval< double > &depths, Interval< float > ×) const |
bool | getVelocityBoundsForTwt (float twt, const Track &, Interval< double > &depths, Interval< float > ×) const |
int | getVelocityIdx (float pos, const Track &, bool posisdah=true) 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 |
Static Protected Member Functions | |
static void | checkReplacementVelocity (Well::Info &info, double vreplinfile, uiString &msg) |
static void | convertDepthsToMD (const Well::Track &track, const TypeSet< double > &zvals, TypeSet< float > &dahs) |
static bool | getTVDD2TModel (Well::D2TModel &d2t, const Well::Data &wll, TypeSet< double > &zvals, TypeSet< double > &tvals, uiString &errmsg, uiString &warnmsg) |
static void | shiftTimesIfNecessary (TypeSet< double > &tvals, double wllheadz, double vrepl, double origintwtinfile, uiString &msg) |
Protected Attributes | |
TypeSet< float > | t_ |
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 |
Depth to time model.
<>
Well::D2TModel::D2TModel | ( | const char * | nm = nullptr | ) |
Well::D2TModel::D2TModel | ( | const D2TModel & | ) |
|
virtual |
|
inline |
|
staticprotected |
|
staticprotected |
bool Well::D2TModel::ensureValid | ( | const Well::Data & | , |
uiString & | errmsg, | ||
TypeSet< double > * | zvals = 0 , |
||
TypeSet< double > * | tvals = 0 |
||
) |
Returns corrected model if necessary May eventually also correct info().replvel
|
inlineoverrideprotectedvirtual |
Implements Well::DahObj.
void Well::D2TModel::getAllTime | ( | int | sz, |
const float * | dah, | ||
const Track & | , | ||
const UnitOfMeasure * | in, | ||
float * | twt, | ||
const UnitOfMeasure * | out | ||
) | const |
float Well::D2TModel::getDah | ( | float | time, |
const Track & | |||
) | const |
|
inlineprotected |
Legacy, misleading name. Use getDah().
float Well::D2TModel::getDepth | ( | float | time, |
const Track & | |||
) | const |
|
protected |
Read legacy incorrect time-depth model.
|
protected |
Read legacy incorrect time-depth model.
float Well::D2TModel::getTime | ( | float | d_ah, |
const Track & | |||
) | const |
bool Well::D2TModel::getTimeDepthModel | ( | const Well::Data & | , |
TimeDepthModel & | |||
) | const |
Interval<float> Well::D2TModel::getTimeRange | ( | const Interval< float > & | dahrg, |
const Track & | , | ||
const UnitOfMeasure * | in, | ||
const UnitOfMeasure * | out | ||
) | const |
|
staticprotected |
|
protected |
|
protected |
Gives index of next dtpoint at or after dah.
double Well::D2TModel::getVelocityForDah | ( | float | d_ah, |
const Track & | |||
) | const |
double Well::D2TModel::getVelocityForDepth | ( | float | dpt, |
const Track & | |||
) | const |
double Well::D2TModel::getVelocityForTwt | ( | float | twt, |
const Track & | |||
) | const |
|
protected |
|
overridevirtual |
Implements Well::DahObj.
void Well::D2TModel::makeFromTrack | ( | const Track & | , |
float | cstvel, | ||
float | replvel | ||
) |
cstvel: velocity of the TD model replvel: Replacement velocity, above SRD
bool Well::D2TModel::operator!= | ( | const D2TModel & | ) | const |
bool Well::D2TModel::operator== | ( | const D2TModel & | ) | const |
|
inlineoverrideprotectedvirtual |
Implements Well::DahObj.
|
staticprotected |
|
static |
|
static |
known in time
name of model for well that is only
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements Well::DahObj.
BufferString Well::D2TModel::datasource |
BufferString Well::D2TModel::desc |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024