OpendTect-6_4  6.4
uistratsimplelaymoddisp.h
Go to the documentation of this file.
1 #ifndef uistratsimplelaymoddisp_h
2 #define uistratsimplelaymoddisp_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Jan 2012
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uistratmod.h"
16 #include "uistratlaymoddisp.h"
17 class uiLineItem;
18 class uiTextItem;
19 class uiRectItem;
20 class uiFlatViewer;
21 class uiGraphicsScene;
22 class uiGraphicsItemSet;
23 namespace Strat { class LayerSequence; class Content; }
24 
25 
28 public:
29 
33 
34  virtual void modelChanged();
35  virtual void reSetView();
36  virtual uiWorldRect zoomBox() const { return zoomwr_; }
37  virtual void setZoomBox(const uiWorldRect&);
38  virtual float getDisplayZSkip() const;
39 
40  Color levelColor() const { return lvlcol_; }
41  bool& fillLayerBoxes() { return fillmdls_; }
42  bool& useLithColors() { return uselithcols_; }
43 
44 protected:
45 
56 
60  int dispprop_;
61  int dispeach_;
62  bool fillmdls_;
69 
70  void doDraw();
71  void eraseAll();
72  void selPropChgCB(CallBacker*);
73  void selContentChgCB(CallBacker*);
74  void selLevelChgCB(CallBacker*);
75  void dispLithChgCB(CallBacker*);
76  void dispEachChgCB(CallBacker*);
77  void dispZoomedChgCB(CallBacker*);
78  void reDrawAll();
79  void reDrawSeq();
80  void reDrawLevels();
81  void getBounds();
82  void handleClick(bool dble);
83  void handleRightClick(int);
84  void drawLevels(); // deprecated
85  virtual void drawSelectedSequence();
86  void updZoomBox();
87  void updateDataPack();
88  void updateLayerAuxData();
89  void updateLevelAuxData();
90  void updateSelSeqAuxData();
91  int getXPix(int,float) const;
92  void doLayModIO(bool);
93  bool isDisplayedModel(int) const;
94  void removeLayers(Strat::LayerSequence&,int,bool);
95  void forceRedispAll(bool modeledited=false);
96  void doLevelChg();
97  int totalNrLayersToDisplay() const;
98 
99 };
100 
101 
102 #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
A sequence of layers.
Definition: stratlayersequence.h:36
virtual uiWorldRect zoomBox() const
Definition: uistratsimplelaymoddisp.h:36
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
int dispeach_
Definition: uistratsimplelaymoddisp.h:61
FixedString Content()
Definition: keystrs.h:49
uiGraphicsItemSet & lvlitms_
Definition: uistratsimplelaymoddisp.h:50
ObjectSet< FlatView::AuxData > layerads_
Definition: uistratsimplelaymoddisp.h:53
FlatView::AuxData * selseqad_
Definition: uistratsimplelaymoddisp.h:55
FlatDataPack * emptydp_
Definition: uistratsimplelaymoddisp.h:57
bool & fillLayerBoxes()
Definition: uistratsimplelaymoddisp.h:41
uiGraphicsItemSet & logblckrectitms_
Definition: uistratsimplelaymoddisp.h:49
Color lvlcol_
Definition: uistratsimplelaymoddisp.h:59
bool showzoomed_
Definition: uistratsimplelaymoddisp.h:65
uiTextItem * emptyitm_
Definition: uistratsimplelaymoddisp.h:46
uiRectItem * zoomboxitm_
Definition: uistratsimplelaymoddisp.h:47
bool allcontents_
Definition: uistratsimplelaymoddisp.h:67
Definition: uigraphicsitemimpl.h:255
bool fillmdls_
Definition: uistratsimplelaymoddisp.h:62
Definition: stratlayermodel.h:84
uiLineItem * selseqitm_
Definition: uistratsimplelaymoddisp.h:52
uiGraphicsItemSet & contitms_
Definition: uistratsimplelaymoddisp.h:51
Color levelColor() const
Definition: uistratsimplelaymoddisp.h:40
Stratigraphy.
Definition: stratlevel.h:26
bool uselithcols_
Definition: uistratsimplelaymoddisp.h:64
Definition: uistratsimplelaymoddisp.h:26
Definition: uigraphicsitem.h:142
stuff that can be inside porous layers
Definition: stratcontent.h:29
bool & useLithColors()
Definition: uistratsimplelaymoddisp.h:42
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
Interval< float > vrg_
Definition: uistratsimplelaymoddisp.h:68
DataPack for flat data.
Definition: datapackbase.h:64
Definition: uigraphicsitemimpl.h:273
uiWorldRect zoomwr_
Definition: uistratsimplelaymoddisp.h:58
uiGraphicsItemSet & logblcklineitms_
Definition: uistratsimplelaymoddisp.h:48
int dispprop_
Definition: uistratsimplelaymoddisp.h:60
Definition: uistratlaymoddisp.h:47
Fulfills the FlatView::Viewer specifications using &#39;ui&#39; classes.
Definition: uiflatviewer.h:33
const Strat::Content * selectedcontent_
Definition: uistratsimplelaymoddisp.h:66
ObjectSet< FlatView::AuxData > levelads_
Definition: uistratsimplelaymoddisp.h:54
Definition: uistratlaymodtools.h:63
Definition: uigraphicsitemimpl.h:110
Definition: uigraphicsscene.h:39
int selectedlevel_
Definition: uistratsimplelaymoddisp.h:63

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