OpendTect-6_4  6.4
uiflatauxdatadisplay.h
Go to the documentation of this file.
1 #ifndef uiflatauxdataeditor_h
2 #define uiflatauxdataeditor_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: K. Tingdahl
8  Date: April 2007
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiflatviewmod.h"
15 #include "flatview.h"
16 
17 class uiFlatViewer;
19 class uiPolygonItem;
20 class uiPolyLineItem;
21 class uiMarkerItem;
22 class uiTextItem;
23 
24 namespace FlatView
25 {
26 
31 mExpClass(uiFlatView) uiAuxDataDisplay : public AuxData, public CallBacker
32 {
33 public:
35 
36  AuxData* clone() const;
37  void setViewer( uiFlatViewer* fv ) { viewer_ = fv; }
38  void touch() { updateCB(0); }
39 
40  uiGraphicsItemGroup* getDisplay();
41  void removeDisplay();
42 
43 protected:
44  friend class ::uiFlatViewer;
45  uiAuxDataDisplay(const char* nm);
47 
48  void removeItems();
49  void updateTransformCB(CallBacker*);
50  void updateCB(CallBacker*);
51 
58 };
59 
60 } // namespace FlatView
61 
62 #endif
#define mExpClass(module)
Definition: commondefs.h:160
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
Definition: uigraphicsitemimpl.h:192
Auxiliary data display of flatviewers.
Definition: uiflatauxdatadisplay.h:31
Definition: uigraphicsitemimpl.h:337
void touch()
Definition: uiflatauxdatadisplay.h:38
uiPolyLineItem * polylineitem_
Definition: uiflatauxdatadisplay.h:54
Definition: uigraphicsitem.h:157
ObjectSet< uiMarkerItem > markeritems_
Definition: uiflatauxdatadisplay.h:55
uiTextItem * nameitem_
Definition: uiflatauxdatadisplay.h:56
void setViewer(uiFlatViewer *fv)
Definition: uiflatauxdatadisplay.h:37
uiFlatViewer * viewer_
Definition: uiflatauxdatadisplay.h:57
uiGraphicsItemGroup * display_
Definition: uiflatauxdatadisplay.h:52
Definition: uigraphicsitemimpl.h:214
uiPolygonItem * polygonitem_
Definition: uiflatauxdatadisplay.h:53
Definition: uigraphicsitemimpl.h:273
Definition: bitmap2rgb.h:18
Fulfills the FlatView::Viewer specifications using &#39;ui&#39; classes.
Definition: uiflatviewer.h:33

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