OpendTect  6.3
wellt2dtransform.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: Nageswara
8  Date: July 2010
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "welldata.h"
14 #include "velocitycalc.h"
15 #include "zaxistransform.h"
16 
17 
21  , public CallBacker
23 public:
24 
26  "WellT2D", toUiString(sFactoryKeyword()));
27 
29  WellT2DTransform(const DBKey&);
30 
31  bool isOK() const;
32  void transformTrc(const TrcKey&,
33  const SamplingData<float>&,
34  int sz,float* res) const;
35  void transformTrcBack(const TrcKey&,
36  const SamplingData<float>&,
37  int sz,float* res) const;
39  { return true; }
40 
41  float getGoodZStep() const;
42  Interval<float> getZInterval(bool time) const;
43  bool needsVolumeOfInterest() const { return false;}
44 
45  bool setWellID(const DBKey&);
46 
47  void fillPar(IOPar&) const;
48  bool usePar(const IOPar&);
49 
50 protected:
51 
53 
56 
57  Interval<float> getZRange(bool time) const;
58 
59  bool calcDepths();
60  void doTransform(const SamplingData<float>&,
61  int sz,float*,bool) const;
62 };
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
TimeDepthModel tdmodel_
Definition: wellt2dtransform.h:55
bool needsVolumeOfInterest() const
Definition: wellt2dtransform.h:43
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:287
bool canTransformSurv(Pos::SurvID) const
Definition: wellt2dtransform.h:38
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
Index_Type SurvID
Definition: commontypes.h:45
Definition: wellcommon.h:16
ConstRefMan< Well::Data > data_
Definition: wellt2dtransform.h:54
uiString toUiString(const DBKey &ky)
Definition: dbkey.h:117
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
Time to depth transform for wells.
Definition: wellt2dtransform.h:20
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:26
Base class for z-axis transforms.
Definition: zaxistransform.h:35
Converts between time, depth and velocity given a model. The velocity model can be either RMO-velocit...
Definition: velocitycalc.h:29
~WellT2DTransform()
Definition: wellt2dtransform.h:52

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