14 #include "uiflatviewmod.h" 20 namespace FlatView {
class uiAuxDataDisplay; }
40 void setInitialSize(
const uiSize&);
43 void setAnnotChoice(
int);
49 void setViewToBoundingBox();
56 uiRect getViewRect(
bool withextraborders=
true)
const;
60 void setBoundingRect(
const uiRect&);
70 { updatebitmapsonresize_ = yn; }
76 {
return updatebitmapsonresize_; }
78 void handleChange(
unsigned int);
82 int nrAuxData()
const;
104 {
return forx ? xseldatarange_ : yseldatarange_; }
138 void updateTransforms();
Class to provide coordinate conversion between a cartesian coordinate system (or any other transforme...
Definition: uiworld2ui.h:55
void setUseSelDataRanges(bool yn)
Definition: uiflatviewer.h:101
#define mExpClass(module)
Definition: commondefs.h:160
Notifier< uiFlatViewer > dataChanged
new DataPack set
Definition: uiflatviewer.h:91
Class that represents non-bitmap data to be displayed in a flatviewer, such as markers, lines and more.
Definition: flatview.h:34
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
AxesDrawer & axesdrawer_
Must be declared after canvas_.
Definition: uiflatviewer.h:115
Positioning of flat 'bulk' data. Only the 'x1' axis can be irregular.
Definition: flatposdata.h:26
uiWorld2Ui w2ui_
Definition: uiflatviewer.h:119
Notifier< uiFlatViewer > annotChanged
Annotation changed.
Definition: uiflatviewer.h:94
uiFlatViewControl * control_
Definition: uiflatviewer.h:140
Notifier< uiFlatViewer > dispParsChanged
Triggered with each bitmap update.
Definition: uiflatviewer.h:92
Interval< double > yseldatarange_
Definition: uiflatviewer.h:144
const uiWorld2Ui & getWorld2Ui() const
Definition: uiflatviewer.h:55
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
MouseEventHandler & getMouseEventHandler()
static int auxDataZVal()
Definition: uiflatviewer.h:106
Threads::Atomic< bool > updateauxdata_
Definition: uiflatviewer.h:125
bool updatebitmapsonresize_
Definition: uiflatviewer.h:135
ObjectSet< FlatView::uiAuxDataDisplay > auxdata_
Definition: uiflatviewer.h:147
Notifier< uiFlatViewer > viewChanged
setView called
Definition: uiflatviewer.h:90
uiBitMapDisplay * bitmapDisp()
Definition: uiflatviewer.h:150
Definition: uigraphicsitem.h:157
bool useseldataranges_
Definition: uiflatviewer.h:145
uiFlatViewControl * control()
Definition: uiflatviewer.h:98
static int annotZVal()
Definition: uiflatviewer.h:107
static int bitMapZVal()
Definition: uiflatviewer.h:105
float extfac_
Definition: uiflatviewer.h:136
uiGraphicsView * view_
Definition: uiflatviewer.h:114
void setExtraFactor(float f)
Definition: uiflatviewer.h:66
uiWorldRect wr_
Definition: uiflatviewer.h:116
Interval< double > xseldatarange_
Definition: uiflatviewer.h:143
Definition: mouseevent.h:162
Tools to control uiFlatViewer(s).
Definition: uiflatviewcontrol.h:29
void updateBitmapsOnResize(bool yn)
Definition: uiflatviewer.h:69
const Interval< double > & getSelDataRange(bool forx) const
Definition: uiflatviewer.h:103
const uiWorldRect & curView() const
Definition: uiflatviewer.h:50
Takes the flat-data from a FlatViewer and puts it into a uiGraphicsItem.
Definition: uibitmapdisplay.h:33
Axis drawer for flat viewers.
Definition: flatviewaxesdrawer.h:25
uiBitMapDisplay * bitmapdisp_
Definition: uiflatviewer.h:121
Definition: uigraphicsview.h:51
uiGraphicsView & rgbCanvas()
Definition: uiflatviewer.h:46
Threads::Atomic< bool > updatebitmap_
Definition: uiflatviewer.h:124
Definition: bitmap2rgb.h:18
Fulfills the FlatView::Viewer specifications using 'ui' classes.
Definition: uiflatviewer.h:33
bool updatesBitmapsOnResize() const
Definition: uiflatviewer.h:75
uiGraphicsItemGroup * worldgroup_
Definition: uiflatviewer.h:118
Notifier< uiFlatViewer > dispPropChanged
Triggered with property dlg change.
Definition: uiflatviewer.h:95
Threads::Atomic< bool > updateannot_
Definition: uiflatviewer.h:123