OpendTect-6_4  6.4
Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
uiMultiFlatViewControl Class Reference
Inheritance diagram for uiMultiFlatViewControl:
[legend]

Protected Member Functions

bool handleUserClick (int vwridx)
 
void updateZoomManager ()
 Should be called after the viewer is zoomed in/out. More...
 
void rubBandCB (CallBacker *)
 
void parsCB (CallBacker *)
 
void setZoomAreasCB (CallBacker *)
 
void setZoomBoxesCB (CallBacker *)
 
void vwrAdded (CallBacker *)
 
void zoomCB (CallBacker *)
 
void wheelMoveCB (CallBacker *)
 
void pinchZoomCB (CallBacker *)
 
- Protected Member Functions inherited from uiFlatViewStdControl
virtual void finalPrepare ()
 
void clearToolBar ()
 
void updatePosButtonStates ()
 
void updateZoomLevel (float x1pospercm, float x2pospercm)
 
void doZoom (bool zoomin, bool onlyvertzoom, uiFlatViewer &)
 
void setViewToCustomZoomLevel (uiFlatViewer &)
 
virtual void coltabChg (CallBacker *)
 
virtual void dispChgCB (CallBacker *)
 
virtual void zoomChgCB (CallBacker *)
 
virtual void rubBandUsedCB (CallBacker *)
 
virtual void dragModeCB (CallBacker *)
 
void editModeCB (CallBacker *)
 
void flipCB (CallBacker *)
 
void helpCB (CallBacker *)
 
void handDragStarted (CallBacker *)
 
void handDragging (CallBacker *)
 
void handDragged (CallBacker *)
 
void aspectRatioCB (CallBacker *)
 
void keyPressCB (CallBacker *)
 
void homeZoomOptSelCB (CallBacker *)
 
void fitToScreenCB (CallBacker *)
 
void viewScaleBarCB (CallBacker *)
 
virtual void cancelZoomCB (CallBacker *)
 
virtual void gotoHomeZoomCB (CallBacker *)
 
void createMenuCB (CallBacker *)
 
void handleMenuCB (CallBacker *)
 
void setVwrCursor (uiFlatViewer &, const MouseCursor &)
 
- Protected Member Functions inherited from uiFlatViewControl
 uiFlatViewControl (uiFlatViewer &, uiParent *, bool)
 
MouseEventHandlermouseEventHandler (int vwridx, bool ofscene)
 
virtual void onFinalise (CallBacker *)
 
virtual bool canReUseZoomSettings (Geom::Point2D< double >, Geom::Size2D< double >) const
 
virtual void setNewWorldRect (uiFlatViewer &, uiWorldRect &)
 
virtual void dataChangeCB (CallBacker *)
 
virtual void mouseMoveCB (CallBacker *)
 
virtual void usrClickCB (CallBacker *)
 
virtual void propDlgClosed (CallBacker *)
 
virtual void applyProperties (CallBacker *cb)
 
virtual void saveProperties (FlatView::Viewer &)
 
void initZoom (CallBacker *)
 
- Protected Member Functions inherited from uiGroup
virtual uiObjectmainobject ()
 
virtual void attach_ (constraintType, uiObject *oth, int margin=-1, bool reciprocal=true)
 
virtual void reDraw_ (bool deep)
 
void setShrinkAllowed (bool)
 
bool shrinkAllowed ()
 
void bodyDel (CallBacker *)
 
void uiobjDel (CallBacker *)
 
void setFrameStyle (int)
 
void reSizeChildren (const uiObject *, float, float)
 

Protected Attributes

ObjectSet< uiToolBartoolbars_
 
ObjectSet< uiToolButtonparsbuts_
 
ObjectSet< FlatView::AuxDatazoomboxes_
 
MFVCViewManager viewmgr_
 
bool iszoomcoupled_
 
bool drawzoomboxes_
 
uiFlatVieweractivevwr_
 
- Protected Attributes inherited from uiFlatViewStdControl
bool mousepressed_
 
uiPoint mousedownpt_
 
float defx1pospercm_
 
float defx2pospercm_
 
uiToolBartb_
 
uiToolBaredittb_
 
uiToolButtonrubbandzoombut_
 
uiToolButtonzoominbut_
 
uiToolButtonzoomoutbut_
 
uiToolButtonvertzoominbut_
 
uiToolButtonvertzoomoutbut_
 
uiToolButtoncancelzoombut_
 
uiToolButtonsethomezoombut_
 
uiToolButtongotohomezoombut_
 
uiToolButtonscalebarbut_
 
uiToolButtonfittoscrnbut_
 
uiToolButtonparsbut_
 
uiToolButtoneditbut_
 
uiFlatViewervwr_
 
uiFlatViewColTabEdctabed_
 
const Setup setup_
 
uiMenuHandlermenu_
 
MenuItem propertiesmnuitem_
 
HelpKey helpkey_
 
- Protected Attributes inherited from uiFlatViewControl
ObjectSet< uiFlatViewervwrs_
 
FlatView::ZoomMgr zoommgr_
 
bool haverubber_
 
IOPar infopars_
 
uiFlatViewPropDlgpropdlg_
 
- Protected Attributes inherited from uiGroup
uiGroupObjgrpobj_
 
uiGroupParentBodybody_
 

Private Member Functions

mODTextTranslationClass(uiMultiFlatViewControl) public ~uiMultiFlatViewControl ()
 
void setNewView (Geom::Point2D< double > mousepos, Geom::Size2D< double > size, uiFlatViewer *vwr=0)
 
uiToolBargetToolBar (int idx)
 
uiFlatVieweractiveVwr () const
 
bool setActiveVwr (int vwridx)
 
void setZoomCoupled (bool yn)
 
void setDrawZoomBoxes (bool yn)
 
void setViewerType (const uiFlatViewer *vwr, bool isintime)
 
void setD2TModels (const ObjectSet< const TimeDepthModel > &d2t)
 
void setFlattened (bool flattened)
 
uiToolButtonparsButton (const uiFlatViewer *)
 

Additional Inherited Members

- Public Member Functions inherited from uiFlatViewStdControl
 uiFlatViewStdControl (uiFlatViewer &, const Setup &)
 
 ~uiFlatViewStdControl ()
 
virtual uiToolBartoolBar ()
 
uiToolBareditToolBar ()
 
virtual uiFlatViewColTabEdcolTabEd ()
 
void setEditMode (bool yn)
 
float getCurrentPosPerCM (bool forx1) const
 
bool isEditModeOn () const
 
bool isRubberBandOn () const
 
NotifierAccesseditPushed ()
 
- Public Member Functions inherited from uiFlatViewControl
 ~uiFlatViewControl ()
 
void addViewer (uiFlatViewer &)
 No attaching done. Viewer may be in other window. More...
 
void removeViewer (uiFlatViewer &)
 
TypeSet< uiWorldRectgetBoundingBoxes () const
 Returns bounding boxes of all viewers. More...
 
virtual void flip (bool hor)
 reverses uiWorldRect's LR or TB swapping More...
 
virtual void doPropertiesDialog (int vieweridx=0)
 
int getViewerIdx (const MouseEventHandler *, bool ofscene)
 
const FlatView::ZoomMgrzoomMgr () const
 
void reInitZooms ()
 
- Public Member Functions inherited from uiGroup
 uiGroup (uiParent *, const char *nm="uiGroup", bool manage=true)
 
virtual ~uiGroup ()
 
 operator const uiGroupObj * () const
 
 operator uiGroupObj * ()
 
 operator const uiObject & () const
 
 operator uiObject & ()
 
uiObjectattachObj ()
 
const uiObjectattachObj () const
 
uiParentparent ()
 
const uiParentparent () const
 
void setHSpacing (int)
 
void setVSpacing (int)
 
void setSpacing (int s=0)
 
void setBorder (int)
 
void setFrame (bool yn=true)
 
void setNoBackGround ()
 
uiObjecthAlignObj ()
 
void setHAlignObj (uiObject *o)
 
void setHAlignObj (uiGroup *o)
 
uiObjecthCenterObj ()
 
void setHCenterObj (uiObject *o)
 
void setHCenterObj (uiGroup *o)
 
void setIsMain (bool)
 internal use only. Tells the layout manager it's a toplevel mngr. More...
 
virtual uiMainWinmainwin ()
 
void setChildrenSensitive (bool)
 
virtual Notifier< uiBaseObject > & preFinalise ()
 
virtual Notifier< uiBaseObject > & postFinalise ()
 
virtual void setSize (const uiSize &)
 
- 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)
 
virtual void reDraw (bool deep)
 
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 ()
 
- Static Public Member Functions inherited from uiFlatViewStdControl
static void setGlobalZoomLevel (float x1pospercm, float x2pospercm, bool isvertical)
 
static void getGlobalZoomLevel (float &x1pospercm, float &x2pospercm, bool isvertical)
 
- Static Public Member Functions inherited from uiFlatViewControl
static uiWorldRect getZoomOrPanRect (Geom::Point2D< double > mousepos, Geom::Size2D< double > newsz, const uiWorldRect &view, const uiWorldRect &bbox)
 
- Static Public Member Functions inherited from uiGroup
static uiGroupgtDynamicCastToGrp (mQtclass(QWidget *))
 
- Public Attributes inherited from uiFlatViewControl
Notifier< uiFlatViewControlinfoChanged
 
Notifier< uiFlatViewControlviewerAdded
 
Notifier< uiFlatViewControlzoomChanged
 
Notifier< uiFlatViewControlrubberBandUsed
 

Detailed Description

Constructor & Destructor Documentation

mODTextTranslationClass (uiMultiFlatViewControl) public uiMultiFlatViewControl::~uiMultiFlatViewControl ( )
private

Member Function Documentation

uiFlatViewer* uiMultiFlatViewControl::activeVwr ( ) const
inlineprivate
uiToolBar* uiMultiFlatViewControl::getToolBar ( int  idx)
inlineprivate
bool uiMultiFlatViewControl::handleUserClick ( int  vwridx)
protectedvirtual

Reimplemented from uiFlatViewStdControl.

uiToolButton* uiMultiFlatViewControl::parsButton ( const uiFlatViewer )
private
void uiMultiFlatViewControl::parsCB ( CallBacker )
protectedvirtual

Reimplemented from uiFlatViewStdControl.

void uiMultiFlatViewControl::pinchZoomCB ( CallBacker )
protectedvirtual

Reimplemented from uiFlatViewStdControl.

void uiMultiFlatViewControl::rubBandCB ( CallBacker )
protectedvirtual

Reimplemented from uiFlatViewControl.

bool uiMultiFlatViewControl::setActiveVwr ( int  vwridx)
private
void uiMultiFlatViewControl::setD2TModels ( const ObjectSet< const TimeDepthModel > &  d2t)
inlineprivate
void uiMultiFlatViewControl::setDrawZoomBoxes ( bool  yn)
inlineprivate
void uiMultiFlatViewControl::setFlattened ( bool  flattened)
inlineprivate
void uiMultiFlatViewControl::setNewView ( Geom::Point2D< double >  mousepos,
Geom::Size2D< double >  newsize,
uiFlatViewer vwr = 0 
)
privatevirtual

Pass centre instead of mousepos if there is no MouseEvent. Retains uiWorldRect's LR/TB swapping while changing the input to the actual new values. Use for setting new view while zoomin/zoom out only. Makes sure

Parameters
mousepos(pointed by MouseCursor) does not change after changing view and bitmaps are filled in extra available space without changing aspect ratio (if has to be constant) along with needed uiFlatViewer::setBoundingRect(const uiRect&).

Reimplemented from uiFlatViewControl.

void uiMultiFlatViewControl::setViewerType ( const uiFlatViewer vwr,
bool  isintime 
)
inlineprivate
void uiMultiFlatViewControl::setZoomAreasCB ( CallBacker )
protected
void uiMultiFlatViewControl::setZoomBoxesCB ( CallBacker )
protected
void uiMultiFlatViewControl::setZoomCoupled ( bool  yn)
inlineprivate
void uiMultiFlatViewControl::updateZoomManager ( )
protectedvirtual

Should be called after the viewer is zoomed in/out.

Reimplemented from uiFlatViewControl.

void uiMultiFlatViewControl::vwrAdded ( CallBacker )
protectedvirtual

Reimplemented from uiFlatViewStdControl.

void uiMultiFlatViewControl::wheelMoveCB ( CallBacker )
protectedvirtual

Reimplemented from uiFlatViewStdControl.

void uiMultiFlatViewControl::zoomCB ( CallBacker )
protectedvirtual

Reimplemented from uiFlatViewStdControl.

Member Data Documentation

uiFlatViewer* uiMultiFlatViewControl::activevwr_
protected
bool uiMultiFlatViewControl::drawzoomboxes_
protected
bool uiMultiFlatViewControl::iszoomcoupled_
protected
ObjectSet<uiToolButton> uiMultiFlatViewControl::parsbuts_
protected
ObjectSet<uiToolBar> uiMultiFlatViewControl::toolbars_
protected
MFVCViewManager uiMultiFlatViewControl::viewmgr_
protected
ObjectSet<FlatView::AuxData> uiMultiFlatViewControl::zoomboxes_
protected

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