casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::LELRegionAsBool Class Reference

Class to convert a region to a boolean node. More...

#include <LELRegion.h>

Inheritance diagram for casa::LELRegionAsBool:
casa::LELInterface< Bool >

List of all members.

Public Member Functions

 LELRegionAsBool (const LELRegion &region)
 Constructor.
 ~LELRegionAsBool ()
 Destructor.
virtual void eval (LELArray< Bool > &result, const Slicer &section) const
 Get region data.
virtual LELScalar< BoolgetScalar () 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.

Detailed Description

Class to convert a region to a boolean node.

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

This derived LEL letter class handles a region as a boolean lattice.

Synopsis

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

Motivation

It is useful to be able to handle a mask as a boolean lattice.

Definition at line 181 of file LELRegion.h.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

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 >.

Do further preparations (e.g.

optimization) on the expression.

Implements casa::LELInterface< Bool >.


Member Data Documentation

Member variables.

Definition at line 205 of file LELRegion.h.


The documentation for this class was generated from the following file: