OpendTect  6.6
Public Member Functions | Static Public Member Functions | List of all members
BinID Class Reference

Positioning in a seismic survey: inline/crossline or lineNr/trcNr. More...

Inheritance diagram for BinID:
[legend]

Public Member Functions

 BinID ()
 
 BinID (const Pos::IdxPair &)
 To make BinID from RowCol, should disappear. More...
 
 BinID (IdxType i, IdxType x)
 
bool fromString (const char *)
 
BinIDAbsDelta operator* (const Pos::Index_Type_Pair &) const
 
BinID operator* (int) const
 
BinID operator+ (const BinIDAbsDelta &) const
 
const BinIDoperator+= (const BinIDAbsDelta &)
 
BinID operator- () const
 
BinID operator- (const BinIDAbsDelta &) const
 
const BinIDoperator-= (const BinIDAbsDelta &)
 
BinIDRelDelta operator/ (const Pos::Index_Type_Pair &) const
 
BinID operator/ (int) const
 
const char * toString (bool is2d=false) const
 
BufferString usrDispStr () const
 
- Public Member Functions inherited from Pos::IdxPair
 IdxPair ()
 
 IdxPair (IdxType f, IdxType s)
 
IdxTypecol ()
 
IdxType col () const
 
IdxTypecrl ()
 
IdxType crl () const
 
IdxTypeinl ()
 
IdxType inl () const
 
bool isNeighborTo (const IdxPair &, const IdxPairStep &, bool conn8=true) const
 
IdxTypelineNr ()
 
IdxType lineNr () const
 
bool operator!= (const IdxPair &oth) const
 
bool operator< (const IdxPair &oth) const
 
bool operator== (const IdxPair &) const
 
bool operator> (const IdxPair &oth) const
 
IdxTyperow ()
 
IdxType row () const
 
int64_t sqDistTo (const IdxPair &) const
 
int64_t toInt64 () const
 
IdxTypetrcNr ()
 
IdxType trcNr () const
 
- Public Member Functions inherited from IdxPair
 IdxPair ()
 
 IdxPair (IdxType f, IdxType s)
 
const char * getUsrStr (const char *prefx, const char *sep, const char *postfx, bool only2nd) const
 
bool isUdf () const
 
bool operator!= (const IdxPair &oth) const
 
bool operator== (const IdxPair &) const
 
IdxTypeoperator[] (int idx)
 
IdxType operator[] (int idx) const
 
bool parseUsrStr (const char *str, const char *prefx, const char *sep, const char *postfx)
 
void setUdf ()
 

Static Public Member Functions

static BinID fromInt64 (int64_t)
 
- Static Public Member Functions inherited from Pos::IdxPair
static IdxPair fromInt64 (int64_t)
 
static const IdxPairudf ()
 
- Static Public Member Functions inherited from IdxPair
static const IdxPairudf ()
 

Additional Inherited Members

- Public Types inherited from IdxPair
typedef Index_Type IdxType
 

Detailed Description

Positioning in a seismic survey: inline/crossline or lineNr/trcNr.

<>

Constructor & Destructor Documentation

◆ BinID() [1/3]

BinID::BinID ( )
inline

◆ BinID() [2/3]

BinID::BinID ( BinID::IdxType  i,
BinID::IdxType  c 
)
inline

◆ BinID() [3/3]

BinID::BinID ( const Pos::IdxPair p)
inline

To make BinID from RowCol, should disappear.

Member Function Documentation

◆ fromInt64()

BinID BinID::fromInt64 ( int64_t  i64)
inlinestatic

◆ fromString()

bool BinID::fromString ( const char *  str)
inline

◆ operator*() [1/2]

BinIDAbsDelta BinID::operator* ( const Pos::Index_Type_Pair ip) const
inline

◆ operator*() [2/2]

BinID BinID::operator* ( int  factor) const
inline

◆ operator+()

BinID BinID::operator+ ( const BinIDAbsDelta bid) const
inline

◆ operator+=()

const BinID & BinID::operator+= ( const BinIDAbsDelta bid)
inline

◆ operator-() [1/2]

BinID BinID::operator- ( ) const
inline

◆ operator-() [2/2]

BinID BinID::operator- ( const BinIDAbsDelta bid) const
inline

◆ operator-=()

const BinID & BinID::operator-= ( const BinIDAbsDelta bid)
inline

◆ operator/() [1/2]

BinIDAbsDelta BinID::operator/ ( const Pos::Index_Type_Pair ip) const
inline

◆ operator/() [2/2]

BinID BinID::operator/ ( int  denominator) const
inline

◆ toString()

const char * BinID::toString ( bool  is2d = false) const
inline

◆ usrDispStr()

BufferString BinID::usrDispStr ( ) const
inline

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