28 #ifndef IMAGES_WCCOMPOUND_H
29 #define IMAGES_WCCOMPOUND_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/images/Regions/WCRegion.h>
34 #include <casacore/casa/Containers/Block.h>
35 #include <casacore/casa/Arrays/IPosition.h>
42 class CoordinateSystem;
43 class RecordInterface;
A drop-in replacement for Block<T*>.
String: the storage and methods of handling collections of characters.
WCCompound(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)
void init(Bool takeOver)
Check if the regions are correct.
virtual Bool operator==(const WCRegion &other) const
Comparison.
Block< IPosition > itsAxesUsed
WCCompound(const ImageRegion ®ion1, const ImageRegion ®ion2)
Construct from one or more image regions.
TableRecord makeRecord(const String &tableName) const
Store the contributing regions in a record.
WCCompound(const PtrBlock< const ImageRegion * > ®ions)
WCCompound(const WCCompound &other)
Copy constructor (copy semantics).
WCCompound(Bool takeOver, const PtrBlock< const WCRegion * > ®ions)
Construct from multiple regions given as a Block.
WCCompound & operator=(const WCCompound &other)
Assignment (copy semantics) makes only sense for a derived class.
PtrBlock< const WCRegion * > itsRegions
static void unmakeRecord(PtrBlock< const WCRegion * > &, const TableRecord &, const String &tableName)
Retrieve the contributing objects from the record.
const PtrBlock< const WCRegion * > & regions() const
Get the contributing regions.
void makeWCRegion(const PtrBlock< const ImageRegion * > &)
Check if the ImageRegion's contain WCRegion's and extract them.
void multiToLCRegion(PtrBlock< const LCRegion * > ®ions, const CoordinateSystem &cSys, const IPosition &shape, const IPosition &pixelAxesMap, const IPosition &extendAxes) const
Convert each WCRegion to an LCRegion.
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.