Go to the documentation of this file.
28 #ifndef LATTICES_LCHDF5MASK_H
29 #define LATTICES_LCHDF5MASK_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/lattices/LRegions/LCBox.h>
34 #include <casacore/lattices/Lattices/HDF5Lattice.h>
virtual ~LCHDF5Mask()
Destructor.
A Vector of integers, for indexing into Array<T> objects.
static LCHDF5Mask * fromRecord(const TableRecord &, const String &tablename)
Convert correct object from a record.
A hierarchical collection of named fields of various types.
LCHDF5Mask(const LCHDF5Mask &other)
Copy constructor (copy semantics).
Referenced counted pointer for constant data.
Class to define a rectangular box of interest.
LCHDF5Mask(HDF5Lattice< Bool > &mask, const IPosition &blc, const IPosition &latticeShape)
Create the object from a record (for an existing mask).
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Help the user pick a cursor for most efficient access.
LCHDF5Mask(HDF5Lattice< Bool > &mask, const LCBox &box)
virtual LatticeIterInterface< Bool > * 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 to steer lattice iterators.
Class to define a rectangular mask as a region.
virtual uInt advisedMaxPixels() const
Returns the maximum recommended number of pixels for a cursor.
Abstract base class to define a region of interest in lattice coordinates.
virtual Bool isWritable() const
An LCHDF5Mask is writable if the underlying HDF5Lattice is.
this file contains all the compiler specific defines
Abstract base class to define a single region.
const IPosition & latticeShape() const
Give the full lattice shape.
virtual void flush()
Flush the data (but do not unlock).
LCHDF5Mask & operator=(const LCHDF5Mask &other)
Assignment (reference semantics).
HDF5Lattice< Bool > itsMask
LCHDF5Mask(const TiledShape &maskShape, const LCBox &box, const CountedPtr< HDF5File > &file, const String &maskName)
virtual LCRegion * doTranslate(const Vector< Float > &translateVector, const IPosition &newLatticeShape) const
Construct another LCHDF5Mask (for e.g.
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
virtual String type() const
Region type.
virtual LCRegion * cloneRegion() const
Make a copy of the derived object.
virtual Bool operator==(const LCRegion &other) const
Comparison.
LCHDF5Mask(const TiledShape &latticeShape, const CountedPtr< HDF5File > &file, const String &maskName)
Construct an HDF5Mask object for (part of) a lattice.
String: the storage and methods of handling collections of characters.
virtual TableRecord toRecord(const String &tableName) const
Convert the (derived) object to a record.
bool Bool
Define the standard types used by Casacore.
static String className()
Get the class name (to store in the record).
Define the shape and tile shape.
A base class for Lattice iterators.