OpendTect  6.3
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 &)
 
- 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 message () const
 
virtual uiString nrDoneText () const
 
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
 

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 NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 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 NamedCallBacker
Notifier< NamedCallBackerdelnotif_
 
Threads::Atomic< bool > delalreadytriggered_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

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 stdMessage ()
 
static uiString stdNrDoneText ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

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. 2017