28 #ifndef IMAGES_WCEXTENSION_H
29 #define IMAGES_WCEXTENSION_H
A Vector of integers, for indexing into Array<T> objects.
virtual String type() const
Get the region type.
virtual WCRegion * cloneRegion() const
Make a copy of the derived object.
WCExtension(const ImageRegion ®ion, const WCBox &extendBox)
Construct the extension of an image region using the axes and blc,trc given in the extendBox...
Make the extension of an image region.
static WCExtension * fromRecord(const TableRecord &, const String &tableName)
Convert correct object from a record.
const PtrBlock< const WCRegion * > & regions() const
Get the contributing regions.
static String className()
Get the class name (to store in the record).
Base class for compound WCRegion objects.
bool Bool
Define the standard types used by Casacore.
virtual Bool operator==(const WCRegion &other) const
Comparison.
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.
void findAxes(IPosition &extendBoxAxes, IPosition &stretchBoxAxes, IPosition &stretchRegionAxes) const
Find the axes to be extended and stretched.
virtual Bool canExtend() const
WCExtension can extend a region if WCBox can do so.
A drop-in replacement for Block<T*>.
virtual TableRecord toRecord(const String &tableName) const
Convert the (derived) object to a record.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
A hierarchical collection of named fields of various types.
WCExtension & operator=(const WCExtension &other)
Assignment (copy semantics).
Class to hold a region of interest in an image.
Base class to define world coordinate regions of interest in an image.
String: the storage and methods of handling collections of characters.
Class to define a world coordinate box region of interest in an image.
Interconvert pixel and world coordinates.
Abstract base class to define a region of interest in lattice coordinates.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.