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

EMSeedPicker to pick seeds in EM::Horizon2D. More...

Inheritance diagram for MPE::Horizon2DSeedPicker:
[legend]

Public Member Functions

 Horizon2DSeedPicker (EMTracker &)
 
 ~Horizon2DSeedPicker ()
 
bool addSeed (const TrcKeyValue &, bool drop)
 
bool addSeed (const TrcKeyValue &seedcrd, bool drop, const TrcKeyValue &seedkey)
 
bool canAddSeed (const Attrib::SelSpec &)
 
bool doesModeUseVolume () const
 
bool removeSeed (const TrcKey &, bool environment, bool retrack)
 
TrcKey replaceSeed (const TrcKey &oldpos, const TrcKeyValue &newpos)
 
bool reTrack ()
 
void setLine (Pos::GeomID)
 
bool startSeedPick ()
 
bool updatePatchLine (bool)
 
- Public Member Functions inherited from MPE::EMSeedPicker
virtual ~EMSeedPicker ()
 
bool addSeed (const TrcKeyValue &, bool drop=false)
 
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 void setSectionID (EM::SectionID)
 
void setSeedPickArea (const TrcKeySampling &)
 
virtual void setSelSpec (const Attrib::SelSpec *)
 
void setSowerMode (bool)
 
void setTrackMode (TrackMode)
 
bool stopSeedPick ()
 
- 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
 

Protected Member Functions

bool addPatchSowingSeeds ()
 
void extendSeedListEraseInBetween (bool wholeline, int startcol, bool startwasdefined, int step)
 
bool getNextSeedPos (int seedpos, int dirstep, int &nextseedpos) const
 
TrcKeyZSampling getTrackBox () const
 
bool interpolateSeeds ()
 
bool interpolateSeeds (bool manualnode)
 
int nrLineNeighbors (int colnr) const
 
bool retrackFromSeedList ()
 
bool retrackOnActiveLine (int startcol, bool startwasdefined, bool eraseonly=false)
 
- Protected Member Functions inherited from MPE::EMSeedPicker
 EMSeedPicker (EMTracker &)
 

Protected Attributes

Pos::GeomID geomid_
 
- Protected Attributes inherited from MPE::EMSeedPicker
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

- Public Types inherited from MPE::EMSeedPicker
enum  TrackMode { TrackFromSeeds , TrackBetweenSeeds , DrawAndSnap , DrawBetweenSeeds }
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Public Attributes inherited from MPE::EMSeedPicker
Notifier< EMSeedPickerseedAdded
 
Notifier< EMSeedPickerseedRemoved
 
Notifier< EMSeedPickerseedToBeAddedRemoved
 

Detailed Description

EMSeedPicker to pick seeds in EM::Horizon2D.

<>

Constructor & Destructor Documentation

◆ Horizon2DSeedPicker()

MPE::Horizon2DSeedPicker::Horizon2DSeedPicker ( EMTracker )

◆ ~Horizon2DSeedPicker()

MPE::Horizon2DSeedPicker::~Horizon2DSeedPicker ( )

Member Function Documentation

◆ addPatchSowingSeeds()

bool MPE::Horizon2DSeedPicker::addPatchSowingSeeds ( )
protected

◆ addSeed() [1/2]

bool MPE::Horizon2DSeedPicker::addSeed ( const TrcKeyValue ,
bool  drop 
)

◆ addSeed() [2/2]

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

Reimplemented from MPE::EMSeedPicker.

◆ canAddSeed()

bool MPE::Horizon2DSeedPicker::canAddSeed ( const Attrib::SelSpec )

◆ doesModeUseVolume()

bool MPE::Horizon2DSeedPicker::doesModeUseVolume ( ) const

◆ extendSeedListEraseInBetween()

void MPE::Horizon2DSeedPicker::extendSeedListEraseInBetween ( bool  wholeline,
int  startcol,
bool  startwasdefined,
int  step 
)
protected

◆ getNextSeedPos()

bool MPE::Horizon2DSeedPicker::getNextSeedPos ( int  seedpos,
int  dirstep,
int &  nextseedpos 
) const
protected

◆ getTrackBox()

TrcKeyZSampling MPE::Horizon2DSeedPicker::getTrackBox ( ) const
protected

◆ interpolateSeeds() [1/2]

bool MPE::Horizon2DSeedPicker::interpolateSeeds ( )
protected

don't use it, only for keep ABI

◆ interpolateSeeds() [2/2]

bool MPE::Horizon2DSeedPicker::interpolateSeeds ( bool  manualnode)
protected

◆ nrLineNeighbors()

int MPE::Horizon2DSeedPicker::nrLineNeighbors ( int  colnr) const
protected

◆ removeSeed()

bool MPE::Horizon2DSeedPicker::removeSeed ( const TrcKey ,
bool  environment,
bool  retrack 
)
virtual

Reimplemented from MPE::EMSeedPicker.

◆ replaceSeed()

TrcKey MPE::Horizon2DSeedPicker::replaceSeed ( const TrcKey oldpos,
const TrcKeyValue newpos 
)
virtual

Reimplemented from MPE::EMSeedPicker.

◆ reTrack()

bool MPE::Horizon2DSeedPicker::reTrack ( )
virtual

Reimplemented from MPE::EMSeedPicker.

◆ retrackFromSeedList()

bool MPE::Horizon2DSeedPicker::retrackFromSeedList ( )
protected

◆ retrackOnActiveLine()

bool MPE::Horizon2DSeedPicker::retrackOnActiveLine ( int  startcol,
bool  startwasdefined,
bool  eraseonly = false 
)
protected

◆ setLine()

void MPE::Horizon2DSeedPicker::setLine ( Pos::GeomID  )

◆ startSeedPick()

bool MPE::Horizon2DSeedPicker::startSeedPick ( )
virtual

Should be set when seedpicking is about to start.

Reimplemented from MPE::EMSeedPicker.

◆ updatePatchLine()

bool MPE::Horizon2DSeedPicker::updatePatchLine ( bool  )
virtual

Reimplemented from MPE::EMSeedPicker.

Member Data Documentation

◆ geomid_

Pos::GeomID MPE::Horizon2DSeedPicker::geomid_
protected

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