3 #ifndef __zd_seismic_set_hpp
4 #define __zd_seismic_set_hpp
6 #include "zqb_real_trace.hpp"
7 #include "zd_seismic_file.hpp"
56 int iEnsIndex = 0) = 0;
69 int* piEnsIndex = NULL) = 0;
97 virtual bool setSamples (
int id,
const float* pSamples) = 0;
134 virtual bool samplesById (
int id,
float* pSamples);
170 virtual const char*
timeUnit ()
const {
return "ms";}
178 static int s_iNameCounter;
181 static const char *s_szOwnType;
virtual bool setHeader(int id, const ZqbHeader &hdr)=0
std::vector< double > CoordsV
Definition: zd_seismic_set.hpp:25
virtual bool setTrace(int id, const ZqbRealTrace &rtr)=0
virtual int traceCount() const =0
virtual bool setSamples(int id, const float *pSamples)=0
virtual int coordCount() const =0
virtual void getCoords(CoordsV &vfCoords)=0
virtual void coordToTraceIds(double fCoord, TraceIdsV &viTraceIds)=0
virtual void setCoordPrecision(double fPrec)
virtual void getAllTraceIds(TraceIdsV &viTraceIds) const =0
ZdSeismicSet(const char *szDocName=NULL)
virtual bool appendTrace(int, const ZqbRealTrace &)
Definition: zd_seismic_set.hpp:109
Definition: zd_seismic_file.hpp:17
virtual bool removeTrace(int)
Definition: zd_seismic_set.hpp:102
virtual const char * timeMeaning() const
Definition: zd_seismic_set.hpp:167
virtual const ZqbHeader * headerById(int id)=0
virtual void applyOrder()
Definition: zd_seismic_set.hpp:76
virtual const char * coordMeaning() const
Definition: zd_seismic_set.hpp:161
std::vector< int > TraceIdsV
Definition: zd_seismic_set.hpp:22
virtual double getCoordPrecision() const
Definition: zqb_real_trace.hpp:19
virtual const char * timeUnit() const
Definition: zd_seismic_set.hpp:170
Definition: zd_seismic_set.hpp:17
virtual const ZqbRealTrace * traceById(int id)=0
virtual const char * coordUnit() const
Definition: zd_seismic_set.hpp:164
virtual double traceIdToCoord(int iTraceId, int *piEnsIndex=NULL)=0
virtual const float * samplesById(int id)=0
virtual bool compatibleType(const char *szType) const
virtual void resetOrder()
Definition: zd_seismic_set.hpp:73
virtual int coordToTraceId(double fCoord, int iEnsIndex=0)=0