OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 
15 #include "wellattribmod.h"
16 #include "attribprovider.h"
17 #include "multiid.h"
18 #include "ranges.h"
19 #include "stattype.h"
20 
21 template <class T> class Array1D;
22 
23 namespace Attrib
24 {
25 
40 mExpClass(WellAttrib) WellLog : public Provider
42 public:
43  static void initClass();
45 
46  static const char* attribName() { return "WellLog"; }
47  static const char* keyStr() { return "id"; }
48  static const char* logName() { return "logname"; }
49  static const char* upscaleType() { return "upscaletype"; }
50 
52 
53 protected:
56 
58  bool getInputOutput(int input,TypeSet<int>& res) const;
59  bool getInputData(const BinID&, int idx);
60  bool computeData(const DataHolder&,const BinID& relpos,
61  int t0,int nrsamples,int threadid) const;
62 
65  int upscaletype_; // Stats::UpscaleType
68 };
69 
70 } // namespace Attrib
71 
Attrib::WellLog::wellid_
MultiID wellid_
Definition: welllogattrib.h:63
Attrib::Provider
Provides the actual output to ...
Definition: attribprovider.h:44
Attrib::WellLog::computeData
bool computeData(const DataHolder &, const BinID &relpos, int t0, int nrsamples, int threadid) const
Attrib::WellLog::logname_
BufferString logname_
Definition: welllogattrib.h:64
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
Attrib::WellLog::upscaleType
static const char * upscaleType()
Definition: welllogattrib.h:49
Attrib::DataHolder
Holds the attribute data.
Definition: attribdataholder.h:43
Attrib::WellLog::WellLog
mODTextTranslationClass(WellLog) public WellLog(Desc &)
Attrib::WellLog::logName
static const char * logName()
Definition: welllogattrib.h:48
Array1D
Array1D ( Subclass of ArrayND ) is a one dimensional array.
Definition: arraynd.h:111
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
multiid.h
BinID
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
StepInterval< float >
Attrib::WellLog::prepareForComputeData
void prepareForComputeData()
Attrib::WellLog::attribName
static const char * attribName()
Definition: welllogattrib.h:46
Attrib::WellLog::getInputData
bool getInputData(const BinID &, int idx)
stattype.h
Attrib::WellLog::logvals_
Array1D< float > * logvals_
Definition: welllogattrib.h:66
Attrib::WellLog::arrzrg_
StepInterval< float > arrzrg_
Definition: welllogattrib.h:67
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
Attrib::WellLog::createInstance
static Provider * createInstance(Desc &)
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
Attrib::WellLog::getInputOutput
bool getInputOutput(int input, TypeSet< int > &res) const
attribprovider.h
Attrib::WellLog::allowParallelComputation
bool allowParallelComputation() const
Attrib::WellLog::keyStr
static const char * keyStr()
Definition: welllogattrib.h:47
Attrib::WellLog
WellLog Attribute
Definition: welllogattrib.h:41
ranges.h
Attrib::WellLog::~WellLog
~WellLog()
Attrib
Semblance Attribute.
Definition: attribdataholder.h:25
Attrib::WellLog::upscaletype_
int upscaletype_
Definition: welllogattrib.h:65
initClass
static void initClass()
Attrib::Desc
Description of an attribute in an Attrib::DescSet. Each attribute has a name (e.g....
Definition: attribdesc.h:89
TypeSet< int >

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