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;
101 explicit WCLELMask (
const char* command);
A Vector of integers, for indexing into Array<T> objects.
virtual Bool operator==(const WCRegion &other) const
Comparison.
virtual uInt ndim() const
Get the dimensionality (i.e.
virtual TableRecord toRecord(const String &tableName) const
Convert the WCLELMask object to a record.
void init(const LatticeExprNode &expr)
Initialize as a LatticeExprNode if expression's shape is unknown.
WCLELMask & operator=(const WCLELMask &other)
Assignment (copy semantics)
virtual String type() const
Return region type.
LatticeExpr< Bool > * itsLattExpr
virtual ~WCLELMask()
Destructor.
LatticeExprNode * itsLattNode
static WCLELMask * fromRecord(const TableRecord &rec, const String &tableName)
Convert to a WCLELMask from a record.
void processCommand()
Process the command.
Class to define a mask as a LEL expression.
bool Bool
Define the standard types used by Casacore.
virtual WCRegion * cloneRegion() const
Clone a WCLELMask object.
A hierarchical collection of named fields of various types.
virtual Bool canExtend() const
WCLELMask cannot extend a region.
ImageExpr< Bool > * itsImageExpr
Bridging class to allow C++ expressions involving lattices.
static String className()
Returns WCLELMask.
Base class to define world coordinate regions of interest in an image.
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.
Class to allow C++ expressions involving lattices.
const ImageExpr< Bool > * getImageExpr() const
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
Interconvert pixel and world coordinates.
Abstract base class to define a region of interest in lattice coordinates.