casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
casa::ImageTransposer Class Reference

#include <ImageTransposer.h>

Inheritance diagram for casa::ImageTransposer:
casa::ImageTask

List of all members.

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

Detailed Description

Definition at line 36 of file ImageTransposer.h.


Constructor & Destructor Documentation

casa::ImageTransposer::ImageTransposer ( const ImageInterface< Float > *const &  image,
uInt  order,
const String outputImage 
)

Top level interface for transposing image axes.

Etymology

Reorders images axes.

Synopsis

ImageReorderer is the top level interface for transposing image axes.

Example

          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


Member Function Documentation

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]

Implements casa::ImageTask.

Definition at line 91 of file ImageTransposer.h.

References casa::CasacRegionManager::USE_ALL_STOKES.

String casa::ImageTransposer::getClass ( ) const [inline, virtual]

Implements casa::ImageTask.

Definition at line 86 of file ImageTransposer.h.

References _class.

transpose the axes and write the output image.

Returns the associated PagedImage object.


Member Data Documentation

const String casa::ImageTransposer::_class [static, private]

Definition at line 102 of file ImageTransposer.h.

Referenced by getClass().

Definition at line 100 of file ImageTransposer.h.

Definition at line 101 of file ImageTransposer.h.


The documentation for this class was generated from the following file: