OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
Well::TrackSampler Class Reference

Collects positions along selected well tracks. The DataPointSet will get new rows with the positions along the track. More...

Inheritance diagram for Well::TrackSampler:
[legend]

Public Member Functions

 TrackSampler (const BufferStringSet &ioobjids, ObjectSet< DataPointSet > &, bool zvalsintime)
 
void usePar (const IOPar &)
 
int nextStep ()
 
uiString uiMessage () const
 will be message() again in 7.x More...
 
uiString uiNrDoneText () const
 will be nrDoneText() in 7.x More...
 
od_int64 nrDone () const
 
od_int64 totalNr () const
 
uiString errMsg () const
 
const BufferStringSetioObjIds () const
 
ObjectSet< DataPointSet > & dataPointSets ()
 
- 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...
 

Static Public Member Functions

static const char * sKeySelRadius ()
 
static const char * sKeyDahCol ()
 
static const char * sKeyFor2D ()
 
static const char * sKeyLogNm ()
 
- 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

float locradius_
 
bool for2d_
 
bool minidps_
 
bool mkdahcol_
 
BufferStringSet lognms_
 
ExtractParams params_
 
- Public Attributes inherited from Executor
Notifier< Executorprestep
 
Notifier< Executorpoststep
 Only when MoreToDo will be returned. More...
 

Protected Member Functions

void getData (const Data &, DataPointSet &)
 
bool getPos (const Data &, float, BinIDValue &, int &, Coord3 &) const
 
void addPosns (DataPointSet &, const BinIDValue &, const Coord3 &, float dah) const
 
- 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

const BufferStringSetids_
 
ObjectSet< DataPointSet > & dpss_
 
int curid_
 
const bool zistime_
 
Interval< float > zrg_
 
int dahcolnr_
 
uiString errmsg_
 
- 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 (TrackSampler)
 

Additional Inherited Members

- Public Types inherited from Task
enum  Control { Run, Pause, Stop }
 

Detailed Description

Collects positions along selected well tracks. The DataPointSet will get new rows with the positions along the track.

Constructor & Destructor Documentation

Well::TrackSampler::TrackSampler ( const BufferStringSet ioobjids,
ObjectSet< DataPointSet > &  ,
bool  zvalsintime 
)

Member Function Documentation

void Well::TrackSampler::addPosns ( DataPointSet ,
const BinIDValue ,
const Coord3 ,
float  dah 
) const
protected
ObjectSet<DataPointSet>& Well::TrackSampler::dataPointSets ( )
inline
uiString Well::TrackSampler::errMsg ( ) const
inline
void Well::TrackSampler::getData ( const Data ,
DataPointSet  
)
protected
bool Well::TrackSampler::getPos ( const Data ,
float  ,
BinIDValue ,
int &  ,
Coord3  
) const
protected
const BufferStringSet& Well::TrackSampler::ioObjIds ( ) const
inline
Well::TrackSampler::mODTextTranslationClass ( TrackSampler  )
private
int Well::TrackSampler::nextStep ( )
virtual
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.

od_int64 Well::TrackSampler::nrDone ( ) const
inlinevirtual
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.

static const char* Well::TrackSampler::sKeyDahCol ( )
static
static const char* Well::TrackSampler::sKeyFor2D ( )
static
static const char* Well::TrackSampler::sKeyLogNm ( )
static
static const char* Well::TrackSampler::sKeySelRadius ( )
static
od_int64 Well::TrackSampler::totalNr ( ) const
inlinevirtual

Reimplemented from Task.

uiString Well::TrackSampler::uiMessage ( ) const
inlinevirtual

will be message() again in 7.x

Note
totalNr is only used for displaying progress.

Reimplemented from Task.

uiString Well::TrackSampler::uiNrDoneText ( ) const
inlinevirtual

will be nrDoneText() in 7.x

Reimplemented from Task.

void Well::TrackSampler::usePar ( const IOPar )

Member Data Documentation

int Well::TrackSampler::curid_
protected
int Well::TrackSampler::dahcolnr_
protected
ObjectSet<DataPointSet>& Well::TrackSampler::dpss_
protected
uiString Well::TrackSampler::errmsg_
protected
bool Well::TrackSampler::for2d_
const BufferStringSet& Well::TrackSampler::ids_
protected
float Well::TrackSampler::locradius_
BufferStringSet Well::TrackSampler::lognms_
bool Well::TrackSampler::minidps_
bool Well::TrackSampler::mkdahcol_
ExtractParams Well::TrackSampler::params_
const bool Well::TrackSampler::zistime_
protected
Interval<float> Well::TrackSampler::zrg_
protected

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