OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
TrcKeySamplingIterator Class Reference

Finds next BinID in TrcKeySampling; initializes to first position. More...

Public Member Functions

 TrcKeySamplingIterator ()
 
 TrcKeySamplingIterator (const TrcKeySampling &hs)
 
void setSampling (const TrcKeySampling &)
 
void reset ()
 
void setNextPos (const TrcKey &trk)
 
bool next (TrcKey &) const
 
bool next (BinID &) const
 
int64_t curIdx () const
 
TrcKey curTrcKey () const
 

Protected Attributes

TrcKeySampling tks_
 
int64_t totalnr_
 
Threads::Atomic< int64_t > curpos_
 

Detailed Description

Finds next BinID in TrcKeySampling; initializes to first position.

Constructor & Destructor Documentation

TrcKeySamplingIterator::TrcKeySamplingIterator ( )
inline
TrcKeySamplingIterator::TrcKeySamplingIterator ( const TrcKeySampling hs)
inline

Member Function Documentation

int64_t TrcKeySamplingIterator::curIdx ( ) const
inline
TrcKey TrcKeySamplingIterator::curTrcKey ( ) const
inline
bool TrcKeySamplingIterator::next ( TrcKey ) const
bool TrcKeySamplingIterator::next ( BinID ) const
void TrcKeySamplingIterator::reset ( )
void TrcKeySamplingIterator::setNextPos ( const TrcKey trk)
inline
void TrcKeySamplingIterator::setSampling ( const TrcKeySampling )

Member Data Documentation

Threads::Atomic< int64_t > TrcKeySamplingIterator::curpos_
mutableprotected
TrcKeySampling TrcKeySamplingIterator::tks_
protected
int64_t TrcKeySamplingIterator::totalnr_
protected

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