28 #ifndef IMAGES_EXTENDIMAGE_H
29 #define IMAGES_EXTENDIMAGE_H
40 template <
class T>
class ExtendLattice;
183 virtual void flush();
204 #ifndef CASACORE_NO_AUTO_TEMPLATES
205 #include <casacore/images/Images/ExtendImage.tcc>
206 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
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 imageType() const
Get the image type (returns name of derived class).
virtual String name(Bool stripPath=False) const
Return the name of the parent ImageInterface object.
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 void flush()
Flush the data (but do not unlock).
virtual void resync()
Resynchronize the Lattice object with the lattice file.
Hold and delete pointers not deleted by object destructors.
PtrHolder< ExtendLattice< T > > itsExtLatPtr
Abstract base class for an image attributes handler.
virtual const LatticeRegion * getRegionPtr() const
Get the region used (always returns 0).
virtual ImageAttrHandler & attrHandler(Bool createHandler=False)
Get access to the attribute handler (of the parent image).
A base class for Lattice iterators.
Define the shape and tile shape.
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Get the best cursor shape.
A base class for astronomical images.
virtual const Lattice< Bool > & pixelMask() const
Get access to the pixelmask in use (thus to the pixelmask of the parent).
virtual Bool doGetSlice(Array< T > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
virtual Bool isPersistent() const
A ExtendImage is not persistent.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle the (un)locking and syncing, etc.
bool Bool
Define the standard types used by Casacore.
ExtendImage()
The default constructor.
virtual Bool isPaged() const
Is the ExtendImage paged to disk?
An extension of an ImageInterface object.
virtual Bool ok() const
Check class invariants.
template <class T, class U> class vector;
virtual ImageInterface< T > * cloneII() const
Make a copy of the object (reference semantics).
PtrHolder< ImageInterface< T > > itsImagePtr
virtual IPosition shape() const
Returns the shape of the ExtendImage.
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 void reopen()
Explicitly reopen the temporarily closed lattice.
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...
ExtendImage< T > & operator=(const ExtendImage< T > &other)
Assignment (reference semantics).
virtual void tempClose()
Temporarily close the lattice.
String: the storage and methods of handling collections of characters.
An optionally strided region in a Lattice.
virtual Bool hasLock(FileLocker::LockType) const
LockType
Define the possible lock types.
virtual Bool isWritable() const
An ExtendImage is not writable.
virtual void resize(const TiledShape &newShape)
Function which changes the shape of the ExtendImage.
Interconvert pixel and world coordinates.
Abstract base class to steer lattice iterators.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.