OpendTect-6_4  6.4
matchdeltaattrib.h
Go to the documentation of this file.
1 #ifndef matchdeltaattrib_h
2 #define matchdeltaattrib_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert Bril
9  Date: Aug 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "attribprovider.h"
16 template <class T> class ValueSeries;
17 
18 namespace Attrib
19 {
20 
27 {
28 public:
29 
30  static void initClass();
31  MatchDelta(Desc&);
32 
33  static const char* attribName() { return "MatchDelta"; }
34  static const char* maxshiftStr() { return "maxshift"; }
35 
36 protected:
37 
38  static Provider* createInstance(Desc&);
39 
40  float maxshift_;
42 
43  bool getInputData(const BinID&,int zintv);
44  bool computeData(const DataHolder&,const BinID&,
45  int,int,int) const;
46  const Interval<int>* desZSampMargin(int,int) const;
47 
48  float maxsamps_;
55 
58 
59  void findEvents(int,int) const;
60  void fillOutput(const DataHolder&,int,int) const;
61 
62 };
63 
64 } // namespace Attrib
65 
66 
67 #endif
ValueSeries< float > * refseries_
Definition: matchdeltaattrib.h:51
FixedString Attributes()
Definition: keystrs.h:40
TypeSet< float > deltas_
Definition: matchdeltaattrib.h:56
Computes the match delta between two cubes. Ties Max events to each other.
Definition: matchdeltaattrib.h:26
static const char * attribName()
Definition: matchdeltaattrib.h:33
const DataHolder * mtchcubedata_
Definition: matchdeltaattrib.h:50
TypeSet< float > poss_
Definition: matchdeltaattrib.h:57
Interval< int > dessamps_
Definition: matchdeltaattrib.h:41
float maxsamps_
Definition: matchdeltaattrib.h:48
Description of an attribute in an Attrib::DescSet. Each attribute has a name (e.g. "Similarity"), a user reference (e.g. "My similarity"), and at least one output. In addition, it may have parameters and inputs. If it has multiple outputs, only one of the outputs are selected.
Definition: attribdesc.h:89
Interface to a series of values.
Definition: odmemory.h:17
const DataHolder * refcubedata_
Definition: matchdeltaattrib.h:49
static const char * maxshiftStr()
Definition: matchdeltaattrib.h:34
float maxshift_
Definition: matchdeltaattrib.h:40
Interval< int > mtchintv_
Definition: matchdeltaattrib.h:54
Holds the attribute data.
Definition: attribdataholder.h:43
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Interval< int > refintv_
Definition: matchdeltaattrib.h:53
Provides the actual output to ...
Definition: attribprovider.h:44
#define mClass(module)
Definition: commondefs.h:164
ValueSeries< float > * mtchseries_
Definition: matchdeltaattrib.h:52
static void initClass()
Semblance Attribute.
Definition: attribdataholder.h:25

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