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

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