casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
casa::Fit2DTool Class Reference

#include <Fit2DTool.qo.h>

List of all members.

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 (ImageInterface< Float > *image)
 ~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)

Private Member Functions

 Fit2DTool (const Fit2DTool &fitTool)
Fit2DTool operator= (const Fit2DTool &fitTool)
Vector< FloatpopulateInclude () const
Vector< FloatpopulateExclude () 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 ()

Private Attributes

const QString REGION_LABEL
ImageInterface< Float > * image
QList< RegionShape * > fitMarkers
Gaussian2DFitterfitter
ColorComboDelegatefitColorDelegate
QProgressDialog progressBar
FindSourcesDialog findSourcesDialog
PixelRangeDialog pixelRangeDialog
Fit2DLogDialog logDialog
ResidualHistogramDialog residualHistogramDialog
String residualImagePath
Ui::Fit2DToolClass ui

Detailed Description

Definition at line 46 of file Fit2DTool.qo.h.


Constructor & Destructor Documentation

casa::Fit2DTool::Fit2DTool ( QWidget *  parent = 0)
casa::Fit2DTool::Fit2DTool ( const Fit2DTool fitTool) [private]

Member Function Documentation

void casa::Fit2DTool::add2DFitOverlay ( QList< RegionShape * >  fitMarkers) [signal]
void casa::Fit2DTool::clearFitMarkers ( ) [private, slot]
void casa::Fit2DTool::clearRegions ( ) [private]
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::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]
Fit2DTool casa::Fit2DTool::operator= ( const Fit2DTool fitTool) [private]
void casa::Fit2DTool::pixelRangeChanged ( ) [private, slot]
void casa::Fit2DTool::pixelRangeEnabledChanged ( bool  enabled) [private, slot]
void casa::Fit2DTool::pixelRangeNoneSelected ( bool  selected) [private, slot]
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::resetRegion ( const QList< int > &  pixelX,
const QList< int > &  pixelY 
) [private]
void casa::Fit2DTool::residualSupportChanged ( bool  enable) [private, slot]
void casa::Fit2DTool::setImageFunctionalityEnabled ( bool  enable) [private]
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::showResults ( ) [private, slot]
void casa::Fit2DTool::showSaveDialog ( ) [private, slot]
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]

Member Data Documentation

Definition at line 114 of file Fit2DTool.qo.h.

Definition at line 112 of file Fit2DTool.qo.h.

Definition at line 110 of file Fit2DTool.qo.h.

Definition at line 111 of file Fit2DTool.qo.h.

Definition at line 109 of file Fit2DTool.qo.h.

Definition at line 116 of file Fit2DTool.qo.h.

Definition at line 115 of file Fit2DTool.qo.h.

QProgressDialog casa::Fit2DTool::progressBar [private]

Definition at line 113 of file Fit2DTool.qo.h.

const QString casa::Fit2DTool::REGION_LABEL [private]

Definition at line 108 of file Fit2DTool.qo.h.

Definition at line 117 of file Fit2DTool.qo.h.

Definition at line 118 of file Fit2DTool.qo.h.

Ui::Fit2DToolClass casa::Fit2DTool::ui [private]

Definition at line 120 of file Fit2DTool.qo.h.


The documentation for this class was generated from the following file: