OpendTect-6_4
6.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
od6.4.5
include
uiFlatView
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
25
mExpClass
(uiFlatView)
AxesDrawer
: public ::
uiGraphicsSceneAxisMgr
26
{
27
public
:
28
AxesDrawer
(
uiFlatViewer
&);
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
42
uiFlatViewer
&
vwr_
;
43
uiRectItem
*
rectitem_
;
44
uiTextItem
*
axis1nm_
;
45
uiTextItem
*
axis2nm_
;
46
uiTextItem
*
titletxt_
;
47
uiArrowItem
*
arrowitem1_
;
48
uiArrowItem
*
arrowitem2_
;
49
uiScaleBarItem
*
scalebaritem_
;
50
uiBorder
extraborder_
;
51
52
void
transformAndSetAuxAnnotation(
bool
forx1);
53
void
setScaleBarWorld2UI(
const
uiWorldRect
&);
54
};
55
56
#endif
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:160
uiScaleBarItem
It adds a graphic scale made from polygons.
Definition:
uigraphicsscalebar.h:27
uiRect
Definition:
uigeom.h:42
AxesDrawer::scalebaritem_
uiScaleBarItem * scalebaritem_
Definition:
flatviewaxesdrawer.h:49
uiArrowItem
Definition:
uigraphicsitemimpl.h:377
AxesDrawer::altdim0_
int altdim0_
Definition:
flatviewaxesdrawer.h:31
AxesDrawer::vwr_
uiFlatViewer & vwr_
Definition:
flatviewaxesdrawer.h:42
AxesDrawer::arrowitem2_
uiArrowItem * arrowitem2_
Definition:
flatviewaxesdrawer.h:48
AxesDrawer::axis1nm_
uiTextItem * axis1nm_
Definition:
flatviewaxesdrawer.h:44
AxesDrawer::extraborder_
uiBorder extraborder_
Definition:
flatviewaxesdrawer.h:50
uigraphicsitemimpl.h
uiRectItem
Definition:
uigraphicsitemimpl.h:255
AxesDrawer::rectitem_
uiRectItem * rectitem_
Definition:
flatviewaxesdrawer.h:43
uiBorder
Definition:
uigeom.h:78
AxesDrawer
Axis drawer for flat viewers.
Definition:
flatviewaxesdrawer.h:25
uiGraphicsSceneAxisMgr
Manages uiGraphicsSceneAxis.
Definition:
uigraphicssceneaxismgr.h:119
uiTextItem
Definition:
uigraphicsitemimpl.h:273
AxesDrawer::arrowitem1_
uiArrowItem * arrowitem1_
Definition:
flatviewaxesdrawer.h:47
AxesDrawer::titletxt_
uiTextItem * titletxt_
Definition:
flatviewaxesdrawer.h:46
uiFlatViewer
Fulfills the FlatView::Viewer specifications using 'ui' classes.
Definition:
uiflatviewer.h:33
uigraphicssceneaxismgr.h
Geom::PosRectangle< double >
AxesDrawer::axis2nm_
uiTextItem * axis2nm_
Definition:
flatviewaxesdrawer.h:45
Generated at for the
OpendTect
seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019