28 #ifndef LATTICES_LELREGION_H
29 #define LATTICES_LELREGION_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.
LELRegionAsBool(const LELRegion ®ion)
Constructor.
virtual String className() const
Get class name.
static LELRegion * makeDifference(const LELInterface< Bool > &left, const LELInterface< Bool > &right)
virtual LELScalar< Bool > getScalar() const
Getting region data cannot be done (throws an exception).
Class to hold a region as a LEL node.
virtual LELScalar< Bool > getScalar() const
Getting region data as a scalar cannot be done (throws an exception).
LattRegionHolder * region_p
Member variables.
~LELRegionAsBool()
Destructor.
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 Bool prepareScalarExpr()
Do further preparations (e.g.
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
Specify which elements to extract from an n-dimensional array.
const LattRegionHolder & region() const
Get a pointer to the region object.
static LELRegion * makeUnion(const LELInterface< Bool > &left, const LELInterface< Bool > &right)
Form a compound from the regions.
virtual void eval(LELArray< Bool > &result, const Slicer §ion) const
Get region data.
virtual String className() const
Get class name.
String: the storage and methods of handling collections of characters.
An optionally strided region in a Lattice.
virtual void eval(LELArray< Bool > &, const Slicer &) const
Getting region data cannot be done (throws an exception).
This LEL class holds a scalar with a mask.