28 #ifndef IMAGES_WCEXTENSION_H
29 #define IMAGES_WCEXTENSION_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/images/Regions/WCCompound.h>
34 #include <casacore/casa/Arrays/IPosition.h>
A drop-in replacement for Block<T*>.
String: the storage and methods of handling collections of characters.
const PtrBlock< const WCRegion * > & regions() const
Get the contributing regions.
virtual WCRegion * cloneRegion() const
Make a copy of the derived object.
virtual Bool canExtend() const
WCExtension can extend a region if WCBox can do so.
virtual TableRecord toRecord(const String &tableName) const
Convert the (derived) object to a record.
void findAxes(IPosition &extendBoxAxes, IPosition &stretchBoxAxes, IPosition &stretchRegionAxes) const
Find the axes to be extended and stretched.
WCExtension & operator=(const WCExtension &other)
Assignment (copy semantics).
WCExtension(Bool takeOver, const PtrBlock< const WCRegion * > ®ions)
Construct from multiple regions given as a Block.
static String className()
Get the class name (to store in the record).
virtual LCRegion * doToLCRegion(const CoordinateSystem &cSys, const IPosition &shape, const IPosition &pixelAxesMap, const IPosition &outOrder) const
Convert to an LCRegion using the given coordinate system and shape.
WCExtension(const ImageRegion ®ion, const WCBox &extendBox)
Construct the extension of an image region using the axes and blc,trc given in the extendBox.
virtual Bool operator==(const WCRegion &other) const
Comparison.
virtual String type() const
Get the region type.
static WCExtension * fromRecord(const TableRecord &, const String &tableName)
Convert correct object from a record.
WCExtension(const WCExtension &other)
Copy constructor (copy semantics).
this file contains all the compiler specific defines
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
bool Bool
Define the standard types used by Casacore.