OpendTect  6.6
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
Vel::Picks Class Reference
Inheritance diagram for Vel::Picks:
[legend]

Public Types

enum  PickType {
  RMO , RMS , Delta , Epsilon ,
  Eta
}
 

Public Member Functions

 Picks ()
 
 Picks (bool zit)
 
void addHorizon (const MultiID &, bool addzeroonfail=false)
 
void addHorizon (EM::Horizon3D *)
 
const char * errMsg () const
 
RowCol find (const BinID &, const Pick &) const
 
const MultiIDgatherID () const
 
int get (const BinID &, TypeSet< float > *depths, TypeSet< float > *vals, TypeSet< RowCol > *, TypeSet< EM::ObjectID > *, bool interpolatehors) const
 
void get (const BinID &, TypeSet< Pick > &, bool interpolatehors, bool normalizerefoffset) const
 
void get (const EM::ObjectID &, TypeSet< RowCol > &) const
 
bool get (const RowCol &, BinID &, Pick &)
 
const MultiDimStorage< Pick > & getAll () const
 
const ColorgetColor () const
 
bool getDefaultColor (Color &) const
 
EM::Horizon3DgetHorizon (EM::ObjectID)
 
const EM::Horizon3DgetHorizon (EM::ObjectID) const
 
EM::ObjectID getHorizonID (int) const
 
char getHorizonStatus (const BinID &) const
 
Smoother1D< float > * getSmoother ()
 
const Smoother1D< float > * getSmoother () const
 
const StepInterval< float > & getSnappingInterval () const
 
bool interpolateVelocity (EM::ObjectID, float searchradius, BinIDValueSet &) const
 
bool isChanged () const
 
bool isEmpty () const
 
int nrHorizons () const
 
PickType pickType () const
 
float refOffset () const
 
void remove (const RowCol &, bool undo=true, bool interactionend=true)
 
void removeAll (bool undo=true, bool interactionend=true)
 
void removeHorizon (EM::ObjectID)
 
void resetChangedFlag ()
 
RowCol set (const BinID &, const Pick &, bool undo=true, bool interactionend=true)
 
void set (const RowCol &, const Pick &, bool undo=true, bool interactionend=true)
 
void setAll (float vel, bool undo=true)
 
bool setColor (const Color &, bool savedefault)
 
void setGatherID (const MultiID &)
 
void setPickType (PickType, bool resetcolor)
 
void setReferenceOffset (float n)
 
void setSmoother (Smoother1D< float > *)
 Becomes mine. More...
 
void setSnappingInterval (const StepInterval< float > &)
 
const MultiIDstorageID () const
 
bool store (const IOObj *)
 
Undoundo ()
 
const char * zDomain () const
 
bool zIsTime () 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 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
 

Static Public Member Functions

static const IOObjContextgetStorageContext ()
 
static void setContextPickType (IOObjContext &, PickType)
 
static const char * sKeyGatherID ()
 
static const char * sKeyHorizonPrefix ()
 
static const char * sKeyIsTime ()
 
static const char * sKeyNrHorizons ()
 
static const char * sKeyPickType ()
 
static const char * sKeyRefOffset ()
 
static const char * sKeyVelocityPicks ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Public Attributes

CNotifier< Picks, const BinID & > change
 
CNotifier< Picks, const BinID & > changelate
 

Protected Member Functions

void fillIOObjPar (IOPar &) const
 
void fillPar (IOPar &) const
 
void getColorKey (BufferString &) const
 
void horizonChangeCB (CallBacker *)
 
bool load (const IOObj *)
 
float normalizeRMO (float depth, float rmo, float offset) const
 
void removeHorizons ()
 
bool useIOObjPar (const IOPar &)
 
bool usePar (const IOPar &)
 

Protected Attributes

bool changed_
 
Color color_
 
BufferString errmsg_
 
MultiID gatherid_
 
ObjectSet< EM::Horizon3Dhorizons_
 
MultiDimStorage< Pickpicks_
 
PickType picktype_
 
float refoffset_
 
Smoother1D< float > * smoother_
 
StepInterval< float > snapper_
 
MultiID storageid_
 
Undoundo_
 
bool zit_
 

Friends

class PicksMgr
 

Detailed Description

Holds picks that the user has done, typically in a semblance plot.

<>

Member Enumeration Documentation

◆ PickType

Enumerator
RMO 
RMS 
Delta 
Epsilon 
Eta 

Constructor & Destructor Documentation

◆ Picks() [1/2]

Vel::Picks::Picks ( )

◆ Picks() [2/2]

Vel::Picks::Picks ( bool  zit)

Member Function Documentation

◆ addHorizon() [1/2]

void Vel::Picks::addHorizon ( const MultiID ,
bool  addzeroonfail = false 
)

◆ addHorizon() [2/2]

void Vel::Picks::addHorizon ( EM::Horizon3D )

◆ errMsg()

const char* Vel::Picks::errMsg ( ) const

◆ fillIOObjPar()

void Vel::Picks::fillIOObjPar ( IOPar ) const
protected

◆ fillPar()

void Vel::Picks::fillPar ( IOPar ) const
protected

◆ find()

RowCol Vel::Picks::find ( const BinID ,
const Pick  
) const

◆ gatherID()

const MultiID& Vel::Picks::gatherID ( ) const

◆ get() [1/4]

int Vel::Picks::get ( const BinID ,
TypeSet< float > *  depths,
TypeSet< float > *  vals,
TypeSet< RowCol > *  ,
TypeSet< EM::ObjectID > *  ,
bool  interpolatehors 
) const
Returns
number of picks

◆ get() [2/4]

void Vel::Picks::get ( const BinID ,
TypeSet< Pick > &  ,
bool  interpolatehors,
bool  normalizerefoffset 
) const
Returns
number of picks

◆ get() [3/4]

void Vel::Picks::get ( const EM::ObjectID ,
TypeSet< RowCol > &   
) const

◆ get() [4/4]

bool Vel::Picks::get ( const RowCol ,
BinID ,
Pick  
)

◆ getAll()

const MultiDimStorage<Pick>& Vel::Picks::getAll ( ) const
inline

◆ getColor()

const Color& Vel::Picks::getColor ( ) const
inline

◆ getColorKey()

void Vel::Picks::getColorKey ( BufferString ) const
protected

◆ getDefaultColor()

bool Vel::Picks::getDefaultColor ( Color ) const

◆ getHorizon() [1/2]

EM::Horizon3D* Vel::Picks::getHorizon ( EM::ObjectID  )

◆ getHorizon() [2/2]

const EM::Horizon3D* Vel::Picks::getHorizon ( EM::ObjectID  ) const

◆ getHorizonID()

EM::ObjectID Vel::Picks::getHorizonID ( int  ) const

◆ getHorizonStatus()

char Vel::Picks::getHorizonStatus ( const BinID ) const
Return values
0no defined hors.
1some defined, some undefined.
2all defined.

◆ getSmoother() [1/2]

Smoother1D<float>* Vel::Picks::getSmoother ( )
inline

◆ getSmoother() [2/2]

const Smoother1D<float>* Vel::Picks::getSmoother ( ) const
inline

◆ getSnappingInterval()

const StepInterval<float>& Vel::Picks::getSnappingInterval ( ) const
inline

◆ getStorageContext()

static const IOObjContext& Vel::Picks::getStorageContext ( )
static

◆ horizonChangeCB()

void Vel::Picks::horizonChangeCB ( CallBacker )
protected

◆ interpolateVelocity()

bool Vel::Picks::interpolateVelocity ( EM::ObjectID  ,
float  searchradius,
BinIDValueSet  
) const

Interpolates vel at all locations in the valset. First value in valset will be horizon depth, second will be velocity.

◆ isChanged()

bool Vel::Picks::isChanged ( ) const

◆ isEmpty()

bool Vel::Picks::isEmpty ( ) const

◆ load()

bool Vel::Picks::load ( const IOObj )
protected

◆ normalizeRMO()

float Vel::Picks::normalizeRMO ( float  depth,
float  rmo,
float  offset 
) const
protected

Given an rmo at a certain offset, what is the rmo at refoffset_.

◆ nrHorizons()

int Vel::Picks::nrHorizons ( ) const

◆ pickType()

PickType Vel::Picks::pickType ( ) const

◆ refOffset()

float Vel::Picks::refOffset ( ) const
inline

◆ remove()

void Vel::Picks::remove ( const RowCol ,
bool  undo = true,
bool  interactionend = true 
)

◆ removeAll()

void Vel::Picks::removeAll ( bool  undo = true,
bool  interactionend = true 
)

◆ removeHorizon()

void Vel::Picks::removeHorizon ( EM::ObjectID  )

◆ removeHorizons()

void Vel::Picks::removeHorizons ( )
protected

◆ resetChangedFlag()

void Vel::Picks::resetChangedFlag ( )
inline

◆ set() [1/2]

RowCol Vel::Picks::set ( const BinID ,
const Pick ,
bool  undo = true,
bool  interactionend = true 
)

◆ set() [2/2]

void Vel::Picks::set ( const RowCol ,
const Pick ,
bool  undo = true,
bool  interactionend = true 
)

◆ setAll()

void Vel::Picks::setAll ( float  vel,
bool  undo = true 
)

◆ setColor()

bool Vel::Picks::setColor ( const Color ,
bool  savedefault 
)
Returns
false if savedefault failed.

◆ setContextPickType()

static void Vel::Picks::setContextPickType ( IOObjContext ,
PickType   
)
static

◆ setGatherID()

void Vel::Picks::setGatherID ( const MultiID )

◆ setPickType()

void Vel::Picks::setPickType ( PickType  ,
bool  resetcolor 
)

◆ setReferenceOffset()

void Vel::Picks::setReferenceOffset ( float  n)

◆ setSmoother()

void Vel::Picks::setSmoother ( Smoother1D< float > *  )

Becomes mine.

◆ setSnappingInterval()

void Vel::Picks::setSnappingInterval ( const StepInterval< float > &  )

◆ sKeyGatherID()

static const char* Vel::Picks::sKeyGatherID ( )
static

◆ sKeyHorizonPrefix()

static const char* Vel::Picks::sKeyHorizonPrefix ( )
static

◆ sKeyIsTime()

static const char* Vel::Picks::sKeyIsTime ( )
static

◆ sKeyNrHorizons()

static const char* Vel::Picks::sKeyNrHorizons ( )
static

◆ sKeyPickType()

static const char* Vel::Picks::sKeyPickType ( )
static

◆ sKeyRefOffset()

static const char* Vel::Picks::sKeyRefOffset ( )
static

◆ sKeyVelocityPicks()

static const char* Vel::Picks::sKeyVelocityPicks ( )
static

◆ storageID()

const MultiID& Vel::Picks::storageID ( ) const

◆ store()

bool Vel::Picks::store ( const IOObj )

ioobj is not transferred

◆ undo()

Undo& Vel::Picks::undo ( )

◆ useIOObjPar()

bool Vel::Picks::useIOObjPar ( const IOPar )
protected

◆ usePar()

bool Vel::Picks::usePar ( const IOPar )
protected

◆ zDomain()

const char* Vel::Picks::zDomain ( ) const

◆ zIsTime()

bool Vel::Picks::zIsTime ( ) const
inline

Friends And Related Function Documentation

◆ PicksMgr

friend class PicksMgr
friend

Member Data Documentation

◆ change

CNotifier<Picks,const BinID&> Vel::Picks::change

◆ changed_

bool Vel::Picks::changed_
protected

◆ changelate

CNotifier<Picks,const BinID&> Vel::Picks::changelate

Triggers after pickchange.

◆ color_

Color Vel::Picks::color_
protected

◆ errmsg_

BufferString Vel::Picks::errmsg_
protected

◆ gatherid_

MultiID Vel::Picks::gatherid_
protected

◆ horizons_

ObjectSet<EM::Horizon3D> Vel::Picks::horizons_
protected

◆ picks_

MultiDimStorage<Pick> Vel::Picks::picks_
protected

◆ picktype_

PickType Vel::Picks::picktype_
protected

◆ refoffset_

float Vel::Picks::refoffset_
protected

◆ smoother_

Smoother1D<float>* Vel::Picks::smoother_
protected

◆ snapper_

StepInterval<float> Vel::Picks::snapper_
protected

◆ storageid_

MultiID Vel::Picks::storageid_
protected

◆ undo_

Undo* Vel::Picks::undo_
protected

◆ zit_

bool Vel::Picks::zit_
protected

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