OpendTect
6.6
|
Reader for CBVS format. More...
Public Member Functions | |
CBVSReader (od_istream *, bool glob_info_only=false, bool forceusecbvsinfo=false) | |
~CBVSReader () | |
int | bytesOverheadPerTrace () const |
void | close () |
bool | fetch (TraceData &buffers, const bool *comps, const StepInterval< int > *samps, int offs=0) |
bool | fetch (TraceData &buffers, const bool *comps=0, const Interval< int > *samps=0, int offs=0) |
bool | fetch (void **buffers, const bool *comps=0, const Interval< int > *samps=0, int offs=0) |
bool | getAuxInfo (PosAuxInfo &) |
bool | goTo (const BinID &) |
bool | hasAuxInfo () const |
const CBVSInfo & | info () const |
BinID | nextBinID () const |
void | setSingleLineMode (bool yn=true) |
returns 0/0 at end More... | |
bool | toNext () |
bool | toStart () |
const TypeSet< Coord > & | trailerCoords () const |
int | trcNrAtPosition () const |
Public Member Functions inherited from CBVSIO | |
CBVSIO () | |
virtual | ~CBVSIO () |
const BinID & | binID () const |
const char * | errMsg () const |
bool | failed () const |
int | nrComponents () const |
void | setErrMsg (const char *s) |
Static Public Member Functions | |
static const char * | check (od_istream &) |
static int | defHeaderSize () |
Protected Member Functions | |
void | getAuxInfoSel (const char *) |
int | getPosNr (const PosInfo::CubeDataPos &, bool) const |
void | getText (int, BufferString &) |
Coord | getTrailerCoord (const BinID &) const |
void | mkPosNrs () |
bool | readComps () |
bool | readGeom (bool) |
bool | readTrailer () |
void | toOffs (od_int64) |
Protected Attributes | |
CBVSInfo | info_ |
od_istream & | strm_ |
Protected Attributes inherited from CBVSIO | |
int * | cnrbytes_ |
CoordPol | coordpol_ |
BinID | curbinid_ |
const char * | errmsg_ |
PosInfo::CubeData | lds_ |
int | nrcomps_ |
int | nrxlines_ |
bool | strmclosed_ |
TypeSet< Coord > | trailercoords_ |
Private Member Functions | |
CoordPol | coordPol () const |
bool | readInfo (bool, bool) |
StepInterval< int > * | sampsi_ () |
void | setCubePos (bool fromgeom) const |
bool | singlelinemode_ () const |
void | updCurBinID () const |
TraceData * | worktrcdata_ () |
Private Attributes | |
int | auxnrbytes_ |
int | bytespertrace_ |
PosInfo::CubeDataPos | curgeomcubepos_ |
PosInfo::CubeDataPos | curldscubepos_ |
od_int64 | datastartfo_ |
DataInterpreter< double > | dinterp_ |
DataInterpreter< float > | finterp_ |
BinID | firstbinid_ |
bool | hinfofetched_ |
TrcKeySampling | hs_ |
int | idxatpos_ |
DataInterpreter< int > | iinterp_ |
od_int64 | lastposfo_ |
TypeSet< int > | posnrs_ |
Interval< int > | samprg_ |
Friends | |
class | CBVSReadMgr |
Additional Inherited Members | |
Public Types inherited from CBVSIO | |
enum | CoordPol { InAux =0 , InTrailer =1 , NotStored =2 } |
Static Public Attributes inherited from CBVSIO | |
static const int | headstartbytes |
static const int | integersize |
static const int | version |
Reader for CBVS format.
The stream it works on will be deleted on destruction or if close() is explicitly called.
If you construct with glob_info_only == true, you cannot use the reader. After construction, the info() is then usable but no precise positioning is available. In other words, the trailer is not read.
From OpendTect v2.2.1, The toNext() interface will always return ascending inlines, no matter whether the data is stored with descending inlines.
<>
CBVSReader::CBVSReader | ( | od_istream * | , |
bool | glob_info_only = false , |
||
bool | forceusecbvsinfo = false |
||
) |
CBVSReader::~CBVSReader | ( | ) |
int CBVSReader::bytesOverheadPerTrace | ( | ) | const |
|
static |
Determines whether a file is a CBVS file returns an error message, or null if OK.
|
virtual |
Implements CBVSIO.
|
inlineprivate |
|
inlinestatic |
bool CBVSReader::fetch | ( | TraceData & | buffers, |
const bool * | comps, | ||
const StepInterval< int > * | samps, | ||
int | offs = 0 |
||
) |
bool CBVSReader::fetch | ( | TraceData & | buffers, |
const bool * | comps = 0 , |
||
const Interval< int > * | samps = 0 , |
||
int | offs = 0 |
||
) |
Gets the sample data. 'comps', if provided, selects the components. If 'samps' is non-null, it should hold start and end sample to read. offs is an offset in the buffers.
bool CBVSReader::fetch | ( | void ** | buffers, |
const bool * | comps = 0 , |
||
const Interval< int > * | samps = 0 , |
||
int | offs = 0 |
||
) |
bool CBVSReader::getAuxInfo | ( | PosAuxInfo & | ) |
Gets the aux info. Follow by fetch() to get the sample data.
|
protected |
|
protected |
|
protected |
bool CBVSReader::goTo | ( | const BinID & | ) |
|
inline |
|
inline |
|
protected |
BinID CBVSReader::nextBinID | ( | ) | const |
|
protected |
|
protected |
|
private |
|
protected |
|
private |
|
private |
void CBVSReader::setSingleLineMode | ( | bool | yn = true | ) |
returns 0/0 at end
|
private |
bool CBVSReader::toNext | ( | ) |
|
protected |
bool CBVSReader::toStart | ( | ) |
|
inline |
|
private |
|
private |
|
friend |
|
private |
|
private |
|
mutableprivate |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022