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

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