Go to the documentation of this file.
28 #ifndef LATTICES_LCCOMPLEMENT_H
29 #define LATTICES_LCCOMPLEMENT_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/lattices/LRegions/LCRegionMulti.h>
static String className()
Get the class name (to store in the record).
Specify which elements to extract from an n-dimensional array.
virtual void multiGetSlice(Array< Bool > &buffer, const Slicer §ion)
Do the actual getting of the mask.
A Vector of integers, for indexing into Array<T> objects.
Make the complement of a region.
A drop-in replacement for Block<T*>.
A hierarchical collection of named fields of various types.
LCComplement(const LCComplement &other)
Copy constructor (copy semantics).
const PtrBlock< const LCRegion * > & regions() const
Get the contributing regions.
Make the intersection of 2 or more regions.
virtual String type() const
Get the region type.
LCComplement(const LCRegion ®ion1)
Construct the complement of the given region.
LCComplement & operator=(const LCComplement &other)
Assignment (copy semantics).
virtual LCRegion * doTranslate(const Vector< Float > &translateVector, const IPosition &newLatticeShape) const
Construct another LCRegion (for e.g.
virtual LCRegion * cloneRegion() const
Make a copy of the derived object.
virtual TableRecord toRecord(const String &tableName) const
Convert the (derived) object to a record.
void defineBox()
Make the bounding box and determine the offsets.
Abstract base class to define a region of interest in lattice coordinates.
this file contains all the compiler specific defines
static LCComplement * fromRecord(const TableRecord &, const String &tableName)
Convert correct object from a record.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
LCComplement(Bool takeOver, const PtrBlock< const LCRegion * > ®ions)
Construct from multiple regions given as a Block.
virtual Bool operator==(const LCRegion &other) const
Comparison.