OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
VrmsRayTracer1D Class Reference

Ray tracer in 1D based on Vrms. More...

Inheritance diagram for VrmsRayTracer1D:
[legend]

Public Member Functions

 mDefaultFactoryInstantiation (RayTracer1D, VrmsRayTracer1D,"VrmsRayTracer", tr("Simple RayTracer"))
 
RayTracer1D::Setupsetup ()
 
const RayTracer1D::Setupsetup () const
 
- Public Member Functions inherited from RayTracer1D
 mDefineFactoryInClass (RayTracer1D, factory)
 
 ~RayTracer1D ()
 
virtual bool hasSameParams (const RayTracer1D &) const
 
bool setModel (const ElasticModel &)
 
const ElasticModelgetModel () const
 
void setOffsets (const TypeSet< float > &offsets)
 
void getOffsets (TypeSet< float > &offsets) const
 
bool isPSWithoutZeroOffset () const
 
uiString errMsg () const
 
float getSinAngle (int layeridx, int offsetidx) const
 
bool getReflectivity (int offset, ReflectivityModel &) const
 
bool getTDModel (int offset, TimeDepthModel &) const
 
bool getZeroOffsTDModel (TimeDepthModel &) const
 
virtual void fillPar (IOPar &) const
 
virtual bool usePar (const IOPar &)
 
float getDepth (int layer) const
 
float getTime (int layer, int offset) const
 
- Public Member Functions inherited from ParallelTask
virtual ~ParallelTask ()
 
bool execute ()
 
virtual bool executeParallel (bool parallel)
 
void setProgressMeter (ProgressMeter *)
 Must be called before execute() More...
 
int64_t nrDone () const
 May be -1, i.e. class does not report nrdone. More...
 
int64_t totalNr () const
 
- Public Member Functions inherited from Task
virtual ~Task ()
 
virtual uiString uiMessage () const
 will be message() again in 7.x More...
 
virtual uiString uiNrDoneText () const
 will be nrDoneText() in 7.x More...
 
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

bool doWork (od_int64, od_int64, int)
 
bool compute (int, int, float)
 
- Protected Member Functions inherited from RayTracer1D
 RayTracer1D ()
 
od_int64 nrIterations () const
 
virtual bool doPrepare (int)
 
bool getTDM (const Array1D< float > &, TimeDepthModel &) const
 
void setZeroOffsetTWT ()
 
- 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 CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

RayTracer1D::Setup setup_
 
- Protected Attributes inherited from RayTracer1D
ElasticModel model_
 
TypeSet< float > offsets_
 
uiString errmsg_
 
TypeSet< int > offsetpermutation_
 
TypeSet< float > velmax_
 
TypeSet< float > depths_
 
Array2DImpl< float > * sini_
 
Array2DImpl< float > * twt_
 
Array1D< float > * zerooffstwt_
 
Array2DImpl< float_complex > * reflectivity_
 
- Protected Attributes inherited from Task
Control control_
 
Threads::ConditionVarworkcontrolcondvar_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Private Member Functions

 mODTextTranslationClass (VrmsRayTracer1D)
 

Additional Inherited Members

- Public Types inherited from Task
enum  Control { Run, Pause, Stop }
 
- Static Public Member Functions inherited from RayTracer1D
static RayTracer1DcreateInstance (const IOPar &, uiString &)
 
static const char * sKeyPWave ()
 
static const char * sKeyOffset ()
 
static const char * sKeyReflectivity ()
 
static const char * sKeyBlock ()
 
static const char * sKeyBlockRatio ()
 
static float cDefaultBlockRatio ()
 
static void setIOParsToZeroOffset (IOPar &iop)
 
- Static Public Member Functions inherited from ParallelTask
static uiString sPosFinished ()
 
static uiString sTrcFinished ()
 
- Static Public Member Functions inherited from Task
static uiString stdNrDoneText ()
 
static uiString uiStdNrDoneText ()
 

Detailed Description

Ray tracer in 1D based on Vrms.

Member Function Documentation

bool VrmsRayTracer1D::compute ( int  ,
int  ,
float   
)
protectedvirtual

Reimplemented from RayTracer1D.

bool VrmsRayTracer1D::doWork ( od_int64  ,
od_int64  ,
int   
)
protected
VrmsRayTracer1D::mDefaultFactoryInstantiation ( RayTracer1D  ,
VrmsRayTracer1D  ,
"VrmsRayTracer"  ,
tr("Simple RayTracer")   
)
VrmsRayTracer1D::mODTextTranslationClass ( VrmsRayTracer1D  )
private
RayTracer1D::Setup& VrmsRayTracer1D::setup ( )
inlinevirtual

Implements RayTracer1D.

const RayTracer1D::Setup& VrmsRayTracer1D::setup ( ) const
inlinevirtual

Implements RayTracer1D.

Member Data Documentation

RayTracer1D::Setup VrmsRayTracer1D::setup_
protected

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