#include <CachedInterpolation.h>
Interface for new cached spatial interpolation as used in MetNoFimex::CDMInterpolator
MetNoFimex::CachedInterpolationInterface::CachedInterpolationInterface |
( |
std::string |
xDimName, |
|
|
std::string |
yDimName |
|
) |
| |
|
inline |
virtual MetNoFimex::CachedInterpolationInterface::~CachedInterpolationInterface |
( |
| ) |
|
|
inlinevirtual |
virtual boost::shared_ptr<Data> MetNoFimex::CachedInterpolationInterface::getInputDataSlice |
( |
boost::shared_ptr< CDMReader > |
reader, |
|
|
const std::string & |
varName, |
|
|
size_t |
unLimDim |
|
) |
| const |
|
virtual |
Read the input data from the reader, which is later used for the interpolateValues() function. This function will eventually reduce the domain of the input data if createReducedDomain was called earlier.
- Parameters
-
- Returns
- Data matching input-data for this CachedInterpolationInterface
virtual boost::shared_ptr<Data> MetNoFimex::CachedInterpolationInterface::getInputDataSlice |
( |
boost::shared_ptr< CDMReader > |
reader, |
|
|
const std::string & |
varName, |
|
|
const SliceBuilder & |
sb |
|
) |
| const |
|
virtual |
Read the input data from the reader, which is later used for the interpolateValues() function. This function will eventually reduce the domain of the input data if createReducedDomain was called earlier.
- Parameters
-
reader | |
varName | |
sb | a slicebuilder to reduce other than the horizontal dimensions |
- Returns
- Data matching input-data for this CachedInterpolationInterface
virtual size_t MetNoFimex::CachedInterpolationInterface::getInX |
( |
| ) |
const |
|
pure virtual |
virtual size_t MetNoFimex::CachedInterpolationInterface::getInY |
( |
| ) |
const |
|
pure virtual |
virtual size_t MetNoFimex::CachedInterpolationInterface::getOutX |
( |
| ) |
const |
|
pure virtual |
virtual size_t MetNoFimex::CachedInterpolationInterface::getOutY |
( |
| ) |
const |
|
pure virtual |
virtual boost::shared_array<float> MetNoFimex::CachedInterpolationInterface::interpolateValues |
( |
boost::shared_array< float > |
inData, |
|
|
size_t |
size, |
|
|
size_t & |
newSize |
|
) |
| const |
|
pure virtual |
The documentation for this class was generated from the following file: