OpendTect  6.3
uicalcpoly2horvol.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: Bert
8  Date: Aug 2008
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiearthmodelmod.h"
14 #include "uidialog.h"
15 #include "pickset.h"
16 
17 class uiConstantVel;
18 class uiIOObjSel;
19 class uiPickSetIOObjSel;
20 class uiGenInput;
21 class uiCheckList;
22 namespace EM { class Horizon3D; }
23 
24 
27 mExpClass(uiEarthModel) uiCalcHorVol : public uiDialog
29 protected:
30 
32 
36 
37  uiGroup* mkStdGrp();
38 
39  const bool zinft_;
40 
41  void haveChg(CallBacker*);
42  void calcReq(CallBacker*);
43 
44  virtual const Pick::Set* getPickSet() = 0;
45  virtual const EM::Horizon3D* getHorizon() = 0;
46 
47 };
48 
49 
52 mExpClass(uiEarthModel) uiCalcPolyHorVol : public uiCalcHorVol
54 public:
55 
58 
59  const Pick::Set& pickSet() { return ps_; }
60 
61 protected:
62 
64 
65  const Pick::Set& ps_;
67 
68  const Pick::Set* getPickSet() { return &ps_; }
69  const EM::Horizon3D* getHorizon();
70 
71  void horSel(CallBacker*);
72 
73 };
74 
75 
78 mExpClass(uiEarthModel) uiCalcHorPolyVol : public uiCalcHorVol
80 public:
81 
84 
85  const EM::Horizon3D& horizon() { return hor_; }
86 
87 protected:
88 
90 
93 
94  const Pick::Set* getPickSet();
95  const EM::Horizon3D* getHorizon() { return &hor_; }
96 
97  void psSel(CallBacker*);
98 
99 };
Definition: uigroup.h:53
using polygon to calculate to different horizons
Definition: uicalcpoly2horvol.h:52
#define mExpClass(module)
Definition: commondefs.h:157
uiPickSetIOObjSel * pssel_
Definition: uicalcpoly2horvol.h:89
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
uiIOObjSel * horsel_
Definition: uicalcpoly2horvol.h:63
const Pick::Set & ps_
Definition: uicalcpoly2horvol.h:65
Definition: uiconstvel.h:28
EM::Horizon3D * hor_
Definition: uicalcpoly2horvol.h:66
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
const EM::Horizon3D & hor_
Definition: uicalcpoly2horvol.h:92
mODTextTranslationClass(uiCalcHorVol) protected uiCheckList * optsfld_
Definition: uicalcpoly2horvol.h:28
Group of check boxes. Ensures a certain policy is honored.
Definition: uichecklist.h:32
using horizon to calculate from different levels by polygon
Definition: uicalcpoly2horvol.h:78
UI for calculation of volume at horizons.
Definition: uicalcpoly2horvol.h:27
const EM::Horizon3D & horizon()
Definition: uicalcpoly2horvol.h:85
Definition: uistring.h:88
Definition: uiparent.h:24
uiConstantVel * velfld_
Definition: uicalcpoly2horvol.h:34
Definition: uidialog.h:40
Monitorable set of pick locations.
Definition: pickset.h:41
uiGenInput * valfld_
Definition: uicalcpoly2horvol.h:35
const Pick::Set & pickSet()
Definition: uicalcpoly2horvol.h:59
ConstRefMan< Pick::Set > ps_
Definition: uicalcpoly2horvol.h:91
selects pick set or polygon.
Definition: uipicksetsel.h:22
General Input Element.
Definition: uigeninput.h:56
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:36
const bool zinft_
Definition: uicalcpoly2horvol.h:39
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:23
const EM::Horizon3D * getHorizon()
Definition: uicalcpoly2horvol.h:95
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:94
const Pick::Set * getPickSet()
Definition: uicalcpoly2horvol.h:68

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