OpendTect-6_4  6.4
Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private 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]

Protected Member Functions

 EMSeedPicker (EMTracker &)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

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

Private Types

enum  TrackMode { TrackFromSeeds, TrackBetweenSeeds, DrawAndSnap, DrawBetweenSeeds }
 

Private Member Functions

virtual mODTextTranslationClass(EMSeedPicker) public void setSectionID (EM::SectionID)
 
virtual EM::SectionID getSectionID () const
 
virtual bool startSeedPick ()
 
const PatchgetPatch () const
 
virtual void endPatch (bool)
 
bool stopSeedPick ()
 
void addSeedToPatch (const TrcKeyValue &, bool sort)
 
void addSeedToPatch (const TrcKeyValue &)
 
bool addSeed (const TrcKeyValue &, bool drop=false)
 
virtual bool addSeed (const TrcKeyValue &seedcrd, bool drop, const TrcKeyValue &seedkey)
 
TrcKeyValue getAddedSeed () const
 
void getSeeds (TypeSet< TrcKey > &) const
 
int indexOf (const TrcKey &) const
 
virtual bool removeSeed (const TrcKey &, bool enviromment=true, bool retrack=true)
 
virtual TrcKey replaceSeed (const TrcKey &, const TrcKeyValue &)
 
virtual void setSelSpec (const Attrib::SelSpec *)
 
virtual const Attrib::SelSpecgetSelSpec () const
 
virtual bool reTrack ()
 
virtual int nrSeeds () const
 
void blockSeedPick (bool)
 
bool isSeedPickBlocked () const
 
void setSowerMode (bool)
 
bool getSowerMode () const
 
void setTrackMode (TrackMode)
 
TrackMode getTrackMode () const
 
bool doesModeUseVolume () const
 
virtual const char * errMsg () const
 
void setSeedPickArea (const TrcKeySampling &)
 
const TrcKeySamplinggetSeedPickArea () const
 
EMTrackeremTracker () const
 
bool lineTrackDirection (BinID &dir, bool perptotrackdir=false) const
 
virtual bool updatePatchLine (bool)
 
UndohorPatchUndo ()
 
const UndohorPatchUndo () const
 
bool canUndo ()
 
bool canReDo ()
 

Private Attributes

Notifier< EMSeedPickerseedAdded
 
Notifier< EMSeedPickerseedRemoved
 
Notifier< EMSeedPickerseedToBeAddedRemoved
 

Additional Inherited Members

- 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...
 

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

Enumerator
TrackFromSeeds 
TrackBetweenSeeds 
DrawAndSnap 
DrawBetweenSeeds 

Constructor & Destructor Documentation

MPE::EMSeedPicker::EMSeedPicker ( EMTracker )
protected

Member Function Documentation

bool MPE::EMSeedPicker::addSeed ( const TrcKeyValue ,
bool  drop = false 
)
private
virtual bool MPE::EMSeedPicker::addSeed ( const TrcKeyValue seedcrd,
bool  drop,
const TrcKeyValue seedkey 
)
inlineprivatevirtual
void MPE::EMSeedPicker::addSeedToPatch ( const TrcKeyValue ,
bool  sort 
)
private
void MPE::EMSeedPicker::addSeedToPatch ( const TrcKeyValue )
private

don't use it, only for keep ABI.

void MPE::EMSeedPicker::blockSeedPick ( bool  )
private
bool MPE::EMSeedPicker::canReDo ( )
private
bool MPE::EMSeedPicker::canUndo ( )
private
bool MPE::EMSeedPicker::doesModeUseVolume ( ) const
inlineprivate
EMTracker& MPE::EMSeedPicker::emTracker ( ) const
inlineprivate
virtual void MPE::EMSeedPicker::endPatch ( bool  )
privatevirtual
virtual const char* MPE::EMSeedPicker::errMsg ( ) const
inlineprivatevirtual
TrcKeyValue MPE::EMSeedPicker::getAddedSeed ( ) const
private
const Patch* MPE::EMSeedPicker::getPatch ( ) const
inlineprivate
virtual EM::SectionID MPE::EMSeedPicker::getSectionID ( ) const
privatevirtual
const TrcKeySampling& MPE::EMSeedPicker::getSeedPickArea ( ) const
private
void MPE::EMSeedPicker::getSeeds ( TypeSet< TrcKey > &  ) const
private
virtual const Attrib::SelSpec* MPE::EMSeedPicker::getSelSpec ( ) const
privatevirtual
bool MPE::EMSeedPicker::getSowerMode ( ) const
private
TrackMode MPE::EMSeedPicker::getTrackMode ( ) const
private
Undo& MPE::EMSeedPicker::horPatchUndo ( )
private
const Undo& MPE::EMSeedPicker::horPatchUndo ( ) const
private
int MPE::EMSeedPicker::indexOf ( const TrcKey ) const
private
bool MPE::EMSeedPicker::isSeedPickBlocked ( ) const
private
bool MPE::EMSeedPicker::lineTrackDirection ( BinID dir,
bool  perptotrackdir = false 
) const
private
virtual int MPE::EMSeedPicker::nrSeeds ( ) const
privatevirtual
virtual bool MPE::EMSeedPicker::removeSeed ( const TrcKey ,
bool  enviromment = true,
bool  retrack = true 
)
inlineprivatevirtual
virtual TrcKey MPE::EMSeedPicker::replaceSeed ( const TrcKey ,
const TrcKeyValue  
)
inlineprivatevirtual
virtual bool MPE::EMSeedPicker::reTrack ( )
inlineprivatevirtual
virtual mODTextTranslationClass (EMSeedPicker) public void MPE::EMSeedPicker::setSectionID ( EM::SectionID  )
privatevirtual
void MPE::EMSeedPicker::setSeedPickArea ( const TrcKeySampling )
private
virtual void MPE::EMSeedPicker::setSelSpec ( const Attrib::SelSpec )
privatevirtual
void MPE::EMSeedPicker::setSowerMode ( bool  )
private
void MPE::EMSeedPicker::setTrackMode ( TrackMode  )
private
virtual bool MPE::EMSeedPicker::startSeedPick ( )
privatevirtual

Should be set when seedpicking is about to start.

Reimplemented in MPE::Horizon2DSeedPicker.

bool MPE::EMSeedPicker::stopSeedPick ( )
private
virtual bool MPE::EMSeedPicker::updatePatchLine ( bool  )
inlineprivatevirtual

Member Data Documentation

TrcKeyValue MPE::EMSeedPicker::addedseed_
protected
bool MPE::EMSeedPicker::blockpicking_
protected
bool MPE::EMSeedPicker::didchecksupport_
protected
TypeSet<TrcKey> MPE::EMSeedPicker::eraselist_
protected
TypeSet<TrcKey> MPE::EMSeedPicker::junctions_
protected
TrcKeyValue MPE::EMSeedPicker::lastseed_
protected
TrcKeyValue MPE::EMSeedPicker::lastsowseed_
protected
Patch* MPE::EMSeedPicker::patch_
protected
Undo& MPE::EMSeedPicker::patchundo_
protected
TypeSet<TrcKey> MPE::EMSeedPicker::propagatelist_
protected
EM::SectionID MPE::EMSeedPicker::sectionid_
protected
Notifier<EMSeedPicker> MPE::EMSeedPicker::seedAdded
private
TypeSet<TrcKey> MPE::EMSeedPicker::seedlist_
protected
TrcKeySampling MPE::EMSeedPicker::seedpickarea_
protected
Notifier<EMSeedPicker> MPE::EMSeedPicker::seedRemoved
private
Notifier<EMSeedPicker> MPE::EMSeedPicker::seedToBeAddedRemoved
private
Attrib::SelSpec MPE::EMSeedPicker::selspec_
protected
bool MPE::EMSeedPicker::sowermode_
protected
TypeSet<TrcKey> MPE::EMSeedPicker::trackbounds_
protected
EMTracker& MPE::EMSeedPicker::tracker_
protected
TrackMode MPE::EMSeedPicker::trackmode_
protected

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