OpendTect
7.0
|
set of seismic traces. More...
Public Member Functions | |
SeisTrcBuf (bool ownr) | |
SeisTrcBuf (const SeisTrcBuf &b) | |
virtual | ~SeisTrcBuf () |
void | add (SeisTrc *t) |
void | add (SeisTrcBuf &) |
shallow copy if not owner More... | |
virtual SeisTrcBuf * | clone () const |
void | copyInto (SeisTrcBuf &) const |
void | deepErase () |
bool | dump (const char *filenm, bool is2d, bool isps, int icomp=0) const |
Simple file Ascii format. More... | |
void | enforceNrTrcs (int nrrequired, SeisTrcInfo::Fld, bool stack_before_remove=false) |
Makes sure nrtrcs per position is constant. More... | |
void | erase () |
void | fill (SeisPacketInfo &) const |
int | find (const BinID &, bool is2d=false) const |
int | find (const SeisTrc *, bool is2d=false) const |
SeisTrc * | first () |
const SeisTrc * | first () const |
SeisTrc * | get (int idx) |
const SeisTrc * | get (int idx) const |
float * | getHdrVals (SeisTrcInfo::Fld, double &offs) |
void | getShifted (const Interval< float > &, const TypeSet< float > &twtvals, bool upward, float udfval, SeisTrcBuf &) const |
Interval< float > | getZRange4Shifts (const TypeSet< float > &twtvals, bool upward) const |
void | insert (SeisTrc *, int atidx=0) |
bool | isEmpty () const |
bool | isOwner () const |
bool | isSorted (bool ascending, SeisTrcInfo::Fld) const |
SeisTrc * | last () |
const SeisTrc * | last () const |
SeisTrc * | remove (int idx) |
void | remove (SeisTrc *t) |
SeisTrc * | replace (int idx, SeisTrc *t) |
void | revert () |
void | setIsOwner (bool yn) |
int | size () const |
void | sort (bool ascending, SeisTrcInfo::Fld) |
void | sortForWrite (bool is2d) |
void | stealTracesFrom (SeisTrcBuf &) |
bool | validIdx (od_int64 idx) const |
Interval< float > | zRange () const |
Protected Member Functions | |
int | probableIdx (const BinID &, bool is2d) const |
Protected Attributes | |
bool | owner_ |
ObjectSet< SeisTrc > | trcs_ |
set of seismic traces.
By default, the traces are not managed, but can be destroyed with deepErase(). buffer in which the traces are somehow related.
<>
SeisTrcBuf::SeisTrcBuf | ( | bool | ownr | ) |
SeisTrcBuf::SeisTrcBuf | ( | const SeisTrcBuf & | b | ) |
|
virtual |
|
inline |
void SeisTrcBuf::add | ( | SeisTrcBuf & | ) |
shallow copy if not owner
|
inlinevirtual |
void SeisTrcBuf::copyInto | ( | SeisTrcBuf & | ) | const |
void SeisTrcBuf::deepErase | ( | ) |
bool SeisTrcBuf::dump | ( | const char * | filenm, |
bool | is2d, | ||
bool | isps, | ||
int | icomp = 0 |
||
) | const |
Simple file Ascii format.
void SeisTrcBuf::enforceNrTrcs | ( | int | nrrequired, |
SeisTrcInfo::Fld | , | ||
bool | stack_before_remove = false |
||
) |
Makes sure nrtrcs per position is constant.
|
inline |
void SeisTrcBuf::fill | ( | SeisPacketInfo & | ) | const |
int SeisTrcBuf::find | ( | const BinID & | , |
bool | is2d = false |
||
) | const |
int SeisTrcBuf::find | ( | const SeisTrc * | , |
bool | is2d = false |
||
) | const |
|
inline |
|
inline |
|
inline |
|
inline |
float* SeisTrcBuf::getHdrVals | ( | SeisTrcInfo::Fld | , |
double & | offs | ||
) |
The 'offs' ensures the values fit in floats returned new float [] becomes yours
void SeisTrcBuf::getShifted | ( | const Interval< float > & | , |
const TypeSet< float > & | twtvals, | ||
bool | upward, | ||
float | udfval, | ||
SeisTrcBuf & | |||
) | const |
Interval<float> SeisTrcBuf::getZRange4Shifts | ( | const TypeSet< float > & | twtvals, |
bool | upward | ||
) | const |
void SeisTrcBuf::insert | ( | SeisTrc * | , |
int | atidx = 0 |
||
) |
|
inline |
|
inline |
bool SeisTrcBuf::isSorted | ( | bool | ascending, |
SeisTrcInfo::Fld | |||
) | const |
|
inline |
|
inline |
|
protected |
|
inline |
|
inline |
void SeisTrcBuf::revert | ( | ) |
|
inline |
|
inline |
void SeisTrcBuf::sort | ( | bool | ascending, |
SeisTrcInfo::Fld | |||
) |
void SeisTrcBuf::sortForWrite | ( | bool | is2d | ) |
void SeisTrcBuf::stealTracesFrom | ( | SeisTrcBuf & | ) |
|
inline |
Interval<float> SeisTrcBuf::zRange | ( | ) | const |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024