OpendTect  6.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
PreStackView::uiViewer2DMainWin Class Referenceabstract
Inheritance diagram for PreStackView::uiViewer2DMainWin:
[legend]

Public Member Functions

 uiViewer2DMainWin (uiParent *, const char *title)
 
 ~uiViewer2DMainWin ()
 
uiViewer2DControl * control ()
 
virtual uiMainWin * dockParent ()
 
TypeSet< GatherInfo > & gatherInfos ()
 
const TypeSet< GatherInfo > & gatherInfos () const
 
virtual void getGatherNames (BufferStringSet &nms) const =0
 
void getStartupPositions (const BinID &bid, const StepInterval< int > &trcrg, bool isinl, TypeSet< BinID > &) const
 
virtual bool is2D () const
 
bool isStored () const
 
void setAppearance (const FlatView::Appearance &, int appidx=0)
 
virtual void setWinTitle (const uiString &t)
 
virtual void start ()
 
virtual uiParent * viewerParent ()
 
- Public Member Functions inherited from uiObjectItemViewWin
 uiObjectItemViewWin (uiParent *, const Setup &)
 
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)
 
uiObjectItemView * mainViewer ()
 
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 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
 
- Public Member Functions inherited from 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 &)
 
uiFlatViewer & viewer (int idx=0)
 
const uiFlatViewer & viewer (int idx=0) const
 

Public Attributes

Notifier< uiViewer2DMainWin > seldatacalled_
 
- 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
 

Protected Member Functions

void applyPreProcCB (CallBacker *)
 
void clearAuxData ()
 
void dataDlgPushed (CallBacker *)
 
void displayInfo (CallBacker *)
 
void displayMutes ()
 
void doHelp (CallBacker *)
 
PreStack::Gather * getAngleGather (const PreStack::Gather &gather, const PreStack::Gather &angledata, const Interval< int > &anglerange)
 
DataPack::ID getPreProcessedID (const GatherInfo &)
 
bool getStoredAppearance (PSViewAppearance &) const
 
void loadMuteCB (CallBacker *)
 
virtual void posDlgChgCB (CallBacker *)=0
 
void posDlgClosed (CallBacker *)
 
void posDlgPushed (CallBacker *)
 
void prepareNewAppearances (BufferStringSet oldgathernms, BufferStringSet newgathernms)
 
void preprocessingCB (CallBacker *)
 
void propChangedCB (CallBacker *)
 
void removeAllGathers ()
 
void reSizeItems ()
 
virtual void setGather (const GatherInfo &pos)
 
void setGatherforPreProc (const BinID &relbid, const GatherInfo &)
 
virtual void setGatherInfo (uiGatherDisplayInfoHeader *info, 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 *)
 
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
 
- Protected Member Functions inherited from uiFlatViewWin
void cleanUp ()
 
void createViewers (int)
 
virtual void handleNewViewer (uiFlatViewer *)
 

Protected Attributes

TypeSet< PSViewAppearance > appearances_
 
uiObjectItemViewAxisPainter * axispainter_
 
uiViewer2DControl * control_
 
TypeSet< int > dpids_
 
TypeSet< GatherInfo > gatherinfos_
 
ObjectSet< uiGatherDisplay > gd_
 
ObjectSet< uiGatherDisplayInfoHeader > gdi_
 
bool hasangledata_
 
TypeSet< Color > mutecolors_
 
ObjectSet< PreStack::MuteDef > mutes_
 
uiViewer2DPosDlg * posdlg_
 
PreStack::ProcessManager * preprocmgr_
 
TrcKeyZSampling tkzs_
 
Interval< float > zrg_
 
- Protected Attributes inherited from uiObjectItemViewWin
bool fittoscreen_
 
uiToolButton * fittoscreenbut_
 
uiSlider * horsliderfld_
 
float hslval_
 
uiObjectItemViewInfoBar * infobar_
 
int infoheight_
 
uiObjectItemView * mainviewer_
 
LinScaler scaler_
 
uiSize screensz_
 
int startheight_
 
int startwidth_
 
uiSlider * versliderfld_
 
float vslval_
 
uiCheckBox * zoomratiofld_
 
- 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_
 
- Protected Attributes inherited from uiFlatViewWin
ObjectSet< uiFlatViewer > vwrs_
 

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 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 ()
 
- Static Public Member Functions inherited from uiFlatViewWin
static void makeInfoMsg (BufferString &, IOPar &)
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiViewer2DMainWin()

PreStackView::uiViewer2DMainWin::uiViewer2DMainWin ( uiParent *  ,
const char *  title 
)

◆ ~uiViewer2DMainWin()

PreStackView::uiViewer2DMainWin::~uiViewer2DMainWin ( )

Member Function Documentation

◆ applyPreProcCB()

void PreStackView::uiViewer2DMainWin::applyPreProcCB ( CallBacker *  )
protected

◆ clearAuxData()

void PreStackView::uiViewer2DMainWin::clearAuxData ( )
protected

◆ control()

uiViewer2DControl* PreStackView::uiViewer2DMainWin::control ( )
inline

◆ dataDlgPushed()

void PreStackView::uiViewer2DMainWin::dataDlgPushed ( CallBacker *  )
protected

◆ displayInfo()

void PreStackView::uiViewer2DMainWin::displayInfo ( CallBacker *  )
protected

◆ displayMutes()

void PreStackView::uiViewer2DMainWin::displayMutes ( )
protected

◆ dockParent()

virtual uiMainWin* PreStackView::uiViewer2DMainWin::dockParent ( )
inlinevirtual

Implements uiFlatViewWin.

◆ doHelp()

void PreStackView::uiViewer2DMainWin::doHelp ( CallBacker *  )
protected

◆ gatherInfos() [1/2]

TypeSet<GatherInfo>& PreStackView::uiViewer2DMainWin::gatherInfos ( )
inline

◆ gatherInfos() [2/2]

const TypeSet<GatherInfo>& PreStackView::uiViewer2DMainWin::gatherInfos ( ) const
inline

◆ getAngleGather()

PreStack::Gather* PreStackView::uiViewer2DMainWin::getAngleGather ( const PreStack::Gather &  gather,
const PreStack::Gather &  angledata,
const Interval< int > &  anglerange 
)
protected

◆ getGatherNames()

virtual void PreStackView::uiViewer2DMainWin::getGatherNames ( BufferStringSet &  nms) const
pure virtual

◆ getPreProcessedID()

DataPack::ID PreStackView::uiViewer2DMainWin::getPreProcessedID ( const GatherInfo &  )
protected

◆ getStartupPositions()

void PreStackView::uiViewer2DMainWin::getStartupPositions ( const BinID &  bid,
const StepInterval< int > &  trcrg,
bool  isinl,
TypeSet< BinID > &   
) const

◆ getStoredAppearance()

bool PreStackView::uiViewer2DMainWin::getStoredAppearance ( PSViewAppearance &  ) const
protected

◆ is2D()

virtual bool PreStackView::uiViewer2DMainWin::is2D ( ) const
inlinevirtual

◆ isStored()

bool PreStackView::uiViewer2DMainWin::isStored ( ) const

◆ loadMuteCB()

void PreStackView::uiViewer2DMainWin::loadMuteCB ( CallBacker *  )
protected

◆ posDlgChgCB()

virtual void PreStackView::uiViewer2DMainWin::posDlgChgCB ( CallBacker *  )
protectedpure virtual

◆ posDlgClosed()

void PreStackView::uiViewer2DMainWin::posDlgClosed ( CallBacker *  )
protected

◆ posDlgPushed()

void PreStackView::uiViewer2DMainWin::posDlgPushed ( CallBacker *  )
protected

◆ prepareNewAppearances()

void PreStackView::uiViewer2DMainWin::prepareNewAppearances ( BufferStringSet  oldgathernms,
BufferStringSet  newgathernms 
)
protected

◆ preprocessingCB()

void PreStackView::uiViewer2DMainWin::preprocessingCB ( CallBacker *  )
protected

◆ propChangedCB()

void PreStackView::uiViewer2DMainWin::propChangedCB ( CallBacker *  )
protected

◆ removeAllGathers()

void PreStackView::uiViewer2DMainWin::removeAllGathers ( )
protected

◆ reSizeItems()

void PreStackView::uiViewer2DMainWin::reSizeItems ( )
protectedvirtual

Reimplemented from uiObjectItemViewWin.

◆ setAppearance()

void PreStackView::uiViewer2DMainWin::setAppearance ( const FlatView::Appearance &  ,
int  appidx = 0 
)

◆ setGather()

virtual void PreStackView::uiViewer2DMainWin::setGather ( const GatherInfo &  pos)
inlineprotectedvirtual

◆ setGatherforPreProc()

void PreStackView::uiViewer2DMainWin::setGatherforPreProc ( const BinID &  relbid,
const GatherInfo &   
)
protected

◆ setGatherInfo()

virtual void PreStackView::uiViewer2DMainWin::setGatherInfo ( uiGatherDisplayInfoHeader *  info,
const GatherInfo &   
)
inlineprotectedvirtual

◆ setGatherView()

void PreStackView::uiViewer2DMainWin::setGatherView ( uiGatherDisplay *  ,
uiGatherDisplayInfoHeader *   
)
protected

◆ setUpView()

void PreStackView::uiViewer2DMainWin::setUpView ( )
protected

◆ setWinTitle()

virtual void PreStackView::uiViewer2DMainWin::setWinTitle ( const uiString &  t)
inlinevirtual

Implements uiFlatViewWin.

◆ showZAxis()

void PreStackView::uiViewer2DMainWin::showZAxis ( CallBacker *  )
protected

◆ snapshotCB()

void PreStackView::uiViewer2DMainWin::snapshotCB ( CallBacker *  )
protected

◆ start()

virtual void PreStackView::uiViewer2DMainWin::start ( )
inlinevirtual

Implements uiFlatViewWin.

◆ viewerParent()

virtual uiParent* PreStackView::uiViewer2DMainWin::viewerParent ( )
inlinevirtual

Implements uiFlatViewWin.

Member Data Documentation

◆ appearances_

TypeSet<PSViewAppearance> PreStackView::uiViewer2DMainWin::appearances_
protected

◆ axispainter_

uiObjectItemViewAxisPainter* PreStackView::uiViewer2DMainWin::axispainter_
protected

◆ control_

uiViewer2DControl* PreStackView::uiViewer2DMainWin::control_
protected

◆ dpids_

TypeSet<int> PreStackView::uiViewer2DMainWin::dpids_
protected

◆ gatherinfos_

TypeSet<GatherInfo> PreStackView::uiViewer2DMainWin::gatherinfos_
protected

◆ gd_

ObjectSet<uiGatherDisplay> PreStackView::uiViewer2DMainWin::gd_
protected

◆ gdi_

ObjectSet<uiGatherDisplayInfoHeader> PreStackView::uiViewer2DMainWin::gdi_
protected

◆ hasangledata_

bool PreStackView::uiViewer2DMainWin::hasangledata_
protected

◆ mutecolors_

TypeSet<Color> PreStackView::uiViewer2DMainWin::mutecolors_
protected

◆ mutes_

ObjectSet<PreStack::MuteDef> PreStackView::uiViewer2DMainWin::mutes_
protected

◆ posdlg_

uiViewer2DPosDlg* PreStackView::uiViewer2DMainWin::posdlg_
protected

◆ preprocmgr_

PreStack::ProcessManager* PreStackView::uiViewer2DMainWin::preprocmgr_
protected

◆ seldatacalled_

Notifier<uiViewer2DMainWin> PreStackView::uiViewer2DMainWin::seldatacalled_

◆ tkzs_

TrcKeyZSampling PreStackView::uiViewer2DMainWin::tkzs_
protected

◆ zrg_

Interval<float> PreStackView::uiViewer2DMainWin::zrg_
protected

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