OpendTect-6_4  6.4
flatviewaxesdrawer.h
Go to the documentation of this file.
1 #ifndef flatviewaxesdrawer_h
2 #define flatviewaxesdrawer_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: Mar 2007
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiflatviewmod.h"
15 #include "uigraphicsitemimpl.h"
16 #include "uigraphicssceneaxismgr.h"
17 
18 class uiFlatViewer;
19 class uiScaleBarItem;
20 
26 {
27 public:
29  ~AxesDrawer();
30 
31  int altdim0_;
32  void updateScene();
33  void setZValue(int z);
34  void updateViewRect();
35  uiRect getViewRect(bool withextraborders=true) const;
36  void setWorldCoords(const uiWorldRect&);
37  void setExtraBorder(const uiBorder&);
38  uiBorder getAnnotBorder(bool withextraborders=true) const;
39 
40 protected:
41 
51 
52  void transformAndSetAuxAnnotation(bool forx1);
53  void setScaleBarWorld2UI(const uiWorldRect&);
54 };
55 
56 #endif
#define mExpClass(module)
Definition: commondefs.h:160
It adds a graphic scale made from polygons.
Definition: uigraphicsscalebar.h:27
Definition: uigeom.h:42
uiScaleBarItem * scalebaritem_
Definition: flatviewaxesdrawer.h:49
Definition: uigraphicsitemimpl.h:377
int altdim0_
Definition: flatviewaxesdrawer.h:31
uiFlatViewer & vwr_
Definition: flatviewaxesdrawer.h:42
uiArrowItem * arrowitem2_
Definition: flatviewaxesdrawer.h:48
uiTextItem * axis1nm_
Definition: flatviewaxesdrawer.h:44
uiBorder extraborder_
Definition: flatviewaxesdrawer.h:50
Definition: uigraphicsitemimpl.h:255
uiRectItem * rectitem_
Definition: flatviewaxesdrawer.h:43
Definition: uigeom.h:78
Axis drawer for flat viewers.
Definition: flatviewaxesdrawer.h:25
Manages uiGraphicsSceneAxis.
Definition: uigraphicssceneaxismgr.h:119
Definition: uigraphicsitemimpl.h:273
uiArrowItem * arrowitem1_
Definition: flatviewaxesdrawer.h:47
uiTextItem * titletxt_
Definition: flatviewaxesdrawer.h:46
Fulfills the FlatView::Viewer specifications using 'ui' classes.
Definition: uiflatviewer.h:33
uiTextItem * axis2nm_
Definition: flatviewaxesdrawer.h:45

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