OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "prestackprocessingmod.h"
15 
16 #include "paralleltask.h"
17 #include "prestackanglemute.h"
18 #include "ranges.h"
19 #include "trckeysampling.h"
20 #include "threadlock.h"
21 
22 class TrcKeySampling;
23 
24 namespace Vel { class VolumeFunctionSource; }
25 
26 namespace PreStack
27 {
28 
29 class MuteDef;
30 
35 mExpClass(PreStackProcessing) AngleMuteComputer : public ParallelTask
36  , public AngleMuteBase
38 public:
41 
42  mStruct(PreStackProcessing) AngleMuteCompPars : public AngleCompParams
43  {
44  MultiID outputmutemid_;
45  TrcKeySampling tks_;
46  };
47 
48  static const char* sKeyMuteDefID() { return "Mute Def"; }
49 
51  bool doPrepare(int);
52  bool doWork(od_int64 start,od_int64 stop,int);
53  bool doFinish(bool success);
54 
56  uiString errMsg() const { return errmsg_; }
57 
58  AngleMuteCompPars& params();
59  const AngleMuteCompPars& params() const;
60 
61  void fillPar(IOPar&) const;
62  bool usePar(const IOPar&);
63 
64 protected:
65 
69 };
70 
71 } // namespace PreStack
72 
TrcKeySampling
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:35
Vel
Velocity.
Definition: velocityfunction.h:32
PreStack::AngleMuteComputer::doFinish
bool doFinish(bool success)
od_int64
#define od_int64
Definition: plftypes.h:35
prestackanglemute.h
PreStack::AngleMuteComputer::doWork
bool doWork(od_int64 start, od_int64 stop, int)
PreStack::AngleMuteComputer::~AngleMuteComputer
~AngleMuteComputer()
PreStack::AngleMuteComputer::params
AngleMuteCompPars & params()
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
PreStack::AngleMuteComputer::mODTextTranslationClass
mODTextTranslationClass(AngleMuteComputer)
mStruct
#define mStruct(module)
Definition: commondefs.h:182
PreStack::AngleMuteComputer::doPrepare
bool doPrepare(int)
PreStack::AngleMuteComputer::sKeyMuteDefID
static struct(PreStackProcessing) AngleMuteCompPars const char * sKeyMuteDefID()
Definition: prestackanglemutecomputer.h:48
PreStack::AngleMuteComputer::uiMessage
uiString uiMessage() const
will be message() again in 7.x
PreStack
Definition: synthseis.h:35
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
ParallelTask
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
PreStack::AngleMuteComputer::errmsg_
uiString errmsg_
Definition: prestackanglemutecomputer.h:66
PreStack::AngleMuteComputer::outputmute_
MuteDef & outputmute_
Definition: prestackanglemutecomputer.h:67
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
MPE::errmsg_
BufferString errmsg_
Definition: horizontracker.h:118
threadlock.h
PreStack::AngleMuteComputer::params
const AngleMuteCompPars & params() const
PreStack::AngleCompParams
Base class for AngleMute and AngleMuteComputer.
Definition: prestackanglemute.h:36
PreStack::AngleMuteComputer::lock_
Threads::Lock lock_
Definition: prestackanglemutecomputer.h:68
PreStack::AngleMuteComputer::usePar
bool usePar(const IOPar &)
PreStack::MuteDef
NamedObject for definition of a mute function.
Definition: prestackmutedef.h:32
trckeysampling.h
PreStack::AngleMuteComputer::errMsg
uiString errMsg() const
Definition: prestackanglemutecomputer.h:56
ranges.h
PreStack::AngleMuteBase
Definition: prestackanglemute.h:49
PreStack::AngleMuteComputer::nrIterations
od_int64 nrIterations() const
paralleltask.h
Threads::Lock
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class.
Definition: threadlock.h:53
PreStack::AngleMuteComputer::AngleMuteComputer
AngleMuteComputer()
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
PreStack::AngleMuteComputer::fillPar
void fillPar(IOPar &) const
PreStack::AngleMuteComputer
Computes angle mute.
Definition: prestackanglemutecomputer.h:37

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