OpendTect  6.6
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
uiSEGYReadFinisher Class Reference

Finishes reading process of 'any SEG-Y file'. More...

Inheritance diagram for uiSEGYReadFinisher:
[legend]

Public Member Functions

 uiSEGYReadFinisher (uiParent *, const FullSpec &, const char *usrspec)
 
 ~uiSEGYReadFinisher ()
 
FullSpec & fullSpec ()
 
MultiID getOutputKey () const
 
void setAsDefaultObj ()
 call only after successful go() More...
 
void setCoordSystem (Coords::CoordSystem *)
 
- Public Member Functions inherited from uiDialog
 uiDialog (uiParent *, const Setup &)
 
void accept (CallBacker *cb=0)
 
uiButton * button (Button but)
 
void done ()
 
void done (DoneResult)
 
void done (int i)
 
void enableSaveButton (const uiString &txt=uiStrings::sSaveAsDefault())
 Save button enabled when set to non-empty. More...
 
CtrlStyle getCtrlStyle () const
 OK button disabled when set to CloseOnly. More...
 
uiGroup * getDlgGroup ()
 
int go ()
 
int goMinimized ()
 
bool hasSaveButton () const
 
virtual HelpKey helpKey () const
 
bool isModal () const
 
int nrVideos () const
 
void reject (CallBacker *cb=0)
 
void removeVideo (int)
 
bool saveButtonChecked () const
 
bool separator () const
 
void setBorder (int)
 
void setButtonSensitive (Button, bool)
 
void setButtonText (Button but, const uiString &txt)
 
void setCancelText (const char *txt)
 
void setCancelText (const uiString &)
 Cancel button disabled when set to empty. More...
 
void setCtrlStyle (CtrlStyle)
 On construction, it's (of course) OkAndCancel. More...
 
void setHelpKey (const HelpKey &)
 
void setHSpacing (int)
 
void setModal (bool yn)
 
void setOkCancelText (const char *ok, const char *cnl)
 
void setOkCancelText (const uiString &ok, const uiString &cnl)
 
void setOkText (const char *txt)
 
void setOkText (const uiString &)
 
void setSaveButtonChecked (bool)
 
void setSeparator (bool yn)
 Separator between central dialog and OK/Cancel bar? More...
 
void setTitleText (const char *txt)
 
void setTitleText (const uiString &txt)
 
const Setup & setup () const
 
void setVideoKey (const HelpKey &)
 
void setVideoKey (const HelpKey &, int idx)
 
void setVSpacing (int)
 
int uiResult () const
 -1 running, otherwise (int)DoneResult More...
 
HelpKey videoKey (int idx=0) const
 
- Public Member Functions inherited from uiMainWin
 uiMainWin (uiParent *, const uiMainWin::Setup &)
 
 uiMainWin (uiParent *, const uiString &caption=uiString::emptyString(), int nrstatusflds=1, bool withmenubar=true, bool modal=false)
 
virtual ~uiMainWin ()
 
void activate ()
 
void activateInGUIThread (const CallBack &, bool busywait=true)
 
void addDockWindow (uiDockWin &, Dock)
 
void addToolBar (uiToolBar *)
 
void addToolBarBreak ()
 
const uiString & caption (bool unique=false) const
 
void close ()
 
void copyToClipBoard ()
 
const ObjectSet< uiDockWin > & dockWins () const
 
bool finalised () const
 
uiToolBar * findToolBar (const char *)
 
void forceClose ()
 
uiRect geometry (bool frame=true) const
 Position of top-left corner in screen pixel coords. More...
 
PopupArea getPopupArea () const
 
const char * getScriptToRun () const
 
uiMenu & getToolbarsMenu () const
 
bool grab (const char *filenm, int zoom=1, const char *format=0, int quality=-1) const
 
bool isHidden () const
 
bool isMaximized () const
 
bool isMinimized () const
 
bool isModal () const
 
virtual uiMainWin * mainwin ()
 
uiMenuBar * menuBar ()
 
uiParent * parent ()
 
const uiParent * parent () const
 
bool poppedUp () const
 
QWidget * qWidget () const
 
void raise ()
 
virtual void reDraw (bool deep)
 
void removeDockWindow (uiDockWin *)
 
uiToolBar * removeToolBar (uiToolBar *)
 
void runScript (const char *filename)
 
void saveAsPDF (const char *fnm, int w, int h, int res)
 
mDeprecatedObs void saveAsPS (const char *fnm, int w, int h, int res)
 
void saveImage (const char *fnm, int w, int h, int res)
 
void setActivateOnFirstShow (bool yn=true)
 
void setCaption (const char *str)
 
void setCaption (const uiString &)
 
void setCornerPos (int x, int y)
 
void setDeleteOnClose (bool yn)
 
void setExitAppOnClose (bool yn)
 automatically set by uiMain::setTopLevel More...
 
void setIcon (const uiPixmap &)
 Default icon is set in uiMain. More...
 
void setIconText (const uiString &)
 
void setPopupArea (PopupArea pa)
 
void setSensitive (bool yn)
 
void setShrinkAllowed (bool yn)
 
virtual void show ()
 
bool showAlwaysOnTop (bool yn=true)
 
void showAndActivate ()
 
void showMaximized ()
 
void showMinimized ()
 
bool showMinMaxButtons (bool yn=true)
 
void showNormal ()
 
bool shrinkAllowed ()
 
uiStatusBar * statusBar ()
 
const ObjectSet< uiToolBar > & toolBars () const
 
uiGroup * topGroup ()
 
void toStatusBar (const uiString &, int fldidx=0, int msecs=-1)
 
bool touch ()
 resets pop-up timer if !poppedUp yet More...
 
void translateText ()
 
- Public Member Functions inherited from uiParent
uiSize actualsize (bool inclborder=true) const
 
uiSize actualSize (bool include_border) const
 
void addChild (uiBaseObject &)
 
void attach (constraintType t, int margin=-1)
 
void attach (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
void attach (constraintType t, uiParent *oth, int margin=-1, bool reciprocal=true)
 
void attachChild (constraintType tp, uiObject *child, uiObject *other, int margin, bool reciprocal)
 
Color backgroundColor () const
 
const ObjectSet< uiBaseObject > * childList () const
 
void deepRedraw (CallBacker *=0)
 
virtual void display (bool yn, bool shrk=false, bool maximize=false)
 
const uiFont * font () const
 
bool hasFocus () const
 
bool isDisplayed () const
 
uiObject * mainObject ()
 
const uiObject * mainObject () const
 
void manageChld (uiBaseObject &, uiObjectBody &)
 
uiParentBody * pbody ()
 
const uiParentBody * pbody () const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
Color roBackgroundColor () const
 
bool sensitive () const
 
void setBackgroundColor (const Color &c)
 
void setCaption (const uiString &c)
 
void setCursor (const MouseCursor &c)
 
void setFocus ()
 
void setFont (const uiFont &f)
 
void setPrefHeight (int h)
 
void setPrefHeightInChar (float h)
 
void setPrefHeightInChar (int h)
 
void setPrefWidth (int w)
 
void setPrefWidthInChar (float w)
 
void setPrefWidthInChar (int w)
 
void setSensitive (bool yn=true)
 
void setStretch (int h, int v)
 
void shallowRedraw (CallBacker *=0)
 
int stretch (bool h) const
 
void translateText ()
 
- Public Member Functions inherited from uiBaseObject
 uiBaseObject (const char *nm, uiBody *=0)
 
virtual ~uiBaseObject ()
 
int beginCmdRecEvent (const char *msg=0)
 
int beginCmdRecEvent (od_uint64 id, const char *msg=0)
 
uiBody * body ()
 
const uiBody * body () const
 
void clear ()
 
void endCmdRecEvent (int refnr, const char *msg=0)
 
void endCmdRecEvent (od_uint64 id, int refnr, const char *msg=0)
 
void finalise ()
 
bool finalised () const
 
virtual QWidget * getWidget ()
 
const QWidget * getWidget () const
 
virtual Notifier< uiBaseObject > & postFinalise ()
 
virtual Notifier< uiBaseObject > & preFinalise ()
 
- 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
 
- 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 &)
 
virtual const name_type & name () const
 
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

bool acceptOK (CallBacker *)
 confirm accept More...
 
void coordsFromChg (CallBacker *)
 
void cr2DCoordSrcFields (uiGroup *&, bool)
 
void crSeisFields ()
 
void crVSPFields ()
 
bool do2D (const IOObj &, const IOObj &, bool doimp, const char *)
 
bool do3D (const IOObj &, const IOObj &, bool doimp)
 
bool doBatch (bool doimp)
 
bool doBatch2D (bool doimp, const char *lnm)
 
void doScanChg (CallBacker *)
 
bool doVSP ()
 
bool exec2Dimp (const IOObj &, const IOObj &, bool, const char *, const char *, Pos::GeomID)
 
bool getGeomID (const char *lnm, bool isnew, Pos::GeomID &) const
 
SeisStdImporterReader * getImpReader (const IOObj &, SeisTrcWriter &, Pos::GeomID)
 
bool handleExistingGeometry (const char *, bool, bool &, bool &, bool &)
 
bool handleWarnings (bool, SEGY::FileIndexer *, SeisImporter *)
 
void initWin (CallBacker *)
 
void inpDomChg (CallBacker *)
 
uiSeisSel * outFld (bool imp)
 
bool putCoordChoiceInSpec ()
 
void updateInIOObjPars (IOObj &, const IOObj &outioobj)
 
void wllSel (CallBacker *)
 
- Protected Member Functions inherited from uiDialog
virtual bool doneOK (int)
 confirm exit More...
 
virtual bool rejectOK (CallBacker *)
 confirm reject More...
 
- Protected Member Functions inherited from uiMainWin
 uiMainWin (uiString, uiParent *)
 
void aftPopupCB (CallBacker *)
 
virtual bool closeOK ()
 confirm window close More...
 
void copyToClipBoardCB (CallBacker *)
 
void languageChangeCB (CallBacker *)
 
uiObject * mainobject ()
 
void readSettings ()
 
void saveAsPDF_PS (const char *fnm, int w, int h, int res)
 
void saveSettings ()
 
void setForceFinalise (bool)
 
void updateCaption ()
 
- Protected Member Functions inherited from uiParent
 uiParent (const char *nm, uiParentBody *)
 
virtual void attach_ (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
- Protected Member Functions inherited from uiBaseObject
void setBody (uiBody *b)
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Static Protected Member Functions

static uiString getDlgTitle (const char *)
 
static uiString getWinTile (const FullSpec &)
 

Protected Attributes

uiBatchJobDispatcherSel * batchfld_
 
uiGenInput * coordfileextfld_
 
uiFileInput * coordfilefld_
 
uiComboBox * coordsfromfld_
 
uiGenInput * coordsstartfld_
 
uiGenInput * coordsstepfld_
 
Coords::CoordSystem * coordsys_ = nullptr
 
uiGenInput * docopyfld_
 
FullSpec fs_
 
uiGenInput * inpdomfld_
 
uiCheckBox * isfeetfld_
 
uiSeis2DLineNameSel * lnmfld_
 
uiComboBox * lognmfld_
 
BufferString objname_
 
uiSeisSel * outimpfld_
 
MultiID outputid_
 
uiSeisSel * outscanfld_
 
uiIOObjSel * outwllfld_
 
uiGenInput * remnullfld_
 
uiSeisTransfer * transffld_
 
- Protected Attributes inherited from uiDialog
bool cancelpushed_
 
CtrlStyle ctrlstyle_
 
- Protected Attributes inherited from uiMainWin
Timer * afterpopuptimer_
 
uiMainWinBody * body_
 
uiString caption_
 
int languagechangecount_
 
uiParent * parent_
 
PopupArea popuparea_
 
BufferString scripttorun_
 
uiString uniquecaption_
 
- Protected Attributes inherited from uiBaseObject
Notifier< uiBaseObject > finaliseDone
 triggered when finalising finished More...
 
Notifier< uiBaseObject > finaliseStart
 triggered when about to start finalising More...
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBacker > delnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from uiDialog
enum  Button {
  OK , CANCEL , APPLY , HELP ,
  CREDITS , SAVE
}
 
enum  CtrlStyle { OkAndCancel , RunAndClose , CloseOnly }
 
enum  DoneResult { Rejected =0 , Accepted =1 }
 
enum  TitlePos { LeftSide , CenterWin , RightSide }
 
- Public Types inherited from uiMainWin
enum  ActModalTyp {
  None =0 , Main , Message , File ,
  Colour , Font , Unknown
}
 
enum  Dock {
  Top , Bottom , Right , Left ,
  Minimized , TornOff , Unmanaged
}
 Dock Selector. More...
 
enum  PopupArea {
  TopLeft , TopRight , BottomLeft , BottomRight ,
  Middle , Auto
}
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Static Public Member Functions inherited from uiDialog
static void setTitlePos (int i)
 
static void setTitlePos (TitlePos)
 
static TitlePos titlePos ()
 
- Static Public Member Functions inherited from uiMainWin
static const char * activeModalQDlgButTxt (int butnr)
 
static int activeModalQDlgRetVal (int butnr)
 
static const char * activeModalQDlgTitle ()
 
static ActModalTyp activeModalType ()
 
static uiMainWin * activeModalWindow ()
 
static uiMainWin * activeWindow ()
 
static void closeActiveModalQDlg (int retval)
 
static OD::WindowActivationBehavior getActivateBehaviour ()
 
static void getModalSignatures (BufferStringSet &)
 
static void getTopLevelWindows (ObjectSet< uiMainWin > &, bool visibleonly=true)
 
static bool grabScreen (const char *filenm, const char *format=0, int quality=-1, int screen=0)
 
static uiMainWin * gtUiWinIfIsBdy (QWidget *mwimpl)
 get uiMainWin for mwimpl if it is a uiMainWinBody More...
 
static void programActiveWindow (uiMainWin *)
 
static uiMainWin * programmedActiveWindow ()
 
static void setActivateBehaviour (OD::WindowActivationBehavior)
 
static uiString uniqueWinTitle (const uiString &, QWidget *forwindow=0, BufferString *addendum=0)
 
- Static Public Member Functions inherited from uiBaseObject
static void addCmdRecorder (const CallBack &)
 
static void removeCmdRecorder (const CallBack &)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Public Attributes inherited from uiDialog
Notifier< uiDialog > applyPushed
 
- Public Attributes inherited from uiMainWin
Notifier< uiMainWin > activatedone
 
Notifier< uiMainWin > afterPopup
 
Notifier< uiMainWin > ctrlCPressed
 
Notifier< uiMainWin > runScriptRequest
 
Notifier< uiMainWin > windowClosed
 triggered when window exits More...
 
Notifier< uiMainWin > windowHidden
 
Notifier< uiMainWin > windowShown
 
- Static Protected Attributes inherited from uiDialog
static TitlePos titlepos_
 

Detailed Description

Finishes reading process of 'any SEG-Y file'.

<>

Constructor & Destructor Documentation

◆ uiSEGYReadFinisher()

uiSEGYReadFinisher::uiSEGYReadFinisher ( uiParent *  ,
const FullSpec &  ,
const char *  usrspec 
)

◆ ~uiSEGYReadFinisher()

uiSEGYReadFinisher::~uiSEGYReadFinisher ( )

Member Function Documentation

◆ acceptOK()

bool uiSEGYReadFinisher::acceptOK ( CallBacker *  )
protectedvirtual

confirm accept

Reimplemented from uiDialog.

◆ coordsFromChg()

void uiSEGYReadFinisher::coordsFromChg ( CallBacker *  )
protected

◆ cr2DCoordSrcFields()

void uiSEGYReadFinisher::cr2DCoordSrcFields ( uiGroup *&  ,
bool   
)
protected

◆ crSeisFields()

void uiSEGYReadFinisher::crSeisFields ( )
protected

◆ crVSPFields()

void uiSEGYReadFinisher::crVSPFields ( )
protected

◆ do2D()

bool uiSEGYReadFinisher::do2D ( const IOObj &  ,
const IOObj &  ,
bool  doimp,
const char *   
)
protected

◆ do3D()

bool uiSEGYReadFinisher::do3D ( const IOObj &  ,
const IOObj &  ,
bool  doimp 
)
protected

◆ doBatch()

bool uiSEGYReadFinisher::doBatch ( bool  doimp)
protected

◆ doBatch2D()

bool uiSEGYReadFinisher::doBatch2D ( bool  doimp,
const char *  lnm 
)
protected

◆ doScanChg()

void uiSEGYReadFinisher::doScanChg ( CallBacker *  )
protected

◆ doVSP()

bool uiSEGYReadFinisher::doVSP ( )
protected

◆ exec2Dimp()

bool uiSEGYReadFinisher::exec2Dimp ( const IOObj &  ,
const IOObj &  ,
bool  ,
const char *  ,
const char *  ,
Pos::GeomID   
)
protected

◆ fullSpec()

FullSpec& uiSEGYReadFinisher::fullSpec ( )
inline

◆ getDlgTitle()

static uiString uiSEGYReadFinisher::getDlgTitle ( const char *  )
staticprotected

◆ getGeomID()

bool uiSEGYReadFinisher::getGeomID ( const char *  lnm,
bool  isnew,
Pos::GeomID &   
) const
protected

◆ getImpReader()

SeisStdImporterReader* uiSEGYReadFinisher::getImpReader ( const IOObj &  ,
SeisTrcWriter &  ,
Pos::GeomID   
)
protected

◆ getOutputKey()

MultiID uiSEGYReadFinisher::getOutputKey ( ) const
inline

◆ getWinTile()

static uiString uiSEGYReadFinisher::getWinTile ( const FullSpec &  )
staticprotected

◆ handleExistingGeometry()

bool uiSEGYReadFinisher::handleExistingGeometry ( const char *  ,
bool  ,
bool &  ,
bool &  ,
bool &   
)
protected

◆ handleWarnings()

bool uiSEGYReadFinisher::handleWarnings ( bool  ,
SEGY::FileIndexer *  ,
SeisImporter *   
)
protected

◆ initWin()

void uiSEGYReadFinisher::initWin ( CallBacker *  )
protected

◆ inpDomChg()

void uiSEGYReadFinisher::inpDomChg ( CallBacker *  )
protected

◆ outFld()

uiSeisSel* uiSEGYReadFinisher::outFld ( bool  imp)
inlineprotected

◆ putCoordChoiceInSpec()

bool uiSEGYReadFinisher::putCoordChoiceInSpec ( )
protected

◆ setAsDefaultObj()

void uiSEGYReadFinisher::setAsDefaultObj ( )

call only after successful go()

◆ setCoordSystem()

void uiSEGYReadFinisher::setCoordSystem ( Coords::CoordSystem *  )

◆ updateInIOObjPars()

void uiSEGYReadFinisher::updateInIOObjPars ( IOObj &  ,
const IOObj &  outioobj 
)
protected

◆ wllSel()

void uiSEGYReadFinisher::wllSel ( CallBacker *  )
protected

Member Data Documentation

◆ batchfld_

uiBatchJobDispatcherSel* uiSEGYReadFinisher::batchfld_
protected

◆ coordfileextfld_

uiGenInput* uiSEGYReadFinisher::coordfileextfld_
protected

◆ coordfilefld_

uiFileInput* uiSEGYReadFinisher::coordfilefld_
protected

◆ coordsfromfld_

uiComboBox* uiSEGYReadFinisher::coordsfromfld_
protected

◆ coordsstartfld_

uiGenInput* uiSEGYReadFinisher::coordsstartfld_
protected

◆ coordsstepfld_

uiGenInput* uiSEGYReadFinisher::coordsstepfld_
protected

◆ coordsys_

Coords::CoordSystem* uiSEGYReadFinisher::coordsys_ = nullptr
protected

◆ docopyfld_

uiGenInput* uiSEGYReadFinisher::docopyfld_
protected

◆ fs_

FullSpec uiSEGYReadFinisher::fs_
protected

◆ inpdomfld_

uiGenInput* uiSEGYReadFinisher::inpdomfld_
protected

◆ isfeetfld_

uiCheckBox* uiSEGYReadFinisher::isfeetfld_
protected

◆ lnmfld_

uiSeis2DLineNameSel* uiSEGYReadFinisher::lnmfld_
protected

◆ lognmfld_

uiComboBox* uiSEGYReadFinisher::lognmfld_
protected

◆ objname_

BufferString uiSEGYReadFinisher::objname_
protected

◆ outimpfld_

uiSeisSel* uiSEGYReadFinisher::outimpfld_
protected

◆ outputid_

MultiID uiSEGYReadFinisher::outputid_
protected

◆ outscanfld_

uiSeisSel* uiSEGYReadFinisher::outscanfld_
protected

◆ outwllfld_

uiIOObjSel* uiSEGYReadFinisher::outwllfld_
protected

◆ remnullfld_

uiGenInput* uiSEGYReadFinisher::remnullfld_
protected

◆ transffld_

uiSeisTransfer* uiSEGYReadFinisher::transffld_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022