#include <Fit2DTool.qo.h>
Public Slots | |
void | frameChanged (int frame) |
void | newRegion (int, const QString &shape, const QString &name, const QList< double > &world_x, const QList< double > &world_y, const QList< int > &pixel_x, const QList< int > &pixel_y, const QString &linecolor, const QString &text, const QString &font, int fontsize, int fontstyle) |
void | updateRegion (int, viewer::region::RegionChanges, const QList< double > &world_x, const QList< double > &world_y, const QList< int > &pixel_x, const QList< int > &pixel_y) |
Signals | |
void | showOverlay (String, const QString &) |
void | removeOverlay (String) |
void | remove2DFitOverlay (QList< RegionShape * > fitMarkers) |
void | add2DFitOverlay (QList< RegionShape * > fitMarkers) |
void | addResidualFitImage (String) |
Public Member Functions | |
Fit2DTool (QWidget *parent=0) | |
void | setImage (SHARED_PTR< const ImageInterface< Float > > image) |
bool | setImageRegion (ImageRegion *imageRegion, int id) |
void | deleteImageRegion (int id) |
void | imageRegionSelected (int id) |
~Fit2DTool () | |
Private Slots | |
void | showFileDialog () |
void | showFindSourcesDialog () |
void | showPixelRangeDialog () |
void | estimateFileChanged (const QString &fullPath) |
void | pixelRangeChanged () |
void | pixelRangeEnabledChanged (bool enabled) |
void | pixelRangeNoneSelected (bool selected) |
void | doFit () |
void | fitColorChanged (const QString &colorName) |
void | fitDone () |
void | clearFitMarkers () |
void | showResults () |
void | showSaveDialog () |
void | showResidualHistogramDialog () |
void | residualSupportChanged (bool enable) |
void | showResidualDialog () |
void | displayFitChanged (bool display) |
void | imageModeChanged (bool imageEnabled) |
Private Member Functions | |
Fit2DTool (const Fit2DTool &fitTool) | |
Fit2DTool | operator= (const Fit2DTool &fitTool) |
Vector< Float > | populateInclude () const |
Vector< Float > | populateExclude () const |
void | populateIncludeExclude (Vector< Float > &range) const |
void | setImageFunctionalityEnabled (bool enable) |
void | resetRegion (const QList< int > &pixelX, const QList< int > &pixelY) |
bool | populateSaveFile (String &saveFile) |
bool | populateResidualFile (String &saveFile) |
void | showFileChooserDialog (const QString &title, QFileDialog::FileMode mode, QLineEdit *destinationLineEdit) |
bool | validateFile (QLineEdit *directoryLineEdit, QLineEdit *fileLineEdit, String &saveFile, const QString &purpose) |
void | addViewerFitMarkers () |
void | removeViewerFitMarkers () |
void | clearRegions () |
void | updateFrame () |
Update the widgets that depend on knowing the frame. | |
Private Attributes | |
const QString | REGION_LABEL |
SHARED_PTR< const ImageInterface< Float > > | image |
QList< RegionShape * > | fitMarkers |
Gaussian2DFitter * | fitter |
ColorComboDelegate * | fitColorDelegate |
QProgressDialog | progressBar |
FindSourcesDialog | findSourcesDialog |
PixelRangeDialog | pixelRangeDialog |
Fit2DLogDialog | logDialog |
ResidualHistogramDialog | residualHistogramDialog |
String | residualImagePath |
Ui::Fit2DToolClass | ui |
Definition at line 46 of file Fit2DTool.qo.h.
casa::Fit2DTool::Fit2DTool | ( | QWidget * | parent = 0 |
) |
casa::Fit2DTool::~Fit2DTool | ( | ) |
casa::Fit2DTool::Fit2DTool | ( | const Fit2DTool & | fitTool | ) | [private] |
void casa::Fit2DTool::add2DFitOverlay | ( | QList< RegionShape * > | fitMarkers | ) | [signal] |
void casa::Fit2DTool::addResidualFitImage | ( | String | ) | [signal] |
void casa::Fit2DTool::addViewerFitMarkers | ( | ) | [private] |
void casa::Fit2DTool::clearFitMarkers | ( | ) | [private, slot] |
void casa::Fit2DTool::clearRegions | ( | ) | [private] |
void casa::Fit2DTool::deleteImageRegion | ( | int | id | ) |
void casa::Fit2DTool::displayFitChanged | ( | bool | display | ) | [private, slot] |
void casa::Fit2DTool::doFit | ( | ) | [private, slot] |
void casa::Fit2DTool::estimateFileChanged | ( | const QString & | fullPath | ) | [private, slot] |
void casa::Fit2DTool::fitColorChanged | ( | const QString & | colorName | ) | [private, slot] |
void casa::Fit2DTool::fitDone | ( | ) | [private, slot] |
void casa::Fit2DTool::frameChanged | ( | int | frame | ) | [slot] |
void casa::Fit2DTool::imageModeChanged | ( | bool | imageEnabled | ) | [private, slot] |
void casa::Fit2DTool::imageRegionSelected | ( | int | id | ) |
void casa::Fit2DTool::newRegion | ( | int | , | |
const QString & | shape, | |||
const QString & | name, | |||
const QList< double > & | world_x, | |||
const QList< double > & | world_y, | |||
const QList< int > & | pixel_x, | |||
const QList< int > & | pixel_y, | |||
const QString & | linecolor, | |||
const QString & | text, | |||
const QString & | font, | |||
int | fontsize, | |||
int | fontstyle | |||
) | [slot] |
void casa::Fit2DTool::pixelRangeChanged | ( | ) | [private, slot] |
void casa::Fit2DTool::pixelRangeEnabledChanged | ( | bool | enabled | ) | [private, slot] |
void casa::Fit2DTool::pixelRangeNoneSelected | ( | bool | selected | ) | [private, slot] |
Vector<Float> casa::Fit2DTool::populateExclude | ( | ) | const [private] |
Vector<Float> casa::Fit2DTool::populateInclude | ( | ) | const [private] |
void casa::Fit2DTool::populateIncludeExclude | ( | Vector< Float > & | range | ) | const [private] |
bool casa::Fit2DTool::populateResidualFile | ( | String & | saveFile | ) | [private] |
bool casa::Fit2DTool::populateSaveFile | ( | String & | saveFile | ) | [private] |
void casa::Fit2DTool::remove2DFitOverlay | ( | QList< RegionShape * > | fitMarkers | ) | [signal] |
void casa::Fit2DTool::removeOverlay | ( | String | ) | [signal] |
void casa::Fit2DTool::removeViewerFitMarkers | ( | ) | [private] |
void casa::Fit2DTool::resetRegion | ( | const QList< int > & | pixelX, | |
const QList< int > & | pixelY | |||
) | [private] |
void casa::Fit2DTool::residualSupportChanged | ( | bool | enable | ) | [private, slot] |
void casa::Fit2DTool::setImage | ( | SHARED_PTR< const ImageInterface< Float > > | image | ) |
void casa::Fit2DTool::setImageFunctionalityEnabled | ( | bool | enable | ) | [private] |
bool casa::Fit2DTool::setImageRegion | ( | ImageRegion * | imageRegion, | |
int | id | |||
) |
void casa::Fit2DTool::showFileChooserDialog | ( | const QString & | title, | |
QFileDialog::FileMode | mode, | |||
QLineEdit * | destinationLineEdit | |||
) | [private] |
void casa::Fit2DTool::showFileDialog | ( | ) | [private, slot] |
void casa::Fit2DTool::showFindSourcesDialog | ( | ) | [private, slot] |
void casa::Fit2DTool::showOverlay | ( | String | , | |
const QString & | ||||
) | [signal] |
void casa::Fit2DTool::showPixelRangeDialog | ( | ) | [private, slot] |
void casa::Fit2DTool::showResidualDialog | ( | ) | [private, slot] |
void casa::Fit2DTool::showResidualHistogramDialog | ( | ) | [private, slot] |
void casa::Fit2DTool::showResults | ( | ) | [private, slot] |
void casa::Fit2DTool::showSaveDialog | ( | ) | [private, slot] |
void casa::Fit2DTool::updateFrame | ( | ) | [private] |
Update the widgets that depend on knowing the frame.
void casa::Fit2DTool::updateRegion | ( | int | , | |
viewer::region::RegionChanges | , | |||
const QList< double > & | world_x, | |||
const QList< double > & | world_y, | |||
const QList< int > & | pixel_x, | |||
const QList< int > & | pixel_y | |||
) | [slot] |
bool casa::Fit2DTool::validateFile | ( | QLineEdit * | directoryLineEdit, | |
QLineEdit * | fileLineEdit, | |||
String & | saveFile, | |||
const QString & | purpose | |||
) | [private] |
Definition at line 121 of file Fit2DTool.qo.h.
Definition at line 119 of file Fit2DTool.qo.h.
QList<RegionShape*> casa::Fit2DTool::fitMarkers [private] |
Definition at line 117 of file Fit2DTool.qo.h.
Gaussian2DFitter* casa::Fit2DTool::fitter [private] |
Definition at line 118 of file Fit2DTool.qo.h.
SHARED_PTR<const ImageInterface<Float> > casa::Fit2DTool::image [private] |
Definition at line 116 of file Fit2DTool.qo.h.
Fit2DLogDialog casa::Fit2DTool::logDialog [private] |
Definition at line 123 of file Fit2DTool.qo.h.
Definition at line 122 of file Fit2DTool.qo.h.
QProgressDialog casa::Fit2DTool::progressBar [private] |
Definition at line 120 of file Fit2DTool.qo.h.
const QString casa::Fit2DTool::REGION_LABEL [private] |
Definition at line 115 of file Fit2DTool.qo.h.
Definition at line 124 of file Fit2DTool.qo.h.
String casa::Fit2DTool::residualImagePath [private] |
Definition at line 125 of file Fit2DTool.qo.h.
Ui::Fit2DToolClass casa::Fit2DTool::ui [private] |
Definition at line 127 of file Fit2DTool.qo.h.