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