OpendTect  7.0
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)
 
std::int64_t curIdx () const
 
TrcKey curTrcKey () const
 
bool next (BinID &) const
 
bool next (TrcKey &) const
 
void reset ()
 
void setNextPos (const TrcKey &trk)
 
void setSampling (const TrcKeySampling &)
 

Protected Attributes

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

Detailed Description

Finds next BinID in TrcKeySampling; initializes to first position.

<>

Constructor & Destructor Documentation

◆ TrcKeySamplingIterator() [1/2]

TrcKeySamplingIterator::TrcKeySamplingIterator ( )
inline

◆ TrcKeySamplingIterator() [2/2]

TrcKeySamplingIterator::TrcKeySamplingIterator ( const TrcKeySampling hs)
inline

Member Function Documentation

◆ curIdx()

std::int64_t TrcKeySamplingIterator::curIdx ( ) const
inline

◆ curTrcKey()

TrcKey TrcKeySamplingIterator::curTrcKey ( ) const
inline

◆ next() [1/2]

bool TrcKeySamplingIterator::next ( BinID ) const

◆ next() [2/2]

bool TrcKeySamplingIterator::next ( TrcKey ) const

◆ reset()

void TrcKeySamplingIterator::reset ( )

◆ setNextPos()

void TrcKeySamplingIterator::setNextPos ( const TrcKey trk)
inline

◆ setSampling()

void TrcKeySamplingIterator::setSampling ( const TrcKeySampling )

Member Data Documentation

◆ curpos_

Threads::Atomic< std::int64_t > TrcKeySamplingIterator::curpos_
mutableprotected

◆ tks_

TrcKeySampling TrcKeySamplingIterator::tks_
protected

◆ totalnr_

std::int64_t TrcKeySamplingIterator::totalnr_
protected

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