29 #ifndef SCIMATH_GRIDDER_H
30 #define SCIMATH_GRIDDER_H
45 template <
class Domain,
class Range>
57 const Range&
value) = 0;
111 #ifndef CASACORE_NO_AUTO_TEMPLATES
112 #include <casacore/scimath/Mathematics/Gridder.tcc>
113 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
Vector< Int > & location(Vector< Int > &loc, const Vector< Domain > &pos)
A base class for gridding.
virtual Bool degrid(const Array< Range > &, const Vector< Domain > &position, Range &value)=0
LatticeExprNode floor(const LatticeExprNode &expr)
virtual void fillCorrectionVectors()
virtual Range correct(const IPosition &loc)
Vector< Domain > & position(Vector< Domain > &gpos, const Vector< Domain > &pos)
virtual Range correctionFactor1D(Int loc, Int len)=0
Correction factor for 1 dimension.
virtual Bool grid(Array< Range > &, const Vector< Domain > &position, const Range &value)=0
bool Bool
Define the standard types used by Casacore.
Vector< Int > zeroShapeVec
Vector< Vector< Range > > correctionVectors
A templated N-D Array class with zero origin. Array<T, Alloc> is a templated, N-dimensional, Array class. The origin is zero, but by default indices are zero-based. This Array class is the base class for the Vector, Matrix, and Cube subclasses.
void setOffset(const Vector< Int > &off)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
virtual Bool onGrid(const Vector< Int > &loc)
virtual void correctX1D(Vector< Range > &factor, const Int locy)
Return a correction vector in x for loc y.