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 Vector of integers, for indexing into Array<T> objects.
virtual Bool operator==(const WCRegion &other) const
Comparison.
const PtrBlock< const WCRegion * > & regions() const
Get the contributing regions.
PtrBlock< const WCRegion * > itsRegions
TableRecord makeRecord(const String &tableName) const
Store the contributing regions in a record.
void makeWCRegion(const PtrBlock< const ImageRegion *> &)
Check if the ImageRegion's contain WCRegion's and extract them.
WCCompound(const ImageRegion ®ion1, const ImageRegion ®ion2)
Construct from one or more image regions.
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.
void init(Bool takeOver)
Check if the regions are correct.
Base class for compound WCRegion objects.
bool Bool
Define the standard types used by Casacore.
A drop-in replacement for Block<T*>.
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.
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.
WCCompound & operator=(const WCCompound &other)
Assignment (copy semantics) makes only sense for a derived class.
Block< IPosition > itsAxesUsed
static void unmakeRecord(PtrBlock< const WCRegion *> &, const TableRecord &, const String &tableName)
Retrieve the contributing objects from the record.
this file contains all the compiler specific defines
Interconvert pixel and world coordinates.