OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Seis::PosKey Class Reference

Public Member Functions

 PosKey (Seis::GeomType gt=Seis::Vol)
 
 PosKey (const BinID &bid, float offs=mUdf(float))
 
 PosKey (int trcnr, float offs=mUdf(float))
 
bool operator== (const PosKey &) const
 
bool is2D () const
 
bool isPS () const
 
Seis::GeomType geomType () const
 
bool isUndef () const
 
void setUndef ()
 
const BinIDbinID () const
 
int trcNr () const
 
int inLine () const
 
int xLine () const
 
float offset () const
 
bool hasOffset (float) const
 
void setTrcNr (int trcnr)
 
void setBinID (const BinID &bid)
 
void setInline (int inl)
 
void setXine (int crl)
 
void setOffset (float offs)
 
void set (const BinID &bid, float offs)
 
void set (int trcnr, float offs)
 
void set (int trcnr, const BinID &, float)
 set what's relevant for GeomType More...
 
int & trcNr ()
 
BinIDbinID ()
 
float & offset ()
 
int & inLine ()
 
int & xLine ()
 

Static Public Member Functions

static PosKey undef ()
 

Protected Attributes

BinID binid_
 
float offset_
 

Detailed Description

Constructor & Destructor Documentation

Seis::PosKey::PosKey ( Seis::GeomType  gt = Seis::Vol)
inline
Seis::PosKey::PosKey ( const BinID bid,
float  offs = mUdf(float) 
)
inline
Seis::PosKey::PosKey ( int  trcnr,
float  offs = mUdf(float) 
)
inline

Member Function Documentation

const BinID& Seis::PosKey::binID ( ) const
inline
BinID& Seis::PosKey::binID ( )
inline
Seis::GeomType Seis::PosKey::geomType ( ) const
inline
bool Seis::PosKey::hasOffset ( float  offs) const
inline
int Seis::PosKey::inLine ( ) const
inline
int& Seis::PosKey::inLine ( )
inline
bool Seis::PosKey::is2D ( ) const
inline
bool Seis::PosKey::isPS ( ) const
inline
bool Seis::PosKey::isUndef ( ) const
inline
float Seis::PosKey::offset ( ) const
inline
float& Seis::PosKey::offset ( )
inline
bool Seis::PosKey::operator== ( const PosKey pk) const
inline
void Seis::PosKey::set ( const BinID bid,
float  offs 
)
inline
void Seis::PosKey::set ( int  trcnr,
float  offs 
)
inline
void Seis::PosKey::set ( int  trcnr,
const BinID bid,
float  offs 
)
inline

set what's relevant for GeomType

void Seis::PosKey::setBinID ( const BinID bid)
inline
void Seis::PosKey::setInline ( int  inl)
inline
void Seis::PosKey::setOffset ( float  offs)
inline
void Seis::PosKey::setTrcNr ( int  trcnr)
inline
void Seis::PosKey::setUndef ( )
inline
void Seis::PosKey::setXine ( int  crl)
inline
int Seis::PosKey::trcNr ( ) const
inline
int& Seis::PosKey::trcNr ( )
inline
static PosKey Seis::PosKey::undef ( )
inlinestatic
int Seis::PosKey::xLine ( ) const
inline
int& Seis::PosKey::xLine ( )
inline

Member Data Documentation

BinID Seis::PosKey::binid_
protected
float Seis::PosKey::offset_
protected

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