OpendTect-6_4  6.4
referenceattrib.h
Go to the documentation of this file.
1 #ifndef referenceattrib_h
2 #define referenceattrib_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Helene PAYRAUDEAU
9  Date: July 2005
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "attributesmod.h"
16 #include "attribprovider.h"
17 
18 namespace Attrib
19 {
20 
51 {
52 public:
53  static void initClass();
54  Reference(Desc&);
55 
56  static const char* attribName() { return "Reference"; }
57  static const char* is2DStr() { return "is2D"; }
58 
59 protected:
61  static Provider* createInstance(Desc&);
62  static void updateDesc(Desc&);
63 
64  bool allowParallelComputation() const { return true; }
65  bool getInputOutput(int input,TypeSet<int>& res) const;
66  bool getInputData(const BinID&,int zintv);
67  bool computeData(const DataHolder&,const BinID& relpos,
68  int t0,int nrsamples,int threadid) const;
69 
70  bool is2d_;
71 
73 };
74 
75 }; // namespace Attrib
76 
77 #endif
#define mExpClass(module)
Definition: commondefs.h:160
static const char * attribName()
Definition: referenceattrib.h:56
const DataHolder * inputdata_
Definition: referenceattrib.h:72
FixedString Attributes()
Definition: keystrs.h:40
bool allowParallelComputation() const
Definition: referenceattrib.h:64
~Reference()
Definition: referenceattrib.h:60
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
bool is2d_
Definition: referenceattrib.h:70
static const char * is2DStr()
Definition: referenceattrib.h:57
Holds the attribute data.
Definition: attribdataholder.h:43
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Provides the actual output to ...
Definition: attribprovider.h:44
Reference Attribute
Definition: referenceattrib.h:50
static void initClass()
Semblance Attribute.
Definition: attribdataholder.h:25

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