Public Member Functions | |
| HorSampling (bool settoSI=true) | |
| HorSampling & | set (const Interval< int > &inlrg, const Interval< int > &crlrg) |
| steps copied if available | |
| void | get (Interval< int > &inlrg, Interval< int > &crlrg) const |
| steps filled if available | |
| StepInterval< int > | inlRange () const |
| StepInterval< int > | crlRange () const |
| void | setInlRange (const Interval< int > &) |
| void | setCrlRange (const Interval< int > &) |
| bool | includes (const BinID &bid) const |
| bool | inlOK (int inl) const |
| bool | crlOK (int crl) const |
| void | include (const BinID &bid) |
| void | includeInl (int inl) |
| void | includeCrl (int crl) |
| bool | isDefined () const |
| void | limitTo (const HorSampling &) |
| void | limitToWithUdf (const HorSampling &) |
| int | inlIdx (int inl) const |
| int | crlIdx (int crl) const |
| BinID | atIndex (int i0, int i1) const |
| BinID | atIndex (int64_t globalidx) const |
| int | nrInl () const |
| int | nrCrl () const |
| int64_t | totalNr () const |
| bool | isEmpty () const |
| void | init (bool settoSI=true) |
| Sets to survey values or mUdf(int) (but step 1). | |
| void | set2DDef () |
| Sets ranges to 0-maxint. | |
| void | normalise () |
| Makes sure start<stop and steps are non-zero. | |
| bool | getInterSection (const HorSampling &, HorSampling &) const |
| Returns false if intersection is empty. | |
| void | snapToSurvey () |
| bool | operator== (const HorSampling &hs) const |
| bool | usePar (const IOPar &) |
| Keys as in keystrs.h. | |
| void | fillPar (IOPar &) const |
| Keys as in keystrs.h. | |
| void | toString (BufferString &) const |
| Nice text for info. | |
Static Public Member Functions | |
| static void | removeInfo (IOPar &) |
Public Attributes | |
| BinID | start |
| BinID | stop |
| BinID | step |
| HorSampling::HorSampling | ( | bool | settoSI = true |
) | [inline] |
| BinID HorSampling::atIndex | ( | int | i0, | |
| int | i1 | |||
| ) | const [inline] |
| BinID HorSampling::atIndex | ( | int64_t | globalidx | ) | const |
| int HorSampling::crlIdx | ( | int | crl | ) | const [inline] |
| bool HorSampling::crlOK | ( | int | crl | ) | const [inline] |
| StepInterval<int> HorSampling::crlRange | ( | ) | const |
steps filled if available
| bool HorSampling::getInterSection | ( | const HorSampling & | , | |
| HorSampling & | ||||
| ) | const |
Returns false if intersection is empty.
| void HorSampling::include | ( | const BinID & | bid | ) | [inline] |
| void HorSampling::includeCrl | ( | int | crl | ) |
| void HorSampling::includeInl | ( | int | inl | ) |
| bool HorSampling::includes | ( | const BinID & | bid | ) | const [inline] |
| void HorSampling::init | ( | bool | settoSI = true |
) |
Sets to survey values or mUdf(int) (but step 1).
| int HorSampling::inlIdx | ( | int | inl | ) | const [inline] |
| bool HorSampling::inlOK | ( | int | inl | ) | const [inline] |
| StepInterval<int> HorSampling::inlRange | ( | ) | const |
| bool HorSampling::isDefined | ( | ) | const |
| bool HorSampling::isEmpty | ( | ) | const [inline] |
| void HorSampling::limitTo | ( | const HorSampling & | ) |
| void HorSampling::limitToWithUdf | ( | const HorSampling & | ) |
handles undef values +returns reference horsampling nearest limit if horsamplings do not intersect
| void HorSampling::normalise | ( | ) |
Makes sure start<stop and steps are non-zero.
| int HorSampling::nrCrl | ( | ) | const |
| int HorSampling::nrInl | ( | ) | const |
| bool HorSampling::operator== | ( | const HorSampling & | hs | ) | const [inline] |
| static void HorSampling::removeInfo | ( | IOPar & | ) | [static] |
| HorSampling& HorSampling::set | ( | const Interval< int > & | inlrg, | |
| const Interval< int > & | crlrg | |||
| ) |
steps copied if available
| void HorSampling::set2DDef | ( | ) |
Sets ranges to 0-maxint.
| void HorSampling::setCrlRange | ( | const Interval< int > & | ) |
| void HorSampling::setInlRange | ( | const Interval< int > & | ) |
| void HorSampling::snapToSurvey | ( | ) |
Checks if it is on valid bids. If not, it will expand until it is
| void HorSampling::toString | ( | BufferString & | ) | const |
Nice text for info.
| int64_t HorSampling::totalNr | ( | ) | const [inline] |
1.7.1