28 #ifndef LATTICES_LATTREGIONHOLDER_H
29 #define LATTICES_LATTREGIONHOLDER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/lattices/LRegions/LatticeRegion.h>
38 class CoordinateSystem;
180 return (!
operator== (other));
virtual const WCRegion * asWCRegionPtr() const
virtual LattRegionHolder * makeDifference(const LattRegionHolder &other) const
LattRegionHolder(const LCRegion &)
Construct from a region based on lattice coordinates.
virtual Bool isWCRegion() const
virtual LatticeRegion toLatticeRegion(const CoordinateSystem &cSys, const IPosition &shape) const
Convert to a LatticeRegion using the given coordinate system (with reference pixel) and shape.
virtual LattRegionHolder * makeIntersection(const LattRegionHolder &other) const
const LCSlicer * asLCSlicerPtr() const
virtual Bool operator==(const LattRegionHolder &other) const
Comparison.
LattRegionHolder(const LCSlicer &)
Construct from a slicer based on lattice coordinates.
Bool operator!=(const LattRegionHolder &other) const
virtual LattRegionHolder * clone() const
Clone the object.
uInt ndim() const
Get the dimensionality.
virtual LattRegionHolder * makeUnion(const LattRegionHolder &other) const
Form a compound from this and the other region.
LatticeRegion toLatticeRegion(const IPosition &shape) const
Convert to a LatticeRegion using the given shape.
Bool isLCRegion() const
Test if the underlying region is an LCRegion, etc.
LattRegionHolder(LCSlicer *)
LattRegionHolder(LCRegion *)
Similar constructors as above, but using a pointer.
LattRegionHolder(uInt ndim)
Construct for the given dimensionality (for derived classes).
LattRegionHolder(const LattRegionHolder &other)
Copy constructor (copy semantics).
const LCRegion * asLCRegionPtr() const
Get the region as a pointer to a LCRegion, LCSlicer, or WCRegion.
virtual ~LattRegionHolder()
LattRegionHolder & operator=(const LattRegionHolder &other)
Assignment (copy semantics).
virtual LattRegionHolder * makeComplement() const
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.