24 #ifndef CACHEDINTERPOLATION_H_ 25 #define CACHEDINTERPOLATION_H_ 27 #include <boost/shared_array.hpp> 68 virtual boost::shared_array<float> interpolateValues(boost::shared_array<float> inData,
size_t size,
size_t& newSize)
const = 0;
70 virtual size_t getInX()
const = 0;
72 virtual size_t getInY()
const = 0;
74 virtual size_t getOutX()
const = 0;
76 virtual size_t getOutY()
const = 0;
85 virtual boost::shared_ptr<Data> getInputDataSlice(boost::shared_ptr<CDMReader> reader,
const std::string& varName,
size_t unLimDim)
const;
94 virtual boost::shared_ptr<Data> getInputDataSlice(boost::shared_ptr<CDMReader> reader,
const std::string& varName,
const SliceBuilder& sb)
const;
100 virtual boost::shared_ptr<ReducedInterpolationDomain> reducedDomain()
const {
return boost::shared_ptr<ReducedInterpolationDomain>();}
116 boost::shared_ptr<ReducedInterpolationDomain> reducedDomain_;
117 int (*func)(
const float* infield,
float* outvalues,
const double x,
const double y,
const int ix,
const int iy,
const int iz);
137 virtual boost::shared_array<float> interpolateValues(boost::shared_array<float> inData,
size_t size,
size_t& newSize)
const;
141 virtual size_t getInX()
const {
return inX;}
145 virtual size_t getInY()
const {
return inY;}
154 virtual boost::shared_ptr<ReducedInterpolationDomain>
reducedDomain()
const {
return reducedDomain_;}
CachedInterpolationInterface(std::string xDimName, std::string yDimName)
Definition: CachedInterpolation.h:66
virtual ~CachedInterpolationInterface()
Definition: CachedInterpolation.h:67
size_t yOrg
Definition: CachedInterpolation.h:56
basic_string< char > string
Definition: CachedInterpolation.h:44
size_t xMin
Definition: CachedInterpolation.h:50
Definition: SliceBuilder.h:46
size_t xOrg
Definition: CachedInterpolation.h:52
virtual size_t getInY() const
Definition: CachedInterpolation.h:145
std::string xDim
Definition: CachedInterpolation.h:46
std::string yDim
Definition: CachedInterpolation.h:48
Definition: C_CDMReader.h:35
size_t yMin
Definition: CachedInterpolation.h:54
virtual size_t getOutY() const
Definition: CachedInterpolation.h:153
virtual boost::shared_ptr< ReducedInterpolationDomain > reducedDomain() const
Definition: CachedInterpolation.h:154
virtual ~CachedInterpolation()
Definition: CachedInterpolation.h:129
Definition: CachedInterpolation.h:107
Definition: CachedInterpolation.h:62
virtual size_t getInX() const
Definition: CachedInterpolation.h:141
virtual size_t getOutX() const
Definition: CachedInterpolation.h:149