set of seismic traces.
More...
List of all members.
Public Member Functions |
| | SeisTrcBuf (bool ownr) |
| | SeisTrcBuf (const SeisTrcBuf &b) |
| virtual | ~SeisTrcBuf () |
| void | setIsOwner (bool yn) |
| bool | isOwner () const |
| void | copyInto (SeisTrcBuf &) const |
| void | stealTracesFrom (SeisTrcBuf &) |
| virtual SeisTrcBuf * | clone () const |
| void | deepErase () |
| void | erase () |
| int | size () const |
| bool | isEmpty () const |
| void | insert (SeisTrc *, int) |
| void | add (SeisTrc *t) |
| void | add (SeisTrcBuf &) |
| | shallow copy if not owner
|
| int | find (const BinID &, bool is2d=false) const |
| int | find (const SeisTrc *, bool is2d=false) const |
| SeisTrc * | get (int idx) |
| const SeisTrc * | get (int idx) const |
| void | remove (SeisTrc *t) |
| SeisTrc * | remove (int idx) |
| void | revert () |
| void | fill (SeisPacketInfo &) const |
| bool | isSorted (bool ascending, SeisTrcInfo::Fld) const |
| void | sort (bool ascending, SeisTrcInfo::Fld) |
| void | enforceNrTrcs (int nrrequired, SeisTrcInfo::Fld, bool stack_before_remove=false) |
| | Makes sure nrtrcs per position is constant.
|
| float * | getHdrVals (SeisTrcInfo::Fld, double &offs) |
| bool | dump (const char *filenm, bool is2d, bool isps, int icomp=0) const |
| | Simple file Ascii format.
|
Protected Member Functions |
| int | probableIdx (const BinID &, bool is2d) const |
Protected Attributes |
| ObjectSet< SeisTrc > | trcs |
| bool | owner_ |
Detailed Description
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.
Constructor & Destructor Documentation
| SeisTrcBuf::SeisTrcBuf |
( |
bool |
ownr |
) |
[inline] |
| SeisTrcBuf::SeisTrcBuf |
( |
const SeisTrcBuf & |
b |
) |
[inline] |
| virtual SeisTrcBuf::~SeisTrcBuf |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| void SeisTrcBuf::add |
( |
SeisTrc * |
t |
) |
[inline] |
shallow copy if not owner
| virtual SeisTrcBuf* SeisTrcBuf::clone |
( |
|
) |
const [inline, virtual] |
| 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.
| void SeisTrcBuf::erase |
( |
|
) |
[inline] |
| int SeisTrcBuf::find |
( |
const BinID & |
, |
|
|
bool |
is2d = false | |
|
) |
| | const |
| int SeisTrcBuf::find |
( |
const SeisTrc * |
, |
|
|
bool |
is2d = false | |
|
) |
| | const |
| const SeisTrc* SeisTrcBuf::get |
( |
int |
idx |
) |
const [inline] |
| SeisTrc* SeisTrcBuf::get |
( |
int |
idx |
) |
[inline] |
The 'offs' ensures the values fit in floats returned new float [] becomes yours
| void SeisTrcBuf::insert |
( |
SeisTrc * |
, |
|
|
int |
| |
|
) |
| | |
| bool SeisTrcBuf::isEmpty |
( |
|
) |
const [inline] |
| bool SeisTrcBuf::isOwner |
( |
|
) |
const [inline] |
| int SeisTrcBuf::probableIdx |
( |
const BinID & |
, |
|
|
bool |
is2d | |
|
) |
| | const [protected] |
| void SeisTrcBuf::remove |
( |
SeisTrc * |
t |
) |
[inline] |
| SeisTrc* SeisTrcBuf::remove |
( |
int |
idx |
) |
[inline] |
| void SeisTrcBuf::revert |
( |
|
) |
|
| void SeisTrcBuf::setIsOwner |
( |
bool |
yn |
) |
[inline] |
| int SeisTrcBuf::size |
( |
|
) |
const [inline] |
Member Data Documentation