UNIVERS
15.3
UNIVERS base processing software API
|
#include <s2_ldb_access.hpp>
Public Member Functions | |
S2LDBAccess (TrSet &trset) | |
virtual | ~S2LDBAccess () |
virtual S2AbstractDBAccess * | clone () const |
virtual int | getSamplesNum () const |
virtual Trace::TimeT | getTimeStep () const |
virtual int | getTracesNum () const |
virtual bool | getTrace (int id, Trace &tr) const |
virtual bool | getWaveField (const Trace::Header::AttrId &attr, int id, WaveField &wf) const |
virtual bool | getWaveField (PointType ptype, int id1, int id2, WaveField &wf) const |
virtual bool | getWaveField (PointType3 ptype, int id1, int id2, int id3, WaveField &wf) const |
virtual bool | getWaveField (int nsl, int nss, int nrl, int nrs, WaveField &wf) const |
virtual bool | getShotsIds (std::set< int > &ids) const |
virtual bool | getRecvsIds (std::set< int > &ids) const |
virtual bool | getCMPsIds (std::set< int > &ids) const |
virtual bool | getLIds (std::set< int > &ids) const |
virtual bool | getCompsIds (std::set< int > &ids) const |
virtual bool | getShotLinesIds (std::set< int > &ids) const |
virtual bool | getShotsOnLineIds (int line_id, std::set< int > &ids) const |
virtual bool | getRecvLinesIds (std::set< int > &ids) const |
virtual bool | getRecvsOnLineIds (int line_id, std::set< int > &ids) const |
virtual bool | getPSCStrides (std::set< int > &strides) const |
virtual bool | getPSCDirs (std::set< int > &dirs) const |
virtual bool | appendTrace (const Trace &tr) |
Public Member Functions inherited from S2AbstractDBAccess | |
S2AbstractDBAccess () | |
virtual | ~S2AbstractDBAccess () |
bool | getIds (const Trace::Header::AttrId &attr, std::set< int > &ids) const |
Protected Attributes | |
TrSet * | m_ptrset |
Additional Inherited Members | |
Public Types inherited from S2AbstractDBAccess | |
enum | PointType { PT_NSP_NRP, PT_NSP_NDP, PT_NRP_NDP, PT_NSP_L, PT_NRP_L, PT_COMP_NSP, PT_COMP_NRP, PT_COMP_NDP, PT_COMP_L, PT_NSP_DIR, PT_NRP_DIR } |
enum | PointType3 { PT_NSP_STRIDE_DIR = 0 } |
LDB access interface for operations with traces.
S2LDBAccess::S2LDBAccess | ( | TrSet & | trset | ) |
Default constructor.
|
virtual |
Destructs object.
|
virtual |
Appends new trace into set of traces (should be opened for writing).
Implements S2AbstractDBAccess.
|
inlinevirtual |
Clones this object.
Reimplemented from S2AbstractDBAccess.
|
virtual |
Gets set of indexies of CMP. Returns false on error.
Implements S2AbstractDBAccess.
|
virtual |
Gets set of indexies of components. Returns false on error.
Implements S2AbstractDBAccess.
|
virtual |
Gets set of indexies of L. Returns false on error.
Implements S2AbstractDBAccess.
|
virtual |
Gets correlation directions used by POLYCOR algorithm.
Implements S2AbstractDBAccess.
|
virtual |
Gets strides used by POLYCOR algorithm.
Implements S2AbstractDBAccess.
|
virtual |
Gets set of indexies of receiver lines. Returns false on error.
Implements S2AbstractDBAccess.
|
virtual |
Gets set of indexies of receivers. Returns false on error.
Implements S2AbstractDBAccess.
|
virtual |
Gets set of indexies of receivers for provided receiver line. Returns false on error.
Implements S2AbstractDBAccess.
|
virtual |
Get current timestep.
Implements S2AbstractDBAccess.
|
virtual |
Gets set of indexies of shot lines. Returns false on error.
Implements S2AbstractDBAccess.
|
virtual |
Gets set of indexies of shots. Returns false on error.
Implements S2AbstractDBAccess.
|
virtual |
Gets set of indexies of shots for provided shot line. Returns false on error.
Implements S2AbstractDBAccess.
|
virtual |
Get current timestep.
Implements S2AbstractDBAccess.
|
virtual |
Returns trace with provided id from DB. Returns false on error.
Implements S2AbstractDBAccess.
|
virtual |
Returns number of traces.
Implements S2AbstractDBAccess.
|
virtual |
Tries to attach traces with given indexe of provided point type into provided wavefield. Returns false on access error. Empty wavefield if no such traces. Should be reimplemented.
Implements S2AbstractDBAccess.
|
virtual |
Tries to attach traces with given indexes of provided point type into provided wavefield. Returns false on access error. Empty wavefield if no such traces.
Implements S2AbstractDBAccess.
|
virtual |
Tries to attach traces with given indexes of provided point type into provided wavefield. Returns false on access error. Empty wavefield if no such traces. Should be reimplemented.
Implements S2AbstractDBAccess.
|
virtual |
Tries to attach traces with given shot, receiver and its lines ids into provided wavefield. Returns false on access error. Empty wavefield if no such traces.
Implements S2AbstractDBAccess.
|
protected |
< Set of traces pointer.