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

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::BinID ( )
inline
BinID::BinID ( BinID::IdxType  i,
BinID::IdxType  c 
)
inline
BinID::BinID ( const Pos::IdxPair p)
inline

To make BinID from RowCol, should disappear.

Member Function Documentation

BinID BinID::fromInt64 ( int64_t  i64)
inlinestatic
bool BinID::fromString ( const char *  str)
inline
BinIDAbsDelta BinID::operator* ( const Pos::Index_Type_Pair ip) const
inline
BinID BinID::operator* ( int  factor) const
inline
BinID BinID::operator+ ( const BinIDAbsDelta bid) const
inline
const BinID & BinID::operator+= ( const BinIDAbsDelta bid)
inline
BinID BinID::operator- ( const BinIDAbsDelta bid) const
inline
BinID BinID::operator- ( ) const
inline
const BinID & BinID::operator-= ( const BinIDAbsDelta bid)
inline
BinIDAbsDelta BinID::operator/ ( const Pos::Index_Type_Pair ip) const
inline
BinID BinID::operator/ ( int  denominator) const
inline
const char * BinID::toString ( bool  is2d = false) const
inline

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