29 #ifndef SCIMATH_GRIDDER_H 30 #define SCIMATH_GRIDDER_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/Arrays/Array.h> 34 #include <casacore/casa/Arrays/Vector.h> 35 #include <casacore/casa/Arrays/Matrix.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
template <class T, class U> class vector;
void setOffset(const Vector< Int > &off)
this file contains all the compiler specific defines
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.