OpendTect-6_4
6.4
|
Single trace processing executor. More...
Public Member Functions | |
SeisSingleTraceProc (const IOObj &in, const IOObj &out, const char *nm="Trace processor", const IOPar *iniopar=0, const uiString &msg=uiStrings::sProcessing(), int compnr=-1) | |
SeisSingleTraceProc (ObjectSet< IOObj >, const IOObj &, const char *nm="Trace processor", ObjectSet< IOPar > *iniopars=0, const uiString &msg=uiStrings::sProcessing(), int compnr=-1) | |
SeisSingleTraceProc (const IOObj &out, const char *nm, const uiString &msg) | |
virtual | ~SeisSingleTraceProc () |
bool | addReader (const IOObj &, const IOPar *iop=0) |
Must be done before any step. More... | |
void | setInput (const IOObj &, const IOObj &, const char *, const IOPar *, const uiString &) |
Must be done before any step. More... | |
void | skipCurTrc () |
will also be checked after processing CB More... | |
const SeisTrcReader * | reader (int idx=0) const |
const SeisTrcWriter & | writer () const |
SeisTrc & | getTrace () |
const SeisTrc & | getInputTrace () |
void | setTracesPerStep (int n) |
default is 10 More... | |
uiString | uiMessage () const |
will be message() again in 7.x More... | |
uiString | uiNrDoneText () const |
will be nrDoneText() in 7.x More... | |
virtual od_int64 | nrDone () const |
virtual od_int64 | totalNr () const |
virtual int | nextStep () |
int | nrSkipped () const |
int | nrWritten () const |
void | setTotalNrIfUnknown (int nr) |
void | setScaler (Scaler *) |
Scaler becomes mine. More... | |
void | setResampler (SeisResampler *) |
void | skipNullTraces (bool yn=true) |
void | fillNullTraces (bool yn=true) |
void | setExtTrcToSI (bool yn) |
void | setProcPars (const IOPar &, bool is2d) |
Sets all above proc pars from IOPar. More... | |
const Scaler * | scaler () const |
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... | |
ProgressMeter * | progressMeter () |
const ProgressMeter * | progressMeter () 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::String & | name () const |
virtual const OD::String & | annotName () 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... | |
Public Attributes | |
Notifier< SeisSingleTraceProc > | traceselected_ |
Notifier< SeisSingleTraceProc > | proctobedone_ |
Public Attributes inherited from Executor | |
Notifier< Executor > | prestep |
Notifier< Executor > | poststep |
Only when MoreToDo will be returned. More... | |
Protected Member Functions | |
bool | nextReader () |
virtual void | wrapUp () |
int | getNextTrc () |
int | getFillTrc () |
bool | prepareTrc () |
bool | writeTrc () |
void | prepareNullFilling () |
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 | |
ObjectSet< SeisTrcReader > | rdrs_ |
SeisTrcWriter & | wrr_ |
SeisTrc & | intrc_ |
SeisTrc * | worktrc_ |
SeisResampler * | resampler_ |
uiString | curmsg_ |
bool | allszsfound_ |
bool | skipcurtrc_ |
int | nrwr_ |
int | nrskipped_ |
int | totnr_ |
MultiID & | wrrkey_ |
int | trcsperstep_ |
int | currdridx_ |
Scaler * | scaler_ |
bool | skipnull_ |
bool | is3d_ |
bool | fillnull_ |
BinID | fillbid_ |
TrcKeySampling | fillhs_ |
SeisTrc * | filltrc_ |
bool | extendtrctosi_ |
int | compnr_ |
Protected Attributes inherited from SequentialTask | |
ProgressMeter * | progressmeter_ |
int | lastupdate_ |
Protected Attributes inherited from Task | |
Control | control_ |
Threads::ConditionVar * | workcontrolcondvar_ |
Protected Attributes inherited from NamedObject | |
BufferString * | name_ |
NamedObject * | linkedto_ |
CallBackSet * | delnotify_ |
Private Member Functions | |
mODTextTranslationClass (SeisSingleTraceProc) | |
Additional Inherited Members | |
Public Types inherited from Task | |
enum | Control { Run, Pause, Stop } |
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 () |
Single trace processing executor.
When a trace info is read, the selection notifier is triggered. You can then use skipCurTrc(). When the trace is read, the processing notifier is triggered. You can set your own trace as output trace, otherwise the input trace will be taken.
SeisSingleTraceProc::SeisSingleTraceProc | ( | const IOObj & | in, |
const IOObj & | out, | ||
const char * | nm = "Trace processor" , |
||
const IOPar * | iniopar = 0 , |
||
const uiString & | msg = uiStrings::sProcessing() , |
||
int | compnr = -1 |
||
) |
SeisSingleTraceProc::SeisSingleTraceProc | ( | ObjectSet< IOObj > | , |
const IOObj & | , | ||
const char * | nm = "Trace processor" , |
||
ObjectSet< IOPar > * | iniopars = 0 , |
||
const uiString & | msg = uiStrings::sProcessing() , |
||
int | compnr = -1 |
||
) |
SeisSingleTraceProc::SeisSingleTraceProc | ( | const IOObj & | out, |
const char * | nm, | ||
const uiString & | msg | ||
) |
|
virtual |
Must be done before any step.
|
inline |
|
protected |
|
inline |
|
protected |
|
inline |
|
private |
|
protected |
|
virtual |
MoreToDo() | Not finished. Call me again. |
Finished() | Nothing more to do. |
ErrorOccurred() | Something went wrong. |
Implements SequentialTask.
|
virtual |
Reimplemented from Task.
|
inline |
|
inline |
|
protected |
|
protected |
|
inline |
|
inline |
|
inline |
void SeisSingleTraceProc::setInput | ( | const IOObj & | , |
const IOObj & | , | ||
const char * | , | ||
const IOPar * | , | ||
const uiString & | |||
) |
Must be done before any step.
void SeisSingleTraceProc::setProcPars | ( | const IOPar & | , |
bool | is2d | ||
) |
Sets all above proc pars from IOPar.
void SeisSingleTraceProc::setResampler | ( | SeisResampler * | ) |
|
inline |
|
inline |
default is 10
|
inline |
will also be checked after processing CB
|
inline |
|
virtual |
|
virtual |
will be nrDoneText() in 7.x
Reimplemented from Task.
|
protectedvirtual |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Notifier<SeisSingleTraceProc> SeisSingleTraceProc::proctobedone_ |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Notifier<SeisSingleTraceProc> SeisSingleTraceProc::traceselected_ |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019