Public Types | |
| enum | Dir { Z, Inl, Crl } |
Public Member Functions | |
| CubeSampling (bool settoSI=true) | |
| Dir | defaultDir () const |
| Coord3 | defaultNormal () const |
| bool | isFlat () const |
| is one of directions size 1? | |
| void | init (bool settoSI=true) |
| Sets hrg.init and zrg to survey values or zeros. | |
| void | setEmpty () |
| void | set2DDef () |
| Sets to survey zrange and hrg.set2DDef. | |
| void | normalise () |
| Makes sure start<stop and steps are non-zero. | |
| int | inlIdx (int inl) const |
| int | crlIdx (int crl) const |
| int | zIdx (float z) const |
| int | nrInl () const |
| int | nrCrl () const |
| int | nrZ () const |
| int64_t | totalNr () const |
| int | size (Dir d) const |
| float | zAtIndex (int idx) const |
| bool | isEmpty () const |
| bool | isDefined () const |
| bool | includes (const CubeSampling &) const |
| bool | getIntersection (const CubeSampling &, CubeSampling &) const |
| Returns false if intersection is empty. | |
| void | include (const CubeSampling &) |
| void | limitTo (const CubeSampling &) |
| void | limitToWithUdf (const CubeSampling &) |
| void | snapToSurvey () |
| bool | operator== (const CubeSampling &cs) const |
| bool | operator!= (const CubeSampling &cs) const |
| bool | usePar (const IOPar &) |
| void | fillPar (IOPar &) const |
Static Public Member Functions | |
| static void | removeInfo (IOPar &) |
Public Attributes | |
| HorSampling | hrg |
| StepInterval< float > | zrg |
| enum CubeSampling::Dir |
| CubeSampling::CubeSampling | ( | bool | settoSI = true |
) | [inline] |
| int CubeSampling::crlIdx | ( | int | crl | ) | const [inline] |
| Dir CubeSampling::defaultDir | ( | ) | const |
'flattest' direction, i.e. direction with smallest size. If equal, prefer Inl then Crl then Z
| Coord3 CubeSampling::defaultNormal | ( | ) | const |
| void CubeSampling::fillPar | ( | IOPar & | ) | const |
| bool CubeSampling::getIntersection | ( | const CubeSampling & | , | |
| CubeSampling & | ||||
| ) | const |
Returns false if intersection is empty.
| void CubeSampling::include | ( | const CubeSampling & | ) |
| bool CubeSampling::includes | ( | const CubeSampling & | ) | const |
| void CubeSampling::init | ( | bool | settoSI = true |
) |
Sets hrg.init and zrg to survey values or zeros.
| int CubeSampling::inlIdx | ( | int | inl | ) | const [inline] |
| bool CubeSampling::isDefined | ( | ) | const |
| bool CubeSampling::isEmpty | ( | ) | const [inline] |
| bool CubeSampling::isFlat | ( | ) | const |
is one of directions size 1?
| void CubeSampling::limitTo | ( | const CubeSampling & | ) |
| void CubeSampling::limitToWithUdf | ( | const CubeSampling & | ) |
handles undef values + returns reference cube nearest limit if the 2 cubes do not intersect
| void CubeSampling::normalise | ( | ) |
Makes sure start<stop and steps are non-zero.
| int CubeSampling::nrCrl | ( | ) | const [inline] |
| int CubeSampling::nrInl | ( | ) | const [inline] |
| int CubeSampling::nrZ | ( | ) | const [inline] |
| bool CubeSampling::operator!= | ( | const CubeSampling & | cs | ) | const [inline] |
| bool CubeSampling::operator== | ( | const CubeSampling & | cs | ) | const |
| static void CubeSampling::removeInfo | ( | IOPar & | ) | [static] |
| void CubeSampling::set2DDef | ( | ) |
Sets to survey zrange and hrg.set2DDef.
| void CubeSampling::setEmpty | ( | ) | [inline] |
| int CubeSampling::size | ( | Dir | d | ) | const [inline] |
| void CubeSampling::snapToSurvey | ( | ) |
Checks if it is on valid bids and sample positions. If not, it will expand until it is
| int64_t CubeSampling::totalNr | ( | ) | const |
| bool CubeSampling::usePar | ( | const IOPar & | ) |
| float CubeSampling::zAtIndex | ( | int | idx | ) | const [inline] |
| int CubeSampling::zIdx | ( | float | z | ) | const [inline] |
| StepInterval<float> CubeSampling::zrg |
1.7.1