26#ifndef LATTICES_LCDIFFERENCE_H
27#define LATTICES_LCDIFFERENCE_H
30#include <casacore/casa/aips.h>
31#include <casacore/lattices/LRegions/LCRegionMulti.h>
112 const IPosition& newLatticeShape)
const override;
LCRegion * cloneRegion() const override
Make a copy of the derived object.
TableRecord toRecord(const String &tableName) const override
Convert the (derived) object to a record.
void multiGetSlice(Array< Bool > &buffer, const Slicer §ion) override
Do the actual getting of the mask.
static LCDifference * fromRecord(const TableRecord &, const String &tableName)
Convert correct object from a record.
Bool equals(const LCRegion &other) const override
Comparison.
static String className()
Get the class name (to store in the record).
LCDifference(const LCRegion ®ion1, const LCRegion ®ion2)
Construct the difference region1 - region2.
LCRegion * doTranslate(const Vector< Float > &translateVector, const IPosition &newLatticeShape) const override
Construct another LCRegion (for e.g.
LCDifference(const LCDifference &other)
Copy constructor (copy semantics).
String type() const override
Get the region type.
LCDifference & operator=(const LCDifference &other)
Assignment (copy semantics).
void defineBox()
Make the bounding box and determine the offsets.
LCDifference(Bool takeOver, const Block< const LCRegion * > ®ions)
Construct from multiple regions given as a Block.
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.