OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
Wavelet Class Reference
Inheritance diagram for Wavelet:
[legend]

Public Member Functions

 Wavelet (const char *nm=0)
 
 Wavelet (bool ricker_else_sinc, float fpeak, float sample_intv=mUdf(float), float scale=1)
 
 Wavelet (const Wavelet &)
 
Waveletoperator= (const Wavelet &)
 
virtual ~Wavelet ()
 
bool put (const IOObj *) const
 
float * samples ()
 
const float * samples () const
 
void set (int idx, float v)
 
float get (int idx) const
 
bool isValidSample (int idx) const
 
float sampleRate () const
 
int centerSample () const
 
StepInterval< float > samplePositions () const
 
int nearestSample (float z) const
 
bool hasSymmetricalSamples ()
 
int size () const
 
float getValue (float) const
 
void setSampleRate (float sr)
 
void setCenterSample (int cidx)
 positive for starttwt < 0 More...
 
void reSize (int)
 
bool reSample (float newsr)
 
bool reSampleTime (float newsr)
 
void ensureSymmetricalSamples ()
 pads with zeros - use with and before reSample More...
 
void transform (float b, float a)
 a*X+b transformation More...
 
void normalize ()
 
bool trimPaddedZeros ()
 returns whether any change More...
 
float getExtrValue (bool ismax=true) const
 
void getExtrValues (Interval< float > &) const
 
int getPos (float val, bool closetocenteronly=false) const
 
const ValueSeriesInterpolator< float > & interpolator () const
 
void setInterpolator (ValueSeriesInterpolator< float > *)
 becomes mine More...
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- 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 Waveletget (const IOObj *)
 
static IOObjgetIOObj (const char *wvltnm)
 
static void markScaled (const MultiID &id)
 "External" More...
 
static void markScaled (const MultiID &id, const MultiID &orgid, const MultiID &horid, const MultiID &seisid, const char *lvlnm)
 
static bool isScaled (const MultiID &)
 
static bool isScaled (const MultiID &id, MultiID &orgid, MultiID &horid, MultiID &seisid, BufferString &lvlnm)
 if external, orgid will be "0" More...
 

Protected Attributes

float dpos_
 
float * samps_
 
int sz_
 
int cidx_
 The index of the center sample. More...
 
ValueSeriesInterpolator< float > * intpol_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Private Member Functions

 mODTextTranslationClass (Wavelet)
 

Additional Inherited Members

- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Detailed Description

Constructor & Destructor Documentation

Wavelet::Wavelet ( const char *  nm = 0)
Wavelet::Wavelet ( bool  ricker_else_sinc,
float  fpeak,
float  sample_intv = mUdf(float),
float  scale = 1 
)
Wavelet::Wavelet ( const Wavelet )
virtual Wavelet::~Wavelet ( )
virtual

Member Function Documentation

int Wavelet::centerSample ( ) const
inline
void Wavelet::ensureSymmetricalSamples ( )

pads with zeros - use with and before reSample

static Wavelet* Wavelet::get ( const IOObj )
static
float Wavelet::get ( int  idx) const
inline
float Wavelet::getExtrValue ( bool  ismax = true) const
void Wavelet::getExtrValues ( Interval< float > &  ) const
static IOObj* Wavelet::getIOObj ( const char *  wvltnm)
static
int Wavelet::getPos ( float  val,
bool  closetocenteronly = false 
) const
float Wavelet::getValue ( float  ) const
bool Wavelet::hasSymmetricalSamples ( )
inline
const ValueSeriesInterpolator<float>& Wavelet::interpolator ( ) const
static bool Wavelet::isScaled ( const MultiID )
static
static bool Wavelet::isScaled ( const MultiID id,
MultiID orgid,
MultiID horid,
MultiID seisid,
BufferString lvlnm 
)
static

if external, orgid will be "0"

bool Wavelet::isValidSample ( int  idx) const
inline
static void Wavelet::markScaled ( const MultiID id)
static

"External"

static void Wavelet::markScaled ( const MultiID id,
const MultiID orgid,
const MultiID horid,
const MultiID seisid,
const char *  lvlnm 
)
static
Wavelet::mODTextTranslationClass ( Wavelet  )
private
int Wavelet::nearestSample ( float  z) const
void Wavelet::normalize ( )
Wavelet& Wavelet::operator= ( const Wavelet )
bool Wavelet::put ( const IOObj ) const
bool Wavelet::reSample ( float  newsr)
bool Wavelet::reSampleTime ( float  newsr)
void Wavelet::reSize ( int  )
StepInterval<float> Wavelet::samplePositions ( ) const
inline
float Wavelet::sampleRate ( ) const
inline
float* Wavelet::samples ( )
inline
const float* Wavelet::samples ( ) const
inline
void Wavelet::set ( int  idx,
float  v 
)
inline
void Wavelet::setCenterSample ( int  cidx)
inline

positive for starttwt < 0

void Wavelet::setInterpolator ( ValueSeriesInterpolator< float > *  )

becomes mine

void Wavelet::setSampleRate ( float  sr)
inline
int Wavelet::size ( ) const
inline
void Wavelet::transform ( float  b,
float  a 
)

a*X+b transformation

bool Wavelet::trimPaddedZeros ( )

returns whether any change

Member Data Documentation

int Wavelet::cidx_
protected

The index of the center sample.

float Wavelet::dpos_
protected
ValueSeriesInterpolator<float>* Wavelet::intpol_
protected
float* Wavelet::samps_
protected
int Wavelet::sz_
protected

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