OpendTect  6.3
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 DBKeySet &ioobjids, ObjectSet< DataPointSet > &, bool zvalsintime)
 
void usePar (const IOPar &)
 
int nextStep ()
 
uiString message () const
 
uiString nrDoneText () const
 
od_int64 nrDone () const
 
od_int64 totalNr () const
 
uiRetVal errMsgs () const
 
const DBKeySetioObjIds () 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 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
 

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

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 NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Protected Attributes

const DBKeySet ids_
 
ObjectSet< DataPointSet > & dpss_
 
int curid_
 
const bool zistime_
 
Interval< float > zrg_
 
int dahcolnr_
 
uiString msg_
 
uiRetVal errmsgs_
 
- Protected Attributes inherited from SequentialTask
ProgressMeterprogressmeter_
 
int lastupdate_
 
- 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 (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 DBKeySet 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
uiRetVal Well::TrackSampler::errMsgs ( ) const
inline
void Well::TrackSampler::getData ( const Data ,
DataPointSet  
)
protected
bool Well::TrackSampler::getPos ( const Data ,
float  ,
BinIDValue ,
int &  ,
Coord3  
) const
protected
const DBKeySet& Well::TrackSampler::ioObjIds ( ) const
inline
uiString Well::TrackSampler::message ( ) const
inlinevirtual

Implements Executor.

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
only used for displaying progress.

Implements Executor.

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

Implements Executor.

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.

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
uiRetVal Well::TrackSampler::errmsgs_
protected
bool Well::TrackSampler::for2d_
const DBKeySet Well::TrackSampler::ids_
protected
float Well::TrackSampler::locradius_
BufferStringSet Well::TrackSampler::lognms_
bool Well::TrackSampler::minidps_
bool Well::TrackSampler::mkdahcol_
uiString Well::TrackSampler::msg_
protected
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. 2017