UNIVERS
15.3
UNIVERS base processing software API
|
#include <zd_seismic_file.hpp>
Public Member Functions | |
ZdSeismicFile (const char *szDocName=NULL) | |
virtual const ZqbAbstrTrace & | tracePar () const =0 |
virtual bool | modify () |
virtual bool | isModifiable () const |
virtual const ZqbRealTrace & | trace (int ens_index=0)=0 |
virtual const ZqbHeader & | header (int ens_index=0) |
virtual bool | setSamples (const float *pSamples, int ens_index=0) |
virtual bool | setHeader (const ZqbHeader &hdr, int ens_index=0) |
virtual bool | setTrace (const ZqbRealTrace &rtr, int ens_index=0) |
virtual int | traceId (int ens_index=0)=0 |
virtual void | globalAmplInfo (double pfAmm[2]) |
virtual const char * | coordMeaning () const |
virtual const char * | coordUnit () const |
virtual const char * | timeMeaning () const |
virtual const char * | timeUnit () const |
virtual bool | compatibleType (const char *szType) const |
ZdSeismicFile (const char *szDocName=NULL) | |
virtual const ZqbAbstrTrace & | tracePar () const =0 |
virtual const ZqbHeader * | defHeaderPar () const |
virtual bool | modify () |
virtual bool | isModifiable () const |
virtual const ZqbRealTrace & | trace (int ens_index=0)=0 |
virtual const ZqbHeader & | header (int ens_index=0) |
virtual int | getFieldsCount () const =0 |
virtual const ZqbHdrField * | headerWordInfo (int hwId) const |
virtual bool | setSamples (const float *pSamples, int ens_index=0) |
virtual bool | setHeader (const ZqbHeader &hdr, int ens_index=0) |
virtual bool | setTrace (const ZqbRealTrace &rtr, int ens_index=0) |
virtual int | traceId (int ens_index=0)=0 |
virtual double | customCoord () |
virtual void | globalAmplInfo (double pfAmm[2]) |
virtual const char * | coordMeaning () const |
virtual const char * | coordUnit () const |
virtual const char * | timeMeaning () const |
virtual const char * | timeUnit () const |
virtual bool | compatibleType (const char *szType) const |
Public Member Functions inherited from ZdCoordObjStream | |
ZdCoordObjStream (const char *szDocName=NULL) | |
virtual void | setCustomCoord (int iCoordId, ZqbOrder eOrder=Z_O_ASCENT) |
virtual void | setSecondaryOrder (int iSecondaryId, ZqbOrder eOrder=Z_O_ASCENT) |
virtual void | setTertiaryOrder (int iTertiaryId, ZqbOrder eOrder=Z_O_ASCENT) |
virtual bool | getCoordRange (double c[2])=0 |
virtual double | averageCoordStep ()=0 |
virtual int | maxEnsembleLength ()=0 |
virtual bool | goFirstCoord ()=0 |
virtual bool | goNextCoord ()=0 |
virtual double | coord ()=0 |
virtual int | ensembleLength ()=0 |
virtual void * | custom (int ens_index=0, ZqbType *pRetType=NULL) |
ZdCoordObjStream (const char *szDocName=NULL) | |
virtual void | setCustomCoord (int iCoordId) |
virtual int | getCustomCoord () const |
virtual void | setFirstOrder (int iCoordId, ZqbOrder eOrder=Z_O_ASCENT) |
virtual bool | getFirstOrder (int &iCoordId, ZqbOrder &eOrder) const |
virtual void | setSecondaryOrder (int iSecondaryId, ZqbOrder eOrder=Z_O_ASCENT) |
virtual bool | getSecondaryOrder (int &iCoordId, ZqbOrder &eOrder) const |
virtual void | setTertiaryOrder (int iTertiaryId, ZqbOrder eOrder=Z_O_ASCENT) |
virtual bool | getTertiaryOrder (int &iCoordId, ZqbOrder &eOrder) const |
virtual void | setCoordsSelection (const CoordSelectionVec &selCoords) |
virtual const CoordSelectionVec & | getCoordsSelection () const |
virtual void | setInvisibleCoordinates (const CoordSelectionVec &unvisibleCoords) |
virtual const CoordSelectionVec & | getInvisibleCoordinates () const |
virtual bool | getCoordRange (double c[2])=0 |
virtual double | averageCoordStep ()=0 |
virtual int | maxEnsembleLength ()=0 |
virtual bool | goFirstCoord ()=0 |
virtual bool | goNextCoord ()=0 |
virtual double | coord ()=0 |
virtual bool | visibleCoord () |
virtual int | ensembleLength ()=0 |
virtual void * | custom (int ens_index=0, ZqbType *pRetType=NULL) |
virtual ZqbType | coordTypeFromId (int coordId) const |
Public Member Functions inherited from ZdDocument | |
ZdDocument (const char *szName=NULL) | |
virtual | ~ZdDocument () |
virtual void | updateViews () |
virtual bool | isChanged () |
virtual void | setChanges () |
virtual void | resetChanges () |
ZdDocument (const char *szName=NULL) | |
virtual | ~ZdDocument () |
virtual void | updateViews () |
virtual bool | isChanged () |
virtual void | setChanges () |
virtual void | resetChanges () |
Public Member Functions inherited from ZqbAutoName | |
ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL) | |
virtual | ~ZqbAutoName () |
ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL) | |
virtual | ~ZqbAutoName () |
Public Member Functions inherited from ZqbName | |
ZqbName (const char *szRoot, const char *szCustomName=NULL) | |
ZqbName (const ZqbName &name) | |
virtual | ~ZqbName () |
ZqbName & | operator= (const ZqbName &name) |
virtual const char * | getName () const |
virtual const char * | getType () const |
bool | hasName (const char *szString) const |
ZqbName (const char *szRoot, const char *szCustomName=NULL) | |
ZqbName (const ZqbName &name) | |
virtual | ~ZqbName () |
ZqbName & | operator= (const ZqbName &name) |
virtual const char * | getName () const |
virtual const char * | getType () const |
bool | hasName (const char *szString) const |
Additional Inherited Members | |
Public Types inherited from ZdCoordObjStream | |
typedef std::vector < CoordSelection > | CoordSelectionVec |
Protected Attributes inherited from ZdDocument | |
ZqbViewVector | m_Views |
Protected Attributes inherited from ZqbName | |
char * | m_szName |
char * | m_szRoot |
Composition of Doc/View model with abstract method of accessing traces. The class is abstract so one needs to implement both ZdCoordObjStream and ZdSeismicFile methods.
ZdSeismicFile::ZdSeismicFile | ( | const char * | szDocName = NULL | ) |
Create seismic file access document with given name. This is the name for ZdDocument object, not for seismic file itself!
ZdSeismicFile::ZdSeismicFile | ( | const char * | szDocName = NULL | ) |
Create seismic file access document with given name. This is the name for ZdDocument object, not for seismic file itself!
|
virtual |
Return true if given type is compatible with this document.
Reimplemented from ZdDocument.
Reimplemented in ZdSeismicSet, and ZdSeismicSet.
|
virtual |
Return true if given type is compatible with this document.
Reimplemented from ZdDocument.
Reimplemented in ZdSeismicSet, and ZdSeismicSet.
|
virtual |
Physical meaning of custom coordinate value. "Coord" by default.
Reimplemented in hds::ZdLdbSeismic, ZdUSeismic, ZdSeismicSet, and hds::db::ZdSeismic.
|
virtual |
Physical meaning of custom coordinate value. "Coord" by default.
Reimplemented in hds::ZdLdbSeismic, ZdUSeismic, ZdSeismicSet, and hds::db::ZdSeismic.
|
virtual |
Unit of measure for custom coordinate. "" by default.
Reimplemented in hds::ZdLdbSeismic, ZdUSeismic, ZdSeismicSet, and hds::db::ZdSeismic.
|
virtual |
Unit of measure for custom coordinate. "" by default.
Reimplemented in hds::ZdLdbSeismic, ZdUSeismic, ZdSeismicSet, and hds::db::ZdSeismic.
|
inlinevirtual |
Get current custom coord of the trace.
|
inlinevirtual |
Get default header.
|
pure virtual |
Get number of fields in trace header.
Implemented in hds::ZdLdbSeismic, and hds::db::ZdSeismic.
|
virtual |
Iterations through all traces to gather information about global amplitudes distribution. pfAmm[0] - maximum amplitude, pfAmm[1]
Reimplemented in hds::ZdLdbSeismic, and ZdUSeismic.
|
virtual |
Iterations through all traces to gather information about global amplitudes distribution. pfAmm[0] - maximum amplitude, pfAmm[1]
Reimplemented in hds::ZdLdbSeismic, and ZdUSeismic.
|
virtual |
Return header of the current trace of the stream with given index inside the ensemble.
Reimplemented in hds::ZdLdbSeismic, ZdUSeismic, and hds::db::ZdSeismic.
|
virtual |
Return header of the current trace of the stream with given index inside the ensemble.
Reimplemented in hds::ZdLdbSeismic, ZdUSeismic, and hds::db::ZdSeismic.
|
virtual |
Return full description of given header word. (Return NULL by default.)
Reimplemented in hds::ZdLdbSeismic, and hds::db::ZdSeismic.
|
virtual |
Return true if the container allows to change its content. By default returns false.
Reimplemented in ZdUSeismic, and hds::ZdLdbSeismic.
|
virtual |
Return true if the container allows to change its content. By default returns false.
Reimplemented in ZdUSeismic, and hds::ZdLdbSeismic.
|
virtual |
Change the mode of seismic set from read-only (default) to modifiable. Return true if succeeded and false otherwise. By default returns false.
Reimplemented in ZdUSeismic, and hds::ZdLdbSeismic.
|
virtual |
Change the mode of seismic set from read-only (default) to modifiable. Return true if succeeded and false otherwise. By default returns false.
Reimplemented in ZdUSeismic, and hds::ZdLdbSeismic.
|
virtual |
Change header of the given trace of the current coordinate. Return true if the operation was successful and false otherwise. By default returns false.
|
virtual |
Change header of the given trace of the current coordinate. Return true if the operation was successful and false otherwise. By default returns false.
|
virtual |
Change samples in the given trace of the current coordinate. Return true if the operation was successful and false otherwise. By default returns false.
|
virtual |
Change samples in the given trac of the current coordinate. Return true if the operation was successful and false otherwise. By default returns false.
|
virtual |
Change the whole trace of the current coordinate. If abstract trace is not compatible with this common trace parameters then false is returned. Then setSamples() and setHeader() calls are performed in this order. setHeader() is called if setSamples() returned true.
|
virtual |
Change the whole trace of the current coordinate. If abstract trace is not compatible with this common trace parameters then false is returned. Then setSamples() and setHeader() calls are performed in this order. setHeader() is called if setSamples() returned true.
|
virtual |
Physical meaning of sample time. "Time" by default.
Reimplemented in hds::ZdLdbSeismic, ZdUSeismic, and ZdSeismicSet.
|
virtual |
Physical meaning of sample time. "Time" by default.
Reimplemented in hds::ZdLdbSeismic, ZdUSeismic, and ZdSeismicSet.
|
virtual |
Unit of measure for sample time. "ms" by default.
Reimplemented in hds::ZdLdbSeismic, ZdUSeismic, and ZdSeismicSet.
|
virtual |
Unit of measure for sample time. "ms" by default.
Reimplemented in hds::ZdLdbSeismic, ZdUSeismic, and ZdSeismicSet.
|
pure virtual |
Return current trace of the stream with given index inside the ensemble.
Implemented in hds::ZdLdbSeismic, ZdUSeismic, and hds::db::ZdSeismic.
|
pure virtual |
Return current trace of the stream with given index inside the ensemble.
Implemented in hds::ZdLdbSeismic, ZdUSeismic, and hds::db::ZdSeismic.
|
pure virtual |
Get unique trace index which can be associated with underlying trace db or trace file. It's guaranteed the the index is unique among traces of the same seismic stream.
Implemented in hds::ZdLdbSeismic, ZdUSeismic, and hds::db::ZdSeismic.
|
pure virtual |
Get unique trace index which can be associated with underlying trace db or trace file. It's guaranteed the the index is unique among traces of the same seismic stream.
Implemented in hds::ZdLdbSeismic, ZdUSeismic, and hds::db::ZdSeismic.
|
pure virtual |
Get common trace parameters.
Implemented in ZdUSeismic, hds::ZdLdbSeismic, and hds::db::ZdSeismic.
|
pure virtual |
Get common trace parameters.
Implemented in ZdUSeismic, hds::ZdLdbSeismic, and hds::db::ZdSeismic.