OpendTect-6_4  6.4
poly2horvol.h
Go to the documentation of this file.
1 #ifndef poly2horvol_h
2 #define poly2horvol_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 "earthmodelmod.h"
16 #include "gendefs.h"
17 class TaskRunner;
18 namespace Pick { class Set; }
19 namespace EM { class Horizon3D; }
20 
26 {
27 public:
28 
29  Poly2HorVol( const Pick::Set* ps=0, EM::Horizon3D* h=0 )
30  : ps_(ps), hor_(0) { setHorizon(h); }
31  ~Poly2HorVol();
32 
33  const Pick::Set* pickSet() const { return ps_; }
34  EM::Horizon3D* horizon() { return hor_; }
35  void setPickSet( const Pick::Set* ps ) { ps_ = ps; }
36  void setHorizon(EM::Horizon3D*);
37 
38  bool setHorizon(const MultiID&,TaskRunner* tr=0);
39 
40  float getM3(float,bool upward,bool usenegvals);
41  const char* dispText(float m3,bool zinft);
42 
43 protected:
44 
45  const Pick::Set* ps_;
47 
48 };
49 
50 
51 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Calculate volume between horizon and polygon.
Definition: poly2horvol.h:25
EM::Horizon3D * horizon()
Definition: poly2horvol.h:34
EM::Horizon3D * hor_
Definition: poly2horvol.h:46
Set of picks with something in common.
Definition: pickset.h:31
Class that can execute a task.
Definition: task.h:169
void setPickSet(const Pick::Set *ps)
Definition: poly2horvol.h:35
Poly2HorVol(const Pick::Set *ps=0, EM::Horizon3D *h=0)
Definition: poly2horvol.h:29
const Pick::Set * pickSet() const
Definition: poly2horvol.h:33
const Pick::Set * ps_
Definition: poly2horvol.h:45
Definition: picklocation.h:21
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
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
Compound key consisting of ints.
Definition: multiid.h:25

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