casa
$Rev:20696$
|
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 181 of file LELRegion.h.
casa::LELRegionAsBool::LELRegionAsBool | ( | const LELRegion & | region | ) |
Constructor.
Destructor.
virtual String casa::LELRegionAsBool::className | ( | ) | const [virtual] |
Get class name.
Implements casa::LELInterface< Bool >.
virtual void casa::LELRegionAsBool::eval | ( | LELArray< Bool > & | result, |
const Slicer & | section | ||
) | const [virtual] |
Get region data.
Implements casa::LELInterface< Bool >.
virtual LELScalar<Bool> casa::LELRegionAsBool::getScalar | ( | ) | const [virtual] |
Getting region data as a scalar cannot be done (throws an exception).
Implements casa::LELInterface< Bool >.
virtual Bool casa::LELRegionAsBool::prepareScalarExpr | ( | ) | [virtual] |
Do further preparations (e.g.
optimization) on the expression.
Implements casa::LELInterface< Bool >.
LatticeRegion casa::LELRegionAsBool::region_p [private] |
Member variables.
Definition at line 205 of file LELRegion.h.