 |
OpendTect
6.6
|
Go to the documentation of this file.
53 {
return !(*
this==oth); }
56 inline bool isUdf()
const {
return *
this==udf(); }
66 { survid_ = id;
return *
this; }
75 { pos_ = bid;
return *
this; }
77 { pos_.row() = nr;
return *
this; }
79 { pos_.col() = nr;
return *
this; }
81 {
return setPosition(bid); }
83 {
return setLineNr(nr); }
85 {
return setTrcNr(nr); }
bool isUdf() const
Definition: trckey.h:56
TrcKey(Pos::GeomID, Pos::TraceID)
static Pos::GeomID geomID(SurvID, const BinID &)
TrcKey & setLineNr(IdxType nr)
Definition: trckey.h:76
TrcKey & setSurvID(SurvID id)
Definition: trckey.h:65
static const TrcKey & udf()
bool operator!=(const TrcKey &oth) const
Definition: trckey.h:52
#define mExpClass(module)
Definition: commondefs.h:177
TrcKey & setTrcNr(IdxType nr)
Definition: trckey.h:78
Index_Type SurvID
Definition: commontypes.h:84
TrcKey & setBinID(const BinID &bid)
Definition: trckey.h:80
const BinID & binID() const
Definition: trckey.h:71
Index_Type IdxType
Definition: idxpair.h:33
const BinID & position() const
Definition: trckey.h:68
SurvID survid_
< Will go after 6.0. Use a set function
Definition: trckey.h:101
TrcKey(SurvID, const BinID &)
TrcKey & setPosition(const BinID &bid)
Definition: trckey.h:74
static SurvID cUndefSurvID()
bool is2D() const
Definition: trckey.h:43
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
A cartesian coordinate in 2D space.
Definition: coord.h:25
IdxPair::IdxType IdxType
Definition: trckey.h:32
TrcKey & setGeomID(Pos::GeomID)
Index_Type TraceID
Definition: commontypes.h:86
static SurvID std3DSurvID()
IdxType & trcNr()
< Will go after 6.0. Use a set function
BinID pos_
Definition: trckey.h:102
TrcKey & setInl(IdxType nr)
Definition: trckey.h:82
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
bool operator==(const TrcKey &) const
TrcKey & setCrl(IdxType nr)
Definition: trckey.h:84
Pos::SurvID SurvID
Definition: trckey.h:31
void setPos(const BinID &bid)
Will go after 6.0. Use setPosition()
Definition: trckey.h:92
Pos::GeomID geomID() const
IdxType crl() const
Definition: trckey.h:73
TrcKey()
Definition: trckey.h:34
double distTo(const TrcKey &) const
SurvID survID() const
Definition: trckey.h:64
TrcKey & setFrom(const Coord &)
Uses survID.
static SurvID std2DSurvID()
Coord getCoord() const
Uses survID.
IdxType inl() const
Definition: trckey.h:72
const BinID & pos() const
Will go after 6.0. Use position() or binID()
Definition: trckey.h:90
Index_Type GeomID
Definition: commontypes.h:87
bool exists() const
check in geometry
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021