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