OpendTect  6.6
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
MPE::EMSeedPicker Class Reference

Handles adding of seeds and retracking of events based on new seeds. An instance of the class is usually available from each EMTracker. More...

Inheritance diagram for MPE::EMSeedPicker:
[legend]

Public Types

enum  TrackMode { TrackFromSeeds , TrackBetweenSeeds , DrawAndSnap , DrawBetweenSeeds }
 

Public Member Functions

virtual ~EMSeedPicker ()
 
bool addSeed (const TrcKeyValue &, bool drop=false)
 
virtual bool addSeed (const TrcKeyValue &seedcrd, bool drop, const TrcKeyValue &seedkey)
 
void addSeedToPatch (const TrcKeyValue &)
 
void addSeedToPatch (const TrcKeyValue &, bool sort)
 
void blockSeedPick (bool)
 
bool canReDo ()
 
bool canUndo ()
 
bool doesModeUseVolume () const
 
EMTrackeremTracker () const
 
virtual void endPatch (bool)
 
virtual const char * errMsg () const
 
TrcKeyValue getAddedSeed () const
 
const PatchgetPatch () const
 
virtual EM::SectionID getSectionID () const
 
const TrcKeySamplinggetSeedPickArea () const
 
void getSeeds (TypeSet< TrcKey > &) const
 
virtual const Attrib::SelSpecgetSelSpec () const
 
bool getSowerMode () const
 
TrackMode getTrackMode () const
 
UndohorPatchUndo ()
 
const UndohorPatchUndo () const
 
int indexOf (const TrcKey &) const
 
bool isSeedPickBlocked () const
 
bool lineTrackDirection (BinID &dir, bool perptotrackdir=false) const
 
virtual int nrSeeds () const
 
virtual bool removeSeed (const TrcKey &, bool enviromment=true, bool retrack=true)
 
virtual TrcKey replaceSeed (const TrcKey &, const TrcKeyValue &)
 
virtual bool reTrack ()
 
virtual void setSectionID (EM::SectionID)
 
void setSeedPickArea (const TrcKeySampling &)
 
virtual void setSelSpec (const Attrib::SelSpec *)
 
void setSowerMode (bool)
 
void setTrackMode (TrackMode)
 
virtual bool startSeedPick ()
 
bool stopSeedPick ()
 
virtual bool updatePatchLine (bool)
 
- 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 detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 

Public Attributes

Notifier< EMSeedPickerseedAdded
 
Notifier< EMSeedPickerseedRemoved
 
Notifier< EMSeedPickerseedToBeAddedRemoved
 

Protected Member Functions

 EMSeedPicker (EMTracker &)
 

Protected Attributes

TrcKeyValue addedseed_
 
bool blockpicking_
 
bool didchecksupport_
 
TypeSet< TrcKeyeraselist_
 
TypeSet< TrcKeyjunctions_
 
TrcKeyValue lastseed_
 
TrcKeyValue lastsowseed_
 
Patchpatch_
 
Undopatchundo_
 
TypeSet< TrcKeypropagatelist_
 
EM::SectionID sectionid_
 
TypeSet< TrcKeyseedlist_
 
TrcKeySampling seedpickarea_
 
Attrib::SelSpec selspec_
 
bool sowermode_
 
TypeSet< TrcKeytrackbounds_
 
EMTrackertracker_
 
TrackMode trackmode_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

Handles adding of seeds and retracking of events based on new seeds. An instance of the class is usually available from each EMTracker.

<>

Member Enumeration Documentation

◆ TrackMode

Enumerator
TrackFromSeeds 
TrackBetweenSeeds 
DrawAndSnap 
DrawBetweenSeeds 

Constructor & Destructor Documentation

◆ ~EMSeedPicker()

virtual MPE::EMSeedPicker::~EMSeedPicker ( )
virtual

◆ EMSeedPicker()

MPE::EMSeedPicker::EMSeedPicker ( EMTracker )
protected

Member Function Documentation

◆ addSeed() [1/2]

bool MPE::EMSeedPicker::addSeed ( const TrcKeyValue ,
bool  drop = false 
)

◆ addSeed() [2/2]

virtual bool MPE::EMSeedPicker::addSeed ( const TrcKeyValue seedcrd,
bool  drop,
const TrcKeyValue seedkey 
)
inlinevirtual

◆ addSeedToPatch() [1/2]

void MPE::EMSeedPicker::addSeedToPatch ( const TrcKeyValue )

don't use it, only for keep ABI.

◆ addSeedToPatch() [2/2]

void MPE::EMSeedPicker::addSeedToPatch ( const TrcKeyValue ,
bool  sort 
)

◆ blockSeedPick()

void MPE::EMSeedPicker::blockSeedPick ( bool  )

◆ canReDo()

bool MPE::EMSeedPicker::canReDo ( )

◆ canUndo()

bool MPE::EMSeedPicker::canUndo ( )

◆ doesModeUseVolume()

bool MPE::EMSeedPicker::doesModeUseVolume ( ) const
inline

◆ emTracker()

EMTracker& MPE::EMSeedPicker::emTracker ( ) const
inline

◆ endPatch()

virtual void MPE::EMSeedPicker::endPatch ( bool  )
virtual

◆ errMsg()

virtual const char* MPE::EMSeedPicker::errMsg ( ) const
inlinevirtual

◆ getAddedSeed()

TrcKeyValue MPE::EMSeedPicker::getAddedSeed ( ) const

◆ getPatch()

const Patch* MPE::EMSeedPicker::getPatch ( ) const
inline

◆ getSectionID()

virtual EM::SectionID MPE::EMSeedPicker::getSectionID ( ) const
virtual

◆ getSeedPickArea()

const TrcKeySampling& MPE::EMSeedPicker::getSeedPickArea ( ) const

◆ getSeeds()

void MPE::EMSeedPicker::getSeeds ( TypeSet< TrcKey > &  ) const

◆ getSelSpec()

virtual const Attrib::SelSpec* MPE::EMSeedPicker::getSelSpec ( ) const
virtual

◆ getSowerMode()

bool MPE::EMSeedPicker::getSowerMode ( ) const

◆ getTrackMode()

TrackMode MPE::EMSeedPicker::getTrackMode ( ) const

◆ horPatchUndo() [1/2]

Undo& MPE::EMSeedPicker::horPatchUndo ( )

◆ horPatchUndo() [2/2]

const Undo& MPE::EMSeedPicker::horPatchUndo ( ) const

◆ indexOf()

int MPE::EMSeedPicker::indexOf ( const TrcKey ) const

◆ isSeedPickBlocked()

bool MPE::EMSeedPicker::isSeedPickBlocked ( ) const

◆ lineTrackDirection()

bool MPE::EMSeedPicker::lineTrackDirection ( BinID dir,
bool  perptotrackdir = false 
) const

◆ nrSeeds()

virtual int MPE::EMSeedPicker::nrSeeds ( ) const
virtual

◆ removeSeed()

virtual bool MPE::EMSeedPicker::removeSeed ( const TrcKey ,
bool  enviromment = true,
bool  retrack = true 
)
inlinevirtual

◆ replaceSeed()

virtual TrcKey MPE::EMSeedPicker::replaceSeed ( const TrcKey ,
const TrcKeyValue  
)
inlinevirtual

◆ reTrack()

virtual bool MPE::EMSeedPicker::reTrack ( )
inlinevirtual

◆ setSectionID()

virtual void MPE::EMSeedPicker::setSectionID ( EM::SectionID  )
virtual

◆ setSeedPickArea()

void MPE::EMSeedPicker::setSeedPickArea ( const TrcKeySampling )

◆ setSelSpec()

virtual void MPE::EMSeedPicker::setSelSpec ( const Attrib::SelSpec )
virtual

◆ setSowerMode()

void MPE::EMSeedPicker::setSowerMode ( bool  )

◆ setTrackMode()

void MPE::EMSeedPicker::setTrackMode ( TrackMode  )

◆ startSeedPick()

virtual bool MPE::EMSeedPicker::startSeedPick ( )
virtual

Should be set when seedpicking is about to start.

Reimplemented in MPE::Horizon2DSeedPicker.

◆ stopSeedPick()

bool MPE::EMSeedPicker::stopSeedPick ( )

◆ updatePatchLine()

virtual bool MPE::EMSeedPicker::updatePatchLine ( bool  )
inlinevirtual

Member Data Documentation

◆ addedseed_

TrcKeyValue MPE::EMSeedPicker::addedseed_
protected

◆ blockpicking_

bool MPE::EMSeedPicker::blockpicking_
protected

◆ didchecksupport_

bool MPE::EMSeedPicker::didchecksupport_
protected

◆ eraselist_

TypeSet<TrcKey> MPE::EMSeedPicker::eraselist_
protected

◆ junctions_

TypeSet<TrcKey> MPE::EMSeedPicker::junctions_
protected

◆ lastseed_

TrcKeyValue MPE::EMSeedPicker::lastseed_
protected

◆ lastsowseed_

TrcKeyValue MPE::EMSeedPicker::lastsowseed_
protected

◆ patch_

Patch* MPE::EMSeedPicker::patch_
protected

◆ patchundo_

Undo& MPE::EMSeedPicker::patchundo_
protected

◆ propagatelist_

TypeSet<TrcKey> MPE::EMSeedPicker::propagatelist_
protected

◆ sectionid_

EM::SectionID MPE::EMSeedPicker::sectionid_
protected

◆ seedAdded

Notifier<EMSeedPicker> MPE::EMSeedPicker::seedAdded

◆ seedlist_

TypeSet<TrcKey> MPE::EMSeedPicker::seedlist_
protected

◆ seedpickarea_

TrcKeySampling MPE::EMSeedPicker::seedpickarea_
protected

◆ seedRemoved

Notifier<EMSeedPicker> MPE::EMSeedPicker::seedRemoved

◆ seedToBeAddedRemoved

Notifier<EMSeedPicker> MPE::EMSeedPicker::seedToBeAddedRemoved

◆ selspec_

Attrib::SelSpec MPE::EMSeedPicker::selspec_
protected

◆ sowermode_

bool MPE::EMSeedPicker::sowermode_
protected

◆ trackbounds_

TypeSet<TrcKey> MPE::EMSeedPicker::trackbounds_
protected

◆ tracker_

EMTracker& MPE::EMSeedPicker::tracker_
protected

◆ trackmode_

TrackMode MPE::EMSeedPicker::trackmode_
protected

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