OpendTect-6_4  6.4
semblancealgo.h
Go to the documentation of this file.
1 #ifndef semblancealgo_h
2 #define semblancealgo_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: Nov 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "prestackprocessingmod.h"
17 #include "factory.h"
18 #include "objectset.h"
19 
20 
21 namespace PreStack
22 {
23 
24 class Gather;
25 
30 mExpClass(PreStackProcessing) SemblanceAlgorithm
31 {
32 public:
33  mDefineFactoryInClass( SemblanceAlgorithm, factory );
34  virtual ~SemblanceAlgorithm();
35  virtual float computeSemblance( const Gather&,
36  const float* moveout,
37  const bool* usetrace = 0 ) const = 0;
48  virtual void reInit() {}
49  virtual void fillPar(IOPar&) const {}
50  virtual bool usePar(const IOPar&) { return true; }
51 };
52 
53 }; //namespace
54 
55 #endif
#define mExpClass(module)
Definition: commondefs.h:160
PreStack gather.
Definition: prestackgather.h:36
Definition: synthseis.h:36
Base class for algorithms that compute semblance along a moveout.
Definition: semblancealgo.h:30
virtual void fillPar(IOPar &) const
Definition: semblancealgo.h:49
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
virtual void reInit()
Definition: semblancealgo.h:48
#define mDefineFactoryInClass(T, funcname)
Definition: factory.h:426
virtual bool usePar(const IOPar &)
Definition: semblancealgo.h:50

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