1 #ifndef IMAGEANALYSIS_IMAGEMASKHANDLER_H
2 #define IMAGEANALYSIS_IMAGEMASKHANDLER_H
16 class LatticeExprNode;
17 template <
class T>
class MaskedLattice;
53 void deleteMasks(
const std::set<casacore::String>& masks);
90 #ifndef AIPS_NO_TEMPLATE_SRC
91 #include <imageanalysis/ImageAnalysis/ImageMaskHandler.tcc>
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
void copy(const casacore::String ¤tName, const casacore::String &newName)
copy mask
casacore::String defaultMask() const
return the default mask name
static void _makeRegionBlock(casacore::PtrBlock< const casacore::ImageRegion * > ®ions, const casacore::Record &Regions)
Make a block of regions from a Record.
A templated, abstract base class for array-like objects with masks.
void set(const casacore::String &name)
set default mask.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
void _calcmask(const casacore::LatticeExprNode &node, const casacore::String &name, const casacore::Bool makedefault)
void rename(const casacore::String &oldName, const casacore::String &newName)
rename a mask
void deleteMasks(const std::set< casacore::String > &masks)
delete specified masks
ImageMaskHandler(SPIIT)
Perform various image mask operations.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
void calcmask(const casacore::String &mask, casacore::Record ®ions, const casacore::String &name, casacore::Bool asdefault=true)
A drop-in replacement for Block<T*>.
Bridging class to allow C++ expressions involving lattices.
String: the storage and methods of handling collections of characters.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.