OpendTect-6_4  6.4
uiwelltiecontrolview.h
Go to the documentation of this file.
1 #ifndef uiwelltiecontrolview_h
2 #define uiwelltiecontrolview_h
3 
4 /*+
5  ________________________________________________________________________
6 
7 (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8 Author: Bruno
9 Date: Feb 2009
10 RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiwellattribmod.h"
16 #include "uiflatviewstdcontrol.h"
17 #include "uistring.h"
18 
19 class uiFlatViewer;
20 class uiToolBar;
21 class uiIOObjSelDlg;
22 class uiRect;
23 
24 namespace WellTie
25 {
26 
27 class DispParams;
28 class uiMrkDispDlg;
29 class Server;
30 
33 public:
36  ~uiControlView() { detachAllNotifiers(); }
37 
38  void setSelView(bool isnewsel = true, bool viewall=false );
39 
40  void usePar(const IOPar& iop);
41  void fillPar(IOPar& iop) const;
42 
45 
46 protected:
47 
53 
54  uiMrkDispDlg* mrkrdlg_;
56 
57  bool checkIfInside(double,double);
58  bool handleUserClick(int vwridx);
59 
60  void applyProperties(CallBacker*);
61  void viewChangedCB(CallBacker*);
62  void keyPressCB(CallBacker*);
63  void loadHorizons(CallBacker*);
64  void dispHorMrks(CallBacker*);
65  void rubBandCB(CallBacker*);
66  void reDrawNeeded(CallBacker*);
67  void wheelMoveCB(CallBacker*);
68 
69  friend class uiTieWin;
70 };
71 
72 } // namespace WellTie
73 
74 #endif
Server & server_
Definition: uiwelltiecontrolview.h:55
Definition: uitoolbar.h:31
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: uigeom.h:42
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Notifier< uiControlView > redrawNeeded
Definition: uiwelltiecontrolview.h:43
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
uiToolButton * horbut_
Definition: uiwelltiecontrolview.h:49
Definition: uiparent.h:26
Definition: welltiecshot.h:21
uiToolButton * hormrkdispbut_
Definition: uiwelltiecontrolview.h:50
Definition: uiioobjseldlg.h:35
Definition: callback.h:254
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
The standard tools to control uiFlatViewer(s).
Definition: uiflatviewstdcontrol.h:54
Notifier< uiControlView > redrawAnnotNeeded
Definition: uiwelltiecontrolview.h:44
Definition: uiwelltietoseismicdlg.h:50
uiMrkDispDlg * mrkrdlg_
Definition: uiwelltiecontrolview.h:54
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Definition: uiwelltiecontrolview.h:31
uiIOObjSelDlg * selhordlg_
Definition: uiwelltiecontrolview.h:51
Definition: uitoolbutton.h:22
uiToolBar * toolbar_
Definition: uiwelltiecontrolview.h:48
uiWorldRect curview_
Definition: uiwelltiecontrolview.h:52
Fulfills the FlatView::Viewer specifications using &#39;ui&#39; classes.
Definition: uiflatviewer.h:33
~uiControlView()
Definition: uiwelltiecontrolview.h:36
Definition: welltiedata.h:236

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