28 #ifndef IMAGES_WCUNION_H
29 #define IMAGES_WCUNION_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/images/Regions/WCCompound.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 String type() const
Get the region type.
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.
static String className()
Get the class name (to store in the record).
WCUnion & operator=(const WCUnion &other)
Assignment (copy semantics).
WCUnion(const WCUnion &other)
Copy constructor (copy semantics).
WCUnion(Bool takeOver, const PtrBlock< const WCRegion * > ®ions)
Construct from multiple regions given as a Block.
static WCUnion * fromRecord(const TableRecord &, const String &tableName)
Convert correct object from a record.
WCUnion(const ImageRegion ®ion1, const ImageRegion ®ion2)
Construct the union of one or more image regions.
WCUnion(const ImageRegion *region1, const ImageRegion *region2=0, const ImageRegion *region3=0, const ImageRegion *region4=0, const ImageRegion *region5=0, const ImageRegion *region6=0, const ImageRegion *region7=0, const ImageRegion *region8=0, const ImageRegion *region9=0, const ImageRegion *region10=0)
virtual TableRecord toRecord(const String &tableName) const
Convert the (derived) object to a record.
virtual Bool operator==(const WCRegion &other) const
Comparison.
WCUnion(const PtrBlock< const ImageRegion * > ®ions)
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.