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