OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EM::RowColIterator Class Reference

RowCol iterator. More...

Inheritance diagram for EM::RowColIterator:
[legend]

Public Member Functions

 RowColIterator (const Surface &, const StepInterval< int > rowbnd, const StepInterval< int > colbnd)
 
 RowColIterator (const Surface &, const TrcKeyZSampling *=nullptr)
 
 RowColIterator (const Surface &s, const SectionID &, const StepInterval< int > rowbnd, const StepInterval< int > colbnd)
 
 RowColIterator (const Surface &s, const SectionID &, const TrcKeyZSampling *t=0)
 
 ~RowColIterator ()
 
PosID fromIndex (int idx) const
 
int maximumSize () const override
 
int maximumSize (const SectionID &) const
 
int maxIndex () const
 
PosID next () override
 
- Public Member Functions inherited from EM::EMObjectIterator
virtual ~EMObjectIterator ()
 
virtual int approximateSize () const
 
virtual bool canGoTo () const
 
virtual EM::PosID goTo (od_int64)
 

Protected Member Functions

void fillPosIDs ()
 
bool initSection ()
 
- Protected Member Functions inherited from EM::EMObjectIterator
 EMObjectIterator ()
 

Protected Attributes

BinID bid_
 
const StepInterval< int > colbound_
 
StepInterval< int > colrg_
 
const TrcKeyZSamplingcsbound_ = nullptr
 
const Geometry::RowColSurfacecursection_ = nullptr
 
Coord3 pos_
 
ObjectSet< TypeSet< GeomPosID > > posids_
 
RowCol rc_
 
const StepInterval< int > rowbound_
 
const bool rowcolbounded_
 
StepInterval< int > rowrg_
 
const Surfacesurf_
 

Detailed Description

RowCol iterator.

<>

Constructor & Destructor Documentation

◆ RowColIterator() [1/4]

EM::RowColIterator::RowColIterator ( const Surface ,
const TrcKeyZSampling = nullptr 
)

◆ RowColIterator() [2/4]

EM::RowColIterator::RowColIterator ( const Surface ,
const StepInterval< int >  rowbnd,
const StepInterval< int >  colbnd 
)

◆ RowColIterator() [3/4]

EM::RowColIterator::RowColIterator ( const Surface s,
const SectionID ,
const TrcKeyZSampling t = 0 
)
inline

◆ RowColIterator() [4/4]

EM::RowColIterator::RowColIterator ( const Surface s,
const SectionID ,
const StepInterval< int >  rowbnd,
const StepInterval< int >  colbnd 
)
inline

◆ ~RowColIterator()

EM::RowColIterator::~RowColIterator ( )

Member Function Documentation

◆ fillPosIDs()

void EM::RowColIterator::fillPosIDs ( )
protected

◆ fromIndex()

PosID EM::RowColIterator::fromIndex ( int  idx) const

◆ initSection()

bool EM::RowColIterator::initSection ( )
protected

◆ maximumSize() [1/2]

int EM::RowColIterator::maximumSize ( ) const
overridevirtual

Reimplemented from EM::EMObjectIterator.

◆ maximumSize() [2/2]

int EM::RowColIterator::maximumSize ( const SectionID ) const
inline

◆ maxIndex()

int EM::RowColIterator::maxIndex ( ) const

◆ next()

PosID EM::RowColIterator::next ( )
overridevirtual

posid.objectID()==-1 when there are no more pids

Implements EM::EMObjectIterator.

Member Data Documentation

◆ bid_

BinID EM::RowColIterator::bid_
protected

◆ colbound_

const StepInterval<int> EM::RowColIterator::colbound_
protected

◆ colrg_

StepInterval<int> EM::RowColIterator::colrg_
protected

◆ csbound_

const TrcKeyZSampling* EM::RowColIterator::csbound_ = nullptr
protected

◆ cursection_

const Geometry::RowColSurface* EM::RowColIterator::cursection_ = nullptr
protected

◆ pos_

Coord3 EM::RowColIterator::pos_
protected

◆ posids_

ObjectSet<TypeSet<GeomPosID> > EM::RowColIterator::posids_
protected

◆ rc_

RowCol EM::RowColIterator::rc_
protected

◆ rowbound_

const StepInterval<int> EM::RowColIterator::rowbound_
protected

◆ rowcolbounded_

const bool EM::RowColIterator::rowcolbounded_
protected

◆ rowrg_

StepInterval<int> EM::RowColIterator::rowrg_
protected

◆ surf_

const Surface& EM::RowColIterator::surf_
protected

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