OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PreStackView::uiStoredViewer2DMainWin Class Reference
Inheritance diagram for PreStackView::uiStoredViewer2DMainWin:
[legend]

Public Member Functions

 uiStoredViewer2DMainWin (uiParent *, const char *title, bool is2d=false)
 
 ~uiStoredViewer2DMainWin ()
 
void angleDataCB (CallBacker *)
 
void angleGatherCB (CallBacker *)
 
void getGatherNames (BufferStringSet &) const override
 
void getIDs (TypeSet< MultiID > &mids) const
 
void init (const MultiID &, const BinID &bid, bool isinl, const StepInterval< int > &, const char *linename=0)
 
bool is2D () const override
 
const char * lineName () const
 
void setIDs (const TypeSet< MultiID > &)
 
- Public Member Functions inherited from PreStackView::uiViewer2DMainWin
 ~uiViewer2DMainWin ()
 
uiViewer2DControlcontrol ()
 
uiMainWindockParent () override
 
TypeSet< GatherInfo > & gatherInfos ()
 
const TypeSet< GatherInfo > & gatherInfos () const
 
void getStartupPositions (const BinID &bid, const StepInterval< int > &trcrg, bool isinl, TypeSet< BinID > &) const
 
bool isStored () const
 
void setAppearance (const FlatView::Appearance &, int appidx=0)
 
void setWinTitle (const uiString &t) override
 
void start () override
 
uiParentviewerParent () override
 
- Public Member Functions inherited from uiObjectItemViewWin
 uiObjectItemViewWin (uiParent *, const Setup &)
 
 ~uiObjectItemViewWin ()
 
void addGroup (uiGroup *grp, uiGroup *infogrp=0)
 
void addObject (uiObject *grp, uiObject *infogrp=0)
 
virtual void fillPar (IOPar &) const
 
void insertGroup (int idx, uiGroup *, uiGroup *info=0)
 
void insertObject (int idx, uiObject *, uiObject *info=0)
 
uiObjectItemViewmainViewer ()
 
int nrItems () const
 
void removeAllItems ()
 
void removeGroup (uiGroup *)
 
void removeObject (uiObject *)
 
virtual void usePar (const IOPar &)
 
- 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 uiStringcaption (bool unique=false) const
 
void close ()
 
void copyToClipBoard ()
 
const ObjectSet< uiDockWin > & dockWins () const
 
bool finalised () const
 
bool finalized () const
 
uiToolBarfindToolBar (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
 
uiMenugetToolbarsMenu () const
 
bool grab (const char *filenm, int zoom=1, const char *format=0, int quality=-1) const
 
bool isDeleteOnClose () const
 
bool isHidden () const
 
bool isMaximized () const
 
bool isMinimized () const
 
bool isModal () const
 
uiMainWinmainwin () override
 
uiMenuBarmenuBar ()
 
uiParentparent ()
 
const uiParentparent () const
 
bool poppedUp () const
 
QScreen * qScreen () const
 
QWidget * qWidget () const
 
void raise ()
 
void reDraw (bool deep) override
 
void removeDockWindow (uiDockWin *)
 
uiToolBarremoveToolBar (uiToolBar *)
 
void restoreDefaultState ()
 
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, const char *fmt=nullptr, int quality=-1)
 
void saveImage (const char *fnm, int w, int h, int res)
 
void setActivateOnFirstShow (bool yn=true)
 
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 setGeometry (const uiRect &)
 
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 ()
 
uiStatusBarstatusBar ()
 
const ObjectSet< uiToolBar > & toolBars () const
 
uiGrouptopGroup ()
 
void toStatusBar (const uiString &, int fldidx=0, int msecs=-1)
 
bool touch ()
 resets pop-up timer if !poppedUp yet More...
 
void translateText () override
 
- 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)
 
OD::Color backgroundColor () const
 
const ObjectSet< uiBaseObject > * childList () const
 
void deepRedraw (CallBacker *=0)
 
virtual void display (bool yn, bool shrk=false, bool maximize=false)
 
const uiFontfont () const
 
bool hasFocus () const
 
bool isDisplayed () const
 
uiObjectmainObject ()
 
const uiObjectmainObject () const
 
void manageChild (uiBaseObject &, uiObjectBody &)
 
uiParentBodypbody ()
 
const uiParentBodypbody () const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
OD::Color roBackgroundColor () const
 
bool sensitive () const
 
void setBackgroundColor (const OD::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 () override
 
- Public Member Functions inherited from uiBaseObject
 uiBaseObject (const char *nm, uiBody *=0)
 
virtual ~uiBaseObject ()
 
int beginCmdRecEvent (const BufferString &msg)
 
int beginCmdRecEvent (const char *msg=0)
 
int beginCmdRecEvent (od_uint64 id, const char *msg=0)
 
uiBodybody ()
 
const uiBodybody () 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
 
void finalize ()
 
bool finalized () const
 
virtual QWidget * getWidget ()
 
const QWidget * getWidget () const
 
virtual Notifier< uiBaseObject > & postFinalise ()
 
virtual Notifier< uiBaseObject > & postFinalize ()
 
virtual Notifier< uiBaseObject > & preFinalise ()
 
virtual Notifier< uiBaseObject > & preFinalize ()
 
- 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 CallBackertrueCaller ()
 
- 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_typename () const override
 
NamedObjectoperator= (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
 
- Public Member Functions inherited from uiFlatViewWin
 uiFlatViewWin ()
 
virtual ~uiFlatViewWin ()
 
virtual void addControl (uiFlatViewControl *)
 
virtual void fillPar (IOPar &) const
 
int nrViewers () const
 
void setDarkBG (bool)
 
virtual void setInitialSize (int w, int h)
 
virtual void usePar (const IOPar &)
 
uiFlatViewerviewer (int idx=0)
 
const uiFlatViewerviewer (int idx=0) const
 

Protected Member Functions

void convAngleDataToDegrees (PreStack::Gather &) const
 
void displayAngle ()
 
DataPackID getAngleData (DataPackID gatherid)
 
bool getAngleParams ()
 
void posDlgChgCB (CallBacker *) override
 
void posSlcChgCB (CallBacker *)
 
void setGather (const GatherInfo &) override
 
void setGatherInfo (uiGatherDisplayInfoHeader *, const GatherInfo &) override
 
void setUpNewIDs ()
 
void setUpNewPositions (bool isinl, const BinID &posbid, const StepInterval< int > &trcrg)
 
void setUpNewSlicePositions ()
 
- Protected Member Functions inherited from PreStackView::uiViewer2DMainWin
 uiViewer2DMainWin (uiParent *, const char *title, bool hasangledata)
 
void applyPreProcCB (CallBacker *)
 
void clearAuxData ()
 
void dataDlgPushed (CallBacker *)
 
void displayInfo (CallBacker *)
 
void displayMutes ()
 
void doHelp (CallBacker *)
 
PreStack::GathergetAngleGather (const PreStack::Gather &gather, const PreStack::Gather &angledata, const Interval< int > &anglerange)
 
DataPackID getPreProcessedID (const GatherInfo &)
 
bool getStoredAppearance (PSViewAppearance &) const
 
void loadMuteCB (CallBacker *)
 
void posDlgClosed (CallBacker *)
 
void posDlgPushed (CallBacker *)
 
void prepareNewAppearances (BufferStringSet oldgathernms, BufferStringSet newgathernms)
 
void preprocessingCB (CallBacker *)
 
void propChangedCB (CallBacker *)
 
void removeAllGathers ()
 
void reSizeItems () override
 
void setGatherforPreProc (const BinID &relbid, const GatherInfo &)
 
void setGatherView (uiGatherDisplay *, uiGatherDisplayInfoHeader *)
 
void setUpView ()
 
void showZAxis (CallBacker *)
 
void snapshotCB (CallBacker *)
 
- Protected Member Functions inherited from uiObjectItemViewWin
void addItem (uiObjectItem *itm, uiObjectItem *infoitm=0)
 
void fitToScreen (CallBacker *)
 
void init ()
 
void insertItem (int idx, uiObjectItem *, uiObjectItem *info=0)
 
void makeSliders ()
 
void reSizeCB (CallBacker *)
 
void reSizeSld (CallBacker *)
 
void rubBandCB (CallBacker *)
 
virtual void scaleVal (float &, bool, bool)
 
void scrollBarCB (CallBacker *)
 
void setUpView ()
 
- 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 *)
 
uiObjectmainobject () override
 
void readSettings ()
 
void saveAsPDF_PS (const char *fnm, int w, int h, int res)
 
void saveSettings ()
 
void setForceFinalise (bool yn)
 
void setForceFinalize (bool)
 
void updateCaption ()
 
- Protected Member Functions inherited from uiParent
 uiParent (const char *nm, uiParentBody *)
 
 ~uiParent ()
 
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
 
- Protected Member Functions inherited from uiFlatViewWin
void cleanUp ()
 
void createViewers (int)
 
virtual void handleNewViewer (uiFlatViewer *)
 

Protected Attributes

PreStack::AngleCompParamsangleparams_ = nullptr
 
bool doanglegather_ = false
 
bool is2d_
 
BufferString linename_
 
TypeSet< MultiIDmids_
 
uiSlicePos2DViewslicepos_ = nullptr
 
- Protected Attributes inherited from PreStackView::uiViewer2DMainWin
TypeSet< PSViewAppearanceappearances_
 
uiObjectItemViewAxisPainteraxispainter_ = nullptr
 
uiViewer2DControlcontrol_ = nullptr
 
TypeSet< int > dpids_
 
TypeSet< GatherInfogatherinfos_
 
ObjectSet< uiGatherDisplaygd_
 
ObjectSet< uiGatherDisplayInfoHeadergdi_
 
bool hasangledata_
 
TypeSet< OD::Colormutecolors_
 
ObjectSet< PreStack::MuteDefmutes_
 
uiViewer2DPosDlgposdlg_ = nullptr
 
PreStack::ProcessManagerpreprocmgr_ = nullptr
 
TrcKeyZSampling tkzs_
 
Interval< float > zrg_
 
- Protected Attributes inherited from uiObjectItemViewWin
bool fittoscreen_
 
uiToolButtonfittoscreenbut_
 
uiSliderhorsliderfld_
 
float hslval_
 
uiObjectItemViewInfoBarinfobar_
 
int infoheight_
 
uiObjectItemViewmainviewer_
 
LinScaler scaler_
 
uiSize screensz_
 
int startheight_
 
int startwidth_
 
uiSliderversliderfld_
 
float vslval_
 
uiCheckBoxzoomratiofld_
 
- Protected Attributes inherited from uiMainWin
Timerafterpopuptimer_
 
uiMainWinBodybody_
 
uiString caption_
 
int languagechangecount_
 
uiParentparent_
 
PopupArea popuparea_
 
BufferString scripttorun_
 
uiString uniquecaption_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 
- Protected Attributes inherited from uiFlatViewWin
ObjectSet< uiFlatViewervwrs_
 

Additional Inherited Members

- 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 uiObjectItemViewWin
static const char * sKeyHZoomVal ()
 
static const char * sKeyVZoomVal ()
 
- 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 uiMainWinactiveModalWindow ()
 
static uiMainWinactiveWindow ()
 
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 bool grabScreen (const char *filenm, const char *format=0, int quality=-1, QScreen *qscreen=nullptr)
 
static uiMainWingtUiWinIfIsBdy (QWidget *mwimpl)
 get uiMainWin for mwimpl if it is a uiMainWinBody More...
 
static void programActiveWindow (uiMainWin *)
 
static uiMainWinprogrammedActiveWindow ()
 
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 ()
 
- Static Public Member Functions inherited from uiFlatViewWin
static void makeInfoMsg (BufferString &, IOPar &)
 
- Public Attributes inherited from PreStackView::uiViewer2DMainWin
Notifier< uiViewer2DMainWinseldatacalled_
 
- Public Attributes inherited from uiMainWin
Notifier< uiMainWinactivatedone
 
Notifier< uiMainWinafterPopup
 
Notifier< uiMainWinctrlCPressed
 
Notifier< uiMainWinrunScriptRequest
 
Notifier< uiMainWinwindowClosed
 triggered when window exits More...
 
Notifier< uiMainWinwindowHidden
 
Notifier< uiMainWinwindowShown
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiStoredViewer2DMainWin()

PreStackView::uiStoredViewer2DMainWin::uiStoredViewer2DMainWin ( uiParent ,
const char *  title,
bool  is2d = false 
)

◆ ~uiStoredViewer2DMainWin()

PreStackView::uiStoredViewer2DMainWin::~uiStoredViewer2DMainWin ( )

Member Function Documentation

◆ angleDataCB()

void PreStackView::uiStoredViewer2DMainWin::angleDataCB ( CallBacker )

◆ angleGatherCB()

void PreStackView::uiStoredViewer2DMainWin::angleGatherCB ( CallBacker )

◆ convAngleDataToDegrees()

void PreStackView::uiStoredViewer2DMainWin::convAngleDataToDegrees ( PreStack::Gather ) const
protected

◆ displayAngle()

void PreStackView::uiStoredViewer2DMainWin::displayAngle ( )
protected

◆ getAngleData()

DataPackID PreStackView::uiStoredViewer2DMainWin::getAngleData ( DataPackID  gatherid)
protected

◆ getAngleParams()

bool PreStackView::uiStoredViewer2DMainWin::getAngleParams ( )
protected

◆ getGatherNames()

void PreStackView::uiStoredViewer2DMainWin::getGatherNames ( BufferStringSet ) const
overridevirtual

◆ getIDs()

void PreStackView::uiStoredViewer2DMainWin::getIDs ( TypeSet< MultiID > &  mids) const
inline

◆ init()

void PreStackView::uiStoredViewer2DMainWin::init ( const MultiID ,
const BinID bid,
bool  isinl,
const StepInterval< int > &  ,
const char *  linename = 0 
)

◆ is2D()

bool PreStackView::uiStoredViewer2DMainWin::is2D ( ) const
inlineoverridevirtual

Reimplemented from PreStackView::uiViewer2DMainWin.

◆ lineName()

const char* PreStackView::uiStoredViewer2DMainWin::lineName ( ) const
inline

◆ posDlgChgCB()

void PreStackView::uiStoredViewer2DMainWin::posDlgChgCB ( CallBacker )
overrideprotectedvirtual

◆ posSlcChgCB()

void PreStackView::uiStoredViewer2DMainWin::posSlcChgCB ( CallBacker )
protected

◆ setGather()

void PreStackView::uiStoredViewer2DMainWin::setGather ( const GatherInfo )
overrideprotectedvirtual

Reimplemented from PreStackView::uiViewer2DMainWin.

◆ setGatherInfo()

void PreStackView::uiStoredViewer2DMainWin::setGatherInfo ( uiGatherDisplayInfoHeader ,
const GatherInfo  
)
overrideprotectedvirtual

Reimplemented from PreStackView::uiViewer2DMainWin.

◆ setIDs()

void PreStackView::uiStoredViewer2DMainWin::setIDs ( const TypeSet< MultiID > &  )

◆ setUpNewIDs()

void PreStackView::uiStoredViewer2DMainWin::setUpNewIDs ( )
protected

◆ setUpNewPositions()

void PreStackView::uiStoredViewer2DMainWin::setUpNewPositions ( bool  isinl,
const BinID posbid,
const StepInterval< int > &  trcrg 
)
protected

◆ setUpNewSlicePositions()

void PreStackView::uiStoredViewer2DMainWin::setUpNewSlicePositions ( )
protected

Member Data Documentation

◆ angleparams_

PreStack::AngleCompParams* PreStackView::uiStoredViewer2DMainWin::angleparams_ = nullptr
protected

◆ doanglegather_

bool PreStackView::uiStoredViewer2DMainWin::doanglegather_ = false
protected

◆ is2d_

bool PreStackView::uiStoredViewer2DMainWin::is2d_
protected

◆ linename_

BufferString PreStackView::uiStoredViewer2DMainWin::linename_
protected

◆ mids_

TypeSet<MultiID> PreStackView::uiStoredViewer2DMainWin::mids_
protected

◆ slicepos_

uiSlicePos2DView* PreStackView::uiStoredViewer2DMainWin::slicepos_ = nullptr
protected

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