OpendTect  6.6
bodyvolumecalc.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: Y. Liu
8  Date: April 2012
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 
15 #include "algomod.h"
16 #include "paralleltask.h"
17 
18 class TrcKeyZSampling;
19 template <class T> class Array3D;
20 
21 
29 public:
31  const Array3D<float>&,
32  float threshold,
33  float velocityinmeter);
34  float getVolume() const { return volsum_; }
35  //unit in meter^3
36 
37 protected:
38 
40  bool doWork(od_int64 start,od_int64 stop,int threadid);
42 
44  float threshold_;
45  float unitvol_;
46  float volsum_;
48 };
49 
BodyVolumeCalculator::arr_
const Array3D< float > & arr_
Definition: bodyvolumecalc.h:43
od_int64
#define od_int64
Definition: plftypes.h:35
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
BodyVolumeCalculator::doWork
bool doWork(od_int64 start, od_int64 stop, int threadid)
BodyVolumeCalculator::threshold_
float threshold_
Definition: bodyvolumecalc.h:44
BodyVolumeCalculator::lock_
Threads::Lock lock_
Definition: bodyvolumecalc.h:47
BodyVolumeCalculator::volsum_
float volsum_
Definition: bodyvolumecalc.h:46
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
TrcKeyZSampling
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
Array3D
Array3D ( Subclass of ArrayND ) is a three dimensional array.
Definition: arraynd.h:162
BodyVolumeCalculator::uiMessage
uiString uiMessage() const
will be message() again in 7.x
BodyVolumeCalculator::getVolume
mODTextTranslationClass(BodyVolumeCalculator) public float getVolume() const
Definition: bodyvolumecalc.h:34
ParallelTask
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
paralleltask.h
BodyVolumeCalculator
Volume estimation for implicit bodies. getVolume returns the volume in cubic meters.
Definition: bodyvolumecalc.h:28
Threads::Lock
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class.
Definition: threadlock.h:53
BodyVolumeCalculator::nrIterations
od_int64 nrIterations() const
BodyVolumeCalculator::unitvol_
float unitvol_
Definition: bodyvolumecalc.h:45

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