OpendTect
6.6
|
reads from a seismic data store. More...
Public Member Functions | |
SeisTrcReader (const char *fnm) | |
Open 'loose' CBVS files only. More... | |
SeisTrcReader (const IOObj *=0) | |
~SeisTrcReader () | |
int | curLineIdx () const |
StepInterval< int > | curTrcNrRange () const |
void | fillPar (IOPar &) const |
void | forceFloatData (bool yn=true) |
Only effective if called before prepareWork() More... | |
Pos::GeomID | geomID () const |
GeomIDProvider * | geomIDProvider () const |
bool | get (SeisTrc &) |
int | get (SeisTrcInfo &) |
bool | get3DGeometryInfo (PosInfo::CubeData &) const |
Seis::Bounds * | getBounds () const |
use after prepareWork(). If not avail: survinfo More... | |
bool | getData (TraceData &) |
int | getNrOffsets (int maxnrpostobechecked=10) const |
const Scaler * | getTraceScaler () const |
bool | isPrepared () const |
bool | prepareWork (Seis::ReadMode rm=Seis::Prod) |
const SeisTrcTranslator * | seis2Dtranslator () |
void | setComponent (int ic) |
Public Member Functions inherited from SeisStoreAccess | |
virtual | ~SeisStoreAccess () |
virtual bool | close () |
Conn * | curConn3D () |
const Conn * | curConn3D () const |
Seis2DDataSet * | dataSet () |
const Seis2DDataSet * | dataSet () const |
uiString | errMsg () const |
Seis::GeomType | geomType () const |
const IOObj * | ioObj () const |
bool | is2D () const |
bool | isPS () const |
const SeisPSIOProvider * | psIOProv () const |
SeisTrcTranslator * | seisTranslator () |
const SeisTrcTranslator * | seisTranslator () const |
const Seis::SelData * | selData () const |
void | setIOObj (const IOObj *) |
virtual void | setSelData (Seis::SelData *) |
The Seis::SelData becomes mine. More... | |
int | tracesHandled () const |
Translator * | translator () |
Translator * | translator () const |
virtual void | usePar (const IOPar &) |
Protected Member Functions | |
bool | doStart () |
bool | ensureCurLineAttribOK (const BufferString &) |
bool | get2D (SeisTrc &) |
int | get2D (SeisTrcInfo &) |
bool | get2DData (TraceData &) |
Seis::Bounds * | get3DBounds (const StepInterval< int > &, const StepInterval< int > &, const StepInterval< float > &) const |
bool | getPS (SeisTrc &) |
int | getPS (SeisTrcInfo &) |
void | init () |
bool | initBounds2D (const PosInfo::Line2DData &, Seis::Bounds2D &) const |
bool | initRead (Conn *) |
bool | isMultiConn () const |
bool | mkNextFetcher () |
int | nextConn (SeisTrcInfo &) |
Conn * | openFirst () |
bool | readNext2D () |
bool | startWork () |
Protected Member Functions inherited from SeisStoreAccess | |
SeisStoreAccess (const char *, bool is2d, bool isps) | |
SeisStoreAccess (const IOObj *) | |
bool | cleanUp (bool alsoioobj=true) |
SeisTrcTranslator * | strl () const |
Protected Attributes | |
int | curlineidx |
BinID | curpsbid_ |
StepInterval< int > | curtrcnrrg |
bool | entryis2d |
Executor * | fetcher |
bool | forcefloats |
bool | foundvalidcrl |
bool | foundvalidinl |
bool | inforead |
bool | needskip |
bool | new_packet |
int | nrfetchers |
TrcKeySampling * | outer |
bool | prepared |
int | prev_inl |
PosInfo::CubeDataIterator * | pscditer_ |
PosInfo::Line2DDataIterator * | pslditer_ |
SeisPS2DReader * | psrdr2d_ |
SeisPS3DReader * | psrdr3d_ |
Seis::ReadMode | readmode |
int | selcomp_ |
SeisTrcBuf * | tbuf_ |
Protected Attributes inherited from SeisStoreAccess | |
Seis2DDataSet * | dataset_ |
uiString | errmsg_ |
IOObj * | ioobj_ |
bool | is2d_ |
int | nrtrcs_ |
const SeisPSIOProvider * | psioprov_ |
Seis::SelData * | seldata_ |
Translator * | trl_ |
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 |
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.
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&).
|
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 |
|
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. 1995-2022