casa::FeatherThread Class Reference

Gathers up the data from the feathering process and stores it. More...

#include <FeatherThread.h>

List of all members.

Public Types

enum  DataTypes {
  SD_WEIGHT,
  INT_WEIGHT,
  SD_CUT,
  INT_CUT,
  DIRTY_CUT,
  SD_ORIGINAL,
  INT_ORIGINAL,
  INT_CONVOLVED_LOW,
  INT_CONVOLVED_LOW_WEIGHTED,
  DIRTY_ORIGINAL,
  DIRTY_CONVOLVED_LOW,
  DIRTY_CONVOLVED_LOW_WEIGHTED,
  LOW_CONVOLVED_HIGH,
  LOW_CONVOLVED_HIGH_WEIGHTED,
  END_DATA
}

Public Member Functions

ImageInterface< float > * makeConvolvedImage (ImageInterface< float > *firstImage, ImageInterface< float > *secondImage)
 Computes First Image x Second Image.
 FeatherThread ()
void setImages (ImageInterface< float > *lowImage, ImageInterface< float > *highImage, ImageInterface< float > *dirtyImage)
void setFeatherWorker (Feather *worker)
void setRadial (bool radialPlot)
bool isSuccess () const
QString getErrorMessage () const
void setSaveOutput (bool save, const QString &outputPath="")
void run ()
 ~FeatherThread ()

Static Public Member Functions

static void setLogger (LogIO *logger)

Private Member Functions

 FeatherThread (const FeatherThread &other)
FeatherThread operator= (const FeatherThread &other)
bool collectLowHighData ()
bool collectLowDirtyData ()
bool collectConvolvedData (DataTypes original, DataTypes cut)
bool setWorkerImages (ImageInterface< float > *imageLow, ImageInterface< float > *imageHigh)

Static Private Member Functions

static ImageInterface< float > * addMissingAxes (ImageInterface< float > *firstImage)

Private Attributes

FeatherfeatherWorker
ImageInterface< float > * lowImage
ImageInterface< float > * highImage
ImageInterface< float > * dirtyImage
QMap< DataTypes, FeatheredDatadataMap
bool radial
bool saveOutput
bool fileSaved
bool success
QString saveFilePath
QString errorMessage

Static Private Attributes

static LogIO * logger

Friends

class FeatherManager

Detailed Description

Gathers up the data from the feathering process and stores it.

Definition at line 45 of file FeatherThread.h.


Member Enumeration Documentation

Enumerator:
SD_WEIGHT 
INT_WEIGHT 
SD_CUT 
INT_CUT 
DIRTY_CUT 
SD_ORIGINAL 
INT_ORIGINAL 
INT_CONVOLVED_LOW 
INT_CONVOLVED_LOW_WEIGHTED 
DIRTY_ORIGINAL 
DIRTY_CONVOLVED_LOW 
DIRTY_CONVOLVED_LOW_WEIGHTED 
LOW_CONVOLVED_HIGH 
LOW_CONVOLVED_HIGH_WEIGHTED 
END_DATA 

Definition at line 57 of file FeatherThread.h.


Constructor & Destructor Documentation

casa::FeatherThread::FeatherThread (  ) 
casa::FeatherThread::~FeatherThread (  ) 
casa::FeatherThread::FeatherThread ( const FeatherThread other  )  [private]

Member Function Documentation

static ImageInterface<float>* casa::FeatherThread::addMissingAxes ( ImageInterface< float > *  firstImage  )  [static, private]
bool casa::FeatherThread::collectConvolvedData ( DataTypes  original,
DataTypes  cut 
) [private]
bool casa::FeatherThread::collectLowDirtyData (  )  [private]
bool casa::FeatherThread::collectLowHighData (  )  [private]
QString casa::FeatherThread::getErrorMessage (  )  const
bool casa::FeatherThread::isSuccess (  )  const
ImageInterface<float>* casa::FeatherThread::makeConvolvedImage ( ImageInterface< float > *  firstImage,
ImageInterface< float > *  secondImage 
)

Computes First Image x Second Image.

Caller is responsible for deleting the convolved image.

FeatherThread casa::FeatherThread::operator= ( const FeatherThread other  )  [private]
void casa::FeatherThread::run (  ) 
void casa::FeatherThread::setFeatherWorker ( Feather worker  ) 
void casa::FeatherThread::setImages ( ImageInterface< float > *  lowImage,
ImageInterface< float > *  highImage,
ImageInterface< float > *  dirtyImage 
)
static void casa::FeatherThread::setLogger ( LogIO *  logger  )  [static]
void casa::FeatherThread::setRadial ( bool  radialPlot  ) 
void casa::FeatherThread::setSaveOutput ( bool  save,
const QString &  outputPath = "" 
)
bool casa::FeatherThread::setWorkerImages ( ImageInterface< float > *  imageLow,
ImageInterface< float > *  imageHigh 
) [private]

Friends And Related Function Documentation

friend class FeatherManager [friend]

Definition at line 47 of file FeatherThread.h.


Member Data Documentation

Definition at line 86 of file FeatherThread.h.

ImageInterface<float>* casa::FeatherThread::dirtyImage [private]

Definition at line 83 of file FeatherThread.h.

Definition at line 93 of file FeatherThread.h.

Definition at line 79 of file FeatherThread.h.

Definition at line 90 of file FeatherThread.h.

ImageInterface<float>* casa::FeatherThread::highImage [private]

Definition at line 82 of file FeatherThread.h.

LogIO* casa::FeatherThread::logger [static, private]

Definition at line 80 of file FeatherThread.h.

ImageInterface<float>* casa::FeatherThread::lowImage [private]

Definition at line 81 of file FeatherThread.h.

Definition at line 88 of file FeatherThread.h.

Definition at line 92 of file FeatherThread.h.

Definition at line 89 of file FeatherThread.h.

Definition at line 91 of file FeatherThread.h.


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