![]() |
OpendTect
6.3
|
Writer for CBVS format. More...
Protected Member Functions | |
| void | writeHdr (const CBVSInfo &) |
| void | putAuxInfoSel (unsigned char *) const |
| void | writeComps (const CBVSInfo &) |
| void | writeGeom () |
| void | doClose (bool) |
| void | getRealGeometry () |
| bool | writeTrailer () |
Protected Attributes | |
| od_ostream & | strm_ |
| unsigned long | thrbytes_ |
| int | auxnrbytes_ |
| bool | input_rectnreg_ |
| int * | nrbytespersample_ |
| BinID | forcedlinestep_ |
| bool | forcetrailer_ |
Protected Attributes inherited from CBVSIO | |
| uiString | errmsg_ |
| int * | cnrbytes_ |
| int | nrcomps_ |
| bool | strmclosed_ |
| int | nrxlines_ |
| CoordPol | coordpol_ |
| TypeSet< Coord > | trailercoords_ |
| PosInfo::CubeData | lds_ |
| BinID | curbinid_ |
Private Member Functions | |
| mODTextTranslationClass(CBVSWriter) public | CBVSWriter (od_ostream *, const CBVSWriter &, const CBVSInfo &) |
| For usage in CBVS pack. More... | |
| ~CBVSWriter () | |
| unsigned long | byteThreshold () const |
| The default is unlimited. More... | |
| void | setByteThreshold (unsigned long n) |
| void | forceLineStep (const BinID &stp) |
| void | forceNrTrcsPerPos (int nr) |
| void | forceTrailer (bool yn=true) |
| int | put (void **, int offs=0) |
| void | close () |
| void | ciaoForNow () |
| const CBVSInfo::SurvGeom & | survGeom () const |
| const PosAuxInfoSelection & | auxInfoSel () |
| void | init (const CBVSInfo &) |
| void | getBinID () |
| void | newSeg (bool) |
| bool | writeAuxInfo () |
Private Attributes | |
| od_stream::Pos | geomsp_ |
| file offset of geometry data More... | |
| int | trcswritten_ |
| BinID | prevbinid_ |
| bool | file_lastinl_ |
| int | nrtrcsperposn_ |
| int | nrtrcsperposn_status_ |
| int | checknrtrcsperposn_ |
| PosAuxInfoSelection | auxinfosel_ |
| CBVSInfo::SurvGeom | survgeom_ |
| const PosAuxInfo * | auxinfo_ |
Additional Inherited Members | |
Public Types inherited from CBVSIO | |
| enum | CoordPol { InAux =0, InTrailer =1, NotStored =2 } |
Public Member Functions inherited from CBVSIO | |
| CBVSIO () | |
| virtual | ~CBVSIO () |
| bool | failed () const |
| const uiString | errMsg () const |
| int | nrComponents () const |
| const BinID & | binID () const |
| void | setErrMsg (const uiString s) |
Static Public Attributes inherited from CBVSIO | |
| static const int | integersize |
| static const int | version |
| static const int | headstartbytes |
Writer for CBVS format.
Works on an ostream that will be deleted on destruction, or when finished.
For the inline/xline info, you have two choices: 1) if you know you have a fully rectangular and regular survey, you can set this in the SurvGeom. 2) if this is not the case, or you don't know whether this will be the case, you will have to provide the BinID in the PosAuxInfo.
|
private |
For usage in CBVS pack.
< If info.posauxinfo has a true, the PosAuxInfo cannot be null. The relevant field(s) should then be filled before the first put() of any position
|
private |
|
inlineprivate |
|
inlineprivate |
The default is unlimited.
|
inlineprivate |
closes as if final close but doesn't actually close stream. Makes result readable.
|
inlineprivatevirtual |
Implements CBVSIO.
|
protected |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
private |
|
protected |
|
private |
|
private |
|
private |
Expects a buffer for each component returns -1 = error, 0 = OK, 1=not written (threshold reached)
|
protected |
|
inlineprivate |
|
inlineprivate |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
protected |
|
protected |
|
private |
file offset of geometry data
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
protected |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017