 |
OpendTect
6.6
|
Go to the documentation of this file.
42 enum Dir { Inl=0, Crl=1,
Z=2 };
44 bool
is2D()
const {
return hsamp_.is2D(); }
51 void init(
bool settoSI=
true);
84 void expand(
int nrlines,
int nrtrcs,
int nrz);
101 inline int inlIdx(
int inl )
const {
return lineIdx(inl); }
102 inline int crlIdx(
int crl )
const {
return trcIdx(crl); }
105 inline int nrInl()
const {
return nrLines(); }
106 inline int nrCrl()
const {
return nrTrcs(); }
121 bool falsereturnsdummy=false);
130 float zeps=
mUdf(
float)) const;
145 else if ( dimnr == 1 )
FixedString Z()
Definition: keystrs.h:200
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:35
A cartesian coordinate in 3D space.
Definition: coord.h:72
@ Inl
Definition: trckeyzsampling.h:42
TrcKeySampling hsamp_
Definition: trckeyzsampling.h:60
Definition: trckeyzsampling.h:136
int trcIdx(Pos::TraceID) const
Position.
Definition: commontypes.h:78
void limitToWithUdf(const TrcKeyZSampling &)
#define mGlobal(module)
Definition: commondefs.h:180
static void removeInfo(IOPar &)
void include(const BinID &bid, float z)
bool usePar(const IOPar &)
bool isFlat() const
is one of directions size 1?
int crlIdx(int crl) const
Definition: trckeyzsampling.h:102
void normalize()
Makes sure start<stop and steps are non-zero.
TrcKeyZSampling::Dir direction(TrcKeyZSampling::Dir slctype, int dimnr)
Definition: trckeyzsampling.h:141
#define od_int64
Definition: plftypes.h:35
#define mExpClass(module)
Definition: commondefs.h:177
@ Crl
Definition: trckeyzsampling.h:42
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:257
int lineIdx(Pos::LineID) const
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
Index_Type LineID
Definition: commontypes.h:85
StepInterval< float > zsamp_
Definition: trckeyzsampling.h:61
Dir
Definition: trckeyzsampling.h:42
int nrInl() const
Definition: trckeyzsampling.h:105
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
int dimension(TrcKeyZSampling::Dir slctype, TrcKeyZSampling::Dir direction)
Definition: trckeyzsampling.h:155
TrcKeyZSampling & operator=(const TrcKeyZSampling &)
Index_Type TraceID
Definition: commontypes.h:86
@ Z
Definition: trckeyzsampling.h:42
void init(bool settoSI=true)
Sets hrg_.init and zrg_ to survey values or zeros.
void set2DDef()
Sets to survey zrange and.
bool operator!=(const TrcKeyZSampling &) const
void fillJSON(OD::JSON::Object &) const
#define mDeprecated(msg)
Definition: plfdefs.h:215
TrcKeyZSampling CubeSampling
Definition: trckeyzsampling.h:170
TrcKeyZSampling(const TrcKeyZSampling &)
bool operator==(const TrcKeyZSampling &) const
void getDefaultNormal(Coord3 &) const
void setEmpty()
Definition: trckeyzsampling.h:53
bool getIntersection(const TrcKeyZSampling &, TrcKeyZSampling &) const
Returns false if intersection is empty.
void expand(int nrlines, int nrtrcs, int nrz)
void limitTo(const TrcKeyZSampling &, bool ignoresteps=false)
float zAtIndex(int idx) const
void fillPar(IOPar &) const
void include(const TrcKeyZSampling &)
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
int inlIdx(int inl) const
Definition: trckeyzsampling.h:101
void include(const TrcKey &, float z)
bool intersectF(const StepInterval< float > &, const StepInterval< float > &, StepInterval< float > &)
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:274
bool is2D(const PicksType &picks)
ObjectSet of Pick::Location's. Does not manage.
Definition: pickset.h:163
bool useJSON(const OD::JSON::Object &)
bool includes(const TrcKeyZSampling &) const
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
ValueSet where the values and subsets have a key.
Definition: odjson.h:283
TrcKeyZSampling(bool settoSI)
bool intersect(const StepInterval< int > &, const StepInterval< int > &, StepInterval< int > &)
Sets of (small) copyable elements.
Definition: commontypes.h:29
int nrCrl() const
Definition: trckeyzsampling.h:106
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021