OpendTect-6_4  6.4
wellloginterpolator.h
Go to the documentation of this file.
1 #ifndef wellloginterpolator_h
2 #define wellloginterpolator_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Y.C. Liu
9  Date: Sept 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "volumeprocessingmod.h"
16 
17 #include "arrayndalgo.h"
18 #include "multiid.h"
19 #include "volprocstep.h"
20 #include "wellextractdata.h"
21 
22 class BufferStringSet;
23 class Gridder2D;
26 namespace Well { class Data; class Log; }
27 
28 namespace VolProc
29 {
30 
31 class WellLogInfo;
32 class WellLogInfoSetup;
33 
36 mExpClass(VolumeProcessing) WellLogInterpolator : public Step
38 public:
41  "WellLog Interpolator",
42  tr("WellLog Interpolator") )
43 
46  void releaseData();
47 
48  bool is2D() const;
49 
50  void getWellNames(BufferStringSet&) const;
51  void getWellIDs(TypeSet<MultiID>&) const;
52  const char* getLogName() const;
53  const char* getGridderName() const;
54  float getSearchRadius() const;
55  const InterpolationLayerModel* getLayerModel() const;
57 
58  void setGridder(const char* nm,float radius=0);
59  void setWellData(const TypeSet<MultiID>&,
60  const char* lognm);
62  { params_ = params;}
63  void setLayerModel(InterpolationLayerModel*);
64 
65  void fillPar(IOPar&) const;
66  bool usePar(const IOPar&);
67  virtual uiString errMsg() const { return errmsg_; }
68 
69  bool canInputAndOutputBeSame() const { return true; }
70  bool needsFullVolume() const { return false;}
71  bool needsInput() const { return false;}
72 
73  /* mDeprecated (this function will be protected virtual after 6.2) */
74  od_int64 extraMemoryUsage(OutputSlotID,const TrcKeySampling&,
75  const StepInterval<int>&) const;
76 
77 protected:
78 
79  bool prefersBinIDWise() const { return true; }
80  bool prepareComp(int);
81  bool computeBinID(const BinID&,int);
82 
90  bool doinverse_;
91 
95 };
96 
97 } // namespace VolProc
98 
99 #endif
#define mExpClass(module)
Definition: commondefs.h:160
BufferString logname_
Definition: wellloginterpolator.h:89
StepInterval< int > outputcrlrg_
Definition: wellloginterpolator.h:93
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Generic interface for 2D gridding.
Definition: gridder2d.h:32
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
#define od_int64
Definition: plftypes.h:36
ZRangeSelector to extract parameters.
Definition: wellextractdata.h:118
Definition: file.h:99
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
Definition: uistring.h:89
InterpolationLayerModel * layermodel_
Definition: wellloginterpolator.h:83
Set of BufferString objects.
Definition: bufstringset.h:28
ObjectSet< WellLogInfo > infos_
Definition: wellloginterpolator.h:87
Well::ExtractParams params_
Definition: wellloginterpolator.h:94
Well::ExtractParams getWellExtractParams()
Definition: wellloginterpolator.h:56
Definition: interpollayermodel.h:23
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:27
Adapter for a VolProc chain to external attribute calculation.
Definition: seisdatapackwriter.h:25
Definition: directionalsurvey.h:19
int OutputSlotID
Definition: volprocstep.h:47
bool prefersBinIDWise() const
Definition: wellloginterpolator.h:79
Uses inverse distance method for 2D gridding.
Definition: gridder2d.h:114
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Definition: repos.h:25
An algorithm/calculation/transformation that takes one scalar volume as input, processes it...
Definition: volprocstep.h:42
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
virtual uiString errMsg() const
Definition: wellloginterpolator.h:67
bool needsInput() const
Definition: wellloginterpolator.h:71
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
InverseDistanceGridder2D * invdistgridder_
Definition: wellloginterpolator.h:85
BufferString errmsg_
Definition: horizontracker.h:119
bool is2D(const PicksType &picks)
Definition: pickset.h:142
Gridder2D * gridder_
Definition: wellloginterpolator.h:84
Definition: wellloginterpolator.h:36
void setWellExtractParams(Well::ExtractParams params)
Definition: wellloginterpolator.h:61
Order
Definition: arrayndalgo.h:1061
bool canInputAndOutputBeSame() const
Definition: wellloginterpolator.h:69
PolyTrend::Order trendorder_
Definition: wellloginterpolator.h:86
TypeSet< MultiID > wellmids_
Definition: wellloginterpolator.h:88
bool doinverse_
Definition: wellloginterpolator.h:90
StepInterval< int > outputinlrg_
Definition: wellloginterpolator.h:92
bool needsFullVolume() const
Definition: wellloginterpolator.h:70

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