OpendTect-6_4  6.4
Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
Vel::Picks Class Reference
Inheritance diagram for Vel::Picks:
[legend]

Protected Member Functions

void getColorKey (BufferString &) const
 
void removeHorizons ()
 
void fillIOObjPar (IOPar &) const
 
bool useIOObjPar (const IOPar &)
 
float normalizeRMO (float depth, float rmo, float offset) const
 
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 
void horizonChangeCB (CallBacker *)
 
bool load (const IOObj *)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

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

Private Types

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

Private Member Functions

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

Static Private Member Functions

static const char * sKeyIsTime ()
 
static const IOObjContextgetStorageContext ()
 
static void setContextPickType (IOObjContext &, PickType)
 
static const char * sKeyVelocityPicks ()
 
static const char * sKeyRefOffset ()
 
static const char * sKeyGatherID ()
 
static const char * sKeyNrHorizons ()
 
static const char * sKeyHorizonPrefix ()
 
static const char * sKeyPickType ()
 

Private Attributes

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

Friends

class PicksMgr
 

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

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

Member Enumeration Documentation

enum Vel::Picks::PickType
private
Enumerator
RMO 
RMS 
Delta 
Epsilon 
Eta 

Constructor & Destructor Documentation

mRefCountImpl (Picks) public Vel::Picks::Picks ( bool  zit)
private

Member Function Documentation

void Vel::Picks::addHorizon ( const MultiID ,
bool  addzeroonfail = false 
)
private
void Vel::Picks::addHorizon ( EM::Horizon3D )
private
const char* Vel::Picks::errMsg ( ) const
private
void Vel::Picks::fillIOObjPar ( IOPar ) const
protected
void Vel::Picks::fillPar ( IOPar ) const
protected
RowCol Vel::Picks::find ( const BinID ,
const Pick  
) const
private
const MultiID& Vel::Picks::gatherID ( ) const
private
int Vel::Picks::get ( const BinID ,
TypeSet< float > *  depths,
TypeSet< float > *  vals,
TypeSet< RowCol > *  ,
TypeSet< EM::ObjectID > *  ,
bool  interpolatehors 
) const
private
Returns
number of picks
void Vel::Picks::get ( const BinID ,
TypeSet< Pick > &  ,
bool  interpolatehors,
bool  normalizerefoffset 
) const
private
Returns
number of picks
bool Vel::Picks::get ( const RowCol ,
BinID ,
Pick  
)
private
void Vel::Picks::get ( const EM::ObjectID ,
TypeSet< RowCol > &   
) const
private
const MultiDimStorage<Pick>& Vel::Picks::getAll ( ) const
inlineprivate
const Color& Vel::Picks::getColor ( ) const
inlineprivate
void Vel::Picks::getColorKey ( BufferString ) const
protected
bool Vel::Picks::getDefaultColor ( Color ) const
private
EM::Horizon3D* Vel::Picks::getHorizon ( EM::ObjectID  )
private
const EM::Horizon3D* Vel::Picks::getHorizon ( EM::ObjectID  ) const
private
EM::ObjectID Vel::Picks::getHorizonID ( int  ) const
private
char Vel::Picks::getHorizonStatus ( const BinID ) const
private
Return values
0no defined hors.
1some defined, some undefined.
2all defined.
Smoother1D<float>* Vel::Picks::getSmoother ( )
inlineprivate
const Smoother1D<float>* Vel::Picks::getSmoother ( ) const
inlineprivate
const StepInterval<float>& Vel::Picks::getSnappingInterval ( ) const
inlineprivate
static const IOObjContext& Vel::Picks::getStorageContext ( )
staticprivate
void Vel::Picks::horizonChangeCB ( CallBacker )
protected
bool Vel::Picks::interpolateVelocity ( EM::ObjectID  ,
float  searchradius,
BinIDValueSet  
) const
private

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

bool Vel::Picks::isChanged ( ) const
private
bool Vel::Picks::isEmpty ( ) const
private
bool Vel::Picks::load ( const IOObj )
protected
Vel::Picks::mDeclareEnumUtils ( PickType  ) const
private
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_.

int Vel::Picks::nrHorizons ( ) const
private
float Vel::Picks::refOffset ( ) const
inlineprivate
void Vel::Picks::remove ( const RowCol ,
bool  undo = true,
bool  interactionend = true 
)
private
void Vel::Picks::removeAll ( bool  undo = true,
bool  interactionend = true 
)
private
void Vel::Picks::removeHorizon ( EM::ObjectID  )
private
void Vel::Picks::removeHorizons ( )
protected
void Vel::Picks::resetChangedFlag ( )
inlineprivate
RowCol Vel::Picks::set ( const BinID ,
const Pick ,
bool  undo = true,
bool  interactionend = true 
)
private
void Vel::Picks::set ( const RowCol ,
const Pick ,
bool  undo = true,
bool  interactionend = true 
)
private
void Vel::Picks::setAll ( float  vel,
bool  undo = true 
)
private
bool Vel::Picks::setColor ( const Color ,
bool  savedefault 
)
private
Returns
false if savedefault failed.
static void Vel::Picks::setContextPickType ( IOObjContext ,
PickType   
)
staticprivate
void Vel::Picks::setGatherID ( const MultiID )
private
void Vel::Picks::setPickType ( PickType  ,
bool  resetcolor 
)
private
void Vel::Picks::setReferenceOffset ( float  n)
private
void Vel::Picks::setSmoother ( Smoother1D< float > *  )
private

Becomes mine.

void Vel::Picks::setSnappingInterval ( const StepInterval< float > &  )
private
static const char* Vel::Picks::sKeyGatherID ( )
staticprivate
static const char* Vel::Picks::sKeyHorizonPrefix ( )
staticprivate
static const char* Vel::Picks::sKeyIsTime ( )
staticprivate
static const char* Vel::Picks::sKeyNrHorizons ( )
staticprivate
static const char* Vel::Picks::sKeyPickType ( )
staticprivate
static const char* Vel::Picks::sKeyRefOffset ( )
staticprivate
static const char* Vel::Picks::sKeyVelocityPicks ( )
staticprivate
const MultiID& Vel::Picks::storageID ( ) const
private
bool Vel::Picks::store ( const IOObj )
private

ioobj is not transferred

Undo& Vel::Picks::undo ( )
private
bool Vel::Picks::useIOObjPar ( const IOPar )
protected
bool Vel::Picks::usePar ( const IOPar )
protected
const char* Vel::Picks::zDomain ( ) const
private
bool Vel::Picks::zIsTime ( ) const
inlineprivate

Friends And Related Function Documentation

friend class PicksMgr
friend

Member Data Documentation

CNotifier<Picks,const BinID&> Vel::Picks::change
private
bool Vel::Picks::changed_
protected
CNotifier<Picks,const BinID&> Vel::Picks::changelate
private

Triggers after pickchange.

Color Vel::Picks::color_
protected
BufferString Vel::Picks::errmsg_
protected
MultiID Vel::Picks::gatherid_
protected
ObjectSet<EM::Horizon3D> Vel::Picks::horizons_
protected
MultiDimStorage<Pick> Vel::Picks::picks_
protected
PickType Vel::Picks::picktype_
protected
float Vel::Picks::refoffset_
protected
Smoother1D<float>* Vel::Picks::smoother_
protected
StepInterval<float> Vel::Picks::snapper_
protected
MultiID Vel::Picks::storageid_
protected
Undo* Vel::Picks::undo_
protected
bool Vel::Picks::zit_
protected

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