28 #ifndef IMAGES_REGIONHANDLERTABLE_H
29 #define IMAGES_REGIONHANDLERTABLE_H
A 1-D Specialization of the Array class.
virtual String getDefaultMask() const
Get the name of the default mask.
Table & GetCallback(void *objectPtr, Bool writable)
RegionHandlerTable(GetCallback *callback, void *objectPtr)
virtual ImageRegion makeMask(const LatticeBase &lattice, const String &name)
Make a mask for a lattice (e.g.
Main interface class to a read/write table.
virtual ~RegionHandlerTable()
virtual ImageRegion * getRegion(const String &name, RegionHandler::GroupType=Any, Bool throwIfUnknown=True) const
Get a region belonging to the table.
A non-templated, abstract base class for array-like objects.
GetCallback * itsCallback
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
Base class for handling regions in images.
RegionHandlerTable & operator=(const RegionHandlerTable &)
Class for keeping regions in memory.
virtual void setDefaultMask(const String &maskName)
Set the default mask to the mask with the given name.
virtual Int findRegionGroup(const String ®ionName, RegionHandler::GroupType=Any, Bool throwIfUnknown=True) const
virtual void setObjectPtr(void *objectPtr)
Set the object pointer (for RegionHandlerTable's callback).
virtual Bool hasRegion(const String &name, RegionHandler::GroupType=RegionHandler::Any) const
Does the table have a region with the given name?
virtual RegionHandlerTable * clone() const
Make a copy of the object.
virtual Bool canDefineRegion() const
Can the class indeed define and handle regions? The default implementation returns False...
bool Bool
Define the standard types used by Casacore.
const Table & table() const
Class to hold a region of interest in an image.
virtual Bool renameRegion(const String &newName, const String &oldName, RegionHandler::GroupType=Any, Bool overwrite=False)
Rename a region.
virtual Bool removeRegion(const String &name, RegionHandler::GroupType=Any, Bool throwIfUnknown=True)
Remove a region belonging to the table.
String: the storage and methods of handling collections of characters.
virtual Vector< String > regionNames(RegionHandler::GroupType=Any) const
Get the names of all regions/masks.
virtual Bool defineRegion(const String &name, const ImageRegion ®ion, RegionHandler::GroupType, Bool overwrite=False)
Define a region belonging to the table.
GroupType
Define the possible group types (regions or masks).
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.