OpendTect
7.0
|
Public Member Functions | |
dgbSurfaceWriter (const char *fulluserexpr, const char *filetype, const EM::Surface &surface, bool binary) | |
dgbSurfaceWriter (const IOObj *ioobj, const char *filetype, const EM::Surface &surface, bool binary) | |
~dgbSurfaceWriter () | |
const char * | auxDataInfo (int) const |
const char * | auxDataName (int) const |
const StepInterval< int > & | colInterval () const |
int | nextStep () override |
int | nrAuxVals () const |
od_int64 | nrDone () const override |
int | nrSections () const |
IOPar * | pars () |
const StepInterval< int > & | rowInterval () const |
EM::SectionID | sectionID (int) const |
const char * | sectionName (int) const |
void | selAuxData (const TypeSet< int > &) |
void | selSections (const TypeSet< EM::SectionID > &, bool add=false) |
void | setColInterval (const StepInterval< int > &) |
void | setRowInterval (const StepInterval< int > &) |
void | setShift (float) |
Shift is added to z values before writing. More... | |
void | setWriteOnlyZ (bool yn) |
od_int64 | totalNr () const override |
uiString | uiMessage () const override |
will be message() again in 7.x More... | |
uiString | uiNrDoneText () const override |
will be nrDoneText() in 7.x More... | |
bool | writeOnlyZ () const |
Public Member Functions inherited from ExecutorGroup | |
ExecutorGroup (const char *nm, bool parallel=false, bool ownsexecs=true) | |
virtual | ~ExecutorGroup () |
virtual void | add (Executor *) |
Executor * | getExecutor (int idx) |
int | nrExecutors () |
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 () |
int | doStep () override |
bool | execute () override |
bool | go (od_ostream &s, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0) |
bool | go (od_ostream *s=0, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0) |
Public Member Functions inherited from SequentialTask | |
SequentialTask (const char *nm=nullptr) | |
virtual | ~SequentialTask () |
bool | execute () override |
Public Member Functions inherited from ReportingTask | |
virtual | ~ReportingTask () |
void | getProgress (const ReportingTask &) |
Public Member Functions inherited from Task | |
virtual | ~Task () |
virtual void | controlWork (Control) |
virtual void | enableWorkControl (bool=true) |
Must be called before execute() More... | |
virtual uiRetVal | errorWithDetails () const |
virtual Control | getState () const |
bool | workControlEnabled () const |
Public Member Functions inherited from NamedCallBacker | |
NamedCallBacker (const char *nm=0) | |
NamedCallBacker (const NamedCallBacker &) | |
virtual Notifier< NamedCallBacker > & | objectToBeDeleted () const |
bool | operator== (const NamedCallBacker &oth) const |
bool | operator== (const NamedObject &oth) const |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
virtual CallBacker * | trueCaller () |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=nullptr) | |
NamedObject (const NamedObject &oth) | |
virtual | ~NamedObject () |
virtual BufferString | getName () const |
bool | getNameFromPar (const IOPar &) |
const name_type & | name () const override |
NamedObject & | operator= (const NamedObject &) |
bool | operator== (const NamedObject &oth) const |
virtual void | setName (const char *nm) |
Public Member Functions inherited from ObjectWithName | |
virtual | ~ObjectWithName () |
bool | hasName (const char *nm) const |
bool | hasName (const name_type &nm) const |
void | putNameInPar (IOPar &) const |
Protected Member Functions | |
void | finishWriting () |
void | init (const char *fulluserexp) |
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 |
bool | writeNewSection (od_ostream &) |
bool | writeRow (od_ostream &) |
Protected Member Functions inherited from ExecutorGroup | |
void | findNextSumStop () |
virtual bool | goToNextExecutor () |
Protected Member Functions inherited from Executor | |
virtual bool | goImpl (od_ostream *, bool, bool, int) |
Protected Member Functions inherited from ReportingTask | |
ReportingTask (const char *nm=nullptr) | |
void | incrementProgress () |
ProgressMeter * | progressMeter () const |
void | reportProgressFinished () |
void | reportProgressStarted () |
void | resetProgress () |
void | setProgressMeter (ProgressMeter *) override |
Must be called before execute() More... | |
void | updateProgressMeter (bool forced=false, std::int64_t *totalnr=0) |
void | updateReportedName () |
Protected Member Functions inherited from Task | |
Task (const char *nm=nullptr) | |
virtual bool | shouldContinue () |
Protected Member Functions inherited from NamedCallBacker | |
void | sendDelNotif () const |
Static Protected Member Functions | |
static const char * | sEOL () |
static const char * | sEOLTab () |
static const char * | sTab () |
Additional Inherited Members | |
Public Types inherited from Task | |
enum | Control { Run , Pause , Stop } |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
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 () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Public Attributes inherited from Executor | |
Notifier< Executor > | poststep |
Only when MoreToDo will be returned. More... | |
Notifier< Executor > | prestep |
Public Attributes inherited from ReportingTask | |
Notifier< ReportingTask > | progressUpdated |
Surface Writer.
Do NextStep
<>
EM::dgbSurfaceWriter::dgbSurfaceWriter | ( | const IOObj * | ioobj, |
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. |
binary | If true, writes in binary, else in ascii |
EM::dgbSurfaceWriter::dgbSurfaceWriter | ( | const char * | fulluserexpr, |
const char * | filetype, | ||
const EM::Surface & | surface, | ||
bool | binary | ||
) |
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 |
|
overridevirtual |
MoreToDo() | Not finished. Call me again. |
Finished() | Nothing more to do. |
ErrorOccurred() | Something went wrong. |
Reimplemented from ExecutorGroup.
int EM::dgbSurfaceWriter::nrAuxVals | ( | ) | const |
|
overridevirtual |
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 |
|
overridevirtual |
Reimplemented from ExecutorGroup.
|
overridevirtual |
will be message() again in 7.x
Reimplemented from ExecutorGroup.
|
overridevirtual |
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 |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024