OpendTect  6.6
matchdeltaattrib.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: Bert Bril
8  Date: Aug 2006
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "attribprovider.h"
15 template <class T> class ValueSeries;
16 
17 namespace Attrib
18 {
19 
26 {
27 public:
28 
29  static void initClass();
31 
32  static const char* attribName() { return "MatchDelta"; }
33  static const char* maxshiftStr() { return "maxshift"; }
34 
35 protected:
36 
38 
39  float maxshift_;
41 
42  bool getInputData(const BinID&,int zintv);
43  bool computeData(const DataHolder&,const BinID&,
44  int,int,int) const;
45  const Interval<int>* desZSampMargin(int,int) const;
46 
47  float maxsamps_;
54 
57 
58  void findEvents(int,int) const;
59  void fillOutput(const DataHolder&,int,int) const;
60 
61 };
62 
63 } // namespace Attrib
64 
65 
ValueSeries
Interface to a series of values.
Definition: odmemory.h:16
Attrib::MatchDelta::poss_
TypeSet< float > poss_
Definition: matchdeltaattrib.h:56
Attrib::MatchDelta::maxsamps_
float maxsamps_
Definition: matchdeltaattrib.h:47
Attrib::Provider
Provides the actual output to ...
Definition: attribprovider.h:44
Attrib::MatchDelta::dessamps_
Interval< int > dessamps_
Definition: matchdeltaattrib.h:40
Attrib::MatchDelta::maxshiftStr
static const char * maxshiftStr()
Definition: matchdeltaattrib.h:33
Attrib::MatchDelta::desZSampMargin
const Interval< int > * desZSampMargin(int, int) const
Attrib::MatchDelta::refintv_
Interval< int > refintv_
Definition: matchdeltaattrib.h:52
Attrib::MatchDelta::mtchseries_
ValueSeries< float > * mtchseries_
Definition: matchdeltaattrib.h:51
Attrib::MatchDelta::deltas_
TypeSet< float > deltas_
Definition: matchdeltaattrib.h:55
Attrib::DataHolder
Holds the attribute data.
Definition: attribdataholder.h:43
Attrib::MatchDelta::findEvents
void findEvents(int, int) const
Attrib::MatchDelta::refseries_
ValueSeries< float > * refseries_
Definition: matchdeltaattrib.h:50
Attrib::MatchDelta::createInstance
static Provider * createInstance(Desc &)
BinID
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
Attrib::MatchDelta::fillOutput
void fillOutput(const DataHolder &, int, int) const
mClass
#define mClass(module)
Definition: commondefs.h:181
Attrib::MatchDelta::MatchDelta
MatchDelta(Desc &)
Attrib::MatchDelta::getInputData
bool getInputData(const BinID &, int zintv)
Attrib::MatchDelta::refcubedata_
const DataHolder * refcubedata_
Definition: matchdeltaattrib.h:48
Attrib::MatchDelta::mtchintv_
Interval< int > mtchintv_
Definition: matchdeltaattrib.h:53
Attrib::MatchDelta::mtchcubedata_
const DataHolder * mtchcubedata_
Definition: matchdeltaattrib.h:49
attribprovider.h
Attrib::MatchDelta::initClass
static void initClass()
Attrib::MatchDelta::attribName
static const char * attribName()
Definition: matchdeltaattrib.h:32
Attrib::MatchDelta::maxshift_
float maxshift_
Definition: matchdeltaattrib.h:39
Attrib::MatchDelta::computeData
bool computeData(const DataHolder &, const BinID &, int, int, int) const
sKey::Attributes
FixedString Attributes()
Definition: keystrs.h:39
Attrib::MatchDelta
Computes the match delta between two cubes. Ties Max events to each other.
Definition: matchdeltaattrib.h:26
Attrib
Semblance Attribute.
Definition: attribdataholder.h:25
Interval< int >
Attrib::Desc
Description of an attribute in an Attrib::DescSet. Each attribute has a name (e.g....
Definition: attribdesc.h:89
TypeSet< float >

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