26#ifndef IMAGES_REBINIMAGE_H
27#define IMAGES_REBINIMAGE_H
31#include <casacore/casa/aips.h>
32#include <casacore/images/Images/ImageInterface.h>
37template <
class T>
class RebinLattice;
207#ifndef CASACORE_NO_AUTO_TEMPLATES
208#include <casacore/images/Images/RebinImage.tcc>
LockType
Define the possible lock types.
void setCoordsMember(const CoordinateSystem &coords)
Set the coordinate system variable.
LoggerHolder & logger()
Get access to the LoggerHolder.
virtual void reopen()
Explicitly reopen the temporarily closed lattice.
virtual void resync()
Resynchronize the Lattice object with the lattice file.
virtual const Lattice< Bool > & pixelMask() const
Get access to the pixelmask in use (thus to the pixelmask of the parent).
virtual ImageAttrHandler & attrHandler(Bool createHandler=False)
Get access to the attribute handler (of the parent image).
RebinLattice< T > * itsRebinPtr
virtual Lattice< Bool > & pixelMask()
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Get the best cursor shape.
virtual const LatticeRegion * getRegionPtr() const
Get the region used (always returns 0).
virtual void flush()
Flush the data (but do not unlock).
virtual Bool hasLock(FileLocker::LockType) const
virtual void doPutSlice(const Array< T > &sourceBuffer, const IPosition &where, const IPosition &stride)
Putting data is not possible as the lattice is not writable.
virtual Bool isMasked() const
Is the RebinImage masked? It is if its parent image is masked.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle the (un)locking and syncing, etc.
virtual void tempClose()
Temporarily close the lattice.
virtual uInt advisedMaxPixels() const
This function returns the recommended maximum number of pixels to include in the cursor of an iterato...
virtual Bool hasPixelMask() const
Does the image object have a pixelmask? It does if its parent has a pixelmask.
virtual ImageInterface< T > * cloneII() const
Make a copy of the object (reference semantics).
virtual Bool isWritable() const
An RebinImage is not writable.
virtual Bool doGetSlice(Array< T > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
RebinImage< T > & operator=(const RebinImage< T > &other)
Assignment (reference semantics).
virtual String imageType() const
Get the image type (returns name of derived class).
RebinImage(const ImageInterface< T > &, const IPosition &factors)
Constructor.
RebinImage()
Default constructor (object useless)
virtual Bool ok() const
Check class invariants.
virtual void resize(const TiledShape &newShape)
Function which changes the shape of the RebinImage.
virtual LatticeIterInterface< T > * makeIter(const LatticeNavigator &navigator, Bool useRef) const
This function is used by the LatticeIterator class to generate an iterator of the correct type for th...
virtual String name(Bool stripPath=False) const
Return the name of the parent ImageInterface object.
virtual Bool isPersistent() const
A RebinImage is not persistent.
virtual IPosition shape() const
Returns the shape of the RebinImage.
ImageInterface< T > * itsImagePtr
virtual Bool isPaged() const
Is the RebinImage paged to disk?
RebinImage(const RebinImage< T > &other)
Copy constructor (reference semantics).
virtual Bool doGetMaskSlice(Array< Bool > &buffer, const Slicer §ion)
Get a section of the mask.
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.