OpendTect  6.6
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 IdxPair::IdxType IdxType
 
typedef Pos::SurvID SurvID
 

Public Member Functions

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

Static Public Member Functions

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

Private Attributes

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

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

◆ IdxType

◆ SurvID

Constructor & Destructor Documentation

◆ TrcKey() [1/4]

TrcKey::TrcKey ( )
inline

◆ TrcKey() [2/4]

TrcKey::TrcKey ( const BinID )

◆ TrcKey() [3/4]

TrcKey::TrcKey ( SurvID  ,
const BinID  
)

◆ TrcKey() [4/4]

TrcKey::TrcKey ( Pos::GeomID  ,
Pos::TraceID   
)

Member Function Documentation

◆ binID()

const BinID& TrcKey::binID ( ) const
inline

◆ crl()

IdxType TrcKey::crl ( ) const
inline

◆ cUndefSurvID()

static SurvID TrcKey::cUndefSurvID ( )
static

◆ distTo()

double TrcKey::distTo ( const TrcKey ) const

◆ exists()

bool TrcKey::exists ( ) const

check in geometry

◆ geomID() [1/3]

Pos::GeomID& TrcKey::geomID ( )

◆ geomID() [2/3]

Pos::GeomID TrcKey::geomID ( ) const

◆ geomID() [3/3]

static Pos::GeomID TrcKey::geomID ( SurvID  ,
const BinID  
)
static

◆ getCoord()

Coord TrcKey::getCoord ( ) const

Uses survID.

◆ inl()

IdxType TrcKey::inl ( ) const
inline

◆ is2D() [1/2]

bool TrcKey::is2D ( ) const
inline

◆ is2D() [2/2]

static bool TrcKey::is2D ( SurvID  )
static

◆ isUdf()

bool TrcKey::isUdf ( ) const
inline

◆ lineNr() [1/2]

IdxType& TrcKey::lineNr ( )

◆ lineNr() [2/2]

IdxType TrcKey::lineNr ( ) const

◆ operator!=()

bool TrcKey::operator!= ( const TrcKey oth) const
inline

◆ operator==()

bool TrcKey::operator== ( const TrcKey ) const

◆ pos()

const BinID& TrcKey::pos ( ) const
inline

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

◆ position()

const BinID& TrcKey::position ( ) const
inline

◆ setBinID()

TrcKey& TrcKey::setBinID ( const BinID bid)
inline

◆ setCrl()

TrcKey& TrcKey::setCrl ( IdxType  nr)
inline

◆ setFrom()

TrcKey& TrcKey::setFrom ( const Coord )

Uses survID.

◆ setGeomID()

TrcKey& TrcKey::setGeomID ( Pos::GeomID  )

◆ setInl()

TrcKey& TrcKey::setInl ( IdxType  nr)
inline

◆ setLineNr()

TrcKey& TrcKey::setLineNr ( IdxType  nr)
inline

◆ setPos()

void TrcKey::setPos ( const BinID bid)
inline

Will go after 6.0. Use setPosition()

◆ setPosition()

TrcKey& TrcKey::setPosition ( const BinID bid)
inline

◆ setSurvID()

TrcKey& TrcKey::setSurvID ( SurvID  id)
inline

◆ setTrcNr()

TrcKey& TrcKey::setTrcNr ( IdxType  nr)
inline

◆ setUdf()

void TrcKey::setUdf ( )

◆ std2DSurvID()

static SurvID TrcKey::std2DSurvID ( )
static

◆ std3DSurvID()

static SurvID TrcKey::std3DSurvID ( )
static

◆ survID()

SurvID TrcKey::survID ( ) const
inline

◆ trcNr() [1/2]

IdxType& TrcKey::trcNr ( )

< Will go after 6.0. Use a set function

◆ trcNr() [2/2]

IdxType TrcKey::trcNr ( ) const

◆ udf()

static const TrcKey& TrcKey::udf ( )
static

Member Data Documentation

◆ pos_

BinID TrcKey::pos_
private

◆ survid_

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. 1995-2022