OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EM::HorizonZTransform Class Reference

Z-transform that flattens a horizon. Everything else will also be flattened accordingly. In case of reverse faulting, the area between the two patches will not be included. More...

Inheritance diagram for EM::HorizonZTransform:
[legend]

Public Member Functions

 HorizonZTransform ()
 
bool canTransformSurv (OD::GeomSystem) const override
 
NotifierAccesschangeNotifier () override
 
void fillPar (IOPar &) const override
 
Interval< float > getDepthRange () const
 
Interval< float > getZInterval (bool from) const override
 
ZSampling getZInterval (bool from, bool makenice) const
 
mDeprecatedDef float getZIntervalCenter (bool from) const override
 
bool isReferenceHorizon (const MultiID &horid, float &refz) const override
 
bool needsVolumeOfInterest () const override
 
void setFlatZValue (float)
 
void setHorizon (const Horizon &)
 
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
 
- Public Member Functions inherited from ZAxisTransform
virtual int addVolumeOfInterest (const TrcKeyZSampling &, bool zistrans=false)
 
virtual uiString errMsg () const
 
ZDomain::InfofromZDomainInfo ()
 
const ZDomain::InfofromZDomainInfo () const
 
const char * fromZDomainKey () const
 
virtual float getGoodZStep () const
 
mDeprecatedDef const ScalergetVelUnitOfMeasure () const
 
virtual bool isOK () 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 char * sKeyHorizonID ()
 
static const char * sKeyReferenceZ ()
 
- 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

 ~HorizonZTransform ()
 
void calculateHorizonRange ()
 
void doTransform (const TrcKey &, const SamplingData< float > &, const ZDomain::Info &sdzinfo, int sz, float *res) const
 
bool getTopBottom (const TrcKey &, float &top, float &bot) const
 
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
 
void horChangeCB (CallBacker *)
 
- 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 &)
 

Protected Attributes

Notifier< HorizonZTransformchange_
 
Interval< float > depthrange_
 
float flatzval_ = 0.f
 
bool horchanged_ = false
 
const Horizonhorizon_
 
- 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_
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 

Detailed Description

Z-transform that flattens a horizon. Everything else will also be flattened accordingly. In case of reverse faulting, the area between the two patches will not be included.

<>

Constructor & Destructor Documentation

◆ HorizonZTransform()

EM::HorizonZTransform::HorizonZTransform ( )

◆ ~HorizonZTransform()

EM::HorizonZTransform::~HorizonZTransform ( )
protected

Member Function Documentation

◆ calculateHorizonRange()

void EM::HorizonZTransform::calculateHorizonRange ( )
protected

◆ canTransformSurv()

bool EM::HorizonZTransform::canTransformSurv ( OD::GeomSystem  ) const
inlineoverridevirtual

Implements ZAxisTransform.

◆ changeNotifier()

NotifierAccess* EM::HorizonZTransform::changeNotifier ( )
inlineoverridevirtual

Reimplemented from ZAxisTransform.

◆ doTransform()

void EM::HorizonZTransform::doTransform ( const TrcKey ,
const SamplingData< float > &  ,
const ZDomain::Info sdzinfo,
int  sz,
float *  res 
) const
protected

◆ fillPar()

void EM::HorizonZTransform::fillPar ( IOPar ) const
overridevirtual

Reimplemented from ZAxisTransform.

◆ getDepthRange()

Interval<float> EM::HorizonZTransform::getDepthRange ( ) const
inline

◆ getTopBottom()

bool EM::HorizonZTransform::getTopBottom ( const TrcKey ,
float &  top,
float &  bot 
) const
protected

◆ getWorkZSampling()

ZSampling EM::HorizonZTransform::getWorkZSampling ( const ZSampling ,
const ZDomain::Info from,
const ZDomain::Info to 
) const
protected

◆ getZInterval() [1/3]

Interval<float> EM::HorizonZTransform::getZInterval ( bool  from) const
overridevirtual

Implements ZAxisTransform.

◆ getZInterval() [2/3]

ZSampling EM::HorizonZTransform::getZInterval ( bool  from,
bool  makenice 
) const

◆ getZInterval() [3/3]

ZSampling EM::HorizonZTransform::getZInterval ( const ZSampling ,
const ZDomain::Info from,
const ZDomain::Info to,
bool  makenice = true 
) const
protected

◆ getZIntervalCenter()

mDeprecatedDef float EM::HorizonZTransform::getZIntervalCenter ( bool  from) const
overridevirtual
Returns
the z interval in either to or from domain.

Reimplemented from ZAxisTransform.

◆ horChangeCB()

void EM::HorizonZTransform::horChangeCB ( CallBacker )
protected

◆ isReferenceHorizon()

bool EM::HorizonZTransform::isReferenceHorizon ( const MultiID horid,
float &  refz 
) const
overridevirtual

\refz is in 'to' domain

Reimplemented from ZAxisTransform.

◆ needsVolumeOfInterest()

bool EM::HorizonZTransform::needsVolumeOfInterest ( ) const
inlineoverridevirtual

Reimplemented from ZAxisTransform.

◆ setFlatZValue()

void EM::HorizonZTransform::setFlatZValue ( float  )

◆ setHorizon()

void EM::HorizonZTransform::setHorizon ( const Horizon )

◆ sKeyHorizonID()

static const char* EM::HorizonZTransform::sKeyHorizonID ( )
inlinestatic

◆ sKeyReferenceZ()

static const char* EM::HorizonZTransform::sKeyReferenceZ ( )
inlinestatic

◆ transformTrc()

void EM::HorizonZTransform::transformTrc ( const TrcKey ,
const SamplingData< float > &  ,
int  sz,
float *  res 
) const
overridevirtual

Implements ZAxisTransform.

◆ transformTrcBack()

void EM::HorizonZTransform::transformTrcBack ( const TrcKey ,
const SamplingData< float > &  ,
int  sz,
float *  res 
) const
overridevirtual

Implements ZAxisTransform.

◆ usePar()

bool EM::HorizonZTransform::usePar ( const IOPar )
overridevirtual

Reimplemented from ZAxisTransform.

Member Data Documentation

◆ change_

Notifier<HorizonZTransform> EM::HorizonZTransform::change_
protected

◆ depthrange_

Interval<float> EM::HorizonZTransform::depthrange_
protected

◆ flatzval_

float EM::HorizonZTransform::flatzval_ = 0.f
protected

◆ horchanged_

bool EM::HorizonZTransform::horchanged_ = false
protected

◆ horizon_

const Horizon* EM::HorizonZTransform::horizon_
protected

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