28 #ifndef LATTICES_LATTICESLICE1D_H
29 #define LATTICES_LATTICESLICE1D_H
41 template <
class T>
class MaskedLattice;
167 #ifndef CASACORE_NO_AUTO_TEMPLATES
168 #include <casacore/lattices/LatticeMath/LatticeSlice1D.tcc>
169 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
void getPosition(uInt &axis0, uInt &axis1, Vector< Float > &x, Vector< Float > &y, Vector< Float > &distance) const
Get the (x,y) pixel coordinates from the last slice and the distance along the slice in pixels...
A 1-D Specialization of the Array class.
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
void makeInterpolator(Method method)
Make Interpolator.
LatticeSlice1D()
Default constructor - object useless.
A templated, abstract base class for array-like objects with masks.
Extract a 1-D slice from a Lattice.
void getSlice(Vector< T > &data, Vector< Bool > &mask, const PixelCurve1D &curve, uInt axis0, uInt axis1, const IPosition &coord)
Get 1-D slice.
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
MaskedLattice< T > * itsLatticePtr
Arbitrary 1-dim curve in a lattice plane.
virtual ~LatticeSlice1D()
Destructor.
static Method stringToMethod(const String &method)
void doGetSlice(Vector< T > &data, Vector< Bool > &mask, const PixelCurve1D &curve, const IPosition &blc, const IPosition &trc)
Get the interpolated slice.
Method
Interpolation method.
void findPlane(const IPosition &blc, const IPosition &trc)
Find the slice plane.
LatticeSlice1D< T > & operator=(const LatticeSlice1D< T > &other)
Assignment operator (reference semantics)
A two dimension interpolator for Matrices or Arrays.
String: the storage and methods of handling collections of characters.
Interpolate2D * itsInterpPtr
Method interpolationMethod() const
Recover interpolation method.
void checkCurve(IPosition &blc, IPosition &trc, const IPosition &coord, const PixelCurve1D &curve)
Check the suppliec curve is valid.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.