Gathers up the data from the feathering process and stores it. More...
#include <FeatherThread.h>
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 | |
Feather * | featherWorker |
ImageInterface< float > * | lowImage |
ImageInterface< float > * | highImage |
ImageInterface< float > * | dirtyImage |
QMap< DataTypes, FeatheredData > | dataMap |
bool | radial |
bool | saveOutput |
bool | fileSaved |
bool | success |
QString | saveFilePath |
QString | errorMessage |
Static Private Attributes | |
static LogIO * | logger |
Friends | |
class | FeatherManager |
Gathers up the data from the feathering process and stores it.
Definition at line 45 of file FeatherThread.h.
Definition at line 57 of file FeatherThread.h.
casa::FeatherThread::FeatherThread | ( | ) |
casa::FeatherThread::~FeatherThread | ( | ) |
casa::FeatherThread::FeatherThread | ( | const FeatherThread & | other | ) | [private] |
static ImageInterface<float>* casa::FeatherThread::addMissingAxes | ( | ImageInterface< float > * | firstImage | ) | [static, 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] |
friend class FeatherManager [friend] |
Definition at line 47 of file FeatherThread.h.
QMap<DataTypes, FeatheredData> casa::FeatherThread::dataMap [private] |
Definition at line 86 of file FeatherThread.h.
ImageInterface<float>* casa::FeatherThread::dirtyImage [private] |
Definition at line 83 of file FeatherThread.h.
QString casa::FeatherThread::errorMessage [private] |
Definition at line 93 of file FeatherThread.h.
Feather* casa::FeatherThread::featherWorker [private] |
Definition at line 79 of file FeatherThread.h.
bool casa::FeatherThread::fileSaved [private] |
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.
bool casa::FeatherThread::radial [private] |
Definition at line 88 of file FeatherThread.h.
QString casa::FeatherThread::saveFilePath [private] |
Definition at line 92 of file FeatherThread.h.
bool casa::FeatherThread::saveOutput [private] |
Definition at line 89 of file FeatherThread.h.
bool casa::FeatherThread::success [private] |
Definition at line 91 of file FeatherThread.h.