3 #ifndef __zd_ldb_seismic_hpp
4 #define __zd_ldb_seismic_hpp
9 #include <ldb/trselect.h>
11 #include <zq4/zqb_header.hpp>
12 #include <zq4/zd_seismic_set.hpp>
16 #define ZDUS_EXTRA_HW_SIZE 8
57 ZdLdbSeismic (
const char* szProject,
const char* szSeisFile,
58 int nExtraHW = 0,
const char* szDocName = NULL);
113 int* piEnsIndex = NULL);
143 virtual bool setSamples (
int id,
const float* pSamples);
173 ZqbOrder eOrder = Z_O_ASCENT);
174 virtual bool getFirstOrder (
int &iCoordHW, ZqbOrder &eOrder)
const;
178 ZqbOrder eOrder = Z_O_ASCENT);
183 ZqbOrder eOrder = Z_O_ASCENT);
220 virtual double coord ();
226 virtual void*
custom(
int ens_index = 0,
227 ZqbType* pRetType = NULL);
247 virtual int traceId (
int ens_index = 0);
271 virtual const char*
timeUnit ()
const;
292 static ZqbType
hwType (
int hwId);
346 int m_iCustomCoordId;
356 size_t m_CurrentTrsBufferSize;
373 void loadProjectAttr (
const char* szProject);
379 static int s_iNameCounter;
382 static const char *s_szOwnType;
virtual void * custom(int ens_index=0, ZqbType *pRetType=NULL)
Definition: zqb_hdr_field.h:16
virtual int getCustomCoord() const
virtual void setFirstOrder(int iCoordHW, ZqbOrder eOrder=Z_O_ASCENT)
ZqbOrder eOrder
Definition: zd_ldb_seismic.hpp:45
virtual const char * timeMeaning() const
std::vector< double > CoordsV
Definition: zd_seismic_set.hpp:25
virtual void setCoordsSelection(const CoordSelectionVec &selCoords)
Definition: zd_ldb_seismic.hpp:188
virtual const ZqbRealTrace * traceById(int id)
ZqbRealTrace m_EmptyTrace
Definition: zd_ldb_seismic.hpp:334
Definition: zd_ldb_seismic.hpp:42
int iHdrWord
Definition: zd_ldb_seismic.hpp:44
virtual int ensembleLength()
virtual bool getFirstOrder(int &iCoordHW, ZqbOrder &eOrder) const
virtual const char * timeUnit() const
int m_iCurTrace
Definition: zd_ldb_seismic.hpp:340
virtual bool visibleCoord()
virtual const ZqbHeader * headerById(int id)
virtual void setInvisibleCoordinates(const CoordSelectionVec &unvisibleCoords)
Definition: zd_ldb_seismic.hpp:197
virtual bool getSecondaryOrder(int &iSecondaryHW, ZqbOrder &eOrder) const
virtual const char * coordUnit() const
virtual const char * coordMeaning() const
virtual const ZqbHeader & header(int ens_index=0)
virtual void getCoords(CoordsV &vfCoords)
virtual bool getTertiaryOrder(int &iTertiaryHW, ZqbOrder &eOrder) const
std::map< int, ZqbRealTrace * > m_mTraces
Definition: zd_ldb_seismic.hpp:337
ZdCoordObjStream::CoordSelectionVec m_vSelectCoords
Definition: zd_ldb_seismic.hpp:362
virtual int coordCount() const
static ZqbHdrField * hwInfo(int hwId)
virtual double averageCoordStep()
static void initialize(int nExtraHW=0, const ZqbHdrField *pExtraHW=NULL, void(*InitExtraHW)(ZqbHeader &)=NULL)
int m_nExtraHW
Definition: zd_ldb_seismic.hpp:343
bool bEnabled
Definition: zd_ldb_seismic.hpp:46
virtual const ZqbHdrField * headerWordInfo(int hwId) const
virtual const CoordSelectionVec & getCoordsSelection() const
Definition: zd_ldb_seismic.hpp:192
virtual bool setTrace(int id, const ZqbRealTrace &rtr)
static ZqbType hwType(int hwId)
virtual const float * samplesById(int id)
virtual int traceId(int ens_index=0)
virtual int maxEnsembleLength()
Definition: zqb_abstr_trace.hpp:13
std::vector< int > TraceIdsV
Definition: zd_seismic_set.hpp:22
ZqbAbstrTrace m_aTrace
Definition: zd_ldb_seismic.hpp:331
Definition: zqb_real_trace.hpp:19
virtual void coordToTraceIds(double fCoord, TraceIdsV &viTraceIds)
TrSet * m_pTS
Definition: zd_ldb_seismic.hpp:324
virtual double traceIdToCoord(int iTraceId, int *piEnsIndex=NULL)
UnitId m_eLengthUnitId
Definition: zd_ldb_seismic.hpp:353
virtual const ZqbRealTrace & trace(int ens_index=0)
virtual void resetOrder()
std::vector< SortOrder > m_vSortOrders
Definition: zd_ldb_seismic.hpp:359
virtual bool isModifiable() const
virtual const CoordSelectionVec & getInvisibleCoordinates() const
Definition: zd_ldb_seismic.hpp:201
ZdLdbSeismic(const char *szDocName=NULL)
virtual bool setSamples(int id, const float *pSamples)
virtual bool setHeader(int id, const ZqbHeader &hdr)
virtual void setTertiaryOrder(int iTertiaryHW, ZqbOrder eOrder=Z_O_ASCENT)
const TrSet * getTrSetPtr() const
Definition: zd_ldb_seismic.hpp:316
virtual void setSecondaryOrder(int iSecondaryHW, ZqbOrder eOrder=Z_O_ASCENT)
virtual void getAllTraceIds(TraceIdsV &viTraceIds) const
int getFieldsCount() const
Definition: zd_ldb_seismic.hpp:250
virtual bool getCoordRange(double c[2])
virtual const ZqbAbstrTrace & tracePar() const
virtual void setCustomCoord(int iCoordId)
Definition: zd_ldb_seismic.hpp:37
std::vector< CoordSelection > CoordSelectionVec
Definition: zd_coord_obj_stream.hpp:39
virtual ZqbType coordTypeFromId(int coordId) const
Definition: zd_seismic_set.hpp:17
virtual void globalAmplInfo(double pfAmm[2])
TrIndexTable m_it
Definition: zd_ldb_seismic.hpp:328
ZdCoordObjStream::CoordSelectionVec m_vInvisibleCoords
Definition: zd_ldb_seismic.hpp:365
virtual bool goNextCoord()
virtual int traceCount() const
virtual int coordToTraceId(double fCoord, int iEnsIndex=0)
virtual bool goFirstCoord()
static void(* s_initExtraHW)(ZqbHeader &)
Definition: zd_ldb_seismic.hpp:350