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