OpendTect-6_4  6.4
evaluateattrib.h
Go to the documentation of this file.
1 #ifndef evaluateattrib_h
2 #define evaluateattrib_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Helene Payraudeau
9  Date: 19-10-2005
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "attributesmod.h"
17 #include "attribprovider.h"
18 
19 
20 namespace Attrib
21 {
22 
31 {
32 public:
33  static void initClass();
34  Evaluate(Desc&);
35 
36  static const char* attribName() { return "Evaluate"; }
37 
38 protected:
39  ~Evaluate() {}
40  static Provider* createInstance(Desc&);
41 
43  { return true; }
44 
45  bool getInputOutput(int inp,TypeSet<int>& res) const;
46  bool getInputData(const BinID&,int zintv);
47  bool computeData(const DataHolder&,
48  const BinID& relpos,
49  int z0,int nrsamples,
50  int threadid) const;
51 
54 };
55 
56 }; // namespace Attrib
57 
58 
59 #endif
#define mExpClass(module)
Definition: commondefs.h:160
TypeSet< int > dataidx_
Definition: evaluateattrib.h:52
~Evaluate()
Definition: evaluateattrib.h:39
bool allowParallelComputation() const
Definition: evaluateattrib.h:42
static const char * attribName()
Definition: evaluateattrib.h:36
FixedString Attributes()
Definition: keystrs.h:40
Set of pointers to objects.
Definition: commontypes.h:32
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
Holds the attribute data.
Definition: attribdataholder.h:43
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
ObjectSet< const DataHolder > inputdata_
Definition: evaluateattrib.h:53
Provides the actual output to ...
Definition: attribprovider.h:44
Evaluate Attribute
Definition: evaluateattrib.h:30
static void initClass()
Semblance Attribute.
Definition: attribdataholder.h:25

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