![]() |
OpendTect-6_4
6.4
|
Fulfills the FlatView::Viewer specifications using 'ui' classes. More...
Public Member Functions | |
| uiFlatViewer (uiParent *) | |
| ~uiFlatViewer () | |
| void | setInitialSize (const uiSize &) |
| int | getAnnotChoices (BufferStringSet &) const |
| void | setAnnotChoice (int) |
| MouseEventHandler & | getMouseEventHandler () |
| uiGraphicsView & | rgbCanvas () |
| void | setView (const uiWorldRect &) |
| void | setViewToBoundingBox () |
| const uiWorldRect & | curView () const |
| StepInterval< double > | posRange (bool forx1) const |
| uiWorldRect | boundingBox () const |
| const uiWorld2Ui & | getWorld2Ui () const |
| uiRect | getViewRect (bool withextraborders=true) const |
| uiBorder | getAnnotBorder () const |
| void | setBoundingRect (const uiRect &) |
| void | setExtraBorders (const uiSize <, const uiSize &rb) |
| void | setExtraFactor (float f) |
| void | updateBitmapsOnResize (bool yn) |
| bool | updatesBitmapsOnResize () const |
| void | handleChange (unsigned int) |
| void | setSeisGeomidsToViewer (TypeSet< Pos::GeomID > &) |
| FlatView::AuxData * | createAuxData (const char *nm) const |
| int | nrAuxData () const |
| FlatView::AuxData * | getAuxData (int idx) |
| const FlatView::AuxData * | getAuxData (int idx) const |
| void | addAuxData (FlatView::AuxData *a) |
| FlatView::AuxData * | removeAuxData (FlatView::AuxData *a) |
| FlatView::AuxData * | removeAuxData (int idx) |
| void | reGenerate (FlatView::AuxData &) |
| uiFlatViewControl * | control () |
| void | setUseSelDataRanges (bool yn) |
| void | setSelDataRanges (Interval< double >, Interval< double >) |
| const Interval< double > & | getSelDataRange (bool forx) const |
| const FlatPosData * | getFlatPosData (bool iswva) |
| uiBitMapDisplay * | bitmapDisp () |
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 & () | |
| uiObject * | attachObj () |
| const uiObject * | attachObj () const |
| uiParent * | parent () |
| const uiParent * | parent () const |
| void | setHSpacing (int) |
| void | setVSpacing (int) |
| void | setSpacing (int s=0) |
| void | setBorder (int) |
| void | setFrame (bool yn=true) |
| void | setNoBackGround () |
| uiObject * | hAlignObj () |
| void | setHAlignObj (uiObject *o) |
| void | setHAlignObj (uiGroup *o) |
| uiObject * | hCenterObj () |
| 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 uiMainWin * | mainwin () |
| 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 |
| uiObject * | mainObject () |
| const uiObject * | mainObject () const |
| uiParentBody * | pbody () |
| const uiParentBody * | pbody () 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 uiFont * | font () 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 () |
Public Member Functions inherited from FlatView::Viewer | |
| Viewer () | |
| virtual | ~Viewer () |
| virtual Appearance & | appearance () |
| const Appearance & | appearance () const |
| ZAxisTransform * | getZAxisTransform () const |
| bool | setZAxisTransform (ZAxisTransform *) |
| bool | hasZAxisTransform () const |
| void | addPack (::DataPack::ID) |
| void | usePack (bool wva,::DataPack::ID, bool usedefs=true) |
| Does not add new packs, just selects from added. More... | |
| void | removePack (::DataPack::ID) |
| Releases DataPack after removing from the list. More... | |
| void | setPack (bool wva,::DataPack::ID id, bool usedefs=true) |
| void | clearAllPacks () |
| const FlatDataPack * | obtainPack (bool wva, bool checkother=false) const |
| bool | hasPack (bool wva) const |
| DataPack::ID | packID (bool wva) const |
| const TypeSet< ::DataPack::ID > & | availablePacks () const |
| virtual bool | isVertical () const |
| bool | isVisible (bool wva) const |
| void | setVisible (bool wva, bool visibility) |
| Coord3 | getCoord (const Point &) const |
| virtual void | fillAppearancePar (IOPar &iop) const |
| Does not store any data, just how data is displayed. More... | |
| virtual void | useAppearancePar (const IOPar &iop) |
| void | storeDefaults (const char *key) const |
| void | useStoredDefaults (const char *key) |
| void | getAuxInfo (const Point &, IOPar &) const |
| virtual void | showAuxDataObjects (AuxData &, bool) |
| virtual void | updateProperties (const AuxData &) |
| virtual void | remove (const AuxData &) |
| StepInterval< double > | getDataPackRange (bool forx1) const |
| virtual Interval< float > | getDataRange (bool wva) const |
| void | removeAuxDatas (ObjectSet< AuxData > &) |
| void | removeAllAuxData () |
| virtual int | getAnnotChoice (BufferStringSet &) const |
| void | enableStatusBarUpdate () |
| void | disableStatusBarUpdate () |
| bool | needStatusBarUpdate () const |
| void | setSeisGeomidsToViewer (TypeSet< Pos::GeomID > &) |
| const TypeSet< Pos::GeomID > & | getAllSeisGeomids () const |
| void | setZDomain (const ZDomain::Def &) |
| const ZDomain::Info & | zDomain () const |
Static Public Member Functions | |
| static int | bitMapZVal () |
| static int | auxDataZVal () |
| static int | annotZVal () |
Static Public Member Functions inherited from uiGroup | |
| static uiGroup * | gtDynamicCastToGrp (mQtclass(QWidget *)) |
Public Attributes | |
| Notifier< uiFlatViewer > | viewChanged |
| setView called More... | |
| Notifier< uiFlatViewer > | dataChanged |
| new DataPack set More... | |
| Notifier< uiFlatViewer > | dispParsChanged |
| Triggered with each bitmap update. More... | |
| Notifier< uiFlatViewer > | annotChanged |
| Annotation changed. More... | |
| Notifier< uiFlatViewer > | dispPropChanged |
| Triggered with property dlg change. More... | |
Protected Member Functions | |
| void | updateCB (CallBacker *) |
| void | updateAnnotCB (CallBacker *) |
| void | updateBitmapCB (CallBacker *) |
| void | updateAuxDataCB (CallBacker *) |
| uiWorldRect | getBoundingBox (bool wva) const |
| void | reSizeCB (CallBacker *) |
| void | updateTransforms () |
| void | rangeUpdatedCB (CallBacker *) |
Protected Member Functions inherited from uiGroup | |
| virtual uiObject * | mainobject () |
| 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 Member Functions inherited from FlatView::Viewer | |
| void | addAuxInfo (bool, const Point &, IOPar &) const |
Protected Attributes | |
| uiGraphicsView * | view_ |
| AxesDrawer & | axesdrawer_ |
| Must be declared after canvas_. More... | |
| uiWorldRect | wr_ |
| uiGraphicsItemGroup * | worldgroup_ |
| uiWorld2Ui | w2ui_ |
| uiBitMapDisplay * | bitmapdisp_ |
| Threads::Atomic< bool > | updateannot_ |
| Threads::Atomic< bool > | updatebitmap_ |
| Threads::Atomic< bool > | updateauxdata_ |
| bool | updatebitmapsonresize_ |
| float | extfac_ |
| uiFlatViewControl * | control_ |
| Interval< double > | xseldatarange_ |
| Interval< double > | yseldatarange_ |
| bool | useseldataranges_ |
| ObjectSet< FlatView::uiAuxDataDisplay > | auxdata_ |
Protected Attributes inherited from uiGroup | |
| uiGroupObj * | grpobj_ |
| uiGroupParentBody * | body_ |
Protected Attributes inherited from FlatView::Viewer | |
| TypeSet< ::DataPack::ID > | ids_ |
| Appearance * | defapp_ |
| DataPackMgr & | dpm_ |
| ZAxisTransform * | datatransform_ |
| FlatView_CB_Rcvr * | cbrcvr_ |
| Threads::Lock | lock_ |
| bool | needstatusbarupd_ |
| ZDomain::Info * | zdinfo_ |
Friends | |
| class | uiFlatViewControl |
Additional Inherited Members | |
Public Types inherited from FlatView::Viewer | |
| enum | DataChangeType { All =0xFFFFFFFF, BitmapData =0x0001, DisplayPars =0x0002, Annot =0x0004, Auxdata =0x0008 } |
Fulfills the FlatView::Viewer specifications using 'ui' classes.
| uiFlatViewer::uiFlatViewer | ( | uiParent * | ) |
| uiFlatViewer::~uiFlatViewer | ( | ) |
|
virtual |
Implements FlatView::Viewer.
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinestatic |
| uiWorldRect uiFlatViewer::boundingBox | ( | ) | const |
|
inline |
|
virtual |
Implements FlatView::Viewer.
|
inline |
May be reversed if display is reversed.
| uiBorder uiFlatViewer::getAnnotBorder | ( | ) | const |
| int uiFlatViewer::getAnnotChoices | ( | BufferStringSet & | ) | const |
|
virtual |
Implements FlatView::Viewer.
|
virtual |
Implements FlatView::Viewer.
|
protected |
| const FlatPosData* uiFlatViewer::getFlatPosData | ( | bool | iswva | ) |
| MouseEventHandler& uiFlatViewer::getMouseEventHandler | ( | ) |
|
inline |
| uiRect uiFlatViewer::getViewRect | ( | bool | withextraborders = true | ) | const |
The rectangle onto which wr_ is projected
|
inline |
|
virtual |
| datachangetype | can be any combination of DataChangeType. |
Implements FlatView::Viewer.
|
virtual |
Implements FlatView::Viewer.
| StepInterval<double> uiFlatViewer::posRange | ( | bool | forx1 | ) | const |
|
protected |
|
virtual |
Reimplemented from FlatView::Viewer.
|
virtual |
Implements FlatView::Viewer.
|
virtual |
Implements FlatView::Viewer.
|
protected |
|
inline |
|
virtual |
Reimplemented from FlatView::Viewer.
| void uiFlatViewer::setBoundingRect | ( | const uiRect & | ) |
Sets extra borders on the right and at the bottom if boundingrect is smaller than getViewRect(false). Extraborders set will be same as their differences in width and height.
|
inline |
when reporting boundingBox(), extends this amount of positions outward. Default 0.5.
| void uiFlatViewer::setInitialSize | ( | const uiSize & | ) |
| void uiFlatViewer::setSeisGeomidsToViewer | ( | TypeSet< Pos::GeomID > & | ) |
|
inline |
| void uiFlatViewer::setView | ( | const uiWorldRect & | ) |
| void uiFlatViewer::setViewToBoundingBox | ( | ) |
|
protected |
|
protected |
|
protected |
|
inline |
If true, will resize bitmaps as per the size of the window without maintaining the aspect ratio. Else it is the responsibility of the programmer to change view on resize.
|
protected |
|
inline |
|
protected |
|
friend |
| Notifier<uiFlatViewer> uiFlatViewer::annotChanged |
Annotation changed.
|
protected |
|
protected |
Must be declared after canvas_.
|
protected |
|
protected |
| Notifier<uiFlatViewer> uiFlatViewer::dataChanged |
new DataPack set
| Notifier<uiFlatViewer> uiFlatViewer::dispParsChanged |
Triggered with each bitmap update.
| Notifier<uiFlatViewer> uiFlatViewer::dispPropChanged |
Triggered with property dlg change.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| Notifier<uiFlatViewer> uiFlatViewer::viewChanged |
setView called
|
protected |
|
protected |
|
protected |
May be reversed if display is reversed.
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019