29 #ifndef IMAGES_WCLELMASK_H
30 #define IMAGES_WCLELMASK_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/images/Regions/WCRegion.h>
35 #include <casacore/lattices/LRegions/RegionType.h>
36 #include <casacore/coordinates/Coordinates/CoordinateSystem.h>
37 #include <casacore/casa/Arrays/Vector.h>
38 #include <casacore/casa/Quanta/Quantum.h>
46 template<
class T>
class ImageExpr;
47 template<
class T>
class LatticeExpr;
48 class LatticeExprNode;
String: the storage and methods of handling collections of characters.
virtual LCRegion * doToLCRegion(const CoordinateSystem &cSys, const IPosition &latticeShape, const IPosition &pixelAxesMap, const IPosition &outOrder) const
Convert to an LCRegion using the supplied CoordinateSystem and shape.
const ImageExpr< Bool > * getImageExpr() const
void init(const LatticeExprNode &expr)
Initialize as a LatticeExprNode if expression's shape is unknown.
LatticeExpr< Bool > * itsLattExpr
virtual ~WCLELMask()
Destructor.
WCLELMask & operator=(const WCLELMask &other)
Assignment (copy semantics)
WCLELMask(const WCLELMask &other)
Copy constructor (copy semantics).
virtual String type() const
Return region type.
WCLELMask(const ImageExpr< Bool > &expr)
Construct from the given image expression.
WCLELMask(const LatticeExpr< Bool > &expr)
Construct from the given lattice expression.
virtual Bool canExtend() const
WCLELMask cannot extend a region.
static String className()
Returns WCLELMask.
virtual TableRecord toRecord(const String &tableName) const
Convert the WCLELMask object to a record.
virtual Bool operator==(const WCRegion &other) const
Comparison.
static WCLELMask * fromRecord(const TableRecord &rec, const String &tableName)
Convert to a WCLELMask from a record.
LatticeExprNode * itsLattNode
void processCommand()
Process the command.
ImageExpr< Bool > * itsImageExpr
virtual uInt ndim() const
Get the dimensionality (i.e.
WCLELMask(const char *command)
WCLELMask(const String &command)
Construct from the given expression command.
virtual WCRegion * cloneRegion() const
Clone a WCLELMask object.
WCLELMask(const LatticeExprNode &expr)
Construct from the given lattice expression.
virtual LCRegion * toLCRegion(const CoordinateSystem &cSys, const IPosition &latticeShape) const
Convert to an LCRegion using the given new coordinate system and shape.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.