|
| CasacRegionManager () |
|
| CasacRegionManager (const casacore::CoordinateSystem &csys) |
|
| CasacRegionManager (const CasacRegionManager &)=delete |
|
| ~CasacRegionManager () |
|
CasacRegionManager & | operator= (const CasacRegionManager &)=delete |
|
casacore::Record | fromBCS (casacore::String &diagnostics, casacore::uInt &nSelectedChannels, casacore::String &stokes, const casacore::Record *const ®ionPtr, const casacore::String ®ionName, const casacore::String &chans, const StokesControl stokesControl, const casacore::String &box, const casacore::IPosition &imShape, const casacore::String &imageName="", casacore::Bool verbose=true) |
| convert to a record a region specified by a rectangular directional box , chans , and stokes , or althernatively a pointer to a region record. More...
|
|
casacore::ImageRegion | fromBCS (casacore::String &diagnostics, casacore::uInt &nSelectedChannels, casacore::String &stokes, const casacore::String &chans, const StokesControl stokesControl, const casacore::String &box, const casacore::IPosition &imShape) const |
|
std::vector< casacore::uInt > | setSpectralRanges (casacore::uInt &nSelectedChannels, const casacore::Record *const regionRec, const casacore::IPosition &imShape=casacore::IPosition(0)) const |
| Return the range(s) of spectral channels selected by the specification or the region record (Note only one of specification or regionRec may be specified). More...
|
|
std::vector< casacore::uInt > | setSpectralRanges (casacore::String specification, casacore::uInt &nSelectedChannels, const casacore::IPosition &imShape=casacore::IPosition(0)) const |
|
| RegionManager () |
| blank constructor More...
|
|
| RegionManager (const CoordinateSystem &csys) |
|
virtual | ~RegionManager () |
|
String | absreltype (const Int absrelval=0) |
|
void | setcoordsys (const CoordinateSystem &csys) |
|
const CoordinateSystem & | getcoordsys () const |
|
Record * | box (const Vector< Double > &blc, const Vector< Double > &trc, const Vector< Double > &inc, const String &absrel, const Bool frac, const String &comment="") |
| LCSlicer box. More...
|
|
Record * | wbox (const Vector< Quantity > &blc, const Vector< Quantity > &trc, const Vector< Int > &pixelaxes, const CoordinateSystem &csys, const String &absrel, const String &comment) |
|
Record * | wbox (const Vector< String > &blc, const Vector< String > &trc, const Vector< Int > &pixelaxes, const CoordinateSystem &csys, const String &absrel, const String &comment) |
|
Record * | wbox (const Vector< Quantity > &blc, const Vector< Quantity > &trc, const Vector< Int > &pixelaxes, const String &absrel, const String &comment) |
|
Record * | wbox (const Vector< String > &blc, const Vector< String > &trc, const Vector< Int > &pixelaxes, const String &absrel, const String &comment) |
|
ImageRegion * | wbox (const Vector< Quantity > &blc, const Vector< Quantity > &trc, const Vector< Int > &pixelaxes, const CoordinateSystem &csys, const String &absrel="abs") |
|
ImageRegion * | wpolygon (const Vector< Quantity > &x, const Vector< Quantity > &y, const Vector< Int > &pixelaxes, const CoordinateSystem &csys, const String &absrel) |
| Wpolygon with coordsys and if pixelaxes[0] is -1 then its assumed to be 0,1,... More...
|
|
ImageRegion * | wpolygon (const Vector< Quantity > &x, const Vector< Quantity > &y, const Vector< Int > &pixelaxes, const String &absrel) |
| wpolygon version without csys...throws an exception if setcoordsys is not run More...
|
|
ImageRegion * | wellipse (const Quantity &xc, const Quantity &yc, const Quantity &a, const Quantity &b, const Quantity &pa, const uInt pixelAxis0, const uInt pixelAxis1, const String &absrel) const |
| wellipse version without csys...throws an exception if setcoordsys is not run More...
|
|
ImageRegion * | wsphere (const Vector< Quantity > ¢er, const Quantity &radius, const Vector< Int > &pixelaxes, const String &absrel) const |
| wsphere version without csys...throws an exception if setcoordsys is not run More...
|
|
ImageRegion * | wellipsoid (const Vector< Quantity > ¢er, const Vector< Quantity > &radii, const Vector< Int > &pixelaxes, const String &absrel) const |
|
ImageRegion * | wshell (const Vector< Quantity > ¢er, const Vector< Quantity > &innerRadii, const Vector< Quantity > &outerRadii, const Vector< Int > &pixelaxes, const String &absrel) const |
|
ImageRegion * | doComplement (const WCRegion ®1) |
| Various versions of creating a complement region. More...
|
|
ImageRegion * | doComplement (const PtrBlock< const WCRegion * > ®1) |
|
ImageRegion * | doComplement (const ImageRegion ®1) |
|
ImageRegion * | doConcatenation (const WCRegion ®ion, const WCBox &box) |
| Various versions of concatenating a region onto another. More...
|
|
ImageRegion * | doconcatenation (const PtrBlock< const WCRegion * > ®ions, const WCBox &box) |
|
ImageRegion * | doConcatenation (const PtrBlock< const ImageRegion * > ®ions, const TableRecord &box) |
|
ImageRegion * | doConcatenation (const Record ®ions, const TableRecord &box) |
|
ImageRegion * | doDifference (const WCRegion ®1, const WCRegion ®2) |
| Various versions of handling the difference of regions. More...
|
|
ImageRegion * | doDifference (const PtrBlock< const WCRegion * > ®1) |
|
ImageRegion * | doDifference (const ImageRegion ®1, const ImageRegion ®2) |
|
ImageRegion * | doIntersection (const WCRegion ®1, const WCRegion ®2) |
| Different versions of intersecting regions. More...
|
|
ImageRegion * | doIntersection (const PtrBlock< const WCRegion * > ®1) |
|
ImageRegion * | doIntersection (const ImageRegion ®1, const ImageRegion ®2) |
|
ImageRegion * | doUnion (const WCRegion ®1, const WCRegion ®2) |
| Different versions of unioning regions. More...
|
|
ImageRegion * | doUnion (const PtrBlock< const WCRegion * > ®1) |
|
ImageRegion * | doUnion (const ImageRegion ®1, const ImageRegion ®2) const |
|
String | imageRegionToTable (const String &tabName, const ImageRegion &imreg, const String ®Name, Bool asmask=False) |
| save region into a table (image, blank table or any other such) More...
|
|
String | recordToTable (const String &tabName, const RecordInterface &rec, const String ®Name="", Bool asmask=False) |
|
Record * | tableToRecord (const String &tabName, const String ®name) |
| recover region from table More...
|
|
Vector< String > | namesInTable (const String &tabName) |
| names of regions in table More...
|
|
Bool | removeRegionInTable (const String &tabName, const String ®Name) |
| Remove a region from table...refuse is regionname is "". More...
|
|
|
static casacore::Record | regionFromString (const casacore::CoordinateSystem &csys, const casacore::String ®ionStr, const casacore::String &imageName, const casacore::IPosition &imShape, casacore::Bool verbose=true) |
|
static Bool | isPixelRegion (const ImageRegion ®) |
| Some little but useful tidbits. More...
|
|
static Bool | isWorldRegion (const ImageRegion ®) |
|
static Record * | box (const Vector< Double > &blc, const Vector< Double > &trc, const Vector< Int > &shape, const String &comment="") |
| LCBox box. More...
|
|
static ImageRegion * | wellipse (const Quantity &xc, const Quantity &yc, const Quantity &a, const Quantity &b, const Quantity &pa, const uInt pixelAxis0, const uInt pixelAxis1, const CoordinateSystem &csys, const String &absrel) |
|
static ImageRegion * | wsphere (const Vector< Quantity > ¢er, const Quantity &radius, const Vector< Int > &pixelaxes, const CoordinateSystem &csys, const String &absrel) |
|
static ImageRegion * | wellipsoid (const Vector< Quantity > ¢er, const Vector< Quantity > &radii, const Vector< Int > &pixelaxes, const CoordinateSystem &csys, const String &absrel) |
|
static ImageRegion * | wshell (const Vector< Quantity > ¢er, const Vector< Quantity > &innerRadii, const Vector< Quantity > &outerRadii, const Vector< Int > &pixelaxes, const CoordinateSystem &csys, const String &absrel) |
|
static ImageRegion * | wmask (const String &command) |
|
static Record * | readImageFile (String filename, String regionname) |
| Reading of a file containing an ImageRegion in the AipsIO format dump. More...
|
|
static Bool | writeImageFile (const String &file, const String ®ionname, const Record ®ionRecord) |
| Writing a file of the AipsIO dump of the record representation of the region. More...
|
|
|
casacore::String | _pairsToString (const std::vector< casacore::uInt > &pairs) const |
|
std::vector< casacore::uInt > | _setPolarizationRanges (casacore::String &specification, const casacore::String &firstStokes, const casacore::uInt nStokes, const StokesControl stokesControl) const |
|
std::vector< casacore::Double > | _setBoxCorners (const casacore::String &box) const |
|
casacore::ImageRegion | _fromBCS (casacore::String &diagnostics, const std::vector< casacore::Double > &boxCorners, const std::vector< casacore::uInt > &chanEndPts, const std::vector< casacore::uInt > &polEndPts, const casacore::IPosition imShape) const |
|
casacore::String | _stokesFromRecord (const casacore::Record ®ion, const StokesControl stokesControl, const casacore::IPosition &shape) const |
|
void | _setRegion (casacore::Record ®ionRecord, casacore::String &diagnostics, const casacore::String ®ionName, const casacore::IPosition &imShape, const casacore::String &imageName, const casacore::String &prependBox, const casacore::String &globalOverrideChans, const casacore::String &globalStokesOverride, casacore::Bool verbose) |
|
std::vector< casacore::uInt > | _spectralRangeFromRangeFormat (casacore::uInt &nSelectedChannels, const casacore::String &specification, const casacore::IPosition &imShape) const |
|
std::vector< casacore::uInt > | _spectralRangeFromRegionRecord (casacore::uInt &nSelectedChannels, const casacore::Record *const regionRec, const casacore::IPosition &imShape) const |
|
casacore::Bool | _supports2DBox (casacore::Bool except) const |
| does the image support the setting of a two dimensional box(es). More...
|
|
std::vector< casacore::uInt > | _initSpectralRanges (casacore::uInt &nSelectedChannels, const casacore::IPosition &imShape) const |
|
image component class
This is a casa based class to provide the funtionality to the casacore::RegionManager Tool
- Author
- Version
Definition at line 46 of file CasacRegionManager.h.