26#ifndef LATTICES_LCINTERSECTION_H
27#define LATTICES_LCINTERSECTION_H
30#include <casacore/casa/aips.h>
31#include <casacore/lattices/LRegions/LCRegionMulti.h>
115 const IPosition& newLatticeShape)
const override;
static LCIntersection * fromRecord(const TableRecord &, const String &tableName)
Convert correct object from a record.
LCIntersection & operator=(const LCIntersection &other)
Assignment (copy semantics).
LCRegion * cloneRegion() const override
Make a copy of the derived object.
LCIntersection(Bool takeOver, const Block< const LCRegion * > ®ions)
Construct from multiple regions given as a Block.
Bool equals(const LCRegion &other) const override
LCRegion * doTranslate(const Vector< Float > &translateVector, const IPosition &newLatticeShape) const override
Construct another LCRegion (for e.g.
Block< IPosition > itsOffsets
LCIntersection(const LCIntersection &other)
Copy constructor (copy semantics).
LCIntersection(const LCRegion ®ion1, const LCRegion ®ion2)
Construct the intersection of the given regions.
virtual ~LCIntersection()
void multiGetSlice(Array< Bool > &buffer, const Slicer §ion) override
Do the actual getting of the mask.
void defineBox()
Make the bounding box and determine the offsets.
static String className()
Get the class name (to store in the record).
TableRecord toRecord(const String &tableName) const override
Convert the (derived) object to a record.
LCIntersection(Bool takeOver, const LCRegion *region1, const LCRegion *region2=0, const LCRegion *region3=0, const LCRegion *region4=0, const LCRegion *region5=0, const LCRegion *region6=0, const LCRegion *region7=0, const LCRegion *region8=0, const LCRegion *region9=0, const LCRegion *region10=0)
Construct from multiple regions.
String type() const override
Get the region type.
const Block< const LCRegion * > & regions() const
Get the contributing regions.
String: the storage and methods of handling collections of characters.
For temporary backward namespace compatibility, use casa as alias for casacore.
bool Bool
Define the standard types used by Casacore.