OpendTect
7.0
|
Encapsulates linear transform from (i,j) index to (x,y) coordinates. More...
Classes | |
struct | DirTransform |
Public Types | |
typedef IdxPair::IdxType | IdxType |
Public Member Functions | |
IdxPair2Coord () | |
Coord | colDir () const |
Coord | crlDir () const |
void | fillPar (IOPar &) const |
Coord | firstDir () const |
const DirTransform & | getTransform (bool x) const |
Coord | inlDir () const |
bool | isSubsetOf (const IdxPair2Coord &) const |
bool | isValid () const |
bool | operator!= (const IdxPair2Coord &) const |
bool | operator== (const IdxPair2Coord &) const |
Coord | rowDir () const |
Coord | secondDir () const |
bool | set3Pts (const Coord &c0, const Coord &c1, const Coord &c2, const IdxPair &rc0, const IdxPair &rc1, std::int32_t col2) |
void | setTransforms (const DirTransform &x, const DirTransform &y) |
Coord | transform (const Coord &rc) const |
Coord | transform (const IdxPair &) const |
IdxPair | transformBack (const Coord &) const |
IdxPair | transformBack (const Coord &, const IdxPair &start, const IdxPairStep &) const |
Coord | transformBackNoSnap (const Coord &) const |
void | usePar (const IOPar &) |
Protected Member Functions | |
bool | isNodeOn (const Pos::IdxPair2Coord &, int, int) const |
Protected Attributes | |
DirTransform | xtr |
DirTransform | ytr |
Encapsulates linear transform from (i,j) index to (x,y) coordinates.
<>
|
inline |
|
inline |
|
inline |
void Pos::IdxPair2Coord::fillPar | ( | IOPar & | ) | const |
|
inline |
|
inline |
|
inline |
|
protected |
bool Pos::IdxPair2Coord::isSubsetOf | ( | const IdxPair2Coord & | ) | const |
|
inline |
bool Pos::IdxPair2Coord::operator!= | ( | const IdxPair2Coord & | ) | const |
bool Pos::IdxPair2Coord::operator== | ( | const IdxPair2Coord & | ) | const |
|
inline |
|
inline |
bool Pos::IdxPair2Coord::set3Pts | ( | const Coord & | c0, |
const Coord & | c1, | ||
const Coord & | c2, | ||
const IdxPair & | rc0, | ||
const IdxPair & | rc1, | ||
std::int32_t | col2 | ||
) |
Sets up the transform using three points.
|
inline |
transforms a non-integer IdxPair first == X, second == Y.
IdxPair Pos::IdxPair2Coord::transformBack | ( | const Coord & | , |
const IdxPair & | start, | ||
const IdxPairStep & | |||
) | const |
transforms back, but doesn't go to int domain. first == X, second == Y.
void Pos::IdxPair2Coord::usePar | ( | const IOPar & | ) |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024