28 #ifndef LATTICES_LCREGIONSINGLE_H 29 #define LATTICES_LCREGIONSINGLE_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/lattices/LRegions/LCRegion.h> A Vector of integers, for indexing into Array<T> objects.
Bool masksEqual(const LCRegion &other) const
Is the mask of this region the same as the mask of the other.
Map a domain object into a range object via operator().
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
virtual void putAt(const Bool &value, const IPosition &where)
Put the value of a single element.
LCRegionSingle & operator=(const LCRegionSingle &other)
Assignment (copy semantics) is only useful for derived classes.
virtual void apply(Bool(*function)(Bool))
Replace every element, x, of the Lattice with the result of f(x).
virtual Bool hasMask() const
Does the region have a mask?
virtual void copyData(const Lattice< Bool > &from)
Copy the data from the given lattice to this one.
A base class for Lattice iterators.
virtual ~LCRegionSingle()
virtual LatticeIterInterface< Bool > * makeIter(const LatticeNavigator &navigator, Bool useRef) const
Make an iterator.
const IPosition & latticeShape() const
Give the full lattice shape.
virtual Bool doGetSlice(Array< Bool > &buffer, const Slicer §ion)
Do the actual getting of the mask.
bool Bool
Define the standard types used by Casacore.
virtual void doPutSlice(const Array< Bool > &sourceBuffer, const IPosition &where, const IPosition &stride)
Do the actual putting of the mask.
Specify which elements to extract from an n-dimensional array.
const Array< Bool > maskArray() const
Get the mask (as an array).
Lattice< Bool > * itsMaskPtr
void setMaskPtr(Lattice< Bool > &mask)
Set the pointer to the mask in the derived class.
Abstract base class to define a single region.
virtual IPosition doNiceCursorShape(uInt maxPixels) const
Get the best cursor shape.
this file contains all the compiler specific defines
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
Abstract base class to steer lattice iterators.
Abstract base class to define a region of interest in lattice coordinates.