OpendTect-6_4  6.4
bodyvolumecalc.h
Go to the documentation of this file.
1 #ifndef bodyvolumecalc_h
2 #define bodyvolumecalc_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Y. Liu
9  Date: April 2012
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "algomod.h"
17 #include "paralleltask.h"
18 
19 class TrcKeyZSampling;
20 template <class T> class Array3D;
21 
22 
30 public:
32  const Array3D<float>&,
33  float threshold,
34  float velocityinmeter);
35  float getVolume() const { return volsum_; }
36  //unit in meter^3
37 
38 protected:
39 
40  od_int64 nrIterations() const;
41  bool doWork(od_int64 start,od_int64 stop,int threadid);
42  uiString uiMessage() const;
43 
45  float threshold_;
46  float unitvol_;
47  float volsum_;
49 };
50 
51 #endif
#define mExpClass(module)
Definition: commondefs.h:160
float threshold_
Definition: bodyvolumecalc.h:45
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:53
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Threads::Lock lock_
Definition: bodyvolumecalc.h:48
#define od_int64
Definition: plftypes.h:36
Definition: uistring.h:89
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
mODTextTranslationClass(BodyVolumeCalculator) public float getVolume() const
Definition: bodyvolumecalc.h:35
const Array3D< float > & arr_
Definition: bodyvolumecalc.h:44
Volume estimation for implicit bodies. getVolume returns the volume in cubic meters.
Definition: bodyvolumecalc.h:28
float volsum_
Definition: bodyvolumecalc.h:47
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
float unitvol_
Definition: bodyvolumecalc.h:46
Array3D ( Subclass of ArrayND ) is a three dimensional array.
Definition: arraynd.h:153

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