OpendTect  6.3
poly2horvol.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 "earthmodelmod.h"
14 #include "gendefs.h"
15 class TaskRunner;
16 namespace Pick { class Set; }
17 namespace EM { class Horizon3D; }
18 
24 {
25 public:
26 
27  Poly2HorVol( const Pick::Set* ps=0, EM::Horizon3D* h=0 )
28  : ps_(ps), hor_(0) { setHorizon(h); }
29  ~Poly2HorVol();
30 
31  const Pick::Set* pickSet() const { return ps_; }
32  EM::Horizon3D* horizon() { return hor_; }
33  void setPickSet( const Pick::Set* ps ) { ps_ = ps; }
34  void setHorizon(EM::Horizon3D*);
35 
36  bool setHorizon(const DBKey&,TaskRunner* tskr=0);
37 
38  float getM3(float,bool upward,bool usenegvals);
39  const char* dispText(float m3,bool inft);
40 
41 protected:
42 
43  const Pick::Set* ps_;
45 
46 };
#define mExpClass(module)
Definition: commondefs.h:157
Calculate volume between horizon and polygon.
Definition: poly2horvol.h:23
EM::Horizon3D * horizon()
Definition: poly2horvol.h:32
EM::Horizon3D * hor_
Definition: poly2horvol.h:44
Monitorable set of pick locations.
Definition: pickset.h:41
Class that can execute a task.
Definition: task.h:193
void setPickSet(const Pick::Set *ps)
Definition: poly2horvol.h:33
Poly2HorVol(const Pick::Set *ps=0, EM::Horizon3D *h=0)
Definition: poly2horvol.h:27
const Pick::Set * pickSet() const
Definition: poly2horvol.h:31
const Pick::Set * ps_
Definition: poly2horvol.h:43
Definition: picklocation.h:19
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:23
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
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

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