This class rotates an image through a specified angle. More...
#include <ImageRotator.h>
Public Member Functions | |
ImageRotator () | |
ImageRotator (const SPCIIF image, const Record *const ®ionPtr, const String &mask, const String &outname, Bool overwrite) | |
ImageRotator (const ImageRotator &other) | |
~ImageRotator () | |
ImageRotator & | operator= (const ImageRotator &other) |
String | getClass () const |
SPIIF | rotate () |
void | setAngle (const Quantity &angle) |
set angle through which to rotate the direction or linear coordinate | |
void | setDecimate (Int d) |
void | setInterpolationMethod (const String &method) |
set the interpolation method | |
void | setReplicate (Bool b) |
void | setShape (const IPosition &shape) |
set shape of output image | |
Static Public Attributes | |
static const String | CLASS_NAME |
Protected Member Functions | |
CasacRegionManager::StokesControl | _getStokesControl () const |
vector< Coordinate::Type > | _getNecessaryCoordinates () const |
Represents the minimum set of coordinates necessary for the task to function. | |
Bool | _supportsMultipleRegions () const |
Private Attributes | |
IPosition | _shape |
String | _method |
Quantity | _angle |
Int | _decimate |
Bool | _replicate |
This class rotates an image through a specified angle.
Public interface
This class rotates an image through a specified angle.
This class rotates an image through a specified angle.
users like histograms.
Definition at line 69 of file ImageRotator.h.
casa::ImageRotator::ImageRotator | ( | ) |
casa::ImageRotator::ImageRotator | ( | const SPCIIF | image, | |
const Record *const & | regionPtr, | |||
const String & | mask, | |||
const String & | outname, | |||
Bool | overwrite | |||
) |
casa::ImageRotator::ImageRotator | ( | const ImageRotator & | other | ) |
casa::ImageRotator::~ImageRotator | ( | ) |
vector<Coordinate::Type> casa::ImageRotator::_getNecessaryCoordinates | ( | ) | const [inline, protected, virtual] |
Represents the minimum set of coordinates necessary for the task to function.
Implements casa::ImageTask< Float >.
Definition at line 114 of file ImageRotator.h.
CasacRegionManager::StokesControl casa::ImageRotator::_getStokesControl | ( | ) | const [inline, protected, virtual] |
Implements casa::ImageTask< Float >.
Definition at line 110 of file ImageRotator.h.
References casa::CasacRegionManager::USE_ALL_STOKES.
Bool casa::ImageRotator::_supportsMultipleRegions | ( | ) | const [inline, protected, virtual] |
Reimplemented from casa::ImageTask< Float >.
Definition at line 118 of file ImageRotator.h.
References casacore::False.
String casa::ImageRotator::getClass | ( | ) | const [inline, virtual] |
Implements casa::ImageTask< Float >.
Definition at line 87 of file ImageRotator.h.
References CLASS_NAME.
ImageRotator& casa::ImageRotator::operator= | ( | const ImageRotator & | other | ) |
SPIIF casa::ImageRotator::rotate | ( | ) |
void casa::ImageRotator::setAngle | ( | const Quantity & | angle | ) | [inline] |
set angle through which to rotate the direction or linear coordinate
Definition at line 92 of file ImageRotator.h.
References _angle.
void casa::ImageRotator::setDecimate | ( | Int | d | ) | [inline] |
Definition at line 94 of file ImageRotator.h.
References _decimate.
void casa::ImageRotator::setInterpolationMethod | ( | const String & | method | ) | [inline] |
void casa::ImageRotator::setReplicate | ( | Bool | b | ) | [inline] |
Definition at line 102 of file ImageRotator.h.
References _replicate.
void casa::ImageRotator::setShape | ( | const IPosition & | shape | ) | [inline] |
Quantity casa::ImageRotator::_angle [private] |
Definition at line 123 of file ImageRotator.h.
Referenced by setAngle().
Int casa::ImageRotator::_decimate [private] |
Definition at line 124 of file ImageRotator.h.
Referenced by setDecimate().
String casa::ImageRotator::_method [private] |
Definition at line 122 of file ImageRotator.h.
Referenced by setInterpolationMethod().
Bool casa::ImageRotator::_replicate [private] |
Definition at line 125 of file ImageRotator.h.
Referenced by setReplicate().
IPosition casa::ImageRotator::_shape [private] |
Definition at line 121 of file ImageRotator.h.
Referenced by setShape().
const String casa::ImageRotator::CLASS_NAME [static] |
Definition at line 72 of file ImageRotator.h.
Referenced by getClass().