 |
OpendTect
6.6
|
Go to the documentation of this file.
30 : is2d_(is2d), state_(0) {}
36 {
return state_ < 4; }
38 {
return (state_ % 2) < 1; }
40 {
return (state_ % 4) < 2; }
42 void set(
bool inl,
bool inlupw,
bool crlupw);
46 bool inlsorted,
bool inlupward,
bool crlupward);
55 :
is2d_(is2d), state_(st) {}
static bool isValid(bool is2d, const BinID &prev, const BinID &cur, bool inlsorted, bool inlupward, bool crlupward)
bool is2d_
Definition: binidsorting.h:58
mODTextTranslationClass(BinIDSortingAnalyser) public bool add(const BinID &)
bool crlUpward() const
Definition: binidsorting.h:39
int state_
Definition: binidsorting.h:57
BinID sorting parameters.
Definition: binidsorting.h:27
#define mExpClass(module)
Definition: commondefs.h:177
static BufferString description(bool is2d, bool inlsorted, bool inlupward, bool crlupward)
uiString errMsg()
Definition: binidsorting.h:77
bool st_[8]
Definition: binidsorting.h:83
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
BinID prev_
Definition: binidsorting.h:81
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
void set(bool inl, bool inlupw, bool crlupw)
In 2D, 'inl' is ignored and inlupw irrelevant.
const char * description() const
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
BinIDSorting getSorting() const
Can be used after add() returns true.
Analyses whether input BinIDs are sorted.
Definition: binidsorting.h:68
mODTextTranslationClass(BinIDSorting) public
Definition: binidsorting.h:27
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
BufferString errmsg_
Definition: horizontracker.h:118
bool isValid(const BinID &prev, const BinID &cur) const
bool inlUpward() const
< ignored in 2D
Definition: binidsorting.h:37
bool inlSorted() const
Definition: binidsorting.h:35
BinIDSorting(bool is2d, int st)
Definition: binidsorting.h:54
uiString errmsg_
Definition: binidsorting.h:84
bool is2d_
Definition: binidsorting.h:82
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021