Go to the documentation of this file.
28 #ifndef IMAGES_REBINIMAGE_H
29 #define IMAGES_REBINIMAGE_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/images/Images/ImageInterface.h>
188 virtual void flush();
209 #ifndef CASACORE_NO_AUTO_TEMPLATES
210 #include <casacore/images/Images/RebinImage.tcc>
211 #endif //# CASACORE_NO_AUTO_TEMPLATES
A base class for astronomical images.
Specify which elements to extract from an n-dimensional array.
virtual Bool hasPixelMask() const
Does the image object have a pixelmask? It does if its parent has a pixelmask.
virtual Bool hasLock(FileLocker::LockType) const
A Vector of integers, for indexing into Array<T> objects.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle the (un)locking and syncing, etc.
virtual Bool isPersistent() const
A RebinImage is not persistent.
virtual void resize(const TiledShape &newShape)
Function which changes the shape of the RebinImage.
virtual void resync()
Resynchronize the Lattice object with the lattice file.
LockType
Define the possible lock types.
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Get the best cursor shape.
virtual void flush()
Flush the data (but do not unlock).
virtual Bool isPaged() const
Is the RebinImage paged to disk?
virtual void tempClose()
Temporarily close the lattice.
An optionally strided region in a Lattice.
ostream-like interface to creating log messages.
RebinImage< T > & operator=(const RebinImage< T > &other)
Assignment (reference semantics).
virtual const Lattice< Bool > & pixelMask() const
Get access to the pixelmask in use (thus to the pixelmask of the parent).
Abstract base class to steer lattice iterators.
virtual Bool doGetSlice(Array< T > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
virtual Bool ok() const
Check class invariants.
this file contains all the compiler specific defines
virtual IPosition shape() const
Returns the shape of the RebinImage.
virtual ImageAttrHandler & attrHandler(Bool createHandler=False)
Get access to the attribute handler (of the parent image).
ImageInterface< T > * itsImagePtr
virtual Bool doGetMaskSlice(Array< Bool > &buffer, const Slicer §ion)
Get a section of the mask.
virtual uInt advisedMaxPixels() const
This function returns the recommended maximum number of pixels to include in the cursor of an iterato...
RebinImage()
Default constructor (object useless)
virtual String name(Bool stripPath=False) const
Return the name of the parent ImageInterface object.
virtual String imageType() const
Get the image type (returns name of derived class).
template <class T, class U> class vector;
virtual const LatticeRegion * getRegionPtr() const
Get the region used (always returns 0).
virtual void reopen()
Explicitly reopen the temporarily closed lattice.
String: the storage and methods of handling collections of characters.
RebinLattice< T > * itsRebinPtr
bool Bool
Define the standard types used by Casacore.
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...
Abstract base class for an image attributes handler.
virtual ImageInterface< T > * cloneII() const
Make a copy of the object (reference semantics).
virtual Bool isMasked() const
Is the RebinImage masked? It is if its parent image is masked.
virtual void doPutSlice(const Array< T > &sourceBuffer, const IPosition &where, const IPosition &stride)
Putting data is not possible as the lattice is not writable.
Define the shape and tile shape.
virtual Bool isWritable() const
An RebinImage is not writable.
A base class for Lattice iterators.