OpendTect-6_4
6.4
|
reads from a seismic data store. More...
Public Member Functions | |
SeisTrcReader (const IOObj *=0) | |
SeisTrcReader (const char *fnm) | |
Open 'loose' CBVS files only. More... | |
~SeisTrcReader () | |
void | forceFloatData (bool yn=true) |
Only effective if called before prepareWork() More... | |
bool | prepareWork (Seis::ReadMode rm=Seis::Prod) |
int | get (SeisTrcInfo &) |
bool | getData (TraceData &) |
bool | get (SeisTrc &) |
void | fillPar (IOPar &) const |
bool | isPrepared () const |
Seis::Bounds * | getBounds () const |
use after prepareWork(). If not avail: survinfo More... | |
bool | get3DGeometryInfo (PosInfo::CubeData &) const |
void | setComponent (int ic) |
int | curLineIdx () const |
StepInterval< int > | curTrcNrRange () const |
Pos::GeomID | geomID () const |
GeomIDProvider * | geomIDProvider () const |
int | getNrOffsets (int maxnrpostobechecked=10) const |
const SeisTrcTranslator * | seis2Dtranslator () |
const Scaler * | getTraceScaler () const |
Public Member Functions inherited from SeisStoreAccess | |
virtual | ~SeisStoreAccess () |
virtual bool | close () |
bool | is2D () const |
bool | isPS () const |
Seis::GeomType | geomType () const |
uiString | errMsg () const |
int | tracesHandled () const |
const IOObj * | ioObj () const |
void | setIOObj (const IOObj *) |
const Seis::SelData * | selData () const |
virtual void | setSelData (Seis::SelData *) |
The Seis::SelData becomes mine. More... | |
virtual void | usePar (const IOPar &) |
Translator * | translator () |
Translator * | translator () const |
Conn * | curConn3D () |
const Conn * | curConn3D () const |
SeisTrcTranslator * | seisTranslator () |
const SeisTrcTranslator * | seisTranslator () const |
Seis2DDataSet * | dataSet () |
const Seis2DDataSet * | dataSet () const |
const SeisPSIOProvider * | psIOProv () const |
Protected Member Functions | |
void | init () |
Conn * | openFirst () |
bool | initRead (Conn *) |
int | nextConn (SeisTrcInfo &) |
bool | doStart () |
bool | ensureCurLineAttribOK (const BufferString &) |
bool | isMultiConn () const |
bool | startWork () |
int | getPS (SeisTrcInfo &) |
bool | getPS (SeisTrc &) |
int | get2D (SeisTrcInfo &) |
bool | get2D (SeisTrc &) |
bool | get2DData (TraceData &) |
bool | mkNextFetcher () |
bool | readNext2D () |
Seis::Bounds * | get3DBounds (const StepInterval< int > &, const StepInterval< int > &, const StepInterval< float > &) const |
bool | initBounds2D (const PosInfo::Line2DData &, Seis::Bounds2D &) const |
Protected Member Functions inherited from SeisStoreAccess | |
SeisStoreAccess (const IOObj *) | |
SeisStoreAccess (const char *, bool is2d, bool isps) | |
bool | cleanUp (bool alsoioobj=true) |
SeisTrcTranslator * | strl () const |
Protected Attributes | |
bool | foundvalidinl |
bool | foundvalidcrl |
bool | new_packet |
bool | needskip |
bool | forcefloats |
bool | prepared |
bool | inforead |
int | prev_inl |
int | curlineidx |
int | nrfetchers |
TrcKeySampling * | outer |
SeisTrcBuf * | tbuf_ |
Executor * | fetcher |
Seis::ReadMode | readmode |
bool | entryis2d |
StepInterval< int > | curtrcnrrg |
SeisPS2DReader * | psrdr2d_ |
SeisPS3DReader * | psrdr3d_ |
PosInfo::CubeDataIterator * | pscditer_ |
PosInfo::Line2DDataIterator * | pslditer_ |
BinID | curpsbid_ |
int | selcomp_ |
Protected Attributes inherited from SeisStoreAccess | |
IOObj * | ioobj_ |
bool | is2d_ |
int | nrtrcs_ |
Translator * | trl_ |
Seis2DDataSet * | dataset_ |
Seis::SelData * | seldata_ |
const SeisPSIOProvider * | psioprov_ |
uiString | errmsg_ |
Private Member Functions | |
mODTextTranslationClass (SeisTrcReader) | |
Additional Inherited Members | |
Static Public Attributes inherited from SeisStoreAccess | |
static const char * | sNrTrcs |
reads from a seismic data store.
If you don't want all of the stored data, you must set use the SeisTrcTranslator facilities (SelData and ComponentData) after calling prepareWork(). If you don't call prepareWork(), the reader will do that but you cannot use SeisTrcTranslator facilities then.
Then, the routine is: get(trc.info()) possibly followed by get(trc). Not keeping this sequence is at your own risk.
Note: 2D Prestack data cannot (yet) be read via this class.
SeisTrcReader::SeisTrcReader | ( | const IOObj * | = 0 | ) |
Open 'real user entries from '.omf' file Can be anything: SEGY - CBVS - database
SeisTrcReader::SeisTrcReader | ( | const char * | fnm | ) |
Open 'loose' CBVS files only.
SeisTrcReader::~SeisTrcReader | ( | ) |
|
inline |
|
inline |
|
protected |
|
protected |
|
virtual |
Reimplemented from SeisStoreAccess.
|
inline |
Only effective if called before prepareWork()
Pos::GeomID SeisTrcReader::geomID | ( | ) | const |
GeomIDProvider* SeisTrcReader::geomIDProvider | ( | ) | const |
int SeisTrcReader::get | ( | SeisTrcInfo & | ) |
-1 = Error. errMsg() will return a message. 0 = End 1 = Usable info 2 = Not usable (trace needs to be skipped) If 1 is returned, then you should also call get(SeisTrc&).
bool SeisTrcReader::get | ( | SeisTrc & | ) |
It is possible to directly call this without checking the get(SeisTrcInfo&) result. Beware that the trace selections in the SelData may be ignored then - depending on the Translator's capabilities.
|
protected |
|
protected |
|
protected |
|
protected |
bool SeisTrcReader::get3DGeometryInfo | ( | PosInfo::CubeData & | ) | const |
Seis::Bounds* SeisTrcReader::getBounds | ( | ) | const |
use after prepareWork(). If not avail: survinfo
bool SeisTrcReader::getData | ( | TraceData & | ) |
int SeisTrcReader::getNrOffsets | ( | int | maxnrpostobechecked = 10 | ) | const |
|
protected |
|
protected |
const Scaler* SeisTrcReader::getTraceScaler | ( | ) | const |
|
protectedvirtual |
Reimplemented from SeisStoreAccess.
|
protected |
|
protected |
|
protected |
|
inline |
|
protected |
|
private |
|
protected |
|
protected |
bool SeisTrcReader::prepareWork | ( | Seis::ReadMode | rm = Seis::Prod | ) |
After this, you can set stuff on the translator If not called, will be done automatically
|
protected |
const SeisTrcTranslator* SeisTrcReader::seis2Dtranslator | ( | ) |
|
inline |
use before startWork() -1 (default) is all components
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019