28 #ifndef LATTICES_LCREGIONMULTI_H 29 #define LATTICES_LCREGIONMULTI_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/lattices/LRegions/LCRegion.h> 34 #include <casacore/casa/Arrays/IPosition.h> 35 #include <casacore/casa/Containers/Block.h> 154 const Slicer& section) = 0;
TableRecord makeRecord(const String &tableName) const
Store the contributing regions in a record.
A Vector of integers, for indexing into Array<T> objects.
virtual Bool hasMask() const
Does the region have a mask?
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Get the best cursor shape.
static void unmakeRecord(PtrBlock< const LCRegion *> &, const TableRecord &, const String &tableName)
Retrieve the contributing objects from the record.
const IPosition & latticeShape() const
Give the full lattice shape.
virtual Bool operator==(const LCRegion &other) const
Comparison.
virtual Bool doGetSlice(Array< Bool > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
bool Bool
Define the standard types used by Casacore.
PtrBlock< const LCRegion * > itsRegions
void fillHasMask()
Determine if all regions have mask (used by LCIntersection).
LCRegionMulti & operator=(const LCRegionMulti &other)
Assignment (copy semantics).
A drop-in replacement for Block<T*>.
A hierarchical collection of named fields of various types.
Specify which elements to extract from an n-dimensional array.
String: the storage and methods of handling collections of characters.
Bool findAreas(IPosition &bufStart, IPosition &bufEnd, IPosition ®Start, IPosition ®End, const Slicer §ion, uInt regNr) const
Find which area of the section and region are needed.
const PtrBlock< const LCRegion * > & regions() const
Get the contributing regions.
Make the intersection of 2 or more regions.
virtual void multiGetSlice(Array< Bool > &buffer, const Slicer §ion)=0
Get the values from the class derived from Multi.
void init(Bool takeOver)
Check if the regions are correct.
this file contains all the compiler specific defines
void multiTranslate(PtrBlock< const LCRegion *> &, const Vector< Float > &translateVector, const IPosition &newLatticeShape) const
Translate all regions.
Abstract base class to define a region of interest in lattice coordinates.