26#ifndef LATTICES_LCPIXELSET_H
27#define LATTICES_LCPIXELSET_H
30#include <casacore/casa/aips.h>
31#include <casacore/lattices/LRegions/LCBox.h>
32#include <casacore/casa/Arrays/Slicer.h>
102 const IPosition& newLatticeShape)
const override;
String type() const override
Get the region type.
static String className()
Get the class name (to store in the record).
LCPixelSet & operator=(const LCPixelSet &other)
Assignment (copy semantics).
LCPixelSet(const Array< Bool > &mask, const LCBox ®ion)
Construct from the box defining the position of the mask.
TableRecord toRecord(const String &tableName) const override
Convert the (derived) object to a record.
LCRegion * cloneRegion() const override
Make a copy of the derived object.
LCPixelSet(const LCPixelSet &other)
Copy constructor (copy semantics).
Bool equals(const LCRegion &other) const override
Comparison.
LCRegion * doTranslate(const Vector< Float > &translateVector, const IPosition &newLatticeShape) const override
Construct another LCPixelSet (for e.g.
static LCPixelSet * fromRecord(const TableRecord &, const String &tablename)
Convert correct object from a record.
String: the storage and methods of handling collections of characters.
For temporary backward namespace compatibility, use casa as alias for casacore.
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
bool Bool
Define the standard types used by Casacore.