28 #ifndef LATTICES_LCSTRETCH_H
29 #define LATTICES_LCSTRETCH_H
94 const LCBox& stretchBox);
A Vector of integers, for indexing into Array<T> objects.
virtual String type() const
Get the region type.
Class to define a rectangular box of interest.
Stretch length 1 axes in an LCRegion along straight lines.
virtual void multiGetSlice(Array< Bool > &buffer, const Slicer §ion)
Do the actual getting of the mask.
const LCBox & stretchBox() const
Get the stretch box.
virtual LCRegion * doTranslate(const Vector< Float > &translateVector, const IPosition &newLatticeShape) const
Construct another LCRegion (for e.g.
const IPosition & stretchAxes() const
Get the stretch axes.
static String className()
Get the class name (to store in the record).
const PtrBlock< const LCRegion * > & regions() const
Get the contributing regions.
bool Bool
Define the standard types used by Casacore.
LCStretch & operator=(const LCStretch &other)
Assignment (copy semantics).
A hierarchical collection of named fields of various types.
virtual IPosition doNiceCursorShape(uInt maxPixels) const
This function is needed here because the niceCursorShape of the contributing region does not make any...
const LCRegion & region() const
Get the original region.
Specify which elements to extract from an n-dimensional array.
String: the storage and methods of handling collections of characters.
static LCStretch * fromRecord(const TableRecord &, const String &tableName)
Convert correct object from a record.
Make the intersection of 2 or more regions.
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 fill(const IPosition &stretchAxes, const LCBox &stretchBox)
Fill the object.
virtual Bool operator==(const LCRegion &other) const
Comparison.
Abstract base class to define a region of interest in lattice coordinates.