casa
$Rev:20696$
|
Displays a dialog that allows the user to find and edit a source list that can be used as estimates for a 2D fit. More...
#include <FindSourcesDialog.qo.h>
Public Slots | |
void | setImageMode (bool imageMode) |
bool | newRegion (int id, 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) |
bool | updateRegion (int id, viewer::region::RegionChanges changes, const QList< double > &world_x, const QList< double > &world_y, const QList< int > &pixel_x, const QList< int > &pixel_y) |
void | setOverlayColor (const QString &colorName) |
Signals | |
void | showOverlay (String, const QString &) |
void | removeOverlay (String path) |
void | estimateFileSpecified (const QString &fullPath) |
Public Member Functions | |
FindSourcesDialog (QWidget *parent=0, bool displayModeFunctionality=true) | |
void | setImage (ImageInterface< Float > *image) |
void | setChannel (int channel) |
QString | getRegionString () const |
String | getPixelBox () const |
String | getScreenedEstimatesFile (const String &estimatesFileName, bool *errorWritingFile) |
~FindSourcesDialog () | |
Static Public Attributes | |
static const QStringList | colorNames |
Private Types | |
enum | SourceColumns { ID_COL, RA_COL, DEC_COL, FLUX_COL, MAJOR_AXIS_COL, MINOR_AXIS_COL, ANGLE_COL } |
Private Slots | |
void | findSources () |
void | deleteSelectedSource () |
void | canceledFindSources () |
void | saveEstimateFile () |
void | directoryChanged (const QModelIndex &modelIndex) |
void | validateDirectory (const QString &str) |
void | cutoffModeChanged (bool noise) |
void | showPixelRange () |
void | pixelRangeChanged () |
void | viewerDisplayChanged () |
Private Member Functions | |
FindSourcesDialog (const FindSourcesDialog &other) | |
FindSourcesDialog & | operator= (const FindSourcesDialog &other) |
void | populatePixelBox () |
void | populateImageBounds () |
Written because when a fit of a residual image was being done, the region bounds were larger than the bounds in the residual image. | |
QString | getImagePixelBox () const |
void | resetCurrentId (int suggestedId) |
void | resetSourceView () |
void | setSourceResultsVisible (bool visible) |
void | createTable () |
void | initializeFileManagement () |
void | setTableValue (int row, int col, const String &val) |
double | populateCutOff (bool *valid) const |
Record | makeRegion (bool *valid) const |
void | resetSkyOverlay () |
void | clearSkyOverlay () |
void | clearRegions () |
bool | writeEstimateFile (QString &filePath, bool screenEstimates=false, RegionBox *screeningBox=NULL) |
QString | getRemoveOverlayPath () const |
Private Attributes | |
ComponentListWrapper | skyList |
ImageInterface< Float > * | image |
String | pixelBox |
QString | skyPath |
QString | overlayColorName |
bool | imageMode |
int | channel |
int | resultIndex |
int | currentRegionId |
QFileSystemModel * | fileModel |
QMap< int, RegionBox * > | regions |
const int | DEFAULT_KEY |
const QString | SKY_CATALOG |
ColorComboDelegate * | colorDelegate |
PixelRangeDialog | pixelRangeDialog |
Vector< int > | blcVector |
Vector< int > | trcVector |
Ui::FindSourcesDialogClass | ui |
Displays a dialog that allows the user to find and edit a source list that can be used as estimates for a 2D fit.
Definition at line 51 of file FindSourcesDialog.qo.h.
enum casa::FindSourcesDialog::SourceColumns [private] |
Definition at line 120 of file FindSourcesDialog.qo.h.
casa::FindSourcesDialog::FindSourcesDialog | ( | QWidget * | parent = 0 , |
bool | displayModeFunctionality = true |
||
) |
casa::FindSourcesDialog::FindSourcesDialog | ( | const FindSourcesDialog & | other | ) | [private] |
void casa::FindSourcesDialog::canceledFindSources | ( | ) | [private, slot] |
void casa::FindSourcesDialog::clearRegions | ( | ) | [private] |
void casa::FindSourcesDialog::clearSkyOverlay | ( | ) | [private] |
void casa::FindSourcesDialog::createTable | ( | ) | [private] |
void casa::FindSourcesDialog::cutoffModeChanged | ( | bool | noise | ) | [private, slot] |
void casa::FindSourcesDialog::deleteSelectedSource | ( | ) | [private, slot] |
void casa::FindSourcesDialog::directoryChanged | ( | const QModelIndex & | modelIndex | ) | [private, slot] |
void casa::FindSourcesDialog::estimateFileSpecified | ( | const QString & | fullPath | ) | [signal] |
void casa::FindSourcesDialog::findSources | ( | ) | [private, slot] |
QString casa::FindSourcesDialog::getImagePixelBox | ( | ) | const [private] |
String casa::FindSourcesDialog::getPixelBox | ( | ) | const |
QString casa::FindSourcesDialog::getRegionString | ( | ) | const |
QString casa::FindSourcesDialog::getRemoveOverlayPath | ( | ) | const [private] |
String casa::FindSourcesDialog::getScreenedEstimatesFile | ( | const String & | estimatesFileName, |
bool * | errorWritingFile | ||
) |
void casa::FindSourcesDialog::initializeFileManagement | ( | ) | [private] |
Record casa::FindSourcesDialog::makeRegion | ( | bool * | valid | ) | const [private] |
bool casa::FindSourcesDialog::newRegion | ( | int | id, |
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] |
FindSourcesDialog& casa::FindSourcesDialog::operator= | ( | const FindSourcesDialog & | other | ) | [private] |
void casa::FindSourcesDialog::pixelRangeChanged | ( | ) | [private, slot] |
double casa::FindSourcesDialog::populateCutOff | ( | bool * | valid | ) | const [private] |
void casa::FindSourcesDialog::populateImageBounds | ( | ) | [private] |
Written because when a fit of a residual image was being done, the region bounds were larger than the bounds in the residual image.
void casa::FindSourcesDialog::populatePixelBox | ( | ) | [private] |
void casa::FindSourcesDialog::removeOverlay | ( | String | path | ) | [signal] |
void casa::FindSourcesDialog::resetCurrentId | ( | int | suggestedId | ) | [private] |
void casa::FindSourcesDialog::resetSkyOverlay | ( | ) | [private] |
void casa::FindSourcesDialog::resetSourceView | ( | ) | [private] |
void casa::FindSourcesDialog::saveEstimateFile | ( | ) | [private, slot] |
void casa::FindSourcesDialog::setChannel | ( | int | channel | ) |
void casa::FindSourcesDialog::setImage | ( | ImageInterface< Float > * | image | ) |
void casa::FindSourcesDialog::setImageMode | ( | bool | imageMode | ) | [slot] |
void casa::FindSourcesDialog::setOverlayColor | ( | const QString & | colorName | ) | [slot] |
void casa::FindSourcesDialog::setSourceResultsVisible | ( | bool | visible | ) | [private] |
void casa::FindSourcesDialog::setTableValue | ( | int | row, |
int | col, | ||
const String & | val | ||
) | [private] |
void casa::FindSourcesDialog::showOverlay | ( | String | , |
const QString & | |||
) | [signal] |
void casa::FindSourcesDialog::showPixelRange | ( | ) | [private, slot] |
bool casa::FindSourcesDialog::updateRegion | ( | int | id, |
viewer::region::RegionChanges | changes, | ||
const QList< double > & | world_x, | ||
const QList< double > & | world_y, | ||
const QList< int > & | pixel_x, | ||
const QList< int > & | pixel_y | ||
) | [slot] |
void casa::FindSourcesDialog::validateDirectory | ( | const QString & | str | ) | [private, slot] |
void casa::FindSourcesDialog::viewerDisplayChanged | ( | ) | [private, slot] |
bool casa::FindSourcesDialog::writeEstimateFile | ( | QString & | filePath, |
bool | screenEstimates = false , |
||
RegionBox * | screeningBox = NULL |
||
) | [private] |
Vector<int> casa::FindSourcesDialog::blcVector [private] |
Definition at line 136 of file FindSourcesDialog.qo.h.
int casa::FindSourcesDialog::channel [private] |
Definition at line 127 of file FindSourcesDialog.qo.h.
Definition at line 134 of file FindSourcesDialog.qo.h.
const QStringList casa::FindSourcesDialog::colorNames [static] |
Definition at line 64 of file FindSourcesDialog.qo.h.
int casa::FindSourcesDialog::currentRegionId [private] |
Definition at line 129 of file FindSourcesDialog.qo.h.
const int casa::FindSourcesDialog::DEFAULT_KEY [private] |
Definition at line 132 of file FindSourcesDialog.qo.h.
QFileSystemModel* casa::FindSourcesDialog::fileModel [private] |
Definition at line 130 of file FindSourcesDialog.qo.h.
ImageInterface<Float>* casa::FindSourcesDialog::image [private] |
Definition at line 122 of file FindSourcesDialog.qo.h.
bool casa::FindSourcesDialog::imageMode [private] |
Definition at line 126 of file FindSourcesDialog.qo.h.
QString casa::FindSourcesDialog::overlayColorName [private] |
Definition at line 125 of file FindSourcesDialog.qo.h.
String casa::FindSourcesDialog::pixelBox [private] |
Definition at line 123 of file FindSourcesDialog.qo.h.
Definition at line 135 of file FindSourcesDialog.qo.h.
QMap< int, RegionBox*> casa::FindSourcesDialog::regions [private] |
Definition at line 131 of file FindSourcesDialog.qo.h.
int casa::FindSourcesDialog::resultIndex [private] |
Definition at line 128 of file FindSourcesDialog.qo.h.
const QString casa::FindSourcesDialog::SKY_CATALOG [private] |
Definition at line 133 of file FindSourcesDialog.qo.h.
Definition at line 119 of file FindSourcesDialog.qo.h.
QString casa::FindSourcesDialog::skyPath [private] |
Definition at line 124 of file FindSourcesDialog.qo.h.
Vector<int> casa::FindSourcesDialog::trcVector [private] |
Definition at line 137 of file FindSourcesDialog.qo.h.
Ui::FindSourcesDialogClass casa::FindSourcesDialog::ui [private] |
Definition at line 138 of file FindSourcesDialog.qo.h.