casa::FindSourcesDialog Class Reference
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>
List of all members.
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 (SHARED_PTR< const ImageInterface< Float > > image) |
void | setChannel (int channel) |
void | clearImage () |
QString | getRegionString () const |
String | getPixelBox () const |
QString | getImagePixelBox () 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.
|
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) |
void | resetSkyOverlay () |
void | clearSkyOverlay () |
void | clearRegions () |
bool | writeEstimateFile (QString &filePath, bool screenEstimates=false, RegionBox *screeningBox=NULL) |
QString | getRemoveOverlayPath () const |
Private Attributes |
ComponentListWrapper | skyList |
SHARED_PTR< const
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 |
Detailed Description
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 50 of file FindSourcesDialog.qo.h.
Member Enumeration Documentation
- Enumerator:
ID_COL |
|
RA_COL |
|
DEC_COL |
|
FLUX_COL |
|
MAJOR_AXIS_COL |
|
MINOR_AXIS_COL |
|
ANGLE_COL |
|
Definition at line 121 of file FindSourcesDialog.qo.h.
Constructor & Destructor Documentation
casa::FindSourcesDialog::FindSourcesDialog |
( |
QWidget * |
parent = 0 , |
|
|
bool |
displayModeFunctionality = true | |
|
) |
| | |
casa::FindSourcesDialog::~FindSourcesDialog |
( |
|
) |
|
casa::FindSourcesDialog::FindSourcesDialog |
( |
const FindSourcesDialog & |
other |
) |
[private] |
Member Function Documentation
void casa::FindSourcesDialog::canceledFindSources |
( |
|
) |
[private, slot] |
void casa::FindSourcesDialog::clearImage |
( |
|
) |
|
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 |
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 |
) |
[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] |
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 |
( |
SHARED_PTR< const 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] |
Member Data Documentation
The documentation for this class was generated from the following file: