#include <CachedInterpolation.h>
Public Member Functions | |
CachedInterpolation (int funcType, std::vector< double > pointsOnXAxis, std::vector< double > pointsOnYAxis, size_t inX, size_t inY, size_t outX, size_t outY) | |
virtual | ~CachedInterpolation () |
virtual boost::shared_array < float > | interpolateValues (boost::shared_array< float > inData, size_t size, size_t &newSize) const |
MetNoFimex::CachedInterpolation::CachedInterpolation | ( | int | funcType, | |
std::vector< double > | pointsOnXAxis, | |||
std::vector< double > | pointsOnYAxis, | |||
size_t | inX, | |||
size_t | inY, | |||
size_t | outX, | |||
size_t | outY | |||
) |
funcType | interpolation.h interpolation method | |
pointsOnXAxis | projected values of the new projections coordinates expressed in the current x-coordinate (size = outX*outY) | |
pointsOnYAxis | projected values of the new projections coordinates expressed in the current y-coordinate (size = outX*outY) | |
inX | size of current X axis | |
inY | size of current Y axis | |
outX | size of new X axis | |
outY | size of new Y axis |
virtual MetNoFimex::CachedInterpolation::~CachedInterpolation | ( | ) | [inline, virtual] |
virtual boost::shared_array<float> MetNoFimex::CachedInterpolation::interpolateValues | ( | boost::shared_array< float > | inData, | |
size_t | size, | |||
size_t & | newSize | |||
) | const [virtual] |
Actually interpolate the data. The data will be interpolated as floats internally.
inData | the input data | |
the | size of the input data array | |
newSize | return the size of the output-array |
Implements MetNoFimex::CachedInterpolationInterface.