#include <GaussianEstimateWidget.qo.h>
Signals | |
| void | coordinatedValuesChanged (float) |
Public Member Functions | |
| GaussianEstimateWidget (QWidget *parent=0) | |
| void | setCurveData (const Vector< float > &xValues, const Vector< float > &yValues) |
| void | setCurveColor (QColor color) |
| void | setTitle (const QString &titleStr) |
| void | setRangeX (Float xValue, Float yValue) |
| void | setRangeY (Float xValue, Float yValue) |
| void | setDisplayYUnits (const QString &units) |
| void | molecularLineChanged (float peak, float center, const QString &label, const QString &chemicalName, const QString &resolvedQNs, const QString &frequencyUnits) |
| SpecFitGaussian | getEstimate () |
| void | setEstimate (const SpecFitGaussian &estimate) |
| void | unitsChanged (const QString &oldUnits, const QString &newUnits, SpectralCoordinate &coord) |
| void | setSliderValueFWHM (float value) |
| void | updateUIBasedOnEstimate () |
| void | clearMolecularLines () |
| ~GaussianEstimateWidget () | |
Static Public Member Functions | |
| static void | setEstimateColor (QColor estimateColor) |
Private Slots | |
| void | peakSliderChanged (int value) |
| void | centerSliderChanged (int value) |
| void | fwhmSliderChanged (int value) |
| void | peakTextChanged () |
| void | centerTextChanged () |
| void | fwhmTextChanged () |
| void | peakFixedChanged (bool fixed) |
| void | centerFixedChanged (bool fixed) |
| void | fwhmFixedChanged (bool fixed) |
Private Member Functions | |
| float | scale (int value, Float min, Float max) const |
| float | scaleY (int value) const |
| float | scaleX (int value) const |
| int | reverseScale (float value, Float min, Float max) const |
| int | reverseScaleY (float value) const |
| int | reverseScaleX (float value) const |
| float | getFwhmRange () const |
| void | peakChanged (float value) |
| void | centerChanged (float value) |
| void | fwhmChanged (float value) |
| void | updateFit () |
| void | copyVectors (const Vector< float > &values, QVector< double > &vals, bool reverseOrder) |
| void | copyVectors (const Vector< float > &sourceValues, Vector< float > &destinationValues, bool reverseOrder) |
| float | adjustValue (float val) const |
| void | setSliderValuePeak (float value) |
| void | setSliderValueCenter (float value) |
| float | reasonableFWHM (float value) const |
| float | reasonableCenter (float value) const |
| float | reasonablePeak (float value) const |
| QwtPlotCurve * | initCurve (QColor color) |
| void | clearCurve (QwtPlotCurve *&curve) |
Private Attributes | |
| QwtPlot * | plot |
| QwtPlotCurve * | curve |
| QwtPlotCurve * | fitCurve |
| Ui::GaussianEstimateWidgetClass | ui |
| SpecFitGaussian | gaussianEstimate |
| Vector< float > | xValues |
| Vector< float > | yValues |
| Float | minX |
| Float | maxX |
| Float | minY |
| Float | maxY |
| QColor | curveColor |
| QMap< QString, MolecularLine * > | molecularLineMap |
Static Private Attributes | |
| static QColor | fitCurveColor |
Definition at line 41 of file GaussianEstimateWidget.qo.h.
| casa::GaussianEstimateWidget::GaussianEstimateWidget | ( | QWidget * | parent = 0 |
) |
| casa::GaussianEstimateWidget::~GaussianEstimateWidget | ( | ) |
| float casa::GaussianEstimateWidget::adjustValue | ( | float | val | ) | const [private] |
| void casa::GaussianEstimateWidget::centerChanged | ( | float | value | ) | [private] |
| void casa::GaussianEstimateWidget::centerFixedChanged | ( | bool | fixed | ) | [private, slot] |
| void casa::GaussianEstimateWidget::centerSliderChanged | ( | int | value | ) | [private, slot] |
| void casa::GaussianEstimateWidget::centerTextChanged | ( | ) | [private, slot] |
| void casa::GaussianEstimateWidget::clearCurve | ( | QwtPlotCurve *& | curve | ) | [private] |
| void casa::GaussianEstimateWidget::clearMolecularLines | ( | ) |
| void casa::GaussianEstimateWidget::coordinatedValuesChanged | ( | float | ) | [signal] |
| void casa::GaussianEstimateWidget::copyVectors | ( | const Vector< float > & | sourceValues, | |
| Vector< float > & | destinationValues, | |||
| bool | reverseOrder | |||
| ) | [private] |
| void casa::GaussianEstimateWidget::copyVectors | ( | const Vector< float > & | values, | |
| QVector< double > & | vals, | |||
| bool | reverseOrder | |||
| ) | [private] |
| void casa::GaussianEstimateWidget::fwhmChanged | ( | float | value | ) | [private] |
| void casa::GaussianEstimateWidget::fwhmFixedChanged | ( | bool | fixed | ) | [private, slot] |
| void casa::GaussianEstimateWidget::fwhmSliderChanged | ( | int | value | ) | [private, slot] |
| void casa::GaussianEstimateWidget::fwhmTextChanged | ( | ) | [private, slot] |
| SpecFitGaussian casa::GaussianEstimateWidget::getEstimate | ( | ) |
| float casa::GaussianEstimateWidget::getFwhmRange | ( | ) | const [private] |
| QwtPlotCurve* casa::GaussianEstimateWidget::initCurve | ( | QColor | color | ) | [private] |
| void casa::GaussianEstimateWidget::molecularLineChanged | ( | float | peak, | |
| float | center, | |||
| const QString & | label, | |||
| const QString & | chemicalName, | |||
| const QString & | resolvedQNs, | |||
| const QString & | frequencyUnits | |||
| ) |
| void casa::GaussianEstimateWidget::peakChanged | ( | float | value | ) | [private] |
| void casa::GaussianEstimateWidget::peakFixedChanged | ( | bool | fixed | ) | [private, slot] |
| void casa::GaussianEstimateWidget::peakSliderChanged | ( | int | value | ) | [private, slot] |
| void casa::GaussianEstimateWidget::peakTextChanged | ( | ) | [private, slot] |
| float casa::GaussianEstimateWidget::reasonableCenter | ( | float | value | ) | const [private] |
| float casa::GaussianEstimateWidget::reasonableFWHM | ( | float | value | ) | const [private] |
| float casa::GaussianEstimateWidget::reasonablePeak | ( | float | value | ) | const [private] |
| int casa::GaussianEstimateWidget::reverseScale | ( | float | value, | |
| Float | min, | |||
| Float | max | |||
| ) | const [private] |
| int casa::GaussianEstimateWidget::reverseScaleX | ( | float | value | ) | const [private] |
| int casa::GaussianEstimateWidget::reverseScaleY | ( | float | value | ) | const [private] |
| float casa::GaussianEstimateWidget::scale | ( | int | value, | |
| Float | min, | |||
| Float | max | |||
| ) | const [private] |
| float casa::GaussianEstimateWidget::scaleX | ( | int | value | ) | const [private] |
| float casa::GaussianEstimateWidget::scaleY | ( | int | value | ) | const [private] |
| void casa::GaussianEstimateWidget::setCurveColor | ( | QColor | color | ) |
| void casa::GaussianEstimateWidget::setCurveData | ( | const Vector< float > & | xValues, | |
| const Vector< float > & | yValues | |||
| ) |
| void casa::GaussianEstimateWidget::setDisplayYUnits | ( | const QString & | units | ) |
| void casa::GaussianEstimateWidget::setEstimate | ( | const SpecFitGaussian & | estimate | ) |
| static void casa::GaussianEstimateWidget::setEstimateColor | ( | QColor | estimateColor | ) | [static] |
| void casa::GaussianEstimateWidget::setRangeX | ( | Float | xValue, | |
| Float | yValue | |||
| ) |
| void casa::GaussianEstimateWidget::setRangeY | ( | Float | xValue, | |
| Float | yValue | |||
| ) |
| void casa::GaussianEstimateWidget::setSliderValueCenter | ( | float | value | ) | [private] |
| void casa::GaussianEstimateWidget::setSliderValueFWHM | ( | float | value | ) |
| void casa::GaussianEstimateWidget::setSliderValuePeak | ( | float | value | ) | [private] |
| void casa::GaussianEstimateWidget::setTitle | ( | const QString & | titleStr | ) |
| void casa::GaussianEstimateWidget::unitsChanged | ( | const QString & | oldUnits, | |
| const QString & | newUnits, | |||
| SpectralCoordinate & | coord | |||
| ) |
| void casa::GaussianEstimateWidget::updateFit | ( | ) | [private] |
| void casa::GaussianEstimateWidget::updateUIBasedOnEstimate | ( | ) |
QwtPlotCurve* casa::GaussianEstimateWidget::curve [private] |
Definition at line 102 of file GaussianEstimateWidget.qo.h.
QColor casa::GaussianEstimateWidget::curveColor [private] |
Definition at line 112 of file GaussianEstimateWidget.qo.h.
QwtPlotCurve* casa::GaussianEstimateWidget::fitCurve [private] |
Definition at line 103 of file GaussianEstimateWidget.qo.h.
QColor casa::GaussianEstimateWidget::fitCurveColor [static, private] |
Definition at line 113 of file GaussianEstimateWidget.qo.h.
Definition at line 105 of file GaussianEstimateWidget.qo.h.
Float casa::GaussianEstimateWidget::maxX [private] |
Definition at line 109 of file GaussianEstimateWidget.qo.h.
Float casa::GaussianEstimateWidget::maxY [private] |
Definition at line 111 of file GaussianEstimateWidget.qo.h.
Float casa::GaussianEstimateWidget::minX [private] |
Definition at line 108 of file GaussianEstimateWidget.qo.h.
Float casa::GaussianEstimateWidget::minY [private] |
Definition at line 110 of file GaussianEstimateWidget.qo.h.
QMap<QString,MolecularLine*> casa::GaussianEstimateWidget::molecularLineMap [private] |
Definition at line 114 of file GaussianEstimateWidget.qo.h.
QwtPlot* casa::GaussianEstimateWidget::plot [private] |
Definition at line 101 of file GaussianEstimateWidget.qo.h.
Ui::GaussianEstimateWidgetClass casa::GaussianEstimateWidget::ui [private] |
Definition at line 104 of file GaussianEstimateWidget.qo.h.
Vector<float> casa::GaussianEstimateWidget::xValues [private] |
Definition at line 106 of file GaussianEstimateWidget.qo.h.
Vector<float> casa::GaussianEstimateWidget::yValues [private] |
Definition at line 107 of file GaussianEstimateWidget.qo.h.
1.6.1