![]() |
OpendTect
6.3
|
Writes provided data into Block Storage. More...
Classes | |
| struct | Column |
Public Types | |
| typedef std::pair< IdxType, float > | ZEvalPos |
| typedef TypeSet< ZEvalPos > | ZEvalPosSet |
Public Member Functions | |
| Writer (const SurvGeom *sg=0) | |
| ~Writer () | |
| void | setBasePath (const File::Path &) |
| void | setFileNameBase (const char *) |
| void | setCubeName (const char *) |
| void | setFPRep (OD::FPDataRepType) |
| void | setScaler (const LinScaler *) |
| void | addComponentName (const char *) |
| void | addAuxInfo (const char *key, const IOPar &) |
| BufferString | dirName () const |
| BufferString | mainFileName () const |
| uiRetVal | add (const SeisTrc &) |
| Task * | finisher () |
| if not run by you, destructor will run it More... | |
| int | nrColumnBlocks () const |
Public Member Functions inherited from Seis::Blocks::DataStorage | |
| virtual | ~DataStorage () |
| unsigned short | version () const |
Protected Member Functions | |
| void | setEmpty () |
| void | resetZ (const Interval< float > &) |
| bool | removeExisting (const char *, uiRetVal &) const |
| bool | prepareWrite (uiRetVal &) |
| void | add2Block (Block &, const ZEvalPosSet &, SampIdx, const SeisTrc &, int) |
| Column * | getColumn (const GlobIdx &) |
| Column * | mkNewColumn (const GlobIdx &) |
| bool | isCompletionVisit (Column &, const SampIdx &) const |
| void | writeColumn (Column &, uiRetVal &) |
| bool | writeColumnHeader (od_ostream &, const Column &, const SampIdx &, const Dimensions &) const |
| bool | writeBlock (od_ostream &, Block &, SampIdx, Dimensions) |
| void | writeMainFile (uiRetVal &) |
| bool | writeMainFileData (od_ostream &) |
| void | scanPositions (PosInfo::CubeData &cubedata, Interval< IdxType > &, Interval< IdxType > &, Interval< int > &, Interval< int > &, Interval< double > &, Interval< double > &) |
Protected Member Functions inherited from Seis::Blocks::DataStorage | |
| DataStorage (const SurvGeom *) | |
Protected Attributes | |
| File::Path | basepath_ |
| BufferString | filenamebase_ |
| BufferString | cubename_ |
| OD::FPDataRepType | specfprep_ |
| OD::FPDataRepType | usefprep_ |
| LinScaler * | scaler_ |
| BufferStringSet | compnms_ |
| ObjectSet< IOPar > | auxiops_ |
| bool | needreset_ |
| const int | nrpospercolumn_ |
| int | nrcomponents_ |
| bool | isfinished_ |
| Interval< IdxType > | globzidxrg_ |
| ObjectSet< ZEvalPosSet > | zevalpositions_ |
| Pos::IdxPairDataSet & | columns_ |
Protected Attributes inherited from Seis::Blocks::DataStorage | |
| const SurvGeom & | survgeom_ |
| const Dimensions | dims_ |
| unsigned short | version_ |
Private Member Functions | |
| mODTextTranslationClass (Seis::Blocks::Writer) | |
Friends | |
| class | ColumnWriter |
| class | WriterFinisher |
Additional Inherited Members | |
Static Public Member Functions inherited from Seis::Blocks::DataStorage | |
| static BufferString | fileNameFor (const GlobIdx &) |
| static const char * | sKeyFileType () |
| static const char * | sKeyDimensions () |
| static const char * | sKeyGlobInlRg () |
| static const char * | sKeyGlobCrlRg () |
| static const char * | sKeyGlobZRg () |
| static const char * | sKeyComponents () |
Writes provided data into Block Storage.
The writer accepts trace data which it will distribute amongst in-memory blocks. When a block is fully filled it will be written and the block is retired (i.e. its databuffer is emptied).
All block data is put in a subdir of the base path. At the end the blocks that have never been fully filled (edge blocks, blocks with data gaps) will be written. Lastly, the main file ".cube" will be written.
| typedef std::pair<IdxType,float> Seis::Blocks::Writer::ZEvalPos |
| Seis::Blocks::Writer::Writer | ( | const SurvGeom * | sg = 0 | ) |
| Seis::Blocks::Writer::~Writer | ( | ) |
|
protected |
| void Seis::Blocks::Writer::addAuxInfo | ( | const char * | key, |
| const IOPar & | |||
| ) |
| void Seis::Blocks::Writer::addComponentName | ( | const char * | ) |
| BufferString Seis::Blocks::Writer::dirName | ( | ) | const |
| Task* Seis::Blocks::Writer::finisher | ( | ) |
if not run by you, destructor will run it
| BufferString Seis::Blocks::Writer::mainFileName | ( | ) | const |
|
private |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
| void Seis::Blocks::Writer::setBasePath | ( | const File::Path & | ) |
| void Seis::Blocks::Writer::setCubeName | ( | const char * | ) |
|
protected |
| void Seis::Blocks::Writer::setFileNameBase | ( | const char * | ) |
| void Seis::Blocks::Writer::setFPRep | ( | OD::FPDataRepType | ) |
| void Seis::Blocks::Writer::setScaler | ( | const LinScaler * | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
friend |
|
friend |
|
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. 2017