OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "wellmod.h"
15 
16 #include "callback.h"
17 #include "velocitycalc.h"
18 #include "zaxistransform.h"
19 
20 
21 namespace Well { class Data; }
22 
28  , public CallBacker
30 public:
31 
33  "WellT2D", toUiString(sFactoryKeyword()));
34 
37 
38  bool isOK() const;
39  void transformTrc(const TrcKey&,
40  const SamplingData<float>&,
41  int sz,float* res) const;
42  void transformTrcBack(const TrcKey&,
43  const SamplingData<float>&,
44  int sz,float* res) const;
46  { return true; }
47 
48  float getGoodZStep() const;
49  Interval<float> getZInterval(bool time) const;
50  bool needsVolumeOfInterest() const { return false; }
51 
52  bool setWellID(const MultiID&);
53 
54  void fillPar(IOPar&) const;
55  bool usePar(const IOPar&);
56 
57 protected:
58 
60 
63 
64  Interval<float> getZRange(bool time) const;
65 
66  bool calcDepths();
68  int sz,float*,bool) const;
69 };
70 
WellT2DTransform::tdmodel_
TimeDepthModel tdmodel_
Definition: wellt2dtransform.h:62
WellT2DTransform::canTransformSurv
bool canTransformSurv(Pos::SurvID) const
Definition: wellt2dtransform.h:45
Well::Data
The holder of all data concerning a certain well.
Definition: welldata.h:121
WellT2DTransform::isOK
bool isOK() const
WellT2DTransform::usePar
bool usePar(const IOPar &)
File::toUiString
Export_Basic uiString toUiString(ViewStyle)
zaxistransform.h
WellT2DTransform::doTransform
void doTransform(const SamplingData< float > &, int sz, float *, bool) const
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
Pos::SurvID
Index_Type SurvID
Definition: commontypes.h:84
WellT2DTransform::getZRange
Interval< float > getZRange(bool time) const
WellT2DTransform::calcDepths
bool calcDepths()
callback.h
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
Repos::Data
@ Data
Definition: repos.h:24
WellT2DTransform::needsVolumeOfInterest
bool needsVolumeOfInterest() const
Definition: wellt2dtransform.h:50
ZAxisTransform
Base class for z-axis transforms.
Definition: zaxistransform.h:37
WellT2DTransform::data_
Well::Data * data_
Definition: wellt2dtransform.h:61
TimeDepthModel
Converts between time, depth and velocity given a model. The velocity model can be either RMO-velocit...
Definition: velocitycalc.h:31
Well
Definition: directionalsurvey.h:20
WellT2DTransform::getGoodZStep
float getGoodZStep() const
WellT2DTransform::setWellID
bool setWellID(const MultiID &)
WellT2DTransform::WellT2DTransform
WellT2DTransform(const MultiID &)
SamplingData< float >
WellT2DTransform::transformTrcBack
void transformTrcBack(const TrcKey &, const SamplingData< float > &, int sz, float *res) const
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
WellT2DTransform::mODTextTranslationClass
mODTextTranslationClass(WellT2DTransform)
TrcKey
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
WellT2DTransform::mDefaultFactoryInstantiation
mDefaultFactoryInstantiation(ZAxisTransform, WellT2DTransform, "WellT2D", toUiString(sFactoryKeyword()))
WellT2DTransform::fillPar
void fillPar(IOPar &) const
WellT2DTransform::~WellT2DTransform
~WellT2DTransform()
WellT2DTransform
Time to depth transform for wells.
Definition: wellt2dtransform.h:29
WellT2DTransform::getZInterval
Interval< float > getZInterval(bool time) const
velocitycalc.h
Interval< float >
WellT2DTransform::transformTrc
void transformTrc(const TrcKey &, const SamplingData< float > &, int sz, float *res) const
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
WellT2DTransform::WellT2DTransform
WellT2DTransform()

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