Class to convert a region to a boolean node. More...
#include <LELRegion.h>
Public Member Functions | |
| LELRegionAsBool (const LELRegion ®ion) | |
| Constructor. | |
| ~LELRegionAsBool () | |
| Destructor. | |
| virtual void | eval (LELArray< Bool > &result, const Slicer §ion) const |
| Get region data. | |
| virtual LELScalar< Bool > | getScalar () const |
| Getting region data as a scalar cannot be done (throws an exception). | |
| virtual Bool | prepareScalarExpr () |
| Do further preparations (e.g. | |
| virtual String | className () const |
| Get class name. | |
Private Attributes | |
| LatticeRegion | region_p |
| Member variables. | |
Class to convert a region to a boolean node.
Internal
This derived LEL letter class handles a region as a boolean lattice.
This class makes it possible to handle a region as a true boolean lattice without the need to apply the region to an image. It means that it is only possible if the region has absolute lattice coordinates.
A description of the implementation details of the LEL classes can be found in Note 216
It is useful to be able to handle a mask as a boolean lattice.
Definition at line 182 of file LELRegion.h.
| casacore::LELRegionAsBool::LELRegionAsBool | ( | const LELRegion & | region | ) |
Constructor.
| casacore::LELRegionAsBool::~LELRegionAsBool | ( | ) |
Destructor.
| virtual String casacore::LELRegionAsBool::className | ( | ) | const [virtual] |
Get class name.
Implements casacore::LELInterface< Bool >.
| virtual void casacore::LELRegionAsBool::eval | ( | LELArray< Bool > & | result, | |
| const Slicer & | section | |||
| ) | const [virtual] |
Get region data.
Implements casacore::LELInterface< Bool >.
Getting region data as a scalar cannot be done (throws an exception).
Implements casacore::LELInterface< Bool >.
| virtual Bool casacore::LELRegionAsBool::prepareScalarExpr | ( | ) | [virtual] |
Do further preparations (e.g.
optimization) on the expression.
Implements casacore::LELInterface< Bool >.
Member variables.
Definition at line 206 of file LELRegion.h.
1.6.1