28 #ifndef IMAGES_CURVEDIMAGE2D_H
29 #define IMAGES_CURVEDIMAGE2D_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/images/Images/ImageInterface.h>
39 template <
class T>
class CurvedLattice2D;
40 template <
class T>
class CLInterpolator2D;
253 #ifndef CASACORE_NO_AUTO_TEMPLATES
254 #include <casacore/images/Images/CurvedImage2D.tcc>
CurvedImage2D()
The default constructor.
virtual Bool doGetMaskSlice(Array< Bool > &buffer, const Slicer §ion)
Get a section of the mask.
CurvedImage2D< T > & operator=(const CurvedImage2D< T > &other)
Assignment (reference semantics).
virtual uInt advisedMaxPixels() const
This function returns the recommended maximum number of pixels to include in the cursor of an iterato...
virtual void reopen()
Explicitly reopen the temporarily closed lattice.
virtual ImageInterface< T > * cloneII() const
Make a copy of the object (reference semantics).
virtual ImageAttrHandler & attrHandler(Bool createHandler=False)
Get access to the attribute handler (of the parent image).
CurvedLattice2D< T > * itsCurLatPtr
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 IPosition shape() const
Returns the shape of the CurvedImage2D.
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Get the best cursor shape.
virtual Bool hasLock(FileLocker::LockType) const
virtual Bool hasPixelMask() const
Does the image object have a pixelmask? It does if its parent has a pixelmask.
virtual const Lattice< Bool > & pixelMask() const
Get access to the pixelmask in use (thus to the pixelmask of the parent).
virtual String imageType() const
Get the image type (returns name of derived class).
virtual Bool isWritable() const
An CurvedImage2D is not writable.
virtual Bool isPaged() const
Is the CurvedImage2D paged to disk?
virtual Bool ok() const
Check class invariants.
ImageInterface< T > * itsImagePtr
virtual Bool isMasked() const
Is the CurvedImage2D masked? It is if its parent image is masked.
virtual Bool doGetSlice(Array< T > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
virtual Bool lock(FileLocker::LockType, uInt nattempts)
Handle the (un)locking and syncing, etc.
virtual void tempClose()
Temporarily close the lattice.
virtual void resync()
Resynchronize the Lattice object with the lattice file.
virtual void doPutSlice(const Array< T > &sourceBuffer, const IPosition &where, const IPosition &stride)
Putting data is not possible.
CurvedImage2D(const ImageInterface< T > &, const CLInterpolator2D< T > &, const PixelCurve1D &, uInt axis1, uInt axis2, Int curveAxis=-1)
Take a curved slice from the given image.
virtual void flush()
Flush the data (but do not unlock).
virtual void resize(const TiledShape &newShape)
Function which changes the shape of the CurvedImage2D.
virtual Bool isPersistent() const
A CurvedImage2D is not persistent.
CurvedImage2D(const CurvedImage2D< T > &other)
Copy constructor (reference semantics).
virtual Lattice< Bool > & pixelMask()
virtual const LatticeRegion * getRegionPtr() const
Get the region used (always returns 0).
virtual String name(Bool stripPath=False) const
Return the name of the parent ImageInterface object.
LockType
Define the possible lock types.
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.