OpendTect  6.3
semblancealgo.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: K. Tingdahl
8  Date: Nov 2010
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "prestackprocessingmod.h"
15 #include "factory.h"
16 #include "objectset.h"
17 
18 class Gather;
19 
20 namespace PreStack
21 {
22 
27 mExpClass(PreStackProcessing) SemblanceAlgorithm
28 {
29 public:
30  mDefineFactoryInClass( SemblanceAlgorithm, factory );
31  virtual ~SemblanceAlgorithm();
32  virtual float computeSemblance( const Gather&,
33  const float* moveout,
34  const bool* usetrace = 0 ) const = 0;
45  virtual void reInit() {}
46  virtual void fillPar(IOPar&) const {}
47  virtual bool usePar(const IOPar&) { return true; }
48 };
49 
50 }; //namespace
#define mExpClass(module)
Definition: commondefs.h:157
PreStack gather.
Definition: prestackgather.h:28
Definition: prestackagc.h:18
Base class for algorithms that compute semblance along a moveout.
Definition: semblancealgo.h:27
virtual void fillPar(IOPar &) const
Definition: semblancealgo.h:46
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
virtual void reInit()
Definition: semblancealgo.h:45
#define mDefineFactoryInClass(T, funcname)
Definition: factory.h:424
virtual bool usePar(const IOPar &)
Definition: semblancealgo.h:47

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