Go to the documentation of this file.
28 #ifndef IMAGES_EXTENDIMAGE_H
29 #define IMAGES_EXTENDIMAGE_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/images/Images/ImageInterface.h>
35 #include <casacore/casa/Utilities/PtrHolder.h>
204 #ifndef CASACORE_NO_AUTO_TEMPLATES
205 #include <casacore/images/Images/ExtendImage.tcc>
206 #endif //# CASACORE_NO_AUTO_TEMPLATES
Interconvert pixel and world coordinates.
A base class for astronomical images.
Specify which elements to extract from an n-dimensional array.
virtual Lattice< Bool > & pixelMask()
A Vector of integers, for indexing into Array<T> objects.
virtual uInt advisedMaxPixels() const
This function returns the recommended maximum number of pixels to include in the cursor of an iterato...
virtual Bool isMasked() const
Is the ExtendImage masked? It is if its parent image is masked.
virtual String name(Bool stripPath=False) const
Return the name of the parent ImageInterface object.
LockType
Define the possible lock types.
virtual void doPutSlice(const Array< T > &sourceBuffer, const IPosition &where, const IPosition &stride)
Putting data is not possible.
An optionally strided region in a Lattice.
virtual Bool ok() const
Check class invariants.
virtual IPosition shape() const
Returns the shape of the ExtendImage.
ExtendImage(const ExtendImage< T > &other)
Copy constructor (reference semantics).
PtrHolder< ExtendLattice< T > > itsExtLatPtr
virtual Bool hasPixelMask() const
Does the image object have a pixelmask? It does if its parent has a pixelmask.
Hold and delete pointers not deleted by object destructors.
Abstract base class to steer lattice iterators.
virtual Bool hasLock(FileLocker::LockType) const
virtual ImageAttrHandler & attrHandler(Bool createHandler=False)
Get access to the attribute handler (of the parent image).
virtual Bool doGetSlice(Array< T > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
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 const LatticeRegion * getRegionPtr() const
Get the region used (always returns 0).
ExtendImage()
The default constructor.
this file contains all the compiler specific defines
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle the (un)locking and syncing, etc.
virtual Bool isPaged() const
Is the ExtendImage paged to disk?
virtual Bool isWritable() const
An ExtendImage is not writable.
virtual Bool isPersistent() const
A ExtendImage is not persistent.
ExtendImage< T > & operator=(const ExtendImage< T > &other)
Assignment (reference semantics).
virtual String imageType() const
Get the image type (returns name of derived class).
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Get the best cursor shape.
virtual ImageInterface< T > * cloneII() const
Make a copy of the object (reference semantics).
template <class T, class U> class vector;
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.
bool Bool
Define the standard types used by Casacore.
PtrHolder< ImageInterface< T > > itsImagePtr
ExtendImage(const ImageInterface< T > &image, const IPosition &newShape, const CoordinateSystem &newCsys)
Create a ExtendImage from a Image.
Abstract base class for an image attributes handler.
virtual void resize(const TiledShape &newShape)
Function which changes the shape of the ExtendImage.
virtual const Lattice< Bool > & pixelMask() const
Get access to the pixelmask in use (thus to the pixelmask of the parent).
An extension of an ImageInterface object.
An extension of a Lattice or MaskedLattice.
Define the shape and tile shape.
A base class for Lattice iterators.