Go to the documentation of this file.
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;
Specify which elements to extract from an n-dimensional array.
Class to hold a region as a LEL node.
~LELRegionAsBool()
Destructor.
virtual void eval(LELArray< Bool > &, const Slicer &) const
Getting region data cannot be done (throws an exception).
static LELRegion * makeUnion(const LELInterface< Bool > &left, const LELInterface< Bool > &right)
Form a compound from the regions.
Class to convert a region to a boolean node.
LELRegionAsBool(const LELRegion ®ion)
Constructor.
An optionally strided region in a Lattice.
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
virtual String className() const
Get class name.
LELRegion(const LattRegionHolder ®ion)
Constructor.
static LELRegion * makeDifference(const LELInterface< Bool > &left, const LELInterface< Bool > &right)
Class to hold a region of interest in an image.
static LELRegion * makeIntersection(const LELInterface< Bool > &left, const LELInterface< Bool > &right)
virtual Bool prepareScalarExpr()
Do further preparations (e.g.
virtual String className() const
Get class name.
static LELRegion * makeComplement(const LELInterface< Bool > &expr)
virtual LELScalar< Bool > getScalar() const
Getting region data cannot be done (throws an exception).
This base class provides the interface for Lattice expressions.
this file contains all the compiler specific defines
LattRegionHolder * region_p
Member variables.
LatticeRegion region_p
Member variables.
virtual void eval(LELArray< Bool > &result, const Slicer §ion) const
Get region data.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
This LEL class holds a scalar with a mask.
const LattRegionHolder & region() const
Get a pointer to the region object.
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.
virtual LELScalar< Bool > getScalar() const
Getting region data as a scalar cannot be done (throws an exception).