OpendTect  6.6
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 SectionID &, const StepInterval< int > rowbnd, const StepInterval< int > colbnd)
 
 RowColIterator (const Surface &, const SectionID &, const TrcKeyZSampling *=0)
 
 ~RowColIterator ()
 
PosID fromIndex (int idx) const
 
int maximumSize () const
 
int maximumSize (const SectionID &) const
 
int maxIndex () const
 
PosID next ()
 
- 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 ()
 
bool nextSection ()
 

Protected Attributes

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

Detailed Description

RowCol iterator.

<>

Constructor & Destructor Documentation

◆ RowColIterator() [1/2]

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

◆ RowColIterator() [2/2]

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

◆ ~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
virtual

Reimplemented from EM::EMObjectIterator.

◆ maximumSize() [2/2]

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

◆ maxIndex()

int EM::RowColIterator::maxIndex ( ) const

◆ next()

PosID EM::RowColIterator::next ( )
virtual

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

Implements EM::EMObjectIterator.

◆ nextSection()

bool EM::RowColIterator::nextSection ( )
protected

Member Data Documentation

◆ allsids_

bool EM::RowColIterator::allsids_
protected

◆ 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_
protected

◆ cursection_

const Geometry::RowColSurface* EM::RowColIterator::cursection_
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

◆ sid_

SectionID EM::RowColIterator::sid_
protected

◆ surf_

const Surface& EM::RowColIterator::surf_
protected

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