This mask is only persistent if constructed from an expression string. When constructed from an ImageExpr the mask is not persistent.
Construct from the given expression command. The command will be parsed and converted to an ImageExpr.
Construct from the given image expression.
Construct from the given lattice expression.
Construct from the given lattice expression.
This constructor makes it possible to have an expression with an
unknown shape (e.g. using LEL function INDEXIN).
If the shape is known, the LatticeExprNode will be converted to
a LatticeExpr
Copy constructor (copy semantics).
Destructor
Assignment (copy semantics)
Comparison
Clone a WCLELMask object.
Get the dimensionality (i.e. the number of axes).
WCLELMask cannot extend a region.
Convert to an LCRegion using the given new coordinate system and shape.
If the region has coordinates, the WCRegion implementation will
be called. Otherwise the LatticeExpr is returned after checking
that the shape matches.
Convert to an LCRegion using the supplied CoordinateSystem
and shape.
It checks that coordinates match and that axes are not swapped.
Convert the WCLELMask object to a record.
The record can be used to make the object persistent.
The tableName argument can be used by derived
classes (e.g. LCPagedMask) to put very large objects.
Convert to a WCLELMask from a record.
Returns WCLELMask
Return region type. Returns the class name
Initialize as a LatticeExprNode if expression's shape is unknown.
Otherwise as a LatticeExprWCLELMask (const WCLELMask& other)
virtual ~WCLELMask()
WCLELMask& operator= (const WCLELMask& other)
virtual Bool operator== (const WCRegion& other) const
virtual WCRegion* cloneRegion() const
virtual uInt ndim() const
virtual Bool canExtend() const
virtual LCRegion* toLCRegion (const CoordinateSystem& cSys, const IPosition& latticeShape) const
virtual LCRegion* doToLCRegion (const CoordinateSystem& cSys, const IPosition& latticeShape, const IPosition& pixelAxesMap, const IPosition& outOrder) const
virtual TableRecord toRecord (const String& tableName) const
static WCLELMask* fromRecord (const TableRecord& rec, const String& tableName)
static String className()
virtual String type() const
void processCommand()
Process the command.
void init (const LatticeExprNode& expr)