28 #ifndef LATTICES_CURVEDLATTICE2D_H
29 #define LATTICES_CURVEDLATTICE2D_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/lattices/Lattices/MaskedLattice.h>
35 #include <casacore/lattices/Lattices/PixelCurve1D.h>
36 #include <casacore/lattices/LatticeMath/CLInterpolator2D.h>
37 #include <casacore/casa/Arrays/AxesMapping.h>
211 #ifndef CASACORE_NO_AUTO_TEMPLATES
212 #include <casacore/lattices/Lattices/CurvedLattice2D.tcc>
virtual Bool isMasked() const
Is the lattice masked? It is if its parent lattice is masked.
virtual Bool doGetMaskSlice(Array< Bool > &buffer, const Slicer §ion)
Get a section of the mask.
virtual void resync()
Resynchronize the Lattice object with the lattice file.
virtual Bool hasLock(FileLocker::LockType) const
virtual uInt advisedMaxPixels() const
This function returns the recommended maximum number of pixels to include in the cursor of an iterato...
CurvedLattice2D(const CurvedLattice2D< T > &other)
Copy constructor (reference semantics)
CurvedLattice2D()
Default constructor.
MaskedLattice< T > * itsLatticePtr
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Get the best cursor shape.
virtual Bool isWritable() const
The lattice is not writable.
virtual ~CurvedLattice2D()
Destructor, does nothing.
virtual void flush()
Flush the data.
void makeMapping(uInt axis1, uInt axis2, Int curveAxis)
Make the AxesMapping object to map input to output axes.
virtual Bool ok() const
Check class internals - used for debugging.
CurvedLattice2D(const MaskedLattice< T > &, const CLInterpolator2D< T > &, const PixelCurve1D &, uInt axis1, uInt axis2, Int curveAxis=-1)
Take a curved slice from the given MaskedLattice.
virtual MaskedLattice< T > * cloneML() const
Make a copy of the object (reference semantics).
virtual void doPutSlice(const Array< T > &sourceBuffer, const IPosition &where, const IPosition &stride)
Do the actual getting of an array of values.
virtual void tempClose()
Close the Lattice temporarily (if it is paged to disk).
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle ocking of the lattice which is delegated to its parent.
CLInterpolator2D< T > * itsInterpolator
virtual Bool doGetSlice(Array< T > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
virtual String name(Bool stripPath=False) const
Return the name of the parent lattice.
virtual void reopen()
If needed, reopen a temporarily closed Lattice.
virtual Bool isPaged() const
Is the lattice paged to disk?
virtual const LatticeRegion * getRegionPtr() const
Get a pointer the region/mask object.
CurvedLattice2D< T > & operator=(const CurvedLattice2D< T > &other)
Assignment (reference semantics)
virtual IPosition shape() const
Returns the shape of the lattice.
LockType
Define the possible lock types.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.