OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
PreStackView::uiViewer2DMainWin Class Referenceabstract
Inheritance diagram for PreStackView::uiViewer2DMainWin:
[legend]

Public Member Functions

 uiViewer2DMainWin (uiParent *, const char *title)
 
 ~uiViewer2DMainWin ()
 
virtual void start ()
 
virtual void setWinTitle (const uiString &t)
 
virtual uiMainWindockParent ()
 
virtual uiParentviewerParent ()
 
uiViewer2DControlcontrol ()
 
virtual void getGatherNames (BufferStringSet &nms) const =0
 
virtual bool is2D () const
 
bool isStored () const
 
void getStartupPositions (const BinID &bid, const StepInterval< int > &trcrg, bool isinl, TypeSet< BinID > &) const
 
void setAppearance (const FlatView::Appearance &, int appidx=0)
 
const TypeSet< GatherInfo > & gatherInfos () const
 
TypeSet< GatherInfo > & gatherInfos ()
 
- Public Member Functions inherited from uiObjectItemViewWin
 uiObjectItemViewWin (uiParent *, const Setup &)
 
int nrItems () const
 
uiObjectItemViewmainViewer ()
 
void addObject (uiObject *grp, uiObject *infogrp=0)
 
void addGroup (uiGroup *grp, uiGroup *infogrp=0)
 
void removeObject (uiObject *)
 
void removeGroup (uiGroup *)
 
void insertObject (int idx, uiObject *, uiObject *info=0)
 
void insertGroup (int idx, uiGroup *, uiGroup *info=0)
 
void removeAllItems ()
 
virtual void fillPar (IOPar &) const
 
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 ()
 
uiStatusBarstatusBar ()
 
uiMenuBar * menuBar ()
 
void setCaption (const uiString &)
 
const uiStringcaption (bool unique=false) const
 
void setIcon (const uiPixmap &)
 Default icon is set in uiMain. More...
 
void setIconText (const uiString &)
 
virtual void show ()
 
void close ()
 
void raise ()
 
void showMaximized ()
 
void showMinimized ()
 
void showNormal ()
 
bool isMaximized () const
 
bool isMinimized () const
 
bool isHidden () const
 
bool isModal () const
 
void setSensitive (bool yn)
 
void toStatusBar (const uiString &, int fldidx=0, int msecs=-1)
 
virtual void reDraw (bool deep)
 
uiGrouptopGroup ()
 
void setShrinkAllowed (bool yn)
 
bool shrinkAllowed ()
 
void setExitAppOnClose (bool yn)
 automatically set by uiMain::setTopLevel More...
 
void setDeleteOnClose (bool yn)
 
void removeDockWindow (uiDockWin *)
 
void addDockWindow (uiDockWin &, Dock)
 
void addToolBar (uiToolBar *)
 
uiToolBarfindToolBar (const char *)
 
uiToolBarremoveToolBar (uiToolBar *)
 
void addToolBarBreak ()
 
uiMenugetToolbarsMenu () const
 
const ObjectSet< uiToolBar > & toolBars () const
 
const ObjectSet< uiDockWin > & dockWins () const
 
void setPopupArea (PopupArea pa)
 
PopupArea getPopupArea () const
 
void setCornerPos (int x, int y)
 
uiRect geometry (bool frame=true) const
 Position of top-left corner in screen pixel coords. More...
 
bool poppedUp () const
 
bool touch ()
 resets pop-up timer if !poppedUp yet More...
 
bool finalised () const
 
virtual uiMainWinmainwin ()
 
 mQtclass (QWidget *) qWidget() const
 
uiParentparent ()
 
const uiParentparent () const
 
void translateText ()
 
bool grab (const char *filenm, int zoom=1, const char *format=0, int quality=-1) const
 
void activateInGUIThread (const CallBack &, bool busywait=true)
 
void saveImage (const char *fnm, int w, int h, int res)
 
void saveAsPDF (const char *fnm, int w, int h, int res)
 
void saveAsPS (const char *fnm, int w, int h, int res)
 
void copyToClipBoard ()
 
void runScript (const char *filename)
 
const char * getScriptToRun () const
 
- Public Member Functions inherited from uiParent
 uiParent (const char *nm, uiParentBody *)
 
void addChild (uiBaseObject &)
 
void manageChld (uiBaseObject &, uiObjectBody &)
 
void attachChild (constraintType tp, uiObject *child, uiObject *other, int margin, bool reciprocal)
 
const ObjectSet< uiBaseObject > * childList () const
 
uiObjectmainObject ()
 
const uiObjectmainObject () const
 
uiParentBodypbody ()
 
const uiParentBodypbody () const
 
void attach (constraintType t, int margin=-1)
 
void attach (constraintType t, uiParent *oth, int margin=-1, bool reciprocal=true)
 
void attach (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
virtual void display (bool yn, bool shrk=false, bool maximize=false)
 
bool isDisplayed () const
 
void setFocus ()
 
bool hasFocus () const
 
void setSensitive (bool yn=true)
 
bool sensitive () const
 
const uiFontfont () const
 
void setFont (const uiFont &f)
 
void setCaption (const uiString &c)
 
void setCursor (const MouseCursor &c)
 
uiSize actualsize (bool include_border) const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
void setPrefHeight (int h)
 
void setPrefWidth (int w)
 
void setPrefHeightInChar (int h)
 
void setPrefHeightInChar (float h)
 
void setPrefWidthInChar (float w)
 
void setPrefWidthInChar (int w)
 
void shallowRedraw (CallBacker *=0)
 
void deepRedraw (CallBacker *=0)
 
void setStretch (int h, int v)
 
Color backgroundColor () const
 
Color roBackgroundColor () const
 
void setBackgroundColor (const Color &c)
 
void translateText ()
 
- Public Member Functions inherited from uiFlatViewWin
virtual ~uiFlatViewWin ()
 
uiFlatViewerviewer (int idx=0)
 
const uiFlatViewerviewer (int idx=0) const
 
int nrViewers () const
 
void setDarkBG (bool)
 
virtual void addControl (uiFlatViewControl *)
 
virtual void setInitialSize (int w, int h)
 
virtual void fillPar (IOPar &) const
 
virtual void usePar (const IOPar &)
 

Public Attributes

Notifier< uiViewer2DMainWinseldatacalled_
 
- Public Attributes inherited from uiMainWin
Notifier< uiMainWinwindowClosed
 triggered when window exits More...
 
Notifier< uiMainWinactivatedone
 
Notifier< uiMainWinctrlCPressed
 
Notifier< uiMainWinafterPopup
 
Notifier< uiMainWinrunScriptRequest
 

Protected Member Functions

void removeAllGathers ()
 
void reSizeItems ()
 
virtual void setGatherInfo (uiGatherDisplayInfoHeader *info, const GatherInfo &)
 
virtual void setGather (const GatherInfo &pos)
 
void setGatherView (uiGatherDisplay *, uiGatherDisplayInfoHeader *)
 
PreStack::GathergetAngleGather (const PreStack::Gather &gather, const PreStack::Gather &angledata, const Interval< int > &anglerange)
 
DataPack::ID getPreProcessedID (const GatherInfo &)
 
void setGatherforPreProc (const BinID &relbid, const GatherInfo &)
 
void setUpView ()
 
void clearAuxData ()
 
void displayMutes ()
 
void displayInfo (CallBacker *)
 
void doHelp (CallBacker *)
 
virtual void posDlgChgCB (CallBacker *)=0
 
void posDlgPushed (CallBacker *)
 
void posDlgClosed (CallBacker *)
 
void dataDlgPushed (CallBacker *)
 
void showZAxis (CallBacker *)
 
void loadMuteCB (CallBacker *)
 
void snapshotCB (CallBacker *)
 
void preprocessingCB (CallBacker *)
 
void applyPreProcCB (CallBacker *)
 
void propChangedCB (CallBacker *)
 
void prepareNewAppearances (BufferStringSet oldgathernms, BufferStringSet newgathernms)
 
bool getStoredAppearance (PSViewAppearance &) const
 
- Protected Member Functions inherited from uiObjectItemViewWin
void init ()
 
void makeSliders ()
 
void setUpView ()
 
virtual void scaleVal (float &, bool, bool)
 
void addItem (uiObjectItem *itm, uiObjectItem *infoitm=0)
 
void insertItem (int idx, uiObjectItem *, uiObjectItem *info=0)
 
void reSizeCB (CallBacker *)
 
void fitToScreen (CallBacker *)
 
void reSizeSld (CallBacker *)
 
void rubBandCB (CallBacker *)
 
void scrollBarCB (CallBacker *)
 
- Protected Member Functions inherited from uiMainWin
virtual bool closeOK ()
 confirm window close More...
 
 uiMainWin (uiString, uiParent *)
 
uiObjectmainobject ()
 
void saveSettings ()
 
void readSettings ()
 
void saveAsPDF_PS (const char *fnm, bool aspdf, int w, int h, int res)
 
void copyToClipBoardCB (CallBacker *)
 
void aftPopupCB (CallBacker *)
 
void languageChangeCB (CallBacker *)
 
void setForceFinalise (bool)
 
void updateCaption ()
 
- Protected Member Functions inherited from uiParent
virtual void attach_ (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
- Protected Member Functions inherited from uiFlatViewWin
void createViewers (int)
 
void cleanUp ()
 
virtual void handleNewViewer (uiFlatViewer *)
 

Protected Attributes

TypeSet< GatherInfo > gatherinfos_
 
TypeSet< int > dpids_
 
ObjectSet< PreStack::MuteDefmutes_
 
TypeSet< Colormutecolors_
 
TrcKeyZSampling tkzs_
 
uiViewer2DPosDlgposdlg_
 
uiViewer2DControlcontrol_
 
uiObjectItemViewAxisPainteraxispainter_
 
Interval< float > zrg_
 
ObjectSet< uiGatherDisplaygd_
 
ObjectSet< uiGatherDisplayInfoHeadergdi_
 
PreStack::ProcessManagerpreprocmgr_
 
TypeSet< PSViewAppearanceappearances_
 
bool hasangledata_
 
- Protected Attributes inherited from uiObjectItemViewWin
uiObjectItemViewmainviewer_
 
uiObjectItemViewInfoBarinfobar_
 
uiSliderversliderfld_
 
uiSliderhorsliderfld_
 
uiToolButtonfittoscreenbut_
 
uiCheckBoxzoomratiofld_
 
int startwidth_
 
int startheight_
 
int infoheight_
 
float hslval_
 
float vslval_
 
LinScaler scaler_
 
uiSize screensz_
 
bool fittoscreen_
 
- Protected Attributes inherited from uiMainWin
uiMainWinBodybody_
 
uiParentparent_
 
Timerafterpopuptimer_
 
PopupArea popuparea_
 
uiString caption_
 
uiString uniquecaption_
 
int languagechangecount_
 
BufferString scripttorun_
 
- Protected Attributes inherited from uiFlatViewWin
ObjectSet< uiFlatViewervwrs_
 

Private Member Functions

 mODTextTranslationClass (uiViewer2DMainWin)
 

Additional Inherited Members

- Public Types inherited from uiMainWin
enum  Dock {
  Top, Bottom, Right, Left,
  Minimized, TornOff, Unmanaged
}
 Dock Selector. More...
 
enum  PopupArea {
  TopLeft, TopRight, BottomLeft, BottomRight,
  Middle, Auto
}
 
enum  ActModalTyp {
  None =0, Main, Message, File,
  Colour, Font, Unknown
}
 
- Static Public Member Functions inherited from uiObjectItemViewWin
static const char * sKeyHZoomVal ()
 
static const char * sKeyVZoomVal ()
 
- Static Public Member Functions inherited from uiMainWin
static uiMainWinactiveWindow ()
 
static uiMainWingtUiWinIfIsBdy (mQtclass(QWidget *) mwimpl)
 get uiMainWin for mwimpl if it is a uiMainWinBody More...
 
static ActModalTyp activeModalType ()
 
static uiMainWinactiveModalWindow ()
 
static const char * activeModalQDlgTitle ()
 
static const char * activeModalQDlgButTxt (int butnr)
 
static int activeModalQDlgRetVal (int butnr)
 
static void closeActiveModalQDlg (int retval)
 
static void getModalSignatures (BufferStringSet &)
 
static void getTopLevelWindows (ObjectSet< uiMainWin > &, bool visibleonly=true)
 
static uiString uniqueWinTitle (const uiString &, mQtclass(QWidget *) forwindow=0, BufferString *addendum=0)
 
static bool grabScreen (const char *filenm, const char *format=0, int quality=-1, int screen=0)
 
static void programActiveWindow (uiMainWin *)
 
static uiMainWinprogrammedActiveWindow ()
 
- Static Public Member Functions inherited from uiFlatViewWin
static void makeInfoMsg (BufferString &, IOPar &)
 

Detailed Description

Constructor & Destructor Documentation

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

Member Function Documentation

void PreStackView::uiViewer2DMainWin::applyPreProcCB ( CallBacker )
protected
void PreStackView::uiViewer2DMainWin::clearAuxData ( )
protected
uiViewer2DControl* PreStackView::uiViewer2DMainWin::control ( )
inline
void PreStackView::uiViewer2DMainWin::dataDlgPushed ( CallBacker )
protected
void PreStackView::uiViewer2DMainWin::displayInfo ( CallBacker )
protected
void PreStackView::uiViewer2DMainWin::displayMutes ( )
protected
virtual uiMainWin* PreStackView::uiViewer2DMainWin::dockParent ( )
inlinevirtual

Implements uiFlatViewWin.

void PreStackView::uiViewer2DMainWin::doHelp ( CallBacker )
protected
const TypeSet<GatherInfo>& PreStackView::uiViewer2DMainWin::gatherInfos ( ) const
inline
TypeSet<GatherInfo>& PreStackView::uiViewer2DMainWin::gatherInfos ( )
inline
PreStack::Gather* PreStackView::uiViewer2DMainWin::getAngleGather ( const PreStack::Gather gather,
const PreStack::Gather angledata,
const Interval< int > &  anglerange 
)
protected
virtual void PreStackView::uiViewer2DMainWin::getGatherNames ( BufferStringSet nms) const
pure virtual
DataPack::ID PreStackView::uiViewer2DMainWin::getPreProcessedID ( const GatherInfo &  )
protected
void PreStackView::uiViewer2DMainWin::getStartupPositions ( const BinID bid,
const StepInterval< int > &  trcrg,
bool  isinl,
TypeSet< BinID > &   
) const
bool PreStackView::uiViewer2DMainWin::getStoredAppearance ( PSViewAppearance ) const
protected
virtual bool PreStackView::uiViewer2DMainWin::is2D ( ) const
inlinevirtual
bool PreStackView::uiViewer2DMainWin::isStored ( ) const
void PreStackView::uiViewer2DMainWin::loadMuteCB ( CallBacker )
protected
PreStackView::uiViewer2DMainWin::mODTextTranslationClass ( uiViewer2DMainWin  )
private
virtual void PreStackView::uiViewer2DMainWin::posDlgChgCB ( CallBacker )
protectedpure virtual
void PreStackView::uiViewer2DMainWin::posDlgClosed ( CallBacker )
protected
void PreStackView::uiViewer2DMainWin::posDlgPushed ( CallBacker )
protected
void PreStackView::uiViewer2DMainWin::prepareNewAppearances ( BufferStringSet  oldgathernms,
BufferStringSet  newgathernms 
)
protected
void PreStackView::uiViewer2DMainWin::preprocessingCB ( CallBacker )
protected
void PreStackView::uiViewer2DMainWin::propChangedCB ( CallBacker )
protected
void PreStackView::uiViewer2DMainWin::removeAllGathers ( )
protected
void PreStackView::uiViewer2DMainWin::reSizeItems ( )
protectedvirtual

Reimplemented from uiObjectItemViewWin.

void PreStackView::uiViewer2DMainWin::setAppearance ( const FlatView::Appearance ,
int  appidx = 0 
)
virtual void PreStackView::uiViewer2DMainWin::setGather ( const GatherInfo &  pos)
inlineprotectedvirtual
void PreStackView::uiViewer2DMainWin::setGatherforPreProc ( const BinID relbid,
const GatherInfo &   
)
protected
virtual void PreStackView::uiViewer2DMainWin::setGatherInfo ( uiGatherDisplayInfoHeader info,
const GatherInfo &   
)
inlineprotectedvirtual
void PreStackView::uiViewer2DMainWin::setGatherView ( uiGatherDisplay ,
uiGatherDisplayInfoHeader  
)
protected
void PreStackView::uiViewer2DMainWin::setUpView ( )
protected
virtual void PreStackView::uiViewer2DMainWin::setWinTitle ( const uiString t)
inlinevirtual

Implements uiFlatViewWin.

void PreStackView::uiViewer2DMainWin::showZAxis ( CallBacker )
protected
void PreStackView::uiViewer2DMainWin::snapshotCB ( CallBacker )
protected
virtual void PreStackView::uiViewer2DMainWin::start ( )
inlinevirtual

Implements uiFlatViewWin.

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

Implements uiFlatViewWin.

Member Data Documentation

TypeSet<PSViewAppearance> PreStackView::uiViewer2DMainWin::appearances_
protected
uiObjectItemViewAxisPainter* PreStackView::uiViewer2DMainWin::axispainter_
protected
uiViewer2DControl* PreStackView::uiViewer2DMainWin::control_
protected
TypeSet<int> PreStackView::uiViewer2DMainWin::dpids_
protected
TypeSet<GatherInfo> PreStackView::uiViewer2DMainWin::gatherinfos_
protected
ObjectSet<uiGatherDisplay> PreStackView::uiViewer2DMainWin::gd_
protected
ObjectSet<uiGatherDisplayInfoHeader> PreStackView::uiViewer2DMainWin::gdi_
protected
bool PreStackView::uiViewer2DMainWin::hasangledata_
protected
TypeSet<Color> PreStackView::uiViewer2DMainWin::mutecolors_
protected
ObjectSet<PreStack::MuteDef> PreStackView::uiViewer2DMainWin::mutes_
protected
uiViewer2DPosDlg* PreStackView::uiViewer2DMainWin::posdlg_
protected
PreStack::ProcessManager* PreStackView::uiViewer2DMainWin::preprocmgr_
protected
Notifier<uiViewer2DMainWin> PreStackView::uiViewer2DMainWin::seldatacalled_
TrcKeyZSampling PreStackView::uiViewer2DMainWin::tkzs_
protected
Interval<float> PreStackView::uiViewer2DMainWin::zrg_
protected

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