UNIVERS
15.3
UNIVERS base processing software API
|
#include <s2_abstract_db_access.hpp>
Public Types | |
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 } |
Public Member Functions | |
S2AbstractDBAccess () | |
virtual | ~S2AbstractDBAccess () |
virtual S2AbstractDBAccess * | clone () const |
virtual int | getSamplesNum () const =0 |
virtual Trace::TimeT | getTimeStep () const =0 |
virtual int | getTracesNum () const =0 |
virtual bool | getTrace (int id, Trace &tr) const =0 |
virtual bool | getWaveField (const Trace::Header::AttrId &attr, int id, WaveField &wf) const =0 |
virtual bool | getWaveField (PointType ptype, int id1, int id2, WaveField &wf) const =0 |
virtual bool | getWaveField (PointType3 ptype, int id1, int id2, int id3, WaveField &wf) const =0 |
virtual bool | getWaveField (int nsl, int nss, int nrl, int nrs, WaveField &wf) const =0 |
virtual bool | getShotsIds (std::set< int > &ids) const =0 |
virtual bool | getRecvsIds (std::set< int > &ids) const =0 |
virtual bool | getCMPsIds (std::set< int > &ids) const =0 |
virtual bool | getLIds (std::set< int > &ids) const =0 |
virtual bool | getCompsIds (std::set< int > &ids) const =0 |
virtual bool | getShotLinesIds (std::set< int > &ids) const =0 |
virtual bool | getShotsOnLineIds (int line_id, std::set< int > &ids) const =0 |
virtual bool | getRecvLinesIds (std::set< int > &ids) const =0 |
virtual bool | getRecvsOnLineIds (int line_id, std::set< int > &ids) const =0 |
virtual bool | getPSCStrides (std::set< int > &strides) const =0 |
virtual bool | getPSCDirs (std::set< int > &dirs) const =0 |
bool | getIds (const Trace::Header::AttrId &attr, std::set< int > &ids) const |
virtual bool | appendTrace (const Trace &tr)=0 |
Data base access interface for operations with traces.
Type of two indexies point for traces obtaining.
S2AbstractDBAccess::S2AbstractDBAccess | ( | ) |
Default constructor.
|
virtual |
Destructs object.
|
pure virtual |
Appends new trace into set of traces (should be opened for writing).
Implemented in S2LDBAccess.
|
inlinevirtual |
Clones this object.
Reimplemented in S2LDBAccess.
|
pure virtual |
Gets set of indexies of CMP. Returns false on error. Should be reimplemented.
Implemented in S2LDBAccess.
|
pure virtual |
Gets set of indexies of components. Returns false on error. Should be reimplemented.
Implemented in S2LDBAccess.
bool S2AbstractDBAccess::getIds | ( | const Trace::Header::AttrId & | attr, |
std::set< int > & | ids | ||
) | const |
Gets indexies for provided header attribute. Returns false on error.
|
pure virtual |
Gets set of indexies of L. Returns false on error. Should be reimplemented.
Implemented in S2LDBAccess.
|
pure virtual |
Gets correlation directions used by POLYCOR algorithm.
Implemented in S2LDBAccess.
|
pure virtual |
Gets strides used by POLYCOR algorithm.
Implemented in S2LDBAccess.
|
pure virtual |
Gets set of indexies of receiver lines. Returns false on error. Should be reimplemented.
Implemented in S2LDBAccess.
|
pure virtual |
Gets set of indexies of receivers. Returns false on error. Should be reimplemented.
Implemented in S2LDBAccess.
|
pure virtual |
Gets set of indexies of receivers for provided receiver line. Returns false on error. Should be reimplemented.
Implemented in S2LDBAccess.
|
pure virtual |
Get current timestep.
Implemented in S2LDBAccess.
|
pure virtual |
Gets set of indexies of shot lines. Returns false on error. Should be reimplemented.
Implemented in S2LDBAccess.
|
pure virtual |
Gets set of indexies of shots. Returns false on error. Should be reimplemented.
Implemented in S2LDBAccess.
|
pure virtual |
Gets set of indexies of shots for provided shot line. Returns false on error. Should be reimplemented.
Implemented in S2LDBAccess.
|
pure virtual |
Get current timestep.
Implemented in S2LDBAccess.
|
pure virtual |
Returns trace with provided id from DB. Returns false on error.
Implemented in S2LDBAccess.
|
pure virtual |
Returns number of traces.
Implemented in S2LDBAccess.
|
pure 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.
Implemented in S2LDBAccess.
|
pure 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.
Implemented in S2LDBAccess.
|
pure 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.
Implemented in S2LDBAccess.
|
pure 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. Should be reimplemented.
Implemented in S2LDBAccess.