![]() |
OpendTect
6.3
|
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 Seis::Provider * | provider (int idx=0) const |
| const SeisTrcWriter & | writer () const |
| SeisTrc & | getTrace () |
| const SeisTrc & | getInputTrace () |
| void | setTracesPerStep (int n) |
| default is 10 More... | |
| uiString | message () const |
| uiString | nrDoneText () const |
| virtual od_int64 | nrDone () const |
| virtual od_int64 | totalNr () const |
| virtual int | nextStep () |
| int | nrSkipped () const |
| int | nrWritten () const |
| 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 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 () |
| NamedObject & | operator= (const NamedObject &) |
| bool | operator== (const NamedObject &oth) const |
| virtual const OD::String & | name () const |
| virtual BufferString | getName () const |
| virtual void | setName (const char *nm) |
| bool | getNameFromPar (const IOPar &) |
| void | putNameInPar (IOPar &) const |
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 NamedCallBacker | |
| void | sendDelNotif () const |
Protected Member Functions inherited from CallBacker | |
| void | detachAllNotifiers () const |
| Call from the destructor of your inherited object. More... | |
Protected Attributes | |
| ObjectSet< Seis::Provider > | provs_ |
| SeisTrcWriter & | wrr_ |
| SeisTrc & | intrc_ |
| SeisTrc * | worktrc_ |
| SeisResampler * | resampler_ |
| uiString | curmsg_ |
| bool | allszsfound_ |
| bool | skipcurtrc_ |
| int | nrwr_ |
| int | nrskipped_ |
| od_int64 | totnr_ |
| DBKey & | wrrkey_ |
| int | trcsperstep_ |
| int | curprovidx_ |
| 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 NamedCallBacker | |
| Notifier< NamedCallBacker > | delnotif_ |
| Threads::Atomic< bool > | delalreadytriggered_ |
Protected Attributes inherited from NamedObject | |
| BufferString | name_ |
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 | stdMessage () |
| static uiString | stdNrDoneText () |
Static Public Member Functions inherited from CallBacker | |
| static void | createReceiverForCurrentThread () |
| static void | removeReceiverForCurrentThread () |
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 |
Implements Executor.
|
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 |
default is 10
|
inline |
will also be checked after processing CB
|
inline |
|
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. 2017