Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Friends

Vel::Picks Class Reference

Inheritance diagram for Vel::Picks:
CallBacker

List of all members.

Public Types

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

Public Member Functions

 Picks ()
 Picks (bool zit)
 DeclareEnumUtils (PickType)
PickType pickType () const
void setPickType (PickType)
const char * zDomain () 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
bool store (const IOObj *)
const MultiIDstorageID () const
bool zIsTime () const
Smoother1D< float > * getSmoother ()
const Smoother1D< float > * getSmoother () const
void setSmoother (Smoother1D< float > *)
 Becomes mine.
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

Static Public Member Functions

static const char * sKeyIsTime ()
static const IOObjContextgetStorageContext ()
static const char * sKeyVelocityPicks ()
static const char * sKeyRefOffset ()
static const char * sKeyGatherID ()
static const char * sKeyNrHorizons ()
static const char * sKeyHorizonPrefix ()
static const char * sKeyPickType ()

Public Attributes

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

Protected Member Functions

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 Attributes

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

Private Member Functions

 mRefCountImpl (Picks)

Friends

class PicksMgr

Detailed Description

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


Member Enumeration Documentation

Enumerator:
RMO 
RMS 
Delta 
Epsilon 
Eta 

Constructor & Destructor Documentation

Vel::Picks::Picks (  ) 
Vel::Picks::Picks ( bool  zit  ) 

Member Function Documentation

void Vel::Picks::addHorizon ( const MultiID ,
bool  addzeroonfail = false 
)
void Vel::Picks::addHorizon ( EM::Horizon3D  ) 
Vel::Picks::DeclareEnumUtils ( PickType   ) 
const char* Vel::Picks::errMsg (  )  const
void Vel::Picks::fillIOObjPar ( IOPar  )  const [protected]
void Vel::Picks::fillPar ( IOPar  )  const [protected]
RowCol Vel::Picks::find ( const BinID ,
const Pick  
) const
const MultiID& Vel::Picks::gatherID (  )  const
void Vel::Picks::get ( const EM::ObjectID ,
TypeSet< RowCol > &   
) const
bool Vel::Picks::get ( const RowCol ,
BinID ,
Pick  
)
int Vel::Picks::get ( const BinID ,
TypeSet< float > *  depths,
TypeSet< float > *  vals,
TypeSet< RowCol > *  ,
TypeSet< EM::ObjectID > *  ,
bool  interpolatehors 
) const
Returns:
number of picks
void Vel::Picks::get ( const BinID ,
TypeSet< Pick > &  ,
bool  interpolatehors,
bool  normalizerefoffset 
) const
Returns:
number of picks
const MultiDimStorage<Pick>& Vel::Picks::getAll (  )  const [inline]
EM::Horizon3D* Vel::Picks::getHorizon ( EM::ObjectID   ) 
const EM::Horizon3D* Vel::Picks::getHorizon ( EM::ObjectID   )  const
EM::ObjectID Vel::Picks::getHorizonID ( int   )  const
const Smoother1D<float>* Vel::Picks::getSmoother (  )  const [inline]
Smoother1D<float>* Vel::Picks::getSmoother (  )  [inline]
const StepInterval<float>& Vel::Picks::getSnappingInterval (  )  const [inline]
static const IOObjContext& Vel::Picks::getStorageContext (  )  [static]
void Vel::Picks::horizonChangeCB ( CallBacker  )  [protected]
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.

bool Vel::Picks::isChanged (  )  const
bool Vel::Picks::isEmpty (  )  const
bool Vel::Picks::load ( const IOObj  )  [protected]
Vel::Picks::mRefCountImpl ( Picks   )  [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
PickType Vel::Picks::pickType (  )  const
float Vel::Picks::refOffset (  )  const [inline]
void Vel::Picks::remove ( const RowCol ,
bool  undo = true,
bool  interactionend = true 
)
void Vel::Picks::removeAll ( bool  undo = true,
bool  interactionend = true 
)
void Vel::Picks::removeHorizon ( EM::ObjectID   ) 
void Vel::Picks::removeHorizons (  )  [protected]
void Vel::Picks::set ( const RowCol ,
const Pick ,
bool  undo = true,
bool  interactionend = true 
)
RowCol Vel::Picks::set ( const BinID ,
const Pick ,
bool  undo = true,
bool  interactionend = true 
)
void Vel::Picks::setAll ( float  vel,
bool  undo = true 
)
void Vel::Picks::setGatherID ( const MultiID  ) 
void Vel::Picks::setPickType ( PickType   ) 
void Vel::Picks::setReferenceOffset ( float  n  ) 
void Vel::Picks::setSmoother ( Smoother1D< float > *   ) 

Becomes mine.

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

ioobj is not transferred

Undo& Vel::Picks::undo (  ) 
bool Vel::Picks::useIOObjPar ( const IOPar  )  [protected]
bool Vel::Picks::usePar ( const IOPar  )  [protected]
const char* Vel::Picks::zDomain (  )  const
bool Vel::Picks::zIsTime (  )  const [inline]

Friends And Related Function Documentation

friend class PicksMgr [friend]

Member Data Documentation

bool Vel::Picks::changed_ [protected]

Triggers after pickchange.

float Vel::Picks::refoffset_ [protected]
Smoother1D<float>* Vel::Picks::smoother_ [protected]
StepInterval<float> Vel::Picks::snapper_ [protected]
Undo* Vel::Picks::undo_ [protected]
bool Vel::Picks::zit_ [protected]