OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
LinearVelTransformNew Class Reference
Inheritance diagram for LinearVelTransformNew:
[legend]

Public Member Functions

float getGoodZStep () const override
 
Interval< float > getZInterval (bool from) const
 
ZSampling getZInterval (bool from, bool makenice) const
 
bool isOK () const override
 
- Public Member Functions inherited from ZAxisTransform
virtual int addVolumeOfInterest (const TrcKeyZSampling &, bool zistrans=false)
 
virtual NotifierAccesschangeNotifier ()
 
virtual uiString errMsg () const
 
ZDomain::InfofromZDomainInfo ()
 
const ZDomain::InfofromZDomainInfo () const
 
const char * fromZDomainKey () const
 
mDeprecatedDef const ScalergetVelUnitOfMeasure () const
 
virtual mDeprecatedDef float getZIntervalCenter (bool from) const
 
virtual bool isReferenceHorizon (const MultiID &horid, float &refz) const
 
virtual bool loadDataIfMissing (int volid, TaskRunner *=0)
 
virtual void removeVolumeOfInterest (int volid)
 
mDeprecatedDef void setVelUnitOfMeasure (const Scaler *)
 
virtual void setVolumeOfInterest (int volid, const TrcKeyZSampling &, bool zistrans=false)
 
ZDomain::InfotoZDomainInfo ()
 
const ZDomain::InfotoZDomainInfo () const
 
const char * toZDomainKey () const
 
virtual float toZScale () const
 
virtual void transform (const BinID &, const SamplingData< float > &, int sz, float *res) const
 
float transform (const BinIDValue &) const
 
float transform (const Coord3 &) const
 
virtual void transform2D (const char *linenm, int trcnr, const SamplingData< float > &, int sz, float *res) const
 
float transform2D (const char *linenm, int trcnr, float z) const
 
virtual void transformBack (const BinID &, const SamplingData< float > &, int sz, float *res) const
 
float transformBack (const BinIDValue &) const
 
float transformBack (const Coord3 &) const
 
virtual void transformBack2D (const char *linenm, int trcnr, const SamplingData< float > &, int sz, float *res) const
 
float transformBack2D (const char *linenm, int trcnr, float z) const
 
float transformTrc (const TrcKey &, float z) const
 
float transformTrcBack (const TrcKey &, float z) const
 
virtual float zScale () const
 
- Public Member Functions inherited from SharedObject
 SharedObject (const char *nm=nullptr)
 
 SharedObject (const SharedObject &)
 
- 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 CallBackertrueCaller ()
 
- 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_typename () const override
 
NamedObjectoperator= (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
 
- Public Member Functions inherited from RefCount::Referenced
void addObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
int nrRefs () const
 Only for expert use. More...
 
void ref () const
 
bool refIfReffed () const
 Don't use in production, for debugging. More...
 
void removeObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
bool tryRef () const
 Not for normal use. May become private. More...
 
void unRef () const
 
void unRefNoDelete () const
 

Static Public Member Functions

static const UnitOfMeasurevelUnit ()
 
- Static Public Member Functions inherited from ZAxisTransform
static ZAxisTransformcreate (const IOPar &)
 
- Static Public Member Functions inherited from SharedObject
static Notifier< SharedObject > & instanceCreated ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Static Public Member Functions inherited from RefCount::Referenced
static bool isSane (const Referenced *)
 

Protected Member Functions

 LinearVelTransformNew (const ZDomain::Def &from, const ZDomain::Def &to, double v0, double k)
 
 ~LinearVelTransformNew ()
 
- Protected Member Functions inherited from ZAxisTransform
 ZAxisTransform (const ZDomain::Def &from, const ZDomain::Def &to)
 
virtual ~ZAxisTransform ()
 
- Protected Member Functions inherited from SharedObject
virtual ~SharedObject ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from RefCount::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
virtual ~Referenced ()
 
Referencedoperator= (const Referenced &)
 

Private Member Functions

bool canTransformSurv (OD::GeomSystem) const override
 
void doTransform (const SamplingData< float > &sd, const ZDomain::Info &sdzinfo, int sz, float *) const
 
void fillPar (IOPar &) const override
 
ZSampling getWorkZSampling (const ZSampling &, const ZDomain::Info &from, const ZDomain::Info &to) const
 
ZSampling getZInterval (const ZSampling &, const ZDomain::Info &from, const ZDomain::Info &to, bool makenice=true) const
 
bool needsVolumeOfInterest () const override
 
void transformTrc (const TrcKey &, const SamplingData< float > &, int sz, float *res) const override
 
void transformTrcBack (const TrcKey &, const SamplingData< float > &, int sz, float *res) const override
 
bool usePar (const IOPar &) override
 

Private Attributes

double k_
 
double v0_
 
Vel::Workerworker_
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Protected Attributes inherited from ZAxisTransform
uiString errmsg_
 
ZDomain::Infofromzdomaininfo_
 
ZDomain::Infotozdomaininfo_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ LinearVelTransformNew()

LinearVelTransformNew::LinearVelTransformNew ( const ZDomain::Def from,
const ZDomain::Def to,
double  v0,
double  k 
)
protected

◆ ~LinearVelTransformNew()

LinearVelTransformNew::~LinearVelTransformNew ( )
protected

Member Function Documentation

◆ canTransformSurv()

bool LinearVelTransformNew::canTransformSurv ( OD::GeomSystem  ) const
inlineoverrideprivatevirtual

Implements ZAxisTransform.

◆ doTransform()

void LinearVelTransformNew::doTransform ( const SamplingData< float > &  sd,
const ZDomain::Info sdzinfo,
int  sz,
float *   
) const
private

◆ fillPar()

void LinearVelTransformNew::fillPar ( IOPar ) const
overrideprivatevirtual

Reimplemented from ZAxisTransform.

◆ getGoodZStep()

float LinearVelTransformNew::getGoodZStep ( ) const
overridevirtual
Returns
a position within the z-range that is a logical 'center'

Reimplemented from ZAxisTransform.

◆ getWorkZSampling()

ZSampling LinearVelTransformNew::getWorkZSampling ( const ZSampling ,
const ZDomain::Info from,
const ZDomain::Info to 
) const
private

◆ getZInterval() [1/3]

Interval<float> LinearVelTransformNew::getZInterval ( bool  from) const
virtual

Implements ZAxisTransform.

◆ getZInterval() [2/3]

ZSampling LinearVelTransformNew::getZInterval ( bool  from,
bool  makenice 
) const

◆ getZInterval() [3/3]

ZSampling LinearVelTransformNew::getZInterval ( const ZSampling ,
const ZDomain::Info from,
const ZDomain::Info to,
bool  makenice = true 
) const
private

◆ isOK()

bool LinearVelTransformNew::isOK ( ) const
overridevirtual

Reimplemented from ZAxisTransform.

◆ needsVolumeOfInterest()

bool LinearVelTransformNew::needsVolumeOfInterest ( ) const
inlineoverrideprivatevirtual

Reimplemented from ZAxisTransform.

◆ transformTrc()

void LinearVelTransformNew::transformTrc ( const TrcKey ,
const SamplingData< float > &  ,
int  sz,
float *  res 
) const
overrideprivatevirtual

Implements ZAxisTransform.

◆ transformTrcBack()

void LinearVelTransformNew::transformTrcBack ( const TrcKey ,
const SamplingData< float > &  ,
int  sz,
float *  res 
) const
overrideprivatevirtual

Implements ZAxisTransform.

◆ usePar()

bool LinearVelTransformNew::usePar ( const IOPar )
overrideprivatevirtual

Reimplemented from ZAxisTransform.

◆ velUnit()

static const UnitOfMeasure* LinearVelTransformNew::velUnit ( )
static

Member Data Documentation

◆ k_

double LinearVelTransformNew::k_
private

◆ v0_

double LinearVelTransformNew::v0_
private

◆ worker_

Vel::Worker* LinearVelTransformNew::worker_
private

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