Go to the documentation of this file.
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>
213 #endif //# CASACORE_NO_AUTO_TEMPLATES
void makeMapping(uInt axis1, uInt axis2, Int curveAxis)
Make the AxesMapping object to map input to output axes.
CurvedLattice2D(const MaskedLattice< T > &, const CLInterpolator2D< T > &, const PixelCurve1D &, uInt axis1, uInt axis2, Int curveAxis=-1)
Take a curved slice from the given MaskedLattice.
MaskedLattice< T > * itsLatticePtr
virtual void doPutSlice(const Array< T > &sourceBuffer, const IPosition &where, const IPosition &stride)
Do the actual getting of an array of values.
virtual Bool isMasked() const
Is the lattice masked? It is if its parent lattice is masked.
virtual const LatticeRegion * getRegionPtr() const
Get a pointer the region/mask object.
LockType
Define the possible lock types.
virtual Bool isPaged() const
Is the lattice paged to disk?
virtual String name(Bool stripPath=False) const
Return the name of the parent lattice.
virtual void flush()
Flush the data.
CurvedLattice2D< T > & operator=(const CurvedLattice2D< T > &other)
Assignment (reference semantics)
CurvedLattice2D()
Default constructor.
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Get the best cursor shape.
CLInterpolator2D< T > * itsInterpolator
this file contains all the compiler specific defines
virtual uInt advisedMaxPixels() const
This function returns the recommended maximum number of pixels to include in the cursor of an iterato...
virtual ~CurvedLattice2D()
Destructor, does nothing.
virtual Bool isWritable() const
The lattice is not writable.
virtual Bool hasLock(FileLocker::LockType) const
virtual void resync()
Resynchronize the Lattice object with the lattice file.
virtual void reopen()
If needed, reopen a temporarily closed Lattice.
virtual void tempClose()
Close the Lattice temporarily (if it is paged to disk).
template <class T, class U> class vector;
String: the storage and methods of handling collections of characters.
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 Bool doGetSlice(Array< T > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
virtual Bool ok() const
Check class internals - used for debugging.
virtual MaskedLattice< T > * cloneML() const
Make a copy of the object (reference semantics).
virtual IPosition shape() const
Returns the shape of the lattice.
CurvedLattice2D(const CurvedLattice2D< T > &other)
Copy constructor (reference semantics)
virtual Bool doGetMaskSlice(Array< Bool > &buffer, const Slicer §ion)
Get a section of the mask.