OpendTect 8.0
Loading...
Searching...
No Matches
BinIDValues Class Reference

BinID and values. If one of the values is Z, make it the first one. More...

#include <binidvalue.h>

Inheritance diagram for BinIDValues:
[legend]

Public Member Functions

 BinIDValues (BinID::IdxType inl=0, BinID::IdxType crl=0, int n=2)
 
 BinIDValues (const BinID &, int n=2)
 
 BinIDValues (const BinIDValue &)
 
 ~BinIDValues ()
 
bool operator!= (const BinID &) const
 
bool operator!= (const BinIDIdxPairValues &oth) const
 
bool operator== (const BinID &) const
 
bool operator== (const BinIDIdxPairValues &oth) const
 
- Public Member Functions inherited from Pos::IdxPairValues< BinID, float >
 IdxPairValues ()
 
 IdxPairValues ()
 
 IdxPairValues (const BinID &p, int nrvals)
 
 IdxPairValues (const BinID &p, int nrvals)
 
 IdxPairValues (const IdxPairValues &oth)
 
 IdxPairValues (const IdxPairValues &oth)
 
 IdxPairValues (const ValueIdxPair< BinID, float > &vip)
 
 IdxPairValues (const ValueIdxPair< BinID, float > &vip)
 
 IdxPairValues (int i1, int i2, int nrvals)
 
 IdxPairValues (int i1, int i2, int nrvals)
 
bool equalPos (const BinID &ip) const
 
bool equalPos (const BinID &ip) const
 
bool isUdf (bool allvalsudf=true) const
 
bool isUdf (bool allvalsudf=true) const
 
 operator const float * () const
 
 operator const float * () const
 
 operator float * ()
 
 operator float * ()
 
bool operator!= (const IdxPairValues &ipvs) const
 
bool operator!= (const IdxPairValues &ipvs) const
 
bool operator== (const IdxPairValues &) const
 
bool operator== (const IdxPairValues &) const
 
float & operator[] (int idx)
 
float & operator[] (int idx)
 
float operator[] (int idx) const
 
float operator[] (int idx) const
 
void set (const BinID &ipt)
 
void set (const BinID &ipt)
 
void set (int, float)
 
void set (int, float)
 
void setSize (size_type, bool kpvals=false)
 
void setSize (size_type, bool kpvals=false)
 
void setVals (const float *)
 
void setVals (const float *)
 
size_type size () const
 
size_type size () const
 
bool validIdx (int i) const
 
bool validIdx (int i) const
 
set_type & valSet ()
 
set_type & valSet ()
 
const set_type & valSet () const
 
const set_type & valSet () const
 
float & value (int idx)
 
float & value (int idx)
 
float value (int idx) const
 
float value (int idx) const
 
float * values ()
 
float * values ()
 
const float * values () const
 
const float * values () const
 
- Public Member Functions inherited from BinID
 BinID ()
 
 BinID (const BinID &)
 
 BinID (const Pos::IdxPair &)
 
 BinID (IdxType i, IdxType x)
 
 ~BinID ()
 
IdxType & crl ()
 
IdxType crl () const
 
bool fromString (const char *)
 
IdxType & inl ()
 
IdxType inl () const
 
IdxType & lineNr ()
 
IdxType lineNr () const
 
BinID operator* (const Pos::Index_Type_Pair &) const
 
BinID operator* (int) const
 
BinID operator+ (const BinID &) const
 
const BinID & operator+= (const BinID &)
 
BinID operator- () const
 
BinID operator- (const BinID &) const
 
const BinID & operator-= (const BinID &)
 
BinID operator/ (const Pos::Index_Type_Pair &) const
 
BinID operator/ (int) const
 
BinID & operator= (const BinID &)
 
const char * toString (bool is2d=false) const
 
IdxType & trcNr ()
 
IdxType trcNr () const
 
BufferString usrDispStr () const
 
- Public Member Functions inherited from Pos::IdxPair
 IdxPair ()
 
 IdxPair (const Pos::IdxPair &)
 
 IdxPair (IdxType _first, IdxType _second)
 
 ~IdxPair ()
 
IdxType & col ()
 
IdxType col () const
 
bool isNeighborTo (const IdxPair &, const IdxPairStep &, bool conn8=true) const
 
bool operator!= (const IdxPair &oth) const
 
bool operator< (const IdxPair &oth) const
 
IdxPair & operator= (const IdxPair &)
 
bool operator== (const IdxPair &) const
 
bool operator> (const IdxPair &oth) const
 
IdxType & row ()
 
IdxType row () const
 
od_int64 sqDistTo (const IdxPair &) const
 
od_int64 toInt64 () const
 
- Public Member Functions inherited from IdxPair
 IdxPair ()
 
 IdxPair (IdxType, IdxType)
 
 ~IdxPair ()
 
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
 
od_int32 & operator[] (int idx)
 
od_int32 operator[] (int idx) const
 
bool parseUsrStr (const char *str, const char *prefx, const char *sep, const char *postfx)
 
void setUdf ()
 

Additional Inherited Members

- Public Types inherited from Pos::IdxPairValues< BinID, float >
typedef BinID pos_type
 
typedef BinID pos_type
 
typedef TypeSet< float > set_type
 
typedef TypeSet< float > set_type
 
typedef TypeSet< float >::size_type size_type
 
typedef TypeSet< float >::size_type size_type
 
typedef float value_type
 
typedef float value_type
 
- Public Types inherited from IdxPair
using IdxType = Index_Type
 
- Static Public Member Functions inherited from BinID
static BinID fromInt64 (od_int64)
 
static BinID noStepout ()
 
- Static Public Member Functions inherited from Pos::IdxPair
static IdxPair fromInt64 (od_int64)
 
static const IdxPair & udf ()
 
- Static Public Member Functions inherited from IdxPair
static const IdxPair & udf ()
 
- Protected Attributes inherited from Pos::IdxPairValues< BinID, float >
TypeSet< float > vals_
 
TypeSet< float > vals_
 

Detailed Description

BinID and values. If one of the values is Z, make it the first one.

Can be used as a BinID, also contains various accesses to the TypeSet of values contained.

Constructor & Destructor Documentation

◆ BinIDValues() [1/3]

BinIDValues::BinIDValues ( BinID::IdxType inl = 0,
BinID::IdxType crl = 0,
int n = 2 )

◆ BinIDValues() [2/3]

BinIDValues::BinIDValues ( const BinID & ,
int n = 2 )

◆ BinIDValues() [3/3]

BinIDValues::BinIDValues ( const BinIDValue & )

◆ ~BinIDValues()

BinIDValues::~BinIDValues ( )

Member Function Documentation

◆ operator!=() [1/2]

bool BinIDValues::operator!= ( const BinID & ) const

◆ operator!=() [2/2]

bool BinIDValues::operator!= ( const BinIDIdxPairValues & oth) const
inline

◆ operator==() [1/2]

bool BinIDValues::operator== ( const BinID & ) const

◆ operator==() [2/2]

bool BinIDValues::operator== ( const BinIDIdxPairValues & oth) const
inline

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