![]() |
OpendTect
6.6
|
Tools to control uiFlatViewer(s). More...
Public Member Functions | |
~uiFlatViewControl () | |
void | addViewer (uiFlatViewer &) |
No attaching done. Viewer may be in other window. More... | |
virtual void | doPropertiesDialog (int vieweridx=0) |
virtual void | flip (bool hor) |
reverses uiWorldRect's LR or TB swapping More... | |
TypeSet< uiWorldRect > | getBoundingBoxes () const |
Returns bounding boxes of all viewers. More... | |
int | getViewerIdx (const MouseEventHandler *, bool ofscene) |
void | reInitZooms () |
void | removeViewer (uiFlatViewer &) |
virtual void | setNewView (Geom::Point2D< double > mousepos, Geom::Size2D< double > newsize, uiFlatViewer *vwr=0) |
const FlatView::ZoomMgr & | zoomMgr () const |
![]() | |
uiGroup (uiParent *, const char *nm="uiGroup", bool manage=true) | |
virtual | ~uiGroup () |
uiObject * | attachObj () |
const uiObject * | attachObj () const |
uiObject * | hAlignObj () |
uiObject * | hCenterObj () |
virtual uiMainWin * | mainwin () |
operator const uiGroupObj * () const | |
operator const uiObject & () const | |
operator uiGroupObj * () | |
operator uiObject & () | |
uiParent * | parent () |
const uiParent * | parent () const |
virtual Notifier< uiBaseObject > & | postFinalise () |
virtual Notifier< uiBaseObject > & | preFinalise () |
void | setBorder (int) |
void | setChildrenSensitive (bool) |
void | setFrame (bool yn=true) |
void | setHAlignObj (uiGroup *o) |
void | setHAlignObj (uiObject *o) |
void | setHCenterObj (uiGroup *o) |
void | setHCenterObj (uiObject *o) |
void | setHSpacing (int) |
void | setIsMain (bool) |
internal use only. Tells the layout manager it's a toplevel mngr. More... | |
void | setNoBackGround () |
virtual void | setSize (const uiSize &) |
void | setSpacing (int s=0) |
void | setVSpacing (int) |
![]() | |
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 |
virtual void | reDraw (bool deep) |
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 () |
![]() | |
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 |
![]() | |
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 |
![]() | |
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 |
![]() | |
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) |
![]() | |
virtual | ~ObjectWithName () |
bool | hasName (const char *nm) const |
bool | hasName (const name_type &nm) const |
void | putNameInPar (IOPar &) const |
Static Public Member Functions | |
static uiWorldRect | getZoomOrPanRect (Geom::Point2D< double > mousepos, Geom::Size2D< double > newsz, const uiWorldRect &view, const uiWorldRect &bbox) |
![]() | |
static uiGroup * | gtDynamicCastToGrp (QWidget *) |
![]() | |
static void | addCmdRecorder (const CallBack &) |
static void | removeCmdRecorder (const CallBack &) |
![]() | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Public Attributes | |
Notifier< uiFlatViewControl > | infoChanged |
Notifier< uiFlatViewControl > | rubberBandUsed |
Notifier< uiFlatViewControl > | viewerAdded |
Notifier< uiFlatViewControl > | zoomChanged |
Protected Member Functions | |
uiFlatViewControl (uiFlatViewer &, uiParent *, bool) | |
virtual void | applyProperties (CallBacker *cb) |
virtual bool | canReUseZoomSettings (Geom::Point2D< double >, Geom::Size2D< double >) const |
virtual void | dataChangeCB (CallBacker *) |
virtual void | finalPrepare () |
virtual void | handDragged (CallBacker *) |
virtual void | handDragging (CallBacker *) |
virtual void | handDragStarted (CallBacker *) |
virtual bool | handleUserClick (int vwridx) |
void | initZoom (CallBacker *) |
virtual void | keyPressCB (CallBacker *) |
MouseEventHandler & | mouseEventHandler (int vwridx, bool ofscene) |
virtual void | mouseMoveCB (CallBacker *) |
virtual void | onFinalise (CallBacker *) |
virtual void | propDlgClosed (CallBacker *) |
virtual void | rubBandCB (CallBacker *) |
virtual void | saveProperties (FlatView::Viewer &) |
virtual void | setNewWorldRect (uiFlatViewer &, uiWorldRect &) |
virtual void | setViewToCustomZoomLevel (uiFlatViewer &) |
virtual void | updateZoomManager () |
virtual void | usrClickCB (CallBacker *) |
virtual void | vwrAdded (CallBacker *) |
![]() | |
virtual void | attach_ (constraintType, uiObject *oth, int margin=-1, bool reciprocal=true) |
void | bodyDel (CallBacker *) |
virtual uiObject * | mainobject () |
virtual void | reDraw_ (bool deep) |
void | reSizeChildren (const uiObject *, float, float) |
void | setFrameStyle (int) |
void | setShrinkAllowed (bool) |
bool | shrinkAllowed () |
void | uiobjDel (CallBacker *) |
![]() | |
uiParent (const char *nm, uiParentBody *) | |
![]() | |
void | setBody (uiBody *b) |
![]() | |
void | sendDelNotif () const |
Protected Attributes | |
bool | haverubber_ |
IOPar | infopars_ |
bool | initdone_ = false |
uiFlatViewPropDlg * | propdlg_ |
ObjectSet< uiFlatViewer > | vwrs_ |
FlatView::ZoomMgr | zoommgr_ |
![]() | |
uiGroupParentBody * | body_ |
uiGroupObj * | grpobj_ |
![]() | |
Notifier< uiBaseObject > | finaliseDone |
triggered when finalising finished More... | |
Notifier< uiBaseObject > | finaliseStart |
triggered when about to start finalising More... | |
![]() | |
Threads::Atomic< bool > | delalreadytriggered_ |
Notifier< NamedCallBacker > | delnotif_ |
![]() | |
BufferString | name_ |
Additional Inherited Members | |
![]() | |
typedef OD::String | name_type |
Tools to control uiFlatViewer(s).
<>
uiFlatViewControl::~uiFlatViewControl | ( | ) |
|
protected |
void uiFlatViewControl::addViewer | ( | uiFlatViewer & | ) |
No attaching done. Viewer may be in other window.
|
protectedvirtual |
Reimplemented in WellTie::uiControlView, and PreStackView::uiViewer2DControl.
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Reimplemented in PreStackView::uiViewer2DControl.
|
inlineprotectedvirtual |
Reimplemented in uiFlatViewStdControl.
|
virtual |
reverses uiWorldRect's LR or TB swapping
TypeSet<uiWorldRect> uiFlatViewControl::getBoundingBoxes | ( | ) | const |
Returns bounding boxes of all viewers.
int uiFlatViewControl::getViewerIdx | ( | const MouseEventHandler * | , |
bool | ofscene | ||
) |
ofscene should be true while passing MouseEventHandler of uiGraphicsScene and false while passing MouseEventHandler of uiGraphicsView.
|
static |
If size of view and newsz differ, zooms in/out the uiWorldRect represented by view (current). Returns the resulting uiWorldRect after shifting it such that it falls inside the bounding box. Pass centre instead of mousepos if there is no MouseEvent. In case of panning, pass the view after translation.
|
inlineprotectedvirtual |
Reimplemented in uiFlatViewStdControl.
|
inlineprotectedvirtual |
Reimplemented in uiFlatViewStdControl.
|
inlineprotectedvirtual |
Reimplemented in uiFlatViewStdControl.
|
inlineprotectedvirtual |
Reimplemented in WellTie::uiControlView, uiMultiFlatViewControl, and uiFlatViewStdControl.
|
protected |
|
inlineprotectedvirtual |
Reimplemented in WellTie::uiControlView, and uiFlatViewStdControl.
|
protected |
Returns MouseEventHandler of uiGraphicsScene if ofscene is true else returns that of uiGraphicsView
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
void uiFlatViewControl::reInitZooms | ( | ) |
void uiFlatViewControl::removeViewer | ( | uiFlatViewer & | ) |
|
protectedvirtual |
Reimplemented in WellTie::uiControlView, and uiMultiFlatViewControl.
|
protectedvirtual |
|
virtual |
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
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&). |
newsize | |
vwr |
Reimplemented in uiMultiFlatViewControl.
|
protectedvirtual |
Sets uiWorldRect that can be filled in available space without changing aspect ratio along with needed uiFlatViewer::setBoundingRect(const uiRect&).
|
inlineprotectedvirtual |
Reimplemented in uiFlatViewStdControl.
|
protectedvirtual |
Reimplemented in uiMultiFlatViewControl.
|
protectedvirtual |
|
inlineprotectedvirtual |
Reimplemented in uiMultiFlatViewControl, and uiFlatViewStdControl.
|
inline |
|
protected |
Notifier<uiFlatViewControl> uiFlatViewControl::infoChanged |
|
protected |
|
protected |
|
protected |
Notifier<uiFlatViewControl> uiFlatViewControl::rubberBandUsed |
Notifier<uiFlatViewControl> uiFlatViewControl::viewerAdded |
|
protected |
Notifier<uiFlatViewControl> uiFlatViewControl::zoomChanged |
|
protected |
Generated at 07/14/2022 09:52:54 for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022