OpendTect-6_4  6.4
fingerprintattrib.h
Go to the documentation of this file.
1 #ifndef fingerprintattrib_h
2 #define fingerprintattrib_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Helene Payraudeau
9  Date: 23-02-2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "attributesmod.h"
16 #include "attribprovider.h"
17 
18 namespace Attrib
19 {
20 
43 {
44 public:
45  static void initClass();
46  FingerPrint(Desc&);
47 
48  static const char* attribName() { return "FingerPrint"; }
49  static const char* refposStr() { return "refpos"; }
50  static const char* refposzStr() { return "refposz"; }
51  static const char* reflinesetStr() { return "reflineset"; }
52  static const char* ref2dlineStr() { return "ref2dline"; }
53  static const char* valStr() { return "value"; }
54  static const char* rangeStr() { return "range"; }
55  static const char* weightStr() { return "weight"; }
56  static const char* valpicksetStr() { return "valpickset"; }
57  static const char* statstypeStr() { return "statstype"; }
58  static const char* valreftypeStr() { return "valreftype"; }
59  static const char* rgpicksetStr() { return "rgpickset"; }
60  static const char* rgreftypeStr() { return "rgreftype"; }
61 
62  virtual bool usesTracePosition() const;
63 
64 protected:
66  static Provider* createInstance(Desc&);
67  static void updateDesc(Desc&);
68 
70  { return false; }
71 
72  bool getInputData(const BinID&,int zintv);
73  bool computeData(const DataHolder&,
74  const BinID& relpos,
75  int z0,int nrsamples,
76  int threadid) const;
77 
81 
83 
86 };
87 
88 } // namespace Attrib
89 
90 
91 #endif
#define mExpClass(module)
Definition: commondefs.h:160
static const char * valpicksetStr()
Definition: fingerprintattrib.h:56
TypeSet< float > refvector_
Definition: fingerprintattrib.h:78
bool allowParallelComputation() const
Definition: fingerprintattrib.h:69
TypeSet< int > weights_
Definition: fingerprintattrib.h:80
FixedString Attributes()
Definition: keystrs.h:40
static const char * rangeStr()
Definition: fingerprintattrib.h:54
~FingerPrint()
Definition: fingerprintattrib.h:65
static const char * weightStr()
Definition: fingerprintattrib.h:55
static const char * valreftypeStr()
Definition: fingerprintattrib.h:58
static const char * refposzStr()
Definition: fingerprintattrib.h:50
static const char * refposStr()
Definition: fingerprintattrib.h:49
TypeSet< float > scaledref_
Definition: fingerprintattrib.h:82
static const char * ref2dlineStr()
Definition: fingerprintattrib.h:52
Set of pointers to objects.
Definition: commontypes.h:32
FingerPrint Attribute Calculates the match with a definite vector.
Definition: fingerprintattrib.h:42
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
TypeSet< Interval< float > > ranges_
Definition: fingerprintattrib.h:79
ObjectSet< const DataHolder > inputdata_
Definition: fingerprintattrib.h:85
static const char * rgreftypeStr()
Definition: fingerprintattrib.h:60
static const char * rgpicksetStr()
Definition: fingerprintattrib.h:59
TypeSet< int > dataidx_
Definition: fingerprintattrib.h:84
Holds the attribute data.
Definition: attribdataholder.h:43
static const char * reflinesetStr()
Definition: fingerprintattrib.h:51
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
static const char * valStr()
Definition: fingerprintattrib.h:53
Provides the actual output to ...
Definition: attribprovider.h:44
static void initClass()
Semblance Attribute.
Definition: attribdataholder.h:25
static const char * statstypeStr()
Definition: fingerprintattrib.h:57
static const char * attribName()
Definition: fingerprintattrib.h:48

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