39 virtual Gridder2D* clone()
const = 0;
40 virtual bool operator==(
const Gridder2D&)
const;
47 virtual bool isPointUsable(
const Coord& cpt,
48 const Coord& dpt)
const;
81 virtual bool allPointsAreRelevant()
const =0;
83 virtual bool getWeights(
const Coord&,
94 Gridder2D(
const Gridder2D&);
104 float getDetrendedValue(
int idx)
const;
106 bool isAtInputPos(
const Coord&,
int&idx)
const;
119 "InverseDistance", tr(
"Inverse distance") );
124 Gridder2D* clone()
const;
126 static uiString searchRadiusErrMsg();
131 void setSearchRadius(
float);
135 bool allPointsAreRelevant()
const;
136 bool isPointUsable(
const Coord&,
const Coord&)
const;
159 "Triangulated", tr(
"Triangulation") );
165 Gridder2D* clone()
const;
171 bool allPointsAreRelevant()
const;
198 "RadialBasicFunction",
199 tr(
"Radial Basis Function") );
205 Gridder2D* clone()
const;
211 void setMetricTensor(
double m11,
double m12,
double m22);
213 bool allPointsAreRelevant()
const;
234 bool updateSolution();
235 double getRadius(
const Coord& pos1,
const Coord& pos2)
const;
236 static double evaluateRBF(
double radius,
double scale=1.);
double m22_
Definition: gridder2d.h:225
#define mExpClass(module)
Definition: commondefs.h:160
PolyTrend * trend_
Definition: gridder2d.h:98
Uses Radial Basic Function to predict the values.
Definition: gridder2d.h:193
bool wantsAllPoints() const
If false, points should be tested with isPointUsable.
Definition: gridder2d.h:134
virtual void valuesChangedCB(CallBacker *)
Definition: gridder2d.h:103
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
const TypeSet< float > * values_
Definition: gridder2d.h:96
Reference: "Parallel Incremental Delaunay Triangulation", by Kohout J.2005.
Definition: delaunay.h:36
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
const TypeSet< Coord > * getPoints() const
Definition: gridder2d.h:65
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
DAGTriangleTree * triangles_
Definition: gridder2d.h:177
double m11_
Definition: gridder2d.h:223
Generic interface for 2D gridding.
Definition: gridder2d.h:32
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
bool areWeightsValuesDependent() const
Definition: gridder2d.h:216
TypeSet< int > usedpoints_
Definition: gridder2d.h:100
double m12_
Definition: gridder2d.h:224
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
Triangle2DInterpolator * interpolator_
Definition: gridder2d.h:178
Definition: uistring.h:89
LinSolver< double > * solv_
Definition: gridder2d.h:228
A cartesian coordinate in 2D space.
Definition: coord.h:25
bool ismetric_
Definition: gridder2d.h:222
float getSearchRadius() const
Definition: gridder2d.h:132
virtual bool areWeightsValuesDependent() const
Definition: gridder2d.h:90
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
Uses Delaunay triangulation to find a points neighbors and does inverse distance between the neighbor...
Definition: gridder2d.h:154
const TypeSet< Coord > * points_
Definition: gridder2d.h:97
LinSolver - Solves linear systems of equations on the form A*x=B. A is a matrix of the size N*N...
Definition: gridder2d.h:24
Interval< float > yrg_
Definition: gridder2d.h:180
static const char * sKeyIsMetric()
Definition: gridder2d.h:207
virtual void setGridArea(const Interval< float > &, const Interval< float > &)
Definition: gridder2d.h:52
Uses inverse distance method for 2D gridding.
Definition: gridder2d.h:114
static const char * sKeySearchRadius()
Definition: gridder2d.h:127
#define mDefineFactoryInClass(T, funcname)
Definition: factory.h:426
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
TypeSet< double > * globalweights_
Definition: gridder2d.h:227
float radius_
Definition: gridder2d.h:145
Interval< float > xrg_
Definition: gridder2d.h:179
virtual bool wantsAllPoints() const
If false, points should be tested with isPointUsable.
Definition: gridder2d.h:45
virtual bool pointsChangedCB(CallBacker *)
Definition: gridder2d.h:102
Coord center_
Definition: gridder2d.h:182
Order
Definition: arrayndalgo.h:1061
Polynomial trend with order 0 (mean), 1 (linear) or 2 (parabolic) The trend is derived from a set of ...
Definition: arrayndalgo.h:1054
For a given triangulated geometry(set of points), interpolating any point located in or nearby the go...
Definition: delaunay.h:187