Go to the documentation of this file.
28 #ifndef LATTICES_REBINLATTICE_H
29 #define LATTICES_REBINLATTICE_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/Array.h>
35 #include <casacore/casa/Arrays/Slicer.h>
36 #include <casacore/lattices/Lattices/MaskedLattice.h>
197 #ifndef CASACORE_NO_AUTO_TEMPLATES
198 #include <casacore/lattices/Lattices/RebinLattice.tcc>
199 #endif //# CASACORE_NO_AUTO_TEMPLATES
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle locking of the lattice which is delegated to its parent.
void bin(const Array< T > &dataIn, const Array< Bool > &maskIn)
virtual Bool isWritable() const
The lattice is not writable.
virtual Bool ok() const
Check class internals - used for debugging.
virtual Bool isMasked() const
Is the lattice masked? It is if its parent lattice is masked.
virtual void resync()
Resynchronize the Lattice object with the lattice file.
virtual ~RebinLattice()
Destructor.
virtual String name(Bool stripPath=False) const
Return the name of the parent lattice.
virtual void reopen()
If needed, reopen a temporarily closed Lattice.
LockType
Define the possible lock types.
virtual uInt advisedMaxPixels() const
This function returns the recommended maximum number of pixels to include in the cursor of an iterato...
virtual MaskedLattice< T > * cloneML() const
Make a copy of the object (reference semantics).
static IPosition rebinShape(const IPosition &shapeLatticeIn, const IPosition &bin)
Static function needed by LEL.
void getDataAndMask(const Slicer §ion)
virtual Bool isPaged() const
Is the lattice paged to disk?
RebinLattice(const MaskedLattice< T > &lattice, const IPosition &bin)
Constructor.
RebinLattice< T > & operator=(const RebinLattice< T > &other)
Assignment (reference semantics)
virtual const LatticeRegion * getRegionPtr() const
Get a pointer the region/mask object.
RebinLattice(const RebinLattice< T > &other)
Copy constructor (reference semantics)
MaskedLattice< T > * itsLatticePtr
this file contains all the compiler specific defines
virtual void doPutSlice(const Array< T > &sourceBuffer, const IPosition &where, const IPosition &stride)
Do the actual putting of an array of values.
virtual Bool hasLock(FileLocker::LockType) const
virtual void flush()
Flush the data.
template <class T, class U> class vector;
virtual IPosition shape() const
Returns the shape of the lattice.
String: the storage and methods of handling collections of characters.
virtual Bool doGetMaskSlice(Array< Bool > &buffer, const Slicer §ion)
Get a section of the mask.
bool Bool
Define the standard types used by Casacore.
Slicer findOriginalSlicer(const Slicer §ion) const
void bin(const Array< T > &dataIn)
virtual void tempClose()
Close the Lattice temporarily (if it is paged to disk).
virtual Bool doGetSlice(Array< T > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
RebinLattice()
Default constructor (Object is unuseable)