28 #ifndef LATTICES_LELREGION_H 29 #define LATTICES_LELREGION_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/lattices/LEL/LELInterface.h> 35 #include <casacore/lattices/LRegions/LatticeRegion.h> 40 class LattRegionHolder;
193 const Slicer& section)
const;
static LELRegion * makeIntersection(const LELInterface< Bool > &left, const LELInterface< Bool > &right)
LatticeRegion region_p
Member variables.
static LELRegion * makeDifference(const LELInterface< Bool > &left, const LELInterface< Bool > &right)
Class to hold a region as a LEL node.
LattRegionHolder * region_p
Member variables.
static void checkTypes(const LattRegionHolder &left, const LattRegionHolder &right)
Check if both regions have the same type (pixel or world) and if no LCSlicer type of region is used...
Class to convert a region to a boolean node.
This base class provides the interface for Lattice expressions.
LELRegion(const LattRegionHolder ®ion)
Constructor.
static LELRegion * makeComplement(const LELInterface< Bool > &expr)
Class to hold a region of interest in an image.
bool Bool
Define the standard types used by Casacore.
virtual LELScalar< Bool > getScalar() const
Getting region data cannot be done (throws an exception).
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
Specify which elements to extract from an n-dimensional array.
static LELRegion * makeUnion(const LELInterface< Bool > &left, const LELInterface< Bool > &right)
Form a compound from the regions.
String: the storage and methods of handling collections of characters.
An optionally strided region in a Lattice.
virtual String className() const
Get class name.
virtual void eval(LELArray< Bool > &, const Slicer &) const
Getting region data cannot be done (throws an exception).
this file contains all the compiler specific defines
const LattRegionHolder & region() const
Get a pointer to the region object.
This LEL class holds a scalar with a mask.