casa::ImageRotator Class Reference

This class rotates an image through a specified angle. More...

#include <ImageRotator.h>

Inheritance diagram for casa::ImageRotator:
casa::ImageTask< Float >

List of all members.

Public Member Functions

 ImageRotator ()
 ImageRotator (const SPCIIF image, const Record *const &regionPtr, const String &mask, const String &outname, Bool overwrite)
 ImageRotator (const ImageRotator &other)
 ~ImageRotator ()
ImageRotatoroperator= (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

Detailed Description

This class rotates an image through a specified angle.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

This class rotates an image through a specified angle.

Synopsis

This class rotates an image through a specified angle.

Example

Motivation

users like histograms.

Definition at line 69 of file ImageRotator.h.


Constructor & Destructor Documentation

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 (  ) 

Member Function Documentation

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]

set the interpolation method

Definition at line 97 of file ImageRotator.h.

References _method.

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]

set shape of output image

Definition at line 105 of file ImageRotator.h.

References _shape.


Member Data Documentation

Quantity casa::ImageRotator::_angle [private]

Definition at line 123 of file ImageRotator.h.

Referenced by setAngle().

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().

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().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1