37 TrcKeyZSampling(
const TrcKeyZSampling&);
38 TrcKeyZSampling(
bool settoSI);
40 bool is2D()
const {
return hsamp_.is2D(); }
42 enum Dir { Inl=0, Crl=1, Z=2 };
43 Dir defaultDir()
const;
46 void getDefaultNormal(
Coord3&)
const;
49 void init(
bool settoSI=
true);
62 int zIdx(
float z)
const;
67 int size(
Dir d)
const;
68 float zAtIndex(
int idx )
const;
70 bool isDefined()
const;
71 bool includes(
const TrcKeyZSampling&)
const;
72 bool getIntersection(
const TrcKeyZSampling&,
73 TrcKeyZSampling&)
const;
75 void include(
const TrcKey&,
float z);
76 void include(
const TrcKeyZSampling&);
77 void limitTo(
const TrcKeyZSampling&,
bool ignoresteps=
false);
78 void limitToWithUdf(
const TrcKeyZSampling&);
81 void shrinkTo(
const TrcKeyZSampling& innertkzs,
86 void growTo(
const TrcKeyZSampling& outertkzs,
90 bool adjustTo(
const TrcKeyZSampling& availabletkzs,
91 bool falsereturnsdummy=
false);
95 bool makeCompatibleWith(
const TrcKeyZSampling& othertkzs);
98 void expand(
int nrlines,
int nrtrcs,
int nrz);
104 bool isEqual(
const TrcKeyZSampling&,
105 float zeps=
mUdf(
float))
const;
107 bool operator==(
const TrcKeyZSampling&)
const;
108 bool operator!=(
const TrcKeyZSampling&)
const;
109 TrcKeyZSampling& operator=(
const TrcKeyZSampling&);
113 static void removeInfo(
IOPar&);
116 inline int inlIdx(
int inl )
const {
return lineIdx(inl); }
117 inline int crlIdx(
int crl )
const {
return trcIdx(crl); }
118 void include(
const BinID& bid,
float z);
120 inline int nrInl()
const {
return nrLines(); }
121 inline int nrCrl()
const {
return nrTrcs(); }
133 else if ( dimnr == 1 )
146 if ( slctype == direction )
#define mExpClass(module)
Definition: commondefs.h:157
Index_Type LineID
Definition: commontypes.h:46
ZSampling zsamp_
Definition: trckeyzsampling.h:58
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:51
Index_Type TraceID
Definition: commontypes.h:47
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
#define od_int64
Definition: plftypes.h:34
Definition: trckeyzsampling.h:42
Definition: trckeyzsampling.h:42
int crlIdx(int crl) const
Definition: trckeyzsampling.h:117
int inlIdx(int inl) const
Definition: trckeyzsampling.h:116
Definition: trckeyzsampling.h:42
3D point or vector
Definition: commontypes.h:57
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:25
TrcKeySampling & hrg
Definition: trckeyzsampling.h:123
ZSampling & zrg
Definition: trckeyzsampling.h:124
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:270
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:32
void setEmpty()
Definition: trckeyzsampling.h:51
Dir
Definition: trckeyzsampling.h:42
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:60
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
bool is2D() const
Definition: trckeyzsampling.h:40
int nrInl() const
Definition: trckeyzsampling.h:120
#define mDeprecated
Definition: plfdefs.h:213
bool isEmpty(const char *)
int dimension(TrcKeyZSampling::Dir slctype, TrcKeyZSampling::Dir direction)
Definition: trckeyzsampling.h:143
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:28
int nrCrl() const
Definition: trckeyzsampling.h:121
TrcKeyZSampling::Dir direction(TrcKeyZSampling::Dir slctype, int dimnr)
Definition: trckeyzsampling.h:129
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:26
TrcKeyZSampling CubeSampling
Definition: trckeyzsampling.h:158
TrcKeySampling hsamp_
Definition: trckeyzsampling.h:57