1 #ifndef interpollayermodel_h 2 #define interpollayermodel_h 27 virtual ~InterpolationLayerModel();
29 virtual InterpolationLayerModel* clone()
const = 0;
31 virtual bool isOK(
const TrcKey* tk=0)
const;
39 virtual float getLayerIndex(
const TrcKey&,
float z)
const = 0;
40 virtual float getInterpolatedZ(
const TrcKey&,
float layer)
const;
42 static const char* sKeyModelType();
48 InterpolationLayerModel();
49 InterpolationLayerModel(
const InterpolationLayerModel&);
51 virtual bool hasSampling()
const;
58 virtual int nrLayers()
const = 0;
59 virtual float getZ(
const TrcKey&,
int layer)
const = 0;
67 InterpolationLayerModel,
79 InterpolationLayerModel* clone()
const;
81 bool isOK(
const TrcKey* tk=0)
const;
84 float getLayerIndex(
const TrcKey&,
float z)
const;
85 float getZ(
const TrcKey&,
int layer)
const;
#define mExpClass(module)
Definition: commondefs.h:160
virtual bool usePar(const IOPar &)
Definition: interpollayermodel.h:45
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
od_int64 getMemoryUsage(const TrcKeySampling &) const
Definition: interpollayermodel.h:86
Definition: interpollayermodel.h:63
#define od_int64
Definition: plftypes.h:36
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
Definition: interpollayermodel.h:23
ObjectSet< TrcKeySampling > tkss_
Definition: interpollayermodel.h:53
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:27
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
#define mDefineFactoryInClass(T, funcname)
Definition: factory.h:426
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
StepInterval< float > zsamp_
Definition: interpollayermodel.h:54
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28