OpendTect-6_4  6.4
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
TrcKey Class Reference

Represents a unique trace position in one of the surveys that OpendTect is managing. More...

Public Types

typedef Pos::SurvID SurvID
 
typedef IdxPair::IdxType IdxType
 

Public Member Functions

 TrcKey ()
 
 TrcKey (const BinID &)
 
 TrcKey (SurvID, const BinID &)
 
 TrcKey (Pos::GeomID, Pos::TraceID)
 
bool is2D () const
 
Pos::GeomIDgeomID ()
 
Pos::GeomID geomID () const
 
TrcKeysetGeomID (Pos::GeomID)
 
bool operator== (const TrcKey &) const
 
bool isUdf () const
 
double distTo (const TrcKey &) const
 
SurvID survID () const
 
TrcKeysetSurvID (SurvID id)
 
const BinIDposition () const
 
IdxType lineNr () const
 
IdxType trcNr () const
 
const BinIDbinID () const
 
IdxType inl () const
 
IdxType crl () const
 
TrcKeysetPosition (const BinID &bid)
 
TrcKeysetLineNr (IdxType nr)
 
TrcKeysetTrcNr (IdxType nr)
 
TrcKeysetBinID (const BinID &bid)
 
TrcKeysetInl (IdxType nr)
 
TrcKeysetCrl (IdxType nr)
 
TrcKeysetFrom (const Coord &)
 Uses survID. More...
 
Coord getCoord () const
 Uses survID. More...
 
const BinIDpos () const
 Will go after 6.0. Use position() or binID() More...
 
void setPos (const BinID &bid)
 Will go after 6.0. Use setPosition() More...
 
IdxTypelineNr ()
 
IdxTypetrcNr ()
 < Will go after 6.0. Use a set function More...
 

Static Public Member Functions

static bool is2D (SurvID)
 
static Pos::GeomID geomID (SurvID, const BinID &)
 
static const TrcKeyudf ()
 
static SurvID std2DSurvID ()
 
static SurvID std3DSurvID ()
 
static SurvID cUndefSurvID ()
 

Private Attributes

SurvID survid_
 < Will go after 6.0. Use a set function More...
 
BinID pos_
 

Detailed Description

Represents a unique trace position in one of the surveys that OpendTect is managing.

The class is a combination of a unique survey ID and a bin position ID which is currently implemented using a BinID (2D trace number is the crossline).

Member Typedef Documentation

Constructor & Destructor Documentation

TrcKey::TrcKey ( )
inline
TrcKey::TrcKey ( const BinID )
TrcKey::TrcKey ( SurvID  ,
const BinID  
)
TrcKey::TrcKey ( Pos::GeomID  ,
Pos::TraceID   
)

Member Function Documentation

const BinID& TrcKey::binID ( ) const
inline
IdxType TrcKey::crl ( ) const
inline
static SurvID TrcKey::cUndefSurvID ( )
static
double TrcKey::distTo ( const TrcKey ) const
Pos::GeomID& TrcKey::geomID ( )
Pos::GeomID TrcKey::geomID ( ) const
static Pos::GeomID TrcKey::geomID ( SurvID  ,
const BinID  
)
static
Coord TrcKey::getCoord ( ) const

Uses survID.

IdxType TrcKey::inl ( ) const
inline
bool TrcKey::is2D ( ) const
inline
static bool TrcKey::is2D ( SurvID  )
static
bool TrcKey::isUdf ( ) const
inline
IdxType TrcKey::lineNr ( ) const
IdxType& TrcKey::lineNr ( )
bool TrcKey::operator== ( const TrcKey ) const
const BinID& TrcKey::pos ( ) const
inline

Will go after 6.0. Use position() or binID()

const BinID& TrcKey::position ( ) const
inline
TrcKey& TrcKey::setBinID ( const BinID bid)
inline
TrcKey& TrcKey::setCrl ( IdxType  nr)
inline
TrcKey& TrcKey::setFrom ( const Coord )

Uses survID.

TrcKey& TrcKey::setGeomID ( Pos::GeomID  )
TrcKey& TrcKey::setInl ( IdxType  nr)
inline
TrcKey& TrcKey::setLineNr ( IdxType  nr)
inline
void TrcKey::setPos ( const BinID bid)
inline

Will go after 6.0. Use setPosition()

TrcKey& TrcKey::setPosition ( const BinID bid)
inline
TrcKey& TrcKey::setSurvID ( SurvID  id)
inline
TrcKey& TrcKey::setTrcNr ( IdxType  nr)
inline
static SurvID TrcKey::std2DSurvID ( )
static
static SurvID TrcKey::std3DSurvID ( )
static
SurvID TrcKey::survID ( ) const
inline
IdxType TrcKey::trcNr ( ) const
IdxType& TrcKey::trcNr ( )

< Will go after 6.0. Use a set function

static const TrcKey& TrcKey::udf ( )
static

Member Data Documentation

BinID TrcKey::pos_
private
SurvID TrcKey::survid_
private

< Will go after 6.0. Use a set function


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