OpendTect-6_4  6.4
emrowcoliterator.h
Go to the documentation of this file.
1 #ifndef emrowcoliterator_h
2 #define emrowcoliterator_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Kristofer Tingdahl
9  Date: April 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "earthmodelmod.h"
17 #include "emsurface.h"
18 #include "ranges.h"
19 
20 namespace Geometry { class RowColSurface; }
21 
22 namespace EM
23 {
24 
30 {
31 public:
32  RowColIterator(const Surface&,const SectionID&,
33  const TrcKeyZSampling* =0);
34  RowColIterator(const Surface&,const SectionID&,
35  const StepInterval<int> rowbnd,
36  const StepInterval<int> colbnd);
37  PosID next();
38  int maximumSize() const;
39  int maximumSize(const SectionID&) const;
40 
41 protected:
42  bool initSection();
43  bool nextSection();
44 
50  bool allsids_;
51  const Surface& surf_;
52 
56  const bool rowcolbounded_;
59 };
60 
61 } // namespace EM
62 
63 
64 #endif
od_int16 SectionID
Definition: emposid.h:25
#define mExpClass(module)
Definition: commondefs.h:160
RowCol iterator.
Definition: emrowcoliterator.h:29
const TrcKeyZSampling * csbound_
Definition: emrowcoliterator.h:53
const Geometry::RowColSurface * cursection_
Definition: emrowcoliterator.h:47
Is an identifier for each position in the earthmodel.
Definition: emposid.h:37
Coord3 pos_
Definition: emrowcoliterator.h:57
Iterator that iterates a number of positions (normally all) on an EMObject. The object is created by ...
Definition: emobject.h:122
RowCol rc_
Definition: emrowcoliterator.h:45
Definition: rowcolsurface.h:26
SectionID sid_
Definition: emrowcoliterator.h:46
BinID bid_
Definition: emrowcoliterator.h:58
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
A cartesian coordinate in 3D space.
Definition: coord.h:72
IdxPair used for its row() and col().
Definition: rowcol.h:25
StepInterval< int > rowrg_
Definition: emrowcoliterator.h:48
const bool rowcolbounded_
Definition: emrowcoliterator.h:56
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
const StepInterval< int > rowbound_
Definition: emrowcoliterator.h:54
Base class for surfaces like horizons and faults. A surface is made up of one or more segments or pat...
Definition: emsurface.h:33
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
bool allsids_
Definition: emrowcoliterator.h:50
const StepInterval< int > colbound_
Definition: emrowcoliterator.h:55
StepInterval< int > colrg_
Definition: emrowcoliterator.h:49
const Surface & surf_
Definition: emrowcoliterator.h:51
Definition: arraytesselator.h:21

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