|
| mDefaultFactoryInstantiation (Array2DInterpol, InverseDistanceArray2DInterpol,"InverseDistance", tr("Inverse distance")) InverseDistanceArray2DInterpol() |
|
| ~InverseDistanceArray2DInterpol () |
|
bool | setArray (Array2D< float > &, TaskRunner *) |
| Set AFTER all settings. More...
|
|
bool | canUseArrayAccess () const |
|
bool | setArray (ArrayAccess &, TaskRunner *) |
| Set AFTER all settings. More...
|
|
float | getSearchRadius () const |
|
void | setSearchRadius (float r) |
|
void | setStepSize (int n) |
|
int | getStepSize () const |
|
void | setNrSteps (int n) |
|
int | getNrSteps () const |
|
void | setCornersFirst (bool n) |
|
bool | getCornersFirst () const |
|
bool | nothingToFill () const |
|
virtual bool | fillPar (IOPar &) const |
|
virtual bool | usePar (const IOPar &) |
|
virtual | ~Array2DInterpol () |
|
| mDefineFactoryInClass (Array2DInterpol, factory) |
|
| mDeclareEnumUtils (FillType) |
|
void | setFillType (FillType) |
|
FillType | getFillType () const |
|
void | setRowStep (float r) |
|
void | setColStep (float r) |
|
void | setOrigin (const RowCol &) |
|
void | setSampling (const TrcKeySampling &) |
| Set both steps and the origin. More...
|
|
void | setMaxHoleSize (float) |
|
float | getMaxHoleSize () const |
|
void | setClassification (bool) |
|
bool | isClassification () const |
|
void | setMask (const Array2D< bool > *, OD::PtrPolicy=OD::UsePtr) |
|
virtual uiString | infoMsg () const |
|
void | setTrendOrder (PolyTrend::Order ord) |
|
bool | trimArray (int step, Array2D< char > &edgesmask) |
|
void | doPolygonCrop () |
|
uiString | uiMessage () const |
| will be message() again in 7.x More...
|
|
virtual | ~ParallelTask () |
|
bool | execute () |
|
virtual bool | executeParallel (bool parallel) |
|
void | setProgressMeter (ProgressMeter *) |
| Must be called before execute() More...
|
|
int64_t | nrDone () const |
| May be -1, i.e. class does not report nrdone. More...
|
|
int64_t | totalNr () const |
|
virtual | ~Task () |
|
virtual void | enableWorkControl (bool=true) |
| Must be called before execute() More...
|
|
bool | workControlEnabled () const |
|
virtual void | controlWork (Control) |
|
virtual Control | getState () const |
|
| NamedObject (const char *nm=0) |
|
| NamedObject (const NamedObject *linkedto) |
|
| NamedObject (const NamedObject &) |
|
virtual | ~NamedObject () |
|
void | setLinkedTo (NamedObject *) |
|
bool | operator== (const NamedObject &oth) const |
|
virtual const OD::String & | name () const |
|
virtual const OD::String & | annotName () const |
|
virtual void | setName (const char *) |
|
void | setCleanName (const char *) |
| cleans string first More...
|
|
void | deleteNotify (const CallBack &) |
|
| CallBacker () |
|
| CallBacker (const CallBacker &) |
|
virtual | ~CallBacker () |
|
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
|
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
|
void | detachCB (NotifierAccess &, const CallBack &) |
|
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
|
bool | isNotifierAttached (NotifierAccess *) const |
| Only for debugging purposes, don't use. More...
|
|
|
virtual bool | doWork (od_int64, od_int64, int) |
|
od_int64 | nrIterations () const |
|
uiString | uiNrDoneText () const |
| will be nrDoneText() in 7.x More...
|
|
bool | doPrepare (int) |
|
virtual bool | initFromArray (TaskRunner *) |
|
od_int64 | getNextIdx () |
|
void | reportDone (od_int64) |
|
| Array2DInterpol () |
|
void | getNodesToFill (const bool *isdef, bool *shouldinterpol, TaskRunner *) const |
|
bool | isDefined (int idx) const |
|
virtual void | setFrom (od_int64 target, const od_int64 *sources, const float *weights, int nrsrc) |
|
void | floodFillArrFrom (int seed, const bool *isdef, bool *shouldinterpol) const |
|
void | excludeBigHoles (const bool *isdef, bool *shouldinterpol) const |
|
virtual int | maxNrThreads () const |
|
virtual int | minThreadSize () const |
|
virtual bool | stopAllOnFailure () const |
|
| ParallelTask (const char *nm=0) |
|
| ParallelTask (const ParallelTask &) |
|
int64_t | calculateThreadSize (int64_t totalnr, int nrthreads, int thread) const |
|
void | addToNrDone (int64_t increment) |
|
void | quickAddToNrDone (int64_t loopidx) |
|
void | resetNrDone () |
|
| Task (const char *nm=0) |
|
virtual bool | shouldContinue () |
|
void | detachAllNotifiers () |
| Call from the destructor of your inherited object. More...
|
|
Interpolates 2D arrays using inverse distance method.
Parameters:
- searchradius - sets the search radius. Should have the same unit as given in setRowStep and getColStep. If undefined, all defined nodes will be used, and no other settings will be used.
- stepsize/nrsteps - sets how many nodes that will be done in each step. Each step will only use points defined in previous steps (not really true as shortcuts are made). In general, larger steps gives faster interpolation, but lower quality. If stepsize is 10, and nrsteps is 10, a border of maximum 100 nodes will be interpolated around the defined positions.
- cornersfirst - if true, algorithm will only interpolate nodes that has the same number of support (i.e. neigbors) within +-stepsize, before reevaluating which nodes to do next. Enabling cornersfirst will give high quality output at the expense of speed.