1 #ifndef array2dinterpolimpl_h 2 #define array2dinterpolimpl_h 24 class Extension2DInterpolExecutor;
56 "InverseDistance", tr(
"Inverse distance") )
81 static const char* sKeySearchRadius();
82 static const char* sKeyCornersFirst();
83 static const char* sKeyStepSize();
84 static const char* sKeyNrSteps();
141 "Triangulation", ::
toUiString(sFactoryKeyword()))
156 {
return ismaxdistfldchecked_; }
158 { ismaxdistfldchecked_ = yn; }
163 static const char* sKeyDoInterpol();
164 static const char* sKeyMaxDistance();
221 static const char* sKeyNrSteps();
231 friend class Extension2DInterpolExecutor;
#define mExpClass(module)
Definition: commondefs.h:160
Is an object that faciliates many threads to wait for something to happen.
Definition: thread.h:108
int getStepSize() const
Definition: array2dinterpolimpl.h:69
TypeSet< BinID > cornerbid_
Definition: array2dinterpolimpl.h:195
TypeSet< od_int64 > definedidxs_
Definition: array2dinterpolimpl.h:116
Array 2D interpolator that works by extending the data into udf areas.
Definition: array2dinterpolimpl.h:203
int minThreadSize() const
Definition: array2dinterpolimpl.h:167
Base class for two dimensional array interpolators.
Definition: array2dinterpol.h:34
Reference: "Parallel Incremental Delaunay Triangulation", by Kohout J.2005.
Definition: delaunay.h:36
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:53
bool cornersfirst_
Definition: array2dinterpolimpl.h:99
TypeSet< int > coordlistindices_
Definition: array2dinterpolimpl.h:182
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Export_Basic uiString toUiString(ViewStyle)
bool dointerpolation_
Definition: array2dinterpolimpl.h:177
int stepidx_
Definition: array2dinterpolimpl.h:108
uiString uiNrDoneText() const
will be nrDoneText() in 7.x
Definition: array2dinterpolimpl.h:170
int nrsteps_
Definition: array2dinterpolimpl.h:97
bool canUseArrayAccess() const
Definition: array2dinterpolimpl.h:147
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
#define od_int64
Definition: plftypes.h:36
int totalnr_
Definition: array2dinterpolimpl.h:111
uiString uiNrDoneText() const
will be nrDoneText() in 7.x
Definition: array2dinterpolimpl.h:89
od_int64 prevsupportsize_
Definition: array2dinterpolimpl.h:124
bool * curdefined_
Definition: array2dinterpolimpl.h:185
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
bool * nodestofill_
Definition: array2dinterpolimpl.h:186
bool canUseArrayAccess() const
Definition: array2dinterpolimpl.h:213
float getSearchRadius() const
Definition: array2dinterpolimpl.h:65
TypeSet< float > cornerval_
Definition: array2dinterpolimpl.h:194
Definition: uistring.h:89
bool shouldend_
Definition: array2dinterpolimpl.h:107
void doInterpolation(bool yn)
Definition: array2dinterpolimpl.h:152
Threads::ConditionVar & condvar_
Definition: array2dinterpolimpl.h:106
bool * curdefined_
Definition: array2dinterpolimpl.h:114
od_int64 curnode_
Definition: array2dinterpolimpl.h:187
TypeSet< RowCol > neighbors_
Definition: array2dinterpolimpl.h:117
void setMaxDistance(float r)
Definition: array2dinterpolimpl.h:154
Definition: array2dinterpol.h:72
DAGTriangleTree * triangulation_
Definition: array2dinterpolimpl.h:180
bool getCornersFirst() const
Definition: array2dinterpolimpl.h:75
int nraddedthisstep_
Definition: array2dinterpolimpl.h:123
od_int64 nrIterations() const
Definition: array2dinterpolimpl.h:226
void setSearchRadius(float r)
Definition: array2dinterpolimpl.h:66
void setCornersFirst(bool n)
Definition: array2dinterpolimpl.h:74
int nrinitialdefined_
Definition: array2dinterpolimpl.h:110
void setMaxDistInterPolChecekd(bool yn)
Definition: array2dinterpolimpl.h:157
bool ismaxdistfldchecked_
Definition: array2dinterpolimpl.h:178
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
od_int64 getNrSteps() const
Definition: array2dinterpolimpl.h:216
int nrthreads_
Definition: array2dinterpolimpl.h:103
Threads::Lock curnodelock_
Definition: array2dinterpolimpl.h:188
Uses triangulation method to interpolate two dimensional arrays.
Definition: array2dinterpolimpl.h:136
TypeSet< int > corneridx_
Definition: array2dinterpolimpl.h:193
bool isMaxInterPolChecked() const
Definition: array2dinterpolimpl.h:155
float maxdistance_
Definition: array2dinterpolimpl.h:179
int stepsize_
Definition: array2dinterpolimpl.h:98
bool doInterpolation() const
Definition: array2dinterpolimpl.h:151
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
TypeSet< float > neighborweights_
Definition: array2dinterpolimpl.h:118
IdxPair used for its row() and col().
Definition: rowcol.h:25
int getNrSteps() const
Definition: array2dinterpolimpl.h:72
TypeSet< od_int64 > todothisstep_
Definition: array2dinterpolimpl.h:127
float searchradius_
Definition: array2dinterpolimpl.h:100
float getMaxDistance() const
Definition: array2dinterpolimpl.h:153
TypeSet< od_int64 > nrsources_
Definition: array2dinterpolimpl.h:128
od_int64 nrsteps_
Definition: array2dinterpolimpl.h:228
void setStepSize(int n)
Definition: array2dinterpolimpl.h:68
void setNrSteps(int n)
Definition: array2dinterpolimpl.h:215
bool nothingToFill() const
Definition: array2dinterpolimpl.h:149
od_int64 totalnr_
Definition: array2dinterpolimpl.h:191
od_int64 nrIterations() const
Definition: array2dinterpolimpl.h:88
bool waitforall_
Definition: array2dinterpolimpl.h:105
Interpolates 2D arrays using inverse distance method.
Definition: array2dinterpolimpl.h:51
TypeSet< od_int64 > addedwithcursuport_
Definition: array2dinterpolimpl.h:122
Extension2DInterpolExecutor * executor_
Definition: array2dinterpolimpl.h:230
int nrthreadswaiting_
Definition: array2dinterpolimpl.h:104
void setNrSteps(int n)
Definition: array2dinterpolimpl.h:71
od_int64 nrIterations() const
Definition: array2dinterpolimpl.h:169
bool canUseArrayAccess() const
Definition: array2dinterpolimpl.h:62
bool * nodestofill_
Definition: array2dinterpolimpl.h:115
Triangle2DInterpolator * triangleinterpolator_
Definition: array2dinterpolimpl.h:181
bool nothingToFill() const
Definition: array2dinterpolimpl.h:76
For a given triangulated geometry(set of points), interpolating any point located in or nearby the go...
Definition: delaunay.h:187