casa::ImageMaskHandler< T > Class Template Reference
#include <ImageMaskHandler.h>
List of all members.
Public Member Functions |
| ImageMaskHandler (SPIIT) |
| Perform various image mask operations.
|
| ~ImageMaskHandler () |
void | set (const String &name) |
| set default mask.
|
String | defaultMask () const |
| return the default mask name
|
void | deleteMasks (const std::set< String > &masks) |
| delete specified masks
|
void | rename (const String &oldName, const String &newName) |
| rename a mask
|
Vector< String > | get () const |
| get all mask names
|
void | copy (const String ¤tName, const String &newName) |
| copy mask
|
void | calcmask (const String &mask, Record ®ions, const String &name, Bool asdefault=True) |
template<class U > |
void | copy (const MaskedLattice< U > &mask) |
| copy the mask from the specified lattice to the image's (default) mask.
|
Private Member Functions |
void | _calcmask (const LatticeExprNode &node, const String &name, const Bool makedefault) |
Static Private Member Functions |
static void | _makeRegionBlock (PtrBlock< const ImageRegion * > ®ions, const Record &Regions) |
| Make a block of regions from a Record.
|
Private Attributes |
const SPIIT | _image |
Detailed Description
template<class T>
class casa::ImageMaskHandler< T >
Definition at line 19 of file ImageMaskHandler.h.
Constructor & Destructor Documentation
Perform various image mask operations.
Etymology
Synopsis
Member Function Documentation
template<class T >
void casa::ImageMaskHandler< T >::_calcmask |
( |
const LatticeExprNode & |
node, |
|
|
const String & |
name, |
|
|
const Bool |
makedefault | |
|
) |
| | [private] |
template<class T >
static void casa::ImageMaskHandler< T >::_makeRegionBlock |
( |
PtrBlock< const ImageRegion * > & |
regions, |
|
|
const Record & |
Regions | |
|
) |
| | [static, private] |
Make a block of regions from a Record.
template<class T >
void casa::ImageMaskHandler< T >::calcmask |
( |
const String & |
mask, |
|
|
Record & |
regions, |
|
|
const String & |
name, |
|
|
Bool |
asdefault = True | |
|
) |
| | |
template<class T >
template<class U >
copy the mask from the specified lattice to the image's (default) mask.
The mask and the image must have the same shape.
return the default mask name
set default mask.
Empty string means unset default mask.
Member Data Documentation
The documentation for this class was generated from the following file: