OpendTect  6.3
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
RaySynthGenerator Class Reference

base class for synthetic trace generators. More...

Inheritance diagram for RaySynthGenerator:
[legend]

Public Member Functions

 RaySynthGenerator (const TypeSet< ElasticModel > *, const SynthGenParams &)
 
 RaySynthGenerator (RefMan< SyntheticData >, bool overwrite)
 
 ~RaySynthGenerator ()
 
void reset ()
 
void fillPar (IOPar &raypars) const
 
bool usePar (const IOPar &raypars)
 
void forceReflTimes (const StepInterval< float > &)
 
void getAllRefls (RefMan< ReflectivityModelSet > &)
 
uiString message () const
 
SyntheticData::RayModel & result (int id)
 
const SyntheticData::RayModel & result (int id) const
 
const ObjectSet< RayTracer1D > & rayTracers () const
 
const TypeSet< ElasticModel > & elasticModels () const
 
void getTraces (ObjectSet< SeisTrcBuf > &)
 
void getStackedTraces (SeisTrcBuf &)
 
RefMan< SyntheticDatagetSyntheticData () const
 
bool updateDataPack ()
 
- Public Member Functions inherited from ParallelTask
virtual ~ParallelTask ()
 
bool execute ()
 
virtual bool executeParallel (bool parallel)
 
void setProgressMeter (ProgressMeter *)
 Must be called before execute() More...
 
- Public Member Functions inherited from Task
virtual ~Task ()
 
virtual uiRetVal errorWithDetails () const
 
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 NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () 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 detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual BufferString getName () const
 
virtual void setName (const char *nm)
 
bool getNameFromPar (const IOPar &)
 
void putNameInPar (IOPar &) const
 
- Public Member Functions inherited from Seis::SynthGenBase
virtual void setWavelet (const Wavelet *)
 
virtual bool setOutSampling (const StepInterval< float > &)
 
bool getOutSamplingFromModel (const RefMan< ReflectivityModelSet > &, StepInterval< float > &, bool usenmo=false)
 
void setMuteLength (float n)
 
float getMuteLength () const
 
void setStretchLimit (float n)
 
float getStretchLimit () const
 
void doSampledReflectivity (bool yn)
 
virtual void enableFourierDomain (bool fourier)
 
uiString errMsg () const
 

Protected Member Functions

od_int64 nrIterations () const
 
od_int64 nrDone () const
 May be -1, i.e. class does not report nrdone. More...
 
uiString nrDoneText () const
 
od_int64 totalNr () const
 
bool doPrepare (int)
 
bool doWork (od_int64, od_int64, int)
 
bool doFinish (bool)
 
- Protected Member Functions inherited from ParallelTask
virtual int maxNrThreads () const
 
virtual int minThreadSize () const
 
virtual bool stopAllOnFailure () const
 
 ParallelTask (const char *nm=0)
 
 ParallelTask (const ParallelTask &)
 
int64_t calculateThreadSize (int64_t totalnr, int nrthreads, int thread) const
 
void addToNrDone (int64_t increment)
 
void quickAddToNrDone (int64_t loopidx)
 
void resetNrDone ()
 
- Protected Member Functions inherited from Task
 Task (const char *nm=0)
 
virtual bool shouldContinue ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
- Protected Member Functions inherited from Seis::SynthGenBase
 SynthGenBase ()
 
virtual ~SynthGenBase ()
 
bool isInputOK ()
 

Protected Attributes

RayTracerRunnerrtr_
 
bool ownraymodels_
 
uiString message_
 
const TypeSet< ElasticModel > * aimodels_
 
TypeSet< float > offsets_
 
IOPar raysetup_
 
StepInterval< float > forcedrefltimes_
 
bool forcerefltimes_
 
bool raytracingdone_
 
bool overwrite_
 
RefMan< SyntheticDatasynthdata_
 
- Protected Attributes inherited from Task
Control control_
 
Threads::ConditionVarworkcontrolcondvar_
 
- Protected Attributes inherited from NamedCallBacker
Notifier< NamedCallBackerdelnotif_
 
Threads::Atomic< bool > delalreadytriggered_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 
- Protected Attributes inherited from Seis::SynthGenBase
bool isfourier_
 
bool applynmo_
 
float stretchlimit_
 
float mutelength_
 
ConstRefMan< Waveletwavelet_
 
StepInterval< float > outputsampling_
 
bool dointernalmultiples_
 
bool dosampledreflectivities_
 
float surfreflcoeff_
 
uiString errmsg_
 

Private Member Functions

 mODTextTranslationClass (RaySynthGenerator)
 

Additional Inherited Members

- Public Types inherited from Task
enum  Control { Run, Pause, Stop }
 
- Static Public Member Functions inherited from ParallelTask
static uiString sPosFinished ()
 
static uiString sTrcFinished ()
 
- Static Public Member Functions inherited from Task
static uiString stdMessage ()
 
static uiString stdNrDoneText ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Static Public Member Functions inherited from Seis::SynthGenBase
static float cStdMuteLength ()
 
static float cStdStretchLimit ()
 
static const char * sKeyFourier ()
 
static const char * sKeyNMO ()
 
static const char * sKeyInternal ()
 
static const char * sKeySurfRefl ()
 
static const char * sKeyMuteLength ()
 
static const char * sKeyStretchLimit ()
 

Detailed Description

base class for synthetic trace generators.

Constructor & Destructor Documentation

RaySynthGenerator::RaySynthGenerator ( const TypeSet< ElasticModel > *  ,
const SynthGenParams  
)
RaySynthGenerator::RaySynthGenerator ( RefMan< SyntheticData ,
bool  overwrite 
)
RaySynthGenerator::~RaySynthGenerator ( )

Member Function Documentation

bool RaySynthGenerator::doFinish ( bool  success)
protectedvirtual

Called after all doWork have finished.

Parameters
successindicates whether all doWork returned true.

Reimplemented from ParallelTask.

bool RaySynthGenerator::doPrepare ( int  nrthreads)
protectedvirtual

Called once, before any doWork is called.

Reimplemented from ParallelTask.

bool RaySynthGenerator::doWork ( od_int64  ,
od_int64  ,
int   
)
protected
const TypeSet<ElasticModel>& RaySynthGenerator::elasticModels ( ) const
inline
void RaySynthGenerator::fillPar ( IOPar raypars) const
virtual

Reimplemented from Seis::SynthGenBase.

void RaySynthGenerator::forceReflTimes ( const StepInterval< float > &  )
void RaySynthGenerator::getAllRefls ( RefMan< ReflectivityModelSet > &  )
void RaySynthGenerator::getStackedTraces ( SeisTrcBuf )
RefMan<SyntheticData> RaySynthGenerator::getSyntheticData ( ) const
inline
void RaySynthGenerator::getTraces ( ObjectSet< SeisTrcBuf > &  )
uiString RaySynthGenerator::message ( ) const
inlinevirtual

Reimplemented from Task.

RaySynthGenerator::mODTextTranslationClass ( RaySynthGenerator  )
private
od_int64 RaySynthGenerator::nrDone ( ) const
protectedvirtual

May be -1, i.e. class does not report nrdone.

Reimplemented from ParallelTask.

uiString RaySynthGenerator::nrDoneText ( ) const
protectedvirtual

Reimplemented from Task.

od_int64 RaySynthGenerator::nrIterations ( ) const
protectedvirtual
Returns
the number of times the process should be run.

Implements ParallelTask.

const ObjectSet<RayTracer1D>& RaySynthGenerator::rayTracers ( ) const
void RaySynthGenerator::reset ( )
SyntheticData::RayModel& RaySynthGenerator::result ( int  id)
inline
const SyntheticData::RayModel& RaySynthGenerator::result ( int  id) const
inline
od_int64 RaySynthGenerator::totalNr ( ) const
protectedvirtual

Reimplemented from ParallelTask.

bool RaySynthGenerator::updateDataPack ( )
bool RaySynthGenerator::usePar ( const IOPar raypars)
virtual

Reimplemented from Seis::SynthGenBase.

Member Data Documentation

const TypeSet<ElasticModel>* RaySynthGenerator::aimodels_
protected
StepInterval<float> RaySynthGenerator::forcedrefltimes_
protected
bool RaySynthGenerator::forcerefltimes_
protected
uiString RaySynthGenerator::message_
protected
TypeSet<float> RaySynthGenerator::offsets_
protected
bool RaySynthGenerator::overwrite_
protected
bool RaySynthGenerator::ownraymodels_
protected
IOPar RaySynthGenerator::raysetup_
protected
bool RaySynthGenerator::raytracingdone_
protected
RayTracerRunner* RaySynthGenerator::rtr_
protected
RefMan<SyntheticData> RaySynthGenerator::synthdata_
protected

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