14 #include "generalmod.h" 18 namespace PosInfo {
class Line2DData; }
35 const char* type()
const;
41 virtual bool toNextPos();
42 virtual bool toNextZ();
45 virtual float curZ()
const;
46 virtual bool includes(
const BinID&,
float z=
mUdf(
float))
const;
51 virtual void getExtent(
BinID& start,
BinID& stop)
const;
54 virtual int estNrZPerPos()
const;
59 { tkzs_.hsamp_ = tks; }
92 const char* type()
const;
98 virtual bool toNextPos();
99 virtual bool toNextZ();
101 virtual int curNr()
const;
102 virtual float curZ()
const;
103 virtual Coord curCoord()
const;
104 virtual TrcKey curTrcKey()
const;
105 virtual bool includes(
int,
float z=
mUdf(
float),
int lidx=0)
const;
106 virtual bool includes(
const Coord&,
float z=
mUdf(
float))
const;
111 virtual void getExtent(
Interval<int>& rg,
int lidx=-1 )
const;
114 virtual int estNrZPerPos()
const;
118 {
return trcrgs_[lidx];}
122 {
return zrgs_[lidx];}
141 void getCurRanges()
const;
virtual Provider * clone() const
Definition: rangeposprovider.h:37
#define mExpClass(module)
Definition: commondefs.h:157
int curlineidx_
Definition: rangeposprovider.h:129
Provides a series of positions; can also be used for subselection.
Definition: posprovider.h:31
BinID curbid_
Definition: rangeposprovider.h:67
int curtrcidx_
Definition: rangeposprovider.h:128
static Provider2D * create()
Definition: rangeposprovider.h:146
void setHSampling(const TrcKeySampling &tks)
Definition: rangeposprovider.h:58
const StepInterval< float > & zRange(int lidx=0) const
Definition: rangeposprovider.h:121
Geometry of a 2D Line.
Definition: survgeom2d.h:26
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
#define od_int64
Definition: plftypes.h:34
const char * factoryKeyword() const
Definition: rangeposprovider.h:36
const Survey::Geometry2D * curgeom_
Definition: rangeposprovider.h:135
TypeSet< StepInterval< int > > trcrgs_
Definition: rangeposprovider.h:126
StepInterval< float > curzrg_
Definition: rangeposprovider.h:133
Provides a subselection for 3D surveys.
Definition: posprovider.h:58
virtual bool includes(const BinID &, float z=mUdf(float)) const =0
2D provider based on StepInterval<int>.
Definition: rangeposprovider.h:85
const char * factoryKeyword() const
Definition: rangeposprovider.h:93
virtual BinID curBinID() const
Definition: rangeposprovider.h:44
TrcKeyZSampling & tkzs_
Definition: rangeposprovider.h:66
Set of (small) copyable elements.
Definition: commontypes.h:26
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
int curzidx_
Definition: rangeposprovider.h:68
int zsampsz_
Definition: rangeposprovider.h:69
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:25
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:270
const TrcKeyZSampling & sampling() const
Definition: rangeposprovider.h:56
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:32
Position.
Definition: commontypes.h:38
static Provider3D * create()
Definition: rangeposprovider.h:74
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
int curlinezsampsz_
Definition: rangeposprovider.h:131
TypeSet< StepInterval< float > > zrgs_
Definition: rangeposprovider.h:127
Index_Type GeomID
Definition: commontypes.h:48
Position info, often segmented.
Definition: posinfo.h:38
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
virtual bool includes(const Coord &c, float z=mUdf(float)) const
Definition: rangeposprovider.h:61
Provides a subselection for 2D surveys - requires the line name(s).
Definition: posprovider.h:93
3D provider based on TrcKeyZSampling
Definition: rangeposprovider.h:27
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:28
StepInterval< int > curtrcrg_
Definition: rangeposprovider.h:132
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:26
int curzidx_
Definition: rangeposprovider.h:130
2D point or vector class.
Definition: commontypes.h:58
const StepInterval< int > & trcRange(int lidx) const
Definition: rangeposprovider.h:117
mDeclEmptyTranslatorBundle(Strat, StratLayerSequenceGenDesc, od,"sgd") mDeclEmptyTranslatorBundle(Strat
virtual Provider * clone() const
Definition: rangeposprovider.h:94