1 #ifndef array2dinterpol_h 2 #define array2dinterpol_h 27 template <
class T>
class Array2D;
45 void setRowStep(
float r);
46 void setColStep(
float r);
47 void setOrigin(
const RowCol&);
51 void setMaxHoleSize(
float);
52 float getMaxHoleSize()
const;
54 void setClassification(
bool);
55 bool isClassification()
const;
77 const float* weights,
int nrsrc,
78 bool isclassification) = 0;
79 virtual bool isDefined(
od_int64)
const = 0;
80 virtual int getSize(
char dim)
const = 0;
103 static const char* sKeyFillType();
104 static const char* sKeyRowStep();
105 static const char* sKeyColStep();
106 static const char* sKeyOrigin();
107 static const char* sKeyNrRows();
108 static const char* sKeyNrCols();
109 static const char* sKeyNrCells();
110 static const char* sKeyMaxHoleSz();
111 static const char* sKeyPolyNrofNodes();
112 static const char* sKeyPolyNode();
113 static const char* sKeyCropPolygon();
119 void getNodesToFill(
const bool* isdef,
bool* shouldinterpol,
127 bool isDefined(
int idx)
const;
131 const float* weights,
int nrsrc);
133 void floodFillArrFrom(
int seed,
const bool* isdef,
134 bool* shouldinterpol)
const;
138 void excludeBigHoles(
const bool* isdef,
bool* shouldinterpol )
const;
#define mExpClass(module)
Definition: commondefs.h:160
const Array2D< bool > * mask_
Definition: array2dinterpol.h:155
Base class for two dimensional array interpolators.
Definition: array2dinterpol.h:34
Setup for the Stats::RunCalc and Stats::ParallelCalc objects.
Definition: statruncalc.h:38
int nrcols_
Definition: array2dinterpol.h:148
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
int nrcells_
Definition: array2dinterpol.h:149
PolyTrend * trend_
Definition: array2dinterpol.h:160
ArrayAccess * arrsetter_
Definition: array2dinterpol.h:144
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
#define od_int64
Definition: plftypes.h:36
static const uiString & emptyString()
Definition: uistring.h:109
Definition: uistring.h:89
Definition: array2dinterpol.h:72
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:258
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
float colstep_
Definition: array2dinterpol.h:146
RowCol origin_
Definition: array2dinterpol.h:150
virtual bool canUseArrayAccess() const
Definition: array2dinterpol.h:86
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
bool isclassification_
Definition: array2dinterpol.h:157
Array2D ( Subclass of ArrayND ) is a two dimensional array.
Definition: arraynd.h:131
Class that can execute a task.
Definition: task.h:169
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:27
virtual bool nothingToFill() const
Definition: array2dinterpol.h:83
ODPolygon< double > * poly_
Definition: array2dinterpol.h:161
float maxholesize_
Definition: array2dinterpol.h:153
static uiString sGridding()
Definition: uistrings.h:318
#define mDefineFactoryInClass(T, funcname)
Definition: factory.h:426
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
IdxPair used for its row() and col().
Definition: rowcol.h:25
uiString uiMessage() const
will be message() again in 7.x
Definition: array2dinterpol.h:100
virtual uiString infoMsg() const
Definition: array2dinterpol.h:69
Array2D< float > * arr_
Definition: array2dinterpol.h:143
int nrrows_
Definition: array2dinterpol.h:147
virtual ~ArrayAccess()
Definition: array2dinterpol.h:75
bool maskismine_
Definition: array2dinterpol.h:156
PtrPolicy
Definition: odmemory.h:22
Statistics.
Definition: array2dinterpol.h:28
Stats::CalcSetup * statsetup_
Definition: array2dinterpol.h:158
FillType filltype_
Definition: array2dinterpol.h:152
FillType
Definition: array2dinterpol.h:40
Definition: seistype.h:26
Order
Definition: arrayndalgo.h:1061
bool croppoly_
Definition: array2dinterpol.h:162
Polynomial trend with order 0 (mean), 1 (linear) or 2 (parabolic) The trend is derived from a set of ...
Definition: arrayndalgo.h:1054
float rowstep_
Definition: array2dinterpol.h:145
Definition: odmemory.h:22