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