26#ifndef LATTICES_LCEXTENSION_H
27#define LATTICES_LCEXTENSION_H
30#include <casacore/casa/aips.h>
31#include <casacore/lattices/LRegions/LCRegionMulti.h>
32#include <casacore/lattices/LRegions/LCBox.h>
129 const IPosition& newLatticeShape)
const override;
LCRegion * doTranslate(const Vector< Float > &translateVector, const IPosition &newLatticeShape) const override
Construct another LCRegion (for e.g.
String type() const override
Get the region type.
LCExtension(const LCRegion ®ion, const IPosition &extendAxes, const LCBox &extendBox)
Extend the given region along axes as given by extendAxes from the bottom left corner (blc) to the to...
TableRecord toRecord(const String &tableName) const override
Convert the (derived) object to a record.
LCExtension(Bool takeOver, const LCRegion *region, const IPosition &extendAxes, const LCBox &extendBox)
LCExtension(const LCExtension &other)
Copy constructor (copy semantics).
const LCRegion & region() const
Get the original region.
Bool equals(const LCRegion &other) const override
Comparison.
LCExtension & operator=(const LCExtension &other)
Assignment (copy semantics).
static LCExtension * fromRecord(const TableRecord &, const String &tableName)
Convert correct object from a record.
void fillRegionAxes()
Fill the object.
static String className()
Get the class name (to store in the record).
const LCBox & extendBox() const
Get the extend box.
IPosition doNiceCursorShape(uInt maxPixels) const override
This function is needed here because the niceCursorShape of the contributing region does not make any...
void multiGetSlice(Array< Bool > &buffer, const Slicer §ion) override
Do the actual getting of the mask.
const IPosition & extendAxes() const
Get the extend axes.
LCRegion * cloneRegion() const override
Make a copy of the derived object.
void fill(const IPosition &stretchAxes, const LCBox &stretchBox)
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.