28 #ifndef LATTICES_CURVEDLATTICE2D_H
29 #define LATTICES_CURVEDLATTICE2D_H
82 class CurvedLattice2D:
public MaskedLattice<T>
107 const PixelCurve1D&,
uInt axis1,
uInt axis2,
117 CurvedLattice2D<T>&
operator=(
const CurvedLattice2D<T>& other);
120 virtual MaskedLattice<T>*
cloneML()
const;
151 virtual void flush();
166 virtual IPosition
shape()
const;
179 virtual Bool doGetSlice (Array<T>& buffer,
const Slicer& section);
182 virtual void doPutSlice (
const Array<T>& sourceBuffer,
183 const IPosition& where,
184 const IPosition& stride);
211 #ifndef CASACORE_NO_AUTO_TEMPLATES
212 #include <casacore/lattices/Lattices/CurvedLattice2D.tcc>
213 #endif //# CASACORE_NO_AUTO_TEMPLATES
virtual IPosition shape() const
Returns the shape of the lattice.
CLInterpolator2D< T > * itsInterpolator
virtual Bool doGetSlice(Array< T > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
virtual ~CurvedLattice2D()
Destructor, does nothing.
virtual Bool isMasked() const
Is the lattice masked? It is if its parent lattice is masked.
Abstract base class for interpolator used by CurvedLattice2D.
virtual uInt advisedMaxPixels() const
This function returns the recommended maximum number of pixels to include in the cursor of an iterato...
CurvedLattice2D()
Default constructor.
virtual void reopen()
If needed, reopen a temporarily closed Lattice.
A templated, abstract base class for array-like objects with masks.
virtual void resync()
Resynchronize the Lattice object with the lattice file.
Info about mapping array axes to another order.
virtual const LatticeRegion * getRegionPtr() const
Get a pointer the region/mask object.
virtual Bool doGetMaskSlice(Array< Bool > &buffer, const Slicer §ion)
Get a section of the mask.
virtual Bool hasLock(FileLocker::LockType) const
virtual Bool isPaged() const
Is the lattice paged to disk?
virtual MaskedLattice< T > * cloneML() const
Make a copy of the object (reference semantics).
CurvedLattice2D< T > & operator=(const CurvedLattice2D< T > &other)
Assignment (reference semantics)
Arbitrary 1-dim curve in a lattice plane.
void makeMapping(uInt axis1, uInt axis2, Int curveAxis)
Make the AxesMapping object to map input to output axes.
bool Bool
Define the standard types used by Casacore.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle ocking of the lattice which is delegated to its parent.
virtual void tempClose()
Close the Lattice temporarily (if it is paged to disk).
virtual void doPutSlice(const Array< T > &sourceBuffer, const IPosition &where, const IPosition &stride)
Do the actual getting of an array of values.
virtual void flush()
Flush the data.
virtual Bool ok() const
Check class internals - used for debugging.
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Get the best cursor shape.
LockType
Define the possible lock types.
virtual String name(Bool stripPath=False) const
Return the name of the parent lattice.
MaskedLattice< T > * itsLatticePtr
virtual Bool isWritable() const
The lattice is not writable.