te::st::IDWInterpolator Class Reference

A class that implements an inverse distance weighted (IDW) interpolationan function for PointCoverage. More...

#include <IDWInterpolator.h>

Inheritance diagram for te::st::IDWInterpolator:
te::st::AbstractPointCoverageInterp te::common::Singleton< IDWInterpolator >

Public Member Functions

std::auto_ptr< te::dt::AbstractDataestimate (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::AbstractParametersgetParams ()
 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 IDWInterpolatorgetInstance ()
 It returns a reference to the singleton instance. More...
 

Protected Member Functions

 IDWInterpolator ()
 Constructor. More...
 

Friends

class te::common::Singleton< IDWInterpolator >
 

Detailed Description

A class that implements an inverse distance weighted (IDW) interpolationan function for PointCoverage.

See also
AbstractPointCoverageInterp PointCoverage

Definition at line 49 of file IDWInterpolator.h.

Constructor & Destructor Documentation

virtual te::st::IDWInterpolator::~IDWInterpolator ( )
virtual

Virtual destructor.

te::st::IDWInterpolator::IDWInterpolator ( )
protected

Constructor.

Member Function Documentation

std::auto_ptr<te::dt::AbstractData> te::st::IDWInterpolator::estimate ( const PointCoverage cv,
unsigned int  p,
const te::gm::Point l 
)
virtual

It estimates a value at a given non-observed location, in a PointCoverage.

Parameters
cvA PointCoverage
pThe index of the PointCoverage property to be estimated
lA given non-observed location.
Returns
The estimated value.
Note
The caller will take the ownership of the output Geometry pointer.

Implements te::st::AbstractPointCoverageInterp.

static IDWInterpolator & te::common::Singleton< IDWInterpolator >::getInstance ( )
staticinherited

It returns a reference to the singleton instance.

Returns
A reference to the singleton instance.
te::common::AbstractParameters* te::st::IDWInterpolator::getParams ( )
inlinevirtual

It gets the parameters associated to the interpolator.

Returns
It returns the parameters associated to the interpolator.
Note
The caller will not take the ownership of the returned pointer.

Implements te::st::AbstractPointCoverageInterp.

Definition at line 55 of file IDWInterpolator.h.

void te::st::IDWInterpolator::setParams ( te::common::AbstractParameters p)
inlinevirtual

It sets the parameters associated to the interpolator.

Parameters
pThe parameters to be associated to the interpolator.
Note
It will take the ownership of the given pointer.

Implements te::st::AbstractPointCoverageInterp.

Definition at line 57 of file IDWInterpolator.h.

Friends And Related Function Documentation

friend class te::common::Singleton< IDWInterpolator >
friend

Definition at line 51 of file IDWInterpolator.h.


The documentation for this class was generated from the following file: