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

Public Member Functions

 WaveletExtractor (const IOObj &, int wvltsize)
 
 ~WaveletExtractor ()
 
void setSelData (const Seis::SelData &)
 
void setSelData (const ObjectSet< Seis::SelData > &)
 
void setPhase (int phase)
 
void setTaperParamVal (float paramval)
 
const WaveletgetWavelet () const
 
- Public Member Functions inherited from Executor
 Executor (const char *nm)
 
virtual ~Executor ()
 
virtual int doStep ()
 
bool go (od_ostream *s=0, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0)
 
bool go (od_ostream &s, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0)
 
virtual bool execute ()
 
- Public Member Functions inherited from SequentialTask
 SequentialTask (const char *nm=0)
 
virtual ~SequentialTask ()
 
void setProgressMeter (ProgressMeter *)
 Must be called before execute() More...
 
ProgressMeterprogressMeter ()
 
const ProgressMeterprogressMeter () const
 
bool execute ()
 
- Public Member Functions inherited from Task
virtual ~Task ()
 
virtual void enableWorkControl (bool=true)
 Must be called before execute() More...
 
bool workControlEnabled () const
 
virtual void controlWork (Control)
 
virtual Control getState () const
 
- 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...
 

Protected Member Functions

void initWavelet (const IOObj &)
 
void init2D ()
 
void init3D ()
 
bool getSignalInfo (const SeisTrc &, int &start, int &signalsz) const
 
bool getNextLine ()
 
bool processTrace (const SeisTrc &, int start, int signalsz)
 
void normalisation (Array1DImpl< float > &)
 
bool finish (int nrusedtrcs)
 
bool doWaveletIFFT ()
 
bool rotateWavelet ()
 
bool taperWavelet ()
 
int nextStep ()
 
od_int64 totalNr () const
 
od_int64 nrDone () const
 
uiString uiNrDoneText () const
 will be nrDoneText() in 7.x More...
 
uiString uiMessage () const
 will be message() again in 7.x More...
 
- Protected Member Functions inherited from Executor
virtual bool goImpl (od_ostream *, bool, bool, int)
 
- Protected Member Functions inherited from Task
 Task (const char *nm=0)
 
virtual bool shouldContinue ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

Waveletwvlt_
 
const IOObjiobj_
 
const Seis::SelDatasd_
 
ObjectSet< Seis::SelDatasdset_
 
SeisTrcReaderseisrdr_
 
Fourier::CCfft_
 
int lineidx_
 
float paramval_
 
int wvltsize_
 
int phase_
 
int nrusedtrcs_
 
int nrdone_
 
bool isbetweenhor_
 
od_int64 totalnr_
 
uiString msg_
 
- Protected Attributes inherited from SequentialTask
ProgressMeterprogressmeter_
 
int lastupdate_
 
- Protected Attributes inherited from Task
Control control_
 
Threads::ConditionVarworkcontrolcondvar_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Private Member Functions

 mODTextTranslationClass (WaveletExtractor)
 

Additional Inherited Members

- Public Types inherited from Task
enum  Control { Run, Pause, Stop }
 
- Static Public Member Functions inherited from SequentialTask
static int ErrorOccurred ()
 
static int Finished ()
 
static int MoreToDo ()
 
static int WarningAvailable ()
 
- Static Public Member Functions inherited from Task
static uiString stdNrDoneText ()
 
static uiString uiStdNrDoneText ()
 
- Public Attributes inherited from Executor
Notifier< Executorprestep
 
Notifier< Executorpoststep
 Only when MoreToDo will be returned. More...
 

Detailed Description

Constructor & Destructor Documentation

WaveletExtractor::WaveletExtractor ( const IOObj ,
int  wvltsize 
)
WaveletExtractor::~WaveletExtractor ( )

Member Function Documentation

bool WaveletExtractor::doWaveletIFFT ( )
protected
bool WaveletExtractor::finish ( int  nrusedtrcs)
protected
bool WaveletExtractor::getNextLine ( )
protected
bool WaveletExtractor::getSignalInfo ( const SeisTrc ,
int &  start,
int &  signalsz 
) const
protected
const Wavelet& WaveletExtractor::getWavelet ( ) const
void WaveletExtractor::init2D ( )
protected
void WaveletExtractor::init3D ( )
protected
void WaveletExtractor::initWavelet ( const IOObj )
protected
WaveletExtractor::mODTextTranslationClass ( WaveletExtractor  )
private
int WaveletExtractor::nextStep ( )
protectedvirtual
Return values
MoreToDo()Not finished. Call me again.
Finished()Nothing more to do.
ErrorOccurred()Something went wrong.
Note
if function returns a value greater than cMoreToDo(), it should be interpreted as cMoreToDo().

Implements SequentialTask.

void WaveletExtractor::normalisation ( Array1DImpl< float > &  )
protected
od_int64 WaveletExtractor::nrDone ( ) const
inlineprotectedvirtual
Note
nrDone is only used for displaying progress and will be compared to totalNr to show user how large part of the task that is finished.

Reimplemented from Task.

bool WaveletExtractor::processTrace ( const SeisTrc ,
int  start,
int  signalsz 
)
protected
bool WaveletExtractor::rotateWavelet ( )
protected
void WaveletExtractor::setPhase ( int  phase)
void WaveletExtractor::setSelData ( const Seis::SelData )
void WaveletExtractor::setSelData ( const ObjectSet< Seis::SelData > &  )
void WaveletExtractor::setTaperParamVal ( float  paramval)
bool WaveletExtractor::taperWavelet ( )
protected
od_int64 WaveletExtractor::totalNr ( ) const
inlineprotectedvirtual

Reimplemented from Task.

uiString WaveletExtractor::uiMessage ( ) const
protectedvirtual

will be message() again in 7.x

Note
totalNr is only used for displaying progress.

Reimplemented from Task.

uiString WaveletExtractor::uiNrDoneText ( ) const
protectedvirtual

will be nrDoneText() in 7.x

Reimplemented from Task.

Member Data Documentation

Fourier::CC* WaveletExtractor::fft_
protected
const IOObj& WaveletExtractor::iobj_
protected
bool WaveletExtractor::isbetweenhor_
protected
int WaveletExtractor::lineidx_
protected
uiString WaveletExtractor::msg_
protected
int WaveletExtractor::nrdone_
protected
int WaveletExtractor::nrusedtrcs_
protected
float WaveletExtractor::paramval_
protected
int WaveletExtractor::phase_
protected
const Seis::SelData* WaveletExtractor::sd_
protected
ObjectSet<Seis::SelData> WaveletExtractor::sdset_
protected
SeisTrcReader* WaveletExtractor::seisrdr_
protected
od_int64 WaveletExtractor::totalnr_
protected
Wavelet& WaveletExtractor::wvlt_
protected
int WaveletExtractor::wvltsize_
protected

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