![]() |
OpendTect
6.6
|
Horizontal sampling (inline and crossline range and steps). More...
Public Member Functions | |
| TrcKeySampling () | |
| TrcKeySampling (bool settoSI) | |
| TrcKeySampling (const TrcKeySampling &) | |
| TrcKeySampling (Pos::GeomID) | |
| BinID | atIndex (int i0, int i1) const |
| BinID | atIndex (int64_t globalidx) const |
| TrcKey | center () const |
| int | crlIdx (Pos::TraceID tid) const |
| bool | crlOK (int crl) const |
| StepInterval< int > | crlRange () const |
| void | expand (int nrlines, int nrtrcs) |
| void | fillJSON (OD::JSON::Object &) const |
| void | fillPar (IOPar &) const |
| Keys as in keystrs.h. More... | |
| void | get (Interval< int > &linerg, Interval< int > &trcnrrg) const |
| steps filled if available More... | |
| Pos::GeomID | getGeomID () const |
| bool | getInterSection (const TrcKeySampling &, TrcKeySampling &) const |
| Returns false if intersection is empty. More... | |
| TrcKeySampling | getLineChunk (int totalchunks, int chunknr) const |
| totalchunks > 0, 0 <= chunknr < totalchunks More... | |
| BinID | getNearest (const BinID &) const |
| TrcKey | getNearest (const TrcKey &) const |
| void | getRandomSet (int nr, TypeSet< TrcKey > &) const |
| int64_t | globalIdx (const BinID &) const |
| int64_t | globalIdx (const TrcKey &) const |
| void | growTo (const TrcKeySampling &outertks) |
| void | include (const BinID &bid) |
| void | include (const TrcKey &) |
| void | include (const TrcKeySampling &, bool ignoresteps=false) |
| void | includeCrl (int crl) |
| void | includeInl (int inl) |
| void | includeLine (Pos::LineID) |
| bool | includes (const BinID &bid) const |
| bool | includes (const BinID &bid, bool ignoresteps) const |
| bool | includes (const TrcKey &) const |
| bool | includes (const TrcKey &, bool ignoresteps) const |
| bool | includes (const TrcKeySampling &, bool ignoresteps=false) const |
| void | includeTrc (Pos::TraceID) |
| void | init (bool settoSI=true) |
| Sets to survey values or mUdf(int) (but step 1) More... | |
| void | init (const TrcKey &) |
| bool | init (Pos::GeomID) |
| int | inlIdx (Pos::LineID lid) const |
| bool | inlOK (int inl) const |
| StepInterval< int > | inlRange () const |
| bool | is2D () const |
| bool | isDefined () const |
| bool | isEmpty () const |
| void | limitTo (const TrcKeySampling &, bool ignoresteps=false) |
| void | limitToWithUdf (const TrcKeySampling &) |
| float | lineDistance () const |
| Pos::LineID | lineID (int) const |
| int | lineIdx (Pos::LineID) const |
| bool | lineOK (Pos::LineID) const |
| bool | lineOK (Pos::LineID, bool ignoresteps) const |
| StepInterval< int > | lineRange () const |
| void | neighbors (const TrcKey &, TypeSet< TrcKey > &) const |
| void | neighbors (int64_t globalidx, TypeSet< int64_t > &) const |
| void | normalise () |
| void | normalize () |
| Makes sure start_<stop_ and steps are non-zero. More... | |
| int | nrCrl () const |
| int | nrInl () const |
| int | nrLines () const |
| int | nrTrcs () const |
| bool | operator!= (const TrcKeySampling &) const |
| TrcKeySampling & | operator= (const TrcKeySampling &) |
| bool | operator== (const TrcKeySampling &) const |
| TrcKeySampling & | set (const Interval< int > &linerg, const Interval< int > &trcnrrg) |
| steps copied if available More... | |
| void | set2DDef () |
| Sets ranges to 0-maxint. More... | |
| void | setCrlRange (const Interval< int > &rg) |
| void | setInlRange (const Interval< int > &rg) |
| void | setLineRange (const Interval< int > &) |
| void | setTrcRange (const Interval< int > &) |
| void | shrinkTo (const TrcKeySampling &innertks) |
| void | snapToSurvey () |
| Coord | toCoord (const BinID &) const |
| void | toString (BufferString &) const |
| Nice text for info. More... | |
| int64_t | totalNr () const |
| TrcKey | toTrcKey (const Coord &, float *distance=nullptr) const |
| Pos::TraceID | traceID (int) const |
| float | trcDistance () const |
| int | trcIdx (Pos::TraceID) const |
| TrcKey | trcKeyAt (int i0, int i1) const |
| TrcKey | trcKeyAt (int64_t globalidx) const |
| bool | trcOK (Pos::TraceID) const |
| bool | trcOK (Pos::TraceID, bool ignoresteps) const |
| StepInterval< int > | trcRange () const |
| bool | useJSON (const OD::JSON::Object &) |
| bool | usePar (const IOPar &) |
| Keys as in keystrs.h. More... | |
Static Public Member Functions | |
| static void | removeInfo (IOPar &) |
Public Attributes | |
| BinID & | start |
| BinID | start_ |
| BinID & | step |
| BinID | step_ |
| BinID & | stop |
| BinID | stop_ |
| Pos::SurvID | survid_ |
Private Member Functions | |
| bool | doLimitTo (StepInterval< int > &, const StepInterval< int > &, const bool ignoresteps, const bool nostephandling) |
Horizontal sampling (inline and crossline range and steps).
<>
| TrcKeySampling::TrcKeySampling | ( | ) |
| TrcKeySampling::TrcKeySampling | ( | const TrcKeySampling & | ) |
| TrcKeySampling::TrcKeySampling | ( | Pos::GeomID | ) |
| TrcKeySampling::TrcKeySampling | ( | bool | settoSI | ) |
| BinID TrcKeySampling::atIndex | ( | int | i0, |
| int | i1 | ||
| ) | const |
| BinID TrcKeySampling::atIndex | ( | int64_t | globalidx | ) | const |
| TrcKey TrcKeySampling::center | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
private |
| void TrcKeySampling::expand | ( | int | nrlines, |
| int | nrtrcs | ||
| ) |
| void TrcKeySampling::fillJSON | ( | OD::JSON::Object & | ) | const |
| void TrcKeySampling::fillPar | ( | IOPar & | ) | const |
Keys as in keystrs.h.
steps filled if available
| Pos::GeomID TrcKeySampling::getGeomID | ( | ) | const |
| bool TrcKeySampling::getInterSection | ( | const TrcKeySampling & | , |
| TrcKeySampling & | |||
| ) | const |
Returns false if intersection is empty.
| TrcKeySampling TrcKeySampling::getLineChunk | ( | int | totalchunks, |
| int | chunknr | ||
| ) | const |
totalchunks > 0, 0 <= chunknr < totalchunks
step_-snap and outside -> edge. Assumes inldist == crldist
| int64_t TrcKeySampling::globalIdx | ( | const BinID & | ) | const |
| int64_t TrcKeySampling::globalIdx | ( | const TrcKey & | ) | const |
| void TrcKeySampling::growTo | ( | const TrcKeySampling & | outertks | ) |
|
inline |
| void TrcKeySampling::include | ( | const TrcKey & | ) |
| void TrcKeySampling::include | ( | const TrcKeySampling & | , |
| bool | ignoresteps = false |
||
| ) |
|
inline |
|
inline |
| void TrcKeySampling::includeLine | ( | Pos::LineID | ) |
|
inline |
|
inline |
| bool TrcKeySampling::includes | ( | const TrcKey & | ) | const |
| bool TrcKeySampling::includes | ( | const TrcKey & | , |
| bool | ignoresteps | ||
| ) | const |
| bool TrcKeySampling::includes | ( | const TrcKeySampling & | , |
| bool | ignoresteps = false |
||
| ) | const |
| void TrcKeySampling::includeTrc | ( | Pos::TraceID | ) |
| void TrcKeySampling::init | ( | bool | settoSI = true | ) |
Sets to survey values or mUdf(int) (but step 1)
| void TrcKeySampling::init | ( | const TrcKey & | ) |
| bool TrcKeySampling::init | ( | Pos::GeomID | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| bool TrcKeySampling::isDefined | ( | ) | const |
| bool TrcKeySampling::isEmpty | ( | ) | const |
| void TrcKeySampling::limitTo | ( | const TrcKeySampling & | , |
| bool | ignoresteps = false |
||
| ) |
| void TrcKeySampling::limitToWithUdf | ( | const TrcKeySampling & | ) |
handles undef values +returns reference HS nearest limit if HS's do not intersect
| float TrcKeySampling::lineDistance | ( | ) | const |
real world distance between 2 lines incremented by one times the step_
|
inline |
|
inline |
| bool TrcKeySampling::lineOK | ( | Pos::LineID | ) | const |
| bool TrcKeySampling::lineOK | ( | Pos::LineID | , |
| bool | ignoresteps | ||
| ) | const |
| StepInterval<int> TrcKeySampling::lineRange | ( | ) | const |
| void TrcKeySampling::neighbors | ( | int64_t | globalidx, |
| TypeSet< int64_t > & | |||
| ) | const |
| void TrcKeySampling::normalise | ( | ) |
| void TrcKeySampling::normalize | ( | ) |
Makes sure start_<stop_ and steps are non-zero.
|
inline |
|
inline |
| int TrcKeySampling::nrLines | ( | ) | const |
| int TrcKeySampling::nrTrcs | ( | ) | const |
| bool TrcKeySampling::operator!= | ( | const TrcKeySampling & | ) | const |
| TrcKeySampling& TrcKeySampling::operator= | ( | const TrcKeySampling & | ) |
| bool TrcKeySampling::operator== | ( | const TrcKeySampling & | ) | const |
|
static |
| TrcKeySampling& TrcKeySampling::set | ( | const Interval< int > & | linerg, |
| const Interval< int > & | trcnrrg | ||
| ) |
steps copied if available
| void TrcKeySampling::set2DDef | ( | ) |
Sets ranges to 0-maxint.
|
inline |
|
inline |
| void TrcKeySampling::setLineRange | ( | const Interval< int > & | ) |
| void TrcKeySampling::setTrcRange | ( | const Interval< int > & | ) |
| void TrcKeySampling::shrinkTo | ( | const TrcKeySampling & | innertks | ) |
| void TrcKeySampling::snapToSurvey | ( | ) |
Checks if it is on valid bids. If not, it will expand until it is
| void TrcKeySampling::toString | ( | BufferString & | ) | const |
Nice text for info.
| int64_t TrcKeySampling::totalNr | ( | ) | const |
|
inline |
| float TrcKeySampling::trcDistance | ( | ) | const |
real world distance between 2 traces incremented by one times the step_
|
inline |
| TrcKey TrcKeySampling::trcKeyAt | ( | int | i0, |
| int | i1 | ||
| ) | const |
| TrcKey TrcKeySampling::trcKeyAt | ( | int64_t | globalidx | ) | const |
| bool TrcKeySampling::trcOK | ( | Pos::TraceID | ) | const |
| bool TrcKeySampling::trcOK | ( | Pos::TraceID | , |
| bool | ignoresteps | ||
| ) | const |
| StepInterval<int> TrcKeySampling::trcRange | ( | ) | const |
| bool TrcKeySampling::useJSON | ( | const OD::JSON::Object & | ) |
| bool TrcKeySampling::usePar | ( | const IOPar & | ) |
Keys as in keystrs.h.
| BinID& TrcKeySampling::start |
| BinID TrcKeySampling::start_ |
| BinID& TrcKeySampling::step |
| BinID TrcKeySampling::step_ |
| BinID& TrcKeySampling::stop |
| BinID TrcKeySampling::stop_ |
| Pos::SurvID TrcKeySampling::survid_ |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022