28 #ifndef IMAGES_WCINTERSECTION_H
29 #define IMAGES_WCINTERSECTION_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.
WCIntersection(const WCIntersection &other)
Copy constructor (copy semantics).
static WCIntersection * fromRecord(const TableRecord &, const String &tableName)
Convert correct object from a record.
WCIntersection(const ImageRegion ®ion1, const ImageRegion ®ion2)
Construct the intersection of one or more image regions.
virtual TableRecord toRecord(const String &tableName) const
Convert the (derived) object to a record.
WCIntersection(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)
static String className()
Get the class name (to store in the record).
WCIntersection & operator=(const WCIntersection &other)
Assignment (copy semantics).
virtual Bool operator==(const WCRegion &other) const
Comparison.
WCIntersection(const PtrBlock< const ImageRegion * > ®ions)
virtual WCRegion * cloneRegion() const
Make a copy of the derived object.
virtual String type() const
Get the region type.
virtual ~WCIntersection()
WCIntersection(Bool takeOver, const PtrBlock< const WCRegion * > ®ions)
Construct from multiple regions given as a Block.
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.
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.