OpendTect-6_4  6.4
wellt2dtransform.h
Go to the documentation of this file.
1 #ifndef wellt2dtransform_h
2 #define wellt2dtransform_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nageswara
9  Date: July 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "wellmod.h"
16 
17 #include "callback.h"
18 #include "velocitycalc.h"
19 #include "zaxistransform.h"
20 
21 
22 namespace Well { class Data; }
23 
29  , public CallBacker
31 public:
32 
34  "WellT2D", toUiString(sFactoryKeyword()));
35 
37  WellT2DTransform(const MultiID&);
38 
39  bool isOK() const;
40  void transformTrc(const TrcKey&,
41  const SamplingData<float>&,
42  int sz,float* res) const;
43  void transformTrcBack(const TrcKey&,
44  const SamplingData<float>&,
45  int sz,float* res) const;
47  { return true; }
48 
49  float getGoodZStep() const;
50  Interval<float> getZInterval(bool time) const;
51  bool needsVolumeOfInterest() const { return false; }
52 
53  bool setWellID(const MultiID&);
54 
55  void fillPar(IOPar&) const;
56  bool usePar(const IOPar&);
57 
58 protected:
59 
61 
64 
65  Interval<float> getZRange(bool time) const;
66 
67  bool calcDepths();
68  void doTransform(const SamplingData<float>&,
69  int sz,float*,bool) const;
70 };
71 
72 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
TimeDepthModel tdmodel_
Definition: wellt2dtransform.h:63
bool needsVolumeOfInterest() const
Definition: wellt2dtransform.h:51
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Export_Basic uiString toUiString(ViewStyle)
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
bool canTransformSurv(Pos::SurvID) const
Definition: wellt2dtransform.h:46
Well::Data * data_
Definition: wellt2dtransform.h:62
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Index_Type SurvID
Definition: commontypes.h:49
Definition: directionalsurvey.h:19
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Definition: repos.h:25
Time to depth transform for wells.
Definition: wellt2dtransform.h:28
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
The holder of all data concerning a certain well.
Definition: welldata.h:113
Base class for z-axis transforms.
Definition: zaxistransform.h:37
Converts between time, depth and velocity given a model. The velocity model can be either RMO-velocit...
Definition: velocitycalc.h:31
Compound key consisting of ints.
Definition: multiid.h:25

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