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