OpendTect-6_4
6.4
|
SectionAdjuster to adjust EM::Horizon. More...
Public Member Functions | |
HorizonAdjuster (EM::Horizon &, EM::SectionID) | |
~HorizonAdjuster () | |
void | reset () |
int | nextStep () |
void | getNeededAttribs (TypeSet< Attrib::SelSpec > &) const |
TrcKeyZSampling | getAttribCube (const Attrib::SelSpec &) const |
void | setCompareMethod (EventTracker::CompareMethod) |
EventTracker::CompareMethod | getCompareMethod () const |
void | setSearchWindow (const Interval< float > &rg) |
Interval< float > | searchWindow () const |
void | setTrackByValue (bool yn) |
bool | trackByValue () const |
void | setTrackEvent (VSEvent::Type ev) |
VSEvent::Type | trackEvent () const |
void | allowAmplitudeSignChange (bool) |
bool | isAmplitudeSignChangeAllowed () const |
void | setAmplitudeThreshold (float th) |
float | amplitudeThreshold () const |
void | setAmplitudeThresholds (const TypeSet< float > &ats) |
TypeSet< float > & | getAmplitudeThresholds () |
void | setAllowedVariance (float v) |
void | setAllowedVariances (const TypeSet< float > &avs) |
TypeSet< float > & | getAllowedVariances () |
float | allowedVariance () const |
void | setUseAbsThreshold (bool abs) |
bool | useAbsThreshold () const |
void | setSimilarityWindow (const Interval< float > &rg) |
Interval< float > | similarityWindow () const |
void | setSimilarityThreshold (float th) |
float | similarityThreshold () const |
void | setSnapToEvent (bool) |
bool | snapToEvent () const |
int | getNrAttributes () const |
const Attrib::SelSpec * | getAttributeSel (int idx) const |
void | setAttributeSel (int idx, const Attrib::SelSpec &) |
bool | hasInitializedSetup () const |
void | fillPar (IOPar &) const |
bool | usePar (const IOPar &) |
Public Member Functions inherited from MPE::SectionAdjuster | |
EM::SectionID | sectionID () const |
void | setPositions (const TypeSet< TrcKey > &targets, const TypeSet< TrcKey > *src=0) |
void | setSeedPosition (const TrcKey &) |
int | nextStep () |
const char * | errMsg () const |
virtual bool | is2D () const |
void | setThresholdValue (float val) |
float | getThresholdValue () const |
bool | removeOnFailure (bool yn) |
bool | removesOnFailure () const |
void | setUndo (bool yn) |
void | setSeedId (int) |
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 |
virtual int | doStep () |
bool | execute () |
Public Member Functions inherited from Task | |
virtual | ~Task () |
virtual int64_t | nrDone () const |
virtual int64_t | totalNr () const |
virtual uiString | uiMessage () const |
will be message() again in 7.x More... | |
virtual uiString | uiNrDoneText () const |
will be nrDoneText() in 7.x More... | |
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... | |
Protected Attributes | |
Attrib::SelSpec * | attribsel_ |
EM::Horizon & | horizon_ |
EventTracker & | evtracker_ |
Protected Attributes inherited from MPE::SectionAdjuster | |
TypeSet< TrcKey > | tks_ |
TypeSet< TrcKey > | tksrc_ |
BufferString | errmsg_ |
EM::SectionID | sectionid_ |
float | thresholdval_ |
bool | removeonfailure_ |
TrcKey | seedtk_ |
bool | setundo_ |
int | seedid_ |
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 | |
bool | track (const TrcKey &, const TrcKey &, float &) const |
void | setHorizonPick (const TrcKey &, float val) |
Static Private Member Functions | |
static const char * | sKeyTracker () |
static const char * | sKeyAttribID () |
Private Attributes | |
DataPackMgr & | dpm_ |
DataPack::ID | datapackid_ |
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 () |
Protected Member Functions inherited from MPE::SectionAdjuster | |
SectionAdjuster (EM::SectionID sid=-1) | |
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... | |
Static Protected Member Functions inherited from MPE::SectionAdjuster | |
static const char * | sKeyAdjuster () |
static const char * | sKeyThreshold () |
static const char * | sKeyRemoveOnFailure () |
SectionAdjuster to adjust EM::Horizon.
MPE::HorizonAdjuster::HorizonAdjuster | ( | EM::Horizon & | , |
EM::SectionID | |||
) |
MPE::HorizonAdjuster::~HorizonAdjuster | ( | ) |
void MPE::HorizonAdjuster::allowAmplitudeSignChange | ( | bool | ) |
float MPE::HorizonAdjuster::allowedVariance | ( | ) | const |
float MPE::HorizonAdjuster::amplitudeThreshold | ( | ) | const |
|
virtual |
Reimplemented from MPE::SectionAdjuster.
TypeSet<float>& MPE::HorizonAdjuster::getAllowedVariances | ( | ) |
TypeSet<float>& MPE::HorizonAdjuster::getAmplitudeThresholds | ( | ) |
|
virtual |
Reimplemented from MPE::SectionAdjuster.
|
virtual |
Reimplemented from MPE::SectionAdjuster.
EventTracker::CompareMethod MPE::HorizonAdjuster::getCompareMethod | ( | ) | const |
|
virtual |
Reimplemented from MPE::SectionAdjuster.
|
virtual |
Reimplemented from MPE::SectionAdjuster.
|
virtual |
Reimplemented from MPE::SectionAdjuster.
bool MPE::HorizonAdjuster::isAmplitudeSignChangeAllowed | ( | ) | const |
|
virtual |
MoreToDo() | Not finished. Call me again. |
Finished() | Nothing more to do. |
ErrorOccurred() | Something went wrong. |
Implements SequentialTask.
|
virtual |
Reimplemented from MPE::SectionAdjuster.
Interval<float> MPE::HorizonAdjuster::searchWindow | ( | ) | const |
void MPE::HorizonAdjuster::setAllowedVariance | ( | float | v | ) |
void MPE::HorizonAdjuster::setAllowedVariances | ( | const TypeSet< float > & | avs | ) |
void MPE::HorizonAdjuster::setAmplitudeThreshold | ( | float | th | ) |
void MPE::HorizonAdjuster::setAmplitudeThresholds | ( | const TypeSet< float > & | ats | ) |
|
virtual |
Reimplemented from MPE::SectionAdjuster.
void MPE::HorizonAdjuster::setCompareMethod | ( | EventTracker::CompareMethod | ) |
|
private |
void MPE::HorizonAdjuster::setSearchWindow | ( | const Interval< float > & | rg | ) |
void MPE::HorizonAdjuster::setSimilarityThreshold | ( | float | th | ) |
void MPE::HorizonAdjuster::setSimilarityWindow | ( | const Interval< float > & | rg | ) |
void MPE::HorizonAdjuster::setSnapToEvent | ( | bool | ) |
void MPE::HorizonAdjuster::setTrackByValue | ( | bool | yn | ) |
void MPE::HorizonAdjuster::setTrackEvent | ( | VSEvent::Type | ev | ) |
void MPE::HorizonAdjuster::setUseAbsThreshold | ( | bool | abs | ) |
float MPE::HorizonAdjuster::similarityThreshold | ( | ) | const |
Interval<float> MPE::HorizonAdjuster::similarityWindow | ( | ) | const |
|
inlinestaticprivate |
|
inlinestaticprivate |
bool MPE::HorizonAdjuster::snapToEvent | ( | ) | const |
bool MPE::HorizonAdjuster::trackByValue | ( | ) | const |
VSEvent::Type MPE::HorizonAdjuster::trackEvent | ( | ) | const |
bool MPE::HorizonAdjuster::useAbsThreshold | ( | ) | const |
|
virtual |
Reimplemented from MPE::SectionAdjuster.
|
protected |
|
private |
|
private |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019