OpendTect-6_4  6.4
uisurvmap.h
Go to the documentation of this file.
1 #ifndef uisurvmap_h
2 #define uisurvmap_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: June 2001
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiiomod.h"
16 #include "uibasemap.h"
17 #include "draw.h"
18 
19 class uiArrowItem;
20 class uiLineItem;
21 class uiMarkerItem;
22 class uiGraphicsItem;
23 class uiPixmapItem;
24 class uiPolygonItem;
25 class uiTextItem;
26 class SurveyInfo;
27 
28 
30 {
31 public:
33 
34  const char* getType() const { return "SurveyBox"; }
35 
36  void update();
37  void setSurveyInfo(const SurveyInfo*);
38  void showLabels(bool yn);
39  bool labelsShown() const;
40 
41  const OD::LineStyle& getLineStyle() const { return ls_; }
42  void setLineStyle(const OD::LineStyle&);
43  void setVisibility(bool);
44 
45 protected:
46 
50 
54 };
55 
56 
58 {
59 public:
61 
62  const char* getType() const { return "NorthArrow"; }
63 
64  void update();
65  void setSurveyInfo(const SurveyInfo*);
66  void setPixelPos(int x,int y);
67 
68 protected:
70 
74 
76 
77  void setVisibility(bool);
78 
79 };
80 
81 
83 {
84 public:
85  uiSurveyMap(uiParent*,bool withtitle=true);
86 
87  void setSurveyInfo(const SurveyInfo*);
88 
89  uiSurveyBoxObject* getSurveyBox() const;
90 
91  static SurveyInfo* getEmptySurvInfo();
92 
93 protected:
96 
98 
99  virtual void reDraw(bool deep=true);
100 };
101 
102 #endif
#define mExpClass(module)
Definition: commondefs.h:160
const SurveyInfo * survinfo_
Definition: uisurvmap.h:97
ObjectSet< uiTextItem > labels_
Definition: uisurvmap.h:49
uiTextItem * title_
Definition: uisurvmap.h:95
Definition: uibasemap.h:75
Definition: uisurvmap.h:57
bool showlabels_
Definition: uisurvmap.h:53
OD::LineStyle ls_
Definition: uisurvmap.h:52
Definition: uigraphicsitemimpl.h:377
uiPolygonItem * frame_
Definition: uisurvmap.h:47
uiTextItem * anglelabel_
Definition: uisurvmap.h:73
Definition: draw.h:118
ObjectSet< uiMarkerItem > vertices_
Definition: uisurvmap.h:48
Definition: uigraphicsitemimpl.h:192
uiSurveyBoxObject * survbox_
Definition: uisurvmap.h:94
Definition: uisurvmap.h:29
Definition: uiparent.h:26
Definition: uigraphicsitemimpl.h:337
Holds survey general information.
Definition: survinfo.h:45
friend class uiSurveyMap
Definition: survinfo.h:191
const SurveyInfo * survinfo_
Definition: uisurvmap.h:75
Definition: uisurvmap.h:82
uiLineItem * angleline_
Definition: uisurvmap.h:72
const char * getType() const
Definition: uisurvmap.h:62
const OD::LineStyle & getLineStyle() const
Definition: uisurvmap.h:41
uiPoint uistartposition_
Definition: uisurvmap.h:69
uiArrowItem * arrow_
Definition: uisurvmap.h:71
Definition: uigraphicsitemimpl.h:172
const char * getType() const
Definition: uisurvmap.h:34
Definition: uigraphicsitemimpl.h:273
const SurveyInfo * survinfo_
Definition: uisurvmap.h:51
Definition: uibasemap.h:25
Definition: basemap.h:30
Definition: uigraphicsitemimpl.h:110

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