casa
$Rev:20696$
|
#include <ImageTransposer.h>
Public Member Functions | |
ImageTransposer (const ImageInterface< Float > *const &image, uInt order, const String &outputImage) | |
Top level interface for transposing image axes. | |
ImageTransposer (const ImageInterface< Float > *const &image, const String &order, const String &outputImage) | |
This constructor allows both transposing and inverting of axes. | |
ImageTransposer (const ImageInterface< Float > *const &image, const Vector< String > order, const String &outputImage) | |
This constructor allows both transposing and inverting of axes. | |
~ImageTransposer () | |
destructor | |
ImageInterface< Float > * | transpose () const |
transpose the axes and write the output image. | |
String | getClass () const |
Protected Member Functions | |
CasacRegionManager::StokesControl | _getStokesControl () const |
vector< Coordinate::Type > | _getNecessaryCoordinates () const |
Represents the minimum set of coordinates necessary for the task to function. | |
Private Member Functions | |
Vector< Int > | _getOrder (uInt order) const |
Vector< Int > | _getOrder (const String &order) |
Private Attributes | |
Vector< Int > | _order |
IPosition | _reverse |
Static Private Attributes | |
static const String | _class |
Definition at line 36 of file ImageTransposer.h.
casa::ImageTransposer::ImageTransposer | ( | const ImageInterface< Float > *const & | image, |
uInt | order, | ||
const String & | outputImage | ||
) |
Top level interface for transposing image axes.
Reorders images axes.
ImageReorderer is the top level interface for transposing image axes.
ImageTransposer transposer(...) reorderer.reorder();
This constructor only allows transposing of axes, it does not allow inverting.
casa::ImageTransposer::ImageTransposer | ( | const ImageInterface< Float > *const & | image, |
const String & | order, | ||
const String & | outputImage | ||
) |
This constructor allows both transposing and inverting of axes.
casa::ImageTransposer::ImageTransposer | ( | const ImageInterface< Float > *const & | image, |
const Vector< String > | order, | ||
const String & | outputImage | ||
) |
This constructor allows both transposing and inverting of axes.
destructor
vector<Coordinate::Type> casa::ImageTransposer::_getNecessaryCoordinates | ( | ) | const [inline, protected, virtual] |
Represents the minimum set of coordinates necessary for the task to function.
Implements casa::ImageTask.
Definition at line 95 of file ImageTransposer.h.
Vector<Int> casa::ImageTransposer::_getOrder | ( | uInt | order | ) | const [private] |
Vector<Int> casa::ImageTransposer::_getOrder | ( | const String & | order | ) | [private] |
CasacRegionManager::StokesControl casa::ImageTransposer::_getStokesControl | ( | ) | const [inline, protected, virtual] |
Implements casa::ImageTask.
Definition at line 91 of file ImageTransposer.h.
References casa::CasacRegionManager::USE_ALL_STOKES.
String casa::ImageTransposer::getClass | ( | ) | const [inline, virtual] |
ImageInterface<Float>* casa::ImageTransposer::transpose | ( | ) | const |
transpose the axes and write the output image.
Returns the associated PagedImage object.
const String casa::ImageTransposer::_class [static, private] |
Definition at line 102 of file ImageTransposer.h.
Referenced by getClass().
Vector<Int> casa::ImageTransposer::_order [private] |
Definition at line 100 of file ImageTransposer.h.
IPosition casa::ImageTransposer::_reverse [private] |
Definition at line 101 of file ImageTransposer.h.