OpendTect-6_4  6.4
uicalcpoly2horvol.h
Go to the documentation of this file.
1 #ifndef uicalcpoly2horvol_h
2 #define uicalcpoly2horvol_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Aug 2008
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiearthmodelmod.h"
16 #include "uidialog.h"
17 class uiIOObjSel;
18 class uiGenInput;
19 class uiCheckList;
20 namespace Pick { class Set; }
21 namespace EM { class Horizon3D; }
22 
23 
26 mExpClass(uiEarthModel) uiCalcHorVol : public uiDialog
28 protected:
29 
31 
35 
36  uiGroup* mkStdGrp();
37 
38  const bool zinft_;
39 
40  void haveChg(CallBacker*);
41  void calcReq(CallBacker*);
42 
43  virtual const Pick::Set* getPickSet() = 0;
44  virtual const EM::Horizon3D* getHorizon() = 0;
45 
46 };
47 
48 
51 mExpClass(uiEarthModel) uiCalcPolyHorVol : public uiCalcHorVol
53 public:
54 
57 
58  const Pick::Set& pickSet() { return ps_; }
59 
60 protected:
61 
63 
64  const Pick::Set& ps_;
66 
67  const Pick::Set* getPickSet() { return &ps_; }
68  const EM::Horizon3D* getHorizon();
69 
70  void horSel(CallBacker*);
71 
72 };
73 
74 
77 mExpClass(uiEarthModel) uiCalcHorPolyVol : public uiCalcHorVol
79 public:
80 
83 
84  const EM::Horizon3D& horizon() { return hor_; }
85 
86 protected:
87 
89 
92 
93  const Pick::Set* getPickSet();
94  const EM::Horizon3D* getHorizon() { return &hor_; }
95 
96  void psSel(CallBacker*);
97 
98 };
99 
100 
101 #endif
Definition: uigroup.h:54
using polygon to calculate to different horizons
Definition: uicalcpoly2horvol.h:51
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
uiIOObjSel * horsel_
Definition: uicalcpoly2horvol.h:62
const Pick::Set & ps_
Definition: uicalcpoly2horvol.h:64
EM::Horizon3D * hor_
Definition: uicalcpoly2horvol.h:65
Pick::Set * ps_
Definition: uicalcpoly2horvol.h:90
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
const EM::Horizon3D & hor_
Definition: uicalcpoly2horvol.h:91
uiGenInput * velfld_
Definition: uicalcpoly2horvol.h:33
mODTextTranslationClass(uiCalcHorVol) protected uiCheckList * optsfld_
Definition: uicalcpoly2horvol.h:27
Group of check boxes. Ensures a certain policy is honored.
Definition: uichecklist.h:34
using horizon to calculate from different levels by polygon
Definition: uicalcpoly2horvol.h:77
UI for calculation of volume at horizons.
Definition: uicalcpoly2horvol.h:26
const EM::Horizon3D & horizon()
Definition: uicalcpoly2horvol.h:84
Definition: uistring.h:89
Definition: uiparent.h:26
Definition: uidialog.h:42
Set of picks with something in common.
Definition: pickset.h:31
uiGenInput * valfld_
Definition: uicalcpoly2horvol.h:34
const Pick::Set & pickSet()
Definition: uicalcpoly2horvol.h:58
General Input Element.
Definition: uigeninput.h:58
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
uiIOObjSel * pssel_
Definition: uicalcpoly2horvol.h:88
const bool zinft_
Definition: uicalcpoly2horvol.h:38
Definition: picklocation.h:21
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
const EM::Horizon3D * getHorizon()
Definition: uicalcpoly2horvol.h:94
3D Horizon. A Horizon is made up of one or more grids (so they can overlap at faults). The grids are defined by knot-points in a matrix and fillstyle in between the knots.
Definition: emhorizon3d.h:96
const Pick::Set * getPickSet()
Definition: uicalcpoly2horvol.h:67

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