OpendTect  6.3
prestackanglemutecomputer.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: Bruno
8  Date: June 2011
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "prestackprocessingmod.h"
14 
15 #include "paralleltask.h"
16 #include "prestackanglemute.h"
17 #include "ranges.h"
18 #include "trckeysampling.h"
19 #include "threadlock.h"
20 
21 class TrcKeySampling;
22 
23 namespace Vel { class VolumeFunctionSource; }
24 
25 namespace PreStack
26 {
27 
28 class MuteDef;
29 
34 mExpClass(PreStackProcessing) AngleMuteComputer : public ParallelTask
35  , public AngleMuteBase
37 public:
40 
41  mStruct(PreStackProcessing) AngleMuteCompPars : public AngleCompParams
42  {
43  DBKey outputmutemid_;
44  TrcKeySampling tks_;
45  };
46 
47  static const char* sKeyMuteDefID() { return "Mute Def"; }
48 
49  od_int64 nrIterations() const;
50  bool doPrepare(int);
51  bool doWork(od_int64 start,od_int64 stop,int);
52  bool doFinish(bool success);
53 
54  uiString message() const;
55  uiString errMsg() const { return errmsg_; }
56 
57  AngleMuteCompPars& params();
58  const AngleMuteCompPars& params() const;
59 
60  void fillPar(IOPar&) const;
61  bool usePar(const IOPar&);
62 
63 protected:
64 
68 };
69 
70 } // namespace PreStack
#define mExpClass(module)
Definition: commondefs.h:157
Velocity.
Definition: velocityfunction.h:30
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:51
#define mStruct(module)
Definition: commondefs.h:162
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
#define od_int64
Definition: plftypes.h:34
Definition: prestackagc.h:18
Definition: uistring.h:88
NamedObject for definition of a mute function.
Definition: prestackmutedef.h:30
uiString errMsg() const
Definition: prestackanglemutecomputer.h:55
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:64
void message(const char *)
default: to stderr
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:25
static struct(PreStackProcessing) AngleMuteCompPars const char * sKeyMuteDefID()
Definition: prestackanglemutecomputer.h:47
MuteDef & outputmute_
Definition: prestackanglemutecomputer.h:66
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
uiString errmsg_
Definition: prestackanglemutecomputer.h:65
Threads::Lock lock_
Definition: prestackanglemutecomputer.h:67
Computes angle mute.
Definition: prestackanglemutecomputer.h:34
BufferString errmsg_
Definition: horizontracker.h:117
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
Base class for AngleMute and AngleMuteComputer.
Definition: prestackanglemute.h:34
Definition: prestackanglemute.h:47

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