OpendTect-6_4  6.4
welllogattrib.h
Go to the documentation of this file.
1 #ifndef welllogattrib_h
2 #define welllogattrib_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: December 2013
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "wellattribmod.h"
17 #include "attribprovider.h"
18 #include "multiid.h"
19 #include "ranges.h"
20 #include "stattype.h"
21 
22 template <class T> class Array1D;
23 
24 namespace Attrib
25 {
26 
41 mExpClass(WellAttrib) WellLog : public Provider
43 public:
44  static void initClass();
45  WellLog(Desc&);
46 
47  static const char* attribName() { return "WellLog"; }
48  static const char* keyStr() { return "id"; }
49  static const char* logName() { return "logname"; }
50  static const char* upscaleType() { return "upscaletype"; }
51 
52  void prepareForComputeData();
53 
54 protected:
55  ~WellLog();
56  static Provider* createInstance(Desc&);
57 
58  bool allowParallelComputation() const;
59  bool getInputOutput(int input,TypeSet<int>& res) const;
60  bool getInputData(const BinID&, int idx);
61  bool computeData(const DataHolder&,const BinID& relpos,
62  int t0,int nrsamples,int threadid) const;
63 
66  int upscaletype_; // Stats::UpscaleType
69 };
70 
71 } // namespace Attrib
72 
73 #endif
Array1D ( Subclass of ArrayND ) is a one dimensional array.
Definition: arraynd.h:101
#define mExpClass(module)
Definition: commondefs.h:160
static const char * upscaleType()
Definition: welllogattrib.h:50
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
static const char * logName()
Definition: welllogattrib.h:49
BufferString logname_
Definition: welllogattrib.h:65
static const char * attribName()
Definition: welllogattrib.h:47
WellLog Attribute
Definition: welllogattrib.h:41
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
StepInterval< float > arrzrg_
Definition: welllogattrib.h:68
Array1D< float > * logvals_
Definition: welllogattrib.h:67
Holds the attribute data.
Definition: attribdataholder.h:43
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Provides the actual output to ...
Definition: attribprovider.h:44
MultiID wellid_
Definition: welllogattrib.h:64
static const char * keyStr()
Definition: welllogattrib.h:48
Compound key consisting of ints.
Definition: multiid.h:25
static void initClass()
Semblance Attribute.
Definition: attribdataholder.h:25
int upscaletype_
Definition: welllogattrib.h:66

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