OpendTect-6_4  6.4
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 TrcKeyZSampling *=0)
 
 RowColIterator (const Surface &, const SectionID &, const StepInterval< int > rowbnd, const StepInterval< int > colbnd)
 
PosID next ()
 
int maximumSize () const
 
int maximumSize (const SectionID &) const
 
- 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

bool initSection ()
 
bool nextSection ()
 

Protected Attributes

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

Detailed Description

RowCol iterator.

Constructor & Destructor Documentation

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

Member Function Documentation

bool EM::RowColIterator::initSection ( )
protected
int EM::RowColIterator::maximumSize ( ) const
virtual

Reimplemented from EM::EMObjectIterator.

int EM::RowColIterator::maximumSize ( const SectionID ) const
PosID EM::RowColIterator::next ( )
virtual

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

Implements EM::EMObjectIterator.

bool EM::RowColIterator::nextSection ( )
protected

Member Data Documentation

bool EM::RowColIterator::allsids_
protected
BinID EM::RowColIterator::bid_
protected
const StepInterval<int> EM::RowColIterator::colbound_
protected
StepInterval<int> EM::RowColIterator::colrg_
protected
const TrcKeyZSampling* EM::RowColIterator::csbound_
protected
const Geometry::RowColSurface* EM::RowColIterator::cursection_
protected
Coord3 EM::RowColIterator::pos_
protected
RowCol EM::RowColIterator::rc_
protected
const StepInterval<int> EM::RowColIterator::rowbound_
protected
const bool EM::RowColIterator::rowcolbounded_
protected
StepInterval<int> EM::RowColIterator::rowrg_
protected
SectionID EM::RowColIterator::sid_
protected
const Surface& EM::RowColIterator::surf_
protected

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