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;
A Vector of integers, for indexing into Array<T> objects.
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Get the best cursor shape.
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.
void multiTranslate(PtrBlock< const LCRegion * > &, const Vector< Float > &translateVector, const IPosition &newLatticeShape) const
Translate all regions.
virtual Bool operator==(const LCRegion &other) const
Comparison.
virtual Bool hasMask() const
Does the region have a mask?
const PtrBlock< const LCRegion * > & regions() const
Get the contributing regions.
virtual Bool doGetSlice(Array< Bool > &buffer, const Slicer §ion)
Do the actual getting of an array of values.
const IPosition & latticeShape() const
Give the full lattice shape.
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.
TableRecord makeRecord(const String &tableName) const
Store the contributing regions in a record.
Specify which elements to extract from an n-dimensional array.
static void unmakeRecord(PtrBlock< const LCRegion * > &, const TableRecord &, const String &tableName)
Retrieve the contributing objects from the record.
String: the storage and methods of handling collections of characters.
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
Abstract base class to define a region of interest in lattice coordinates.