OpendTect-6_4
6.4
|
Public Member Functions | |
dgbSurfaceWriter (const IOObj *ioobj, const char *filetype, const EM::Surface &surface, bool binary) | |
dgbSurfaceWriter (const char *fulluserexpr, const char *filetype, const EM::Surface &surface, bool binary) | |
~dgbSurfaceWriter () | |
int | nrSections () const |
EM::SectionID | sectionID (int) const |
const char * | sectionName (int) const |
void | selSections (const TypeSet< EM::SectionID > &, bool add=false) |
void | setShift (float) |
Shift is added to z values before writing. More... | |
int | nrAuxVals () const |
const char * | auxDataName (int) const |
const char * | auxDataInfo (int) const |
void | selAuxData (const TypeSet< int > &) |
const StepInterval< int > & | rowInterval () const |
const StepInterval< int > & | colInterval () const |
void | setRowInterval (const StepInterval< int > &) |
void | setColInterval (const StepInterval< int > &) |
bool | writeOnlyZ () const |
void | setWriteOnlyZ (bool yn) |
IOPar * | pars () |
virtual od_int64 | nrDone () const |
virtual uiString | uiNrDoneText () const |
will be nrDoneText() in 7.x More... | |
virtual od_int64 | totalNr () const |
virtual int | nextStep () |
virtual uiString | uiMessage () const |
will be message() again in 7.x More... | |
Public Member Functions inherited from ExecutorGroup | |
ExecutorGroup (const char *nm, bool parallel=false, bool ownsexecs=true) | |
virtual | ~ExecutorGroup () |
virtual void | add (Executor *) |
int | nrExecutors () |
Executor * | getExecutor (int idx) |
void | setNrDoneText (const uiString &txt) |
If set, will use this and the counted nrdone. More... | |
Public Member Functions inherited from Executor | |
Executor (const char *nm) | |
virtual | ~Executor () |
virtual int | doStep () |
bool | go (od_ostream *s=0, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0) |
bool | go (od_ostream &s, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0) |
virtual bool | execute () |
Public Member Functions inherited from SequentialTask | |
SequentialTask (const char *nm=0) | |
virtual | ~SequentialTask () |
void | setProgressMeter (ProgressMeter *) |
Must be called before execute() More... | |
ProgressMeter * | progressMeter () |
const ProgressMeter * | progressMeter () const |
bool | execute () |
Public Member Functions inherited from Task | |
virtual | ~Task () |
virtual void | enableWorkControl (bool=true) |
Must be called before execute() More... | |
bool | workControlEnabled () const |
virtual void | controlWork (Control) |
virtual Control | getState () const |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=0) | |
NamedObject (const NamedObject *linkedto) | |
NamedObject (const NamedObject &) | |
virtual | ~NamedObject () |
void | setLinkedTo (NamedObject *) |
bool | operator== (const NamedObject &oth) const |
virtual const OD::String & | name () const |
virtual const OD::String & | annotName () const |
virtual void | setName (const char *) |
void | setCleanName (const char *) |
cleans string first More... | |
void | deleteNotify (const CallBack &) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
void | detachCB (NotifierAccess &, const CallBack &) |
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
bool | isNotifierAttached (NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
Protected Member Functions | |
bool | writeNewSection (od_ostream &) |
bool | writeRow (od_ostream &) |
bool | writeDouble (od_ostream &, double, const char *) const |
bool | writeInt16 (od_ostream &, unsigned short, const char *) const |
bool | writeInt32 (od_ostream &, od_int32, const char *) const |
bool | writeInt64 (od_ostream &, od_int64, const char *) const |
void | finishWriting () |
void | init (const char *fulluserexp) |
Protected Member Functions inherited from ExecutorGroup | |
virtual bool | goToNextExecutor () |
void | findNextSumStop () |
Protected Member Functions inherited from Executor | |
virtual bool | goImpl (od_ostream *, bool, bool, int) |
Protected Member Functions inherited from Task | |
Task (const char *nm=0) | |
virtual bool | shouldContinue () |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Static Protected Member Functions | |
static const char * | sTab () |
static const char * | sEOL () |
static const char * | sEOLTab () |
Private Member Functions | |
mODTextTranslationClass (dgbSurfaceWriter) | |
Additional Inherited Members | |
Public Types inherited from Task | |
enum | Control { Run, Pause, Stop } |
Static Public Member Functions inherited from SequentialTask | |
static int | ErrorOccurred () |
static int | Finished () |
static int | MoreToDo () |
static int | WarningAvailable () |
Static Public Member Functions inherited from Task | |
static uiString | stdNrDoneText () |
static uiString | uiStdNrDoneText () |
Public Attributes inherited from Executor | |
Notifier< Executor > | prestep |
Notifier< Executor > | poststep |
Only when MoreToDo will be returned. More... | |
Surface Writer.
EM::dgbSurfaceWriter::dgbSurfaceWriter | ( | const IOObj * | ioobj, |
const char * | filetype, | ||
const EM::Surface & | surface, | ||
bool | binary | ||
) |
EM::dgbSurfaceWriter::dgbSurfaceWriter | ( | const char * | fulluserexpr, |
const char * | filetype, | ||
const EM::Surface & | surface, | ||
bool | binary | ||
) |
Sets up object, but does not touch file (that's done in nextStep() )
ioobj | The IOObj with info about where to write data. |
filetype | The filetype that should be in the file header. |
surface | The surface that should be written with data. |
EM::dgbSurfaceWriter::~dgbSurfaceWriter | ( | ) |
Closes the stream
const char* EM::dgbSurfaceWriter::auxDataInfo | ( | int | ) | const |
const char* EM::dgbSurfaceWriter::auxDataName | ( | int | ) | const |
const StepInterval<int>& EM::dgbSurfaceWriter::colInterval | ( | ) | const |
|
protected |
|
protected |
|
private |
|
virtual |
MoreToDo() | Not finished. Call me again. |
Finished() | Nothing more to do. |
ErrorOccurred() | Something went wrong. |
Reimplemented from ExecutorGroup.
int EM::dgbSurfaceWriter::nrAuxVals | ( | ) | const |
|
virtual |
Reimplemented from ExecutorGroup.
int EM::dgbSurfaceWriter::nrSections | ( | ) | const |
IOPar* EM::dgbSurfaceWriter::pars | ( | ) |
const StepInterval<int>& EM::dgbSurfaceWriter::rowInterval | ( | ) | const |
EM::SectionID EM::dgbSurfaceWriter::sectionID | ( | int | ) | const |
const char* EM::dgbSurfaceWriter::sectionName | ( | int | ) | const |
void EM::dgbSurfaceWriter::selAuxData | ( | const TypeSet< int > & | ) |
The specified data will be written. If this function is not called, all avaliable auxdata will be written.
void EM::dgbSurfaceWriter::selSections | ( | const TypeSet< EM::SectionID > & | , |
bool | add = false |
||
) |
The given sectionIDs will be written. If this function is not called, all avaliable sections will be written.
|
inlinestaticprotected |
|
inlinestaticprotected |
void EM::dgbSurfaceWriter::setColInterval | ( | const StepInterval< int > & | ) |
void EM::dgbSurfaceWriter::setRowInterval | ( | const StepInterval< int > & | ) |
void EM::dgbSurfaceWriter::setShift | ( | float | ) |
Shift is added to z values before writing.
void EM::dgbSurfaceWriter::setWriteOnlyZ | ( | bool | yn | ) |
|
inlinestaticprotected |
|
virtual |
Reimplemented from ExecutorGroup.
|
virtual |
will be message() again in 7.x
Reimplemented from ExecutorGroup.
|
virtual |
will be nrDoneText() in 7.x
Reimplemented from ExecutorGroup.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
bool EM::dgbSurfaceWriter::writeOnlyZ | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
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