OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | 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

 mDefaultFactoryInstantiation (ZAxisTransform, HorizonZTransform,"HorizonZTransform", toUiString(sFactoryKeyword()))
 
 HorizonZTransform ()
 
void setHorizon (const Horizon &)
 
void transformTrc (const TrcKey &, const SamplingData< float > &, int sz, float *res) const
 
void transformTrcBack (const TrcKey &, const SamplingData< float > &, int sz, float *res) const
 
bool canTransformSurv (TrcKey::SurvID) const
 
Interval< float > getZInterval (bool from) const
 
float getZIntervalCenter (bool from) const
 
bool needsVolumeOfInterest () const
 
Interval< float > getDepthRange () const
 
NotifierAccesschangeNotifier ()
 
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 
- Public Member Functions inherited from ZAxisTransform
 mDefineFactoryInClass (ZAxisTransform, factory)
 
virtual bool isOK () const
 
virtual uiString errMsg () const
 
virtual int addVolumeOfInterest (const TrcKeyZSampling &, bool zistrans=false)
 
virtual void setVolumeOfInterest (int volid, const TrcKeyZSampling &, bool zistrans=false)
 
virtual void removeVolumeOfInterest (int volid)
 
virtual bool loadDataIfMissing (int volid, TaskRunner *=0)
 
float transformTrc (const TrcKey &, float z) const
 
float transformTrcBack (const TrcKey &, float z) const
 
virtual float getGoodZStep () const
 
ZDomain::InfofromZDomainInfo ()
 
ZDomain::InfotoZDomainInfo ()
 
const ZDomain::InfofromZDomainInfo () const
 
const ZDomain::InfotoZDomainInfo () const
 
const char * fromZDomainKey () const
 
const char * toZDomainKey () const
 
virtual float toZScale () const
 
virtual float zScale () 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 transformBack (const BinID &, const SamplingData< float > &, int sz, float *res) const
 
float transformBack (const BinIDValue &) const
 
float transformBack (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 transformBack2D (const char *linenm, int trcnr, const SamplingData< float > &, int sz, float *res) const
 
float transformBack2D (const char *linenm, int trcnr, float z) const
 
- 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 * sKeyHorizonID ()
 
- Static Public Member Functions inherited from ZAxisTransform
static ZAxisTransformcreate (const IOPar &)
 

Protected Member Functions

 ~HorizonZTransform ()
 
void calculateHorizonRange ()
 
void horChangeCB (CallBacker *)
 
bool getTopBottom (const TrcKey &, float &top, float &bot) const
 
- Protected Member Functions inherited from ZAxisTransform
 ZAxisTransform (const ZDomain::Def &from, const ZDomain::Def &to)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

const Horizonhorizon_
 
Interval< float > depthrange_
 
bool horchanged_
 
Notifier< HorizonZTransformchange_
 
- Protected Attributes inherited from ZAxisTransform
ZDomain::Infotozdomaininfo_
 
ZDomain::Infofromzdomaininfo_
 
uiString errmsg_
 

Private Member Functions

 mODTextTranslationClass (HorizonZTransform)
 

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

EM::HorizonZTransform::HorizonZTransform ( )
EM::HorizonZTransform::~HorizonZTransform ( )
protected

Member Function Documentation

void EM::HorizonZTransform::calculateHorizonRange ( )
protected
bool EM::HorizonZTransform::canTransformSurv ( TrcKey::SurvID  ) const
inlinevirtual

Implements ZAxisTransform.

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

Reimplemented from ZAxisTransform.

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

Reimplemented from ZAxisTransform.

Interval<float> EM::HorizonZTransform::getDepthRange ( ) const
inline
bool EM::HorizonZTransform::getTopBottom ( const TrcKey ,
float &  top,
float &  bot 
) const
protected
Interval<float> EM::HorizonZTransform::getZInterval ( bool  from) const
virtual

Implements ZAxisTransform.

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

Reimplemented from ZAxisTransform.

void EM::HorizonZTransform::horChangeCB ( CallBacker )
protected
EM::HorizonZTransform::mDefaultFactoryInstantiation ( ZAxisTransform  ,
HorizonZTransform  ,
"HorizonZTransform"  ,
toUiString(sFactoryKeyword())   
)
EM::HorizonZTransform::mODTextTranslationClass ( HorizonZTransform  )
private
bool EM::HorizonZTransform::needsVolumeOfInterest ( ) const
inlinevirtual

Reimplemented from ZAxisTransform.

void EM::HorizonZTransform::setHorizon ( const Horizon )
static const char* EM::HorizonZTransform::sKeyHorizonID ( )
inlinestatic
void EM::HorizonZTransform::transformTrc ( const TrcKey ,
const SamplingData< float > &  ,
int  sz,
float *  res 
) const
virtual

Implements ZAxisTransform.

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

Implements ZAxisTransform.

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

Reimplemented from ZAxisTransform.

Member Data Documentation

Notifier<HorizonZTransform> EM::HorizonZTransform::change_
protected
Interval<float> EM::HorizonZTransform::depthrange_
protected
bool EM::HorizonZTransform::horchanged_
protected
const Horizon* EM::HorizonZTransform::horizon_
protected

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