A class that implements an inverse distance weighted (IDW) interpolationan function for PointCoverage. More...
#include <IDWInterpolator.h>
Public Member Functions | |
std::auto_ptr< te::dt::AbstractData > | estimate (const PointCoverage &cv, unsigned int p, const te::gm::Point &l) |
It estimates a value at a given non-observed location, in a PointCoverage. More... | |
te::common::AbstractParameters * | getParams () |
It gets the parameters associated to the interpolator. More... | |
void | setParams (te::common::AbstractParameters *p) |
It sets the parameters associated to the interpolator. More... | |
virtual | ~IDWInterpolator () |
Virtual destructor. More... | |
Static Public Member Functions | |
static IDWInterpolator & | getInstance () |
It returns a reference to the singleton instance. More... | |
Protected Member Functions | |
IDWInterpolator () | |
Constructor. More... | |
Friends | |
class | te::common::Singleton< IDWInterpolator > |
A class that implements an inverse distance weighted (IDW) interpolationan function for PointCoverage.
Definition at line 49 of file IDWInterpolator.h.
|
virtual |
Virtual destructor.
Definition at line 40 of file IDWInterpolator.cpp.
|
protected |
Constructor.
Definition at line 36 of file IDWInterpolator.cpp.
|
virtual |
It estimates a value at a given non-observed location, in a PointCoverage.
cv | A PointCoverage |
p | The index of the PointCoverage property to be estimated |
l | A given non-observed location. |
Implements te::st::AbstractPointCoverageInterp.
Definition at line 44 of file IDWInterpolator.cpp.
References te::st::PointCoverage::begin(), te::gm::Geometry::distance(), te::st::PointCoverage::end(), te::st::PointCoverageIterator::getDouble(), and te::st::PointCoverageIterator::getLocation().
|
staticinherited |
It returns a reference to the singleton instance.
|
inlinevirtual |
It gets the parameters associated to the interpolator.
Implements te::st::AbstractPointCoverageInterp.
Definition at line 55 of file IDWInterpolator.h.
|
inlinevirtual |
It sets the parameters associated to the interpolator.
p | The parameters to be associated to the interpolator. |
Implements te::st::AbstractPointCoverageInterp.
Definition at line 57 of file IDWInterpolator.h.
|
friend |
Definition at line 51 of file IDWInterpolator.h.