Isis Developer Reference
PlotWindowBestFitDialog.h
Go to the documentation of this file.
1 #ifndef PlotWindowBestFitDialog_h
2 #define PlotWindowBestFitDialog_h
3 
4 #include <QDialog>
5 
6 #include <QPointer>
7 
9 #include "PlotWindow.h"
10 
11 class QwtPlotSpectrogram;
12 
13 class QCheckBox;
14 class QComboBox;
15 class QLabel;
16 class QLineEdit;
17 class QPushButton;
18 class QWidget;
19 
20 namespace Isis {
31  Q_OBJECT
32 
33  public:
34  PlotWindowBestFitDialog(PlotWindow *windowWithCurves, QWidget *parent);
35  virtual ~PlotWindowBestFitDialog();
36 
37  public slots:
38  void createBestFitLine();
39  void readCurvesFromWindow();
40 
41  private slots:
42  void refreshWidgetStates();
43 
44  private:
45  CubePlotCurve *selectedCurve();
46  QwtPlotSpectrogram *selectedSpectrogram();
47 
54 
61  PlotWindowBestFitDialog &operator=(
62  const PlotWindowBestFitDialog &other);
63 
64  private:
66  QPointer<QComboBox> m_curvesCombo;
68  QPointer<QLabel> m_equationLabel;
70  QPointer<QLabel> m_correlationLabel;
72  QPointer<QLabel> m_determinationLabel;
78  QPointer<QPushButton> m_okayButton;
79 
81  QPointer<PlotWindow> m_plotWindowWithCurves;
82 
84  QScopedPointer<MultivariateStatistics> m_curveMultivariateStats;
85  };
86 }
87 
88 #endif
CubePlotCurve.h
QWidget
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::CubePlotCurve::copySource
void copySource(const CubePlotCurve &other)
This copies the source data from another CubePlotCurve.
Definition: CubePlotCurve.cpp:258
Isis::CubePlotCurve
This is a plot curve with information relating it to a particular cube or region of a cube.
Definition: CubePlotCurve.h:53
Isis::PlotWindowBestFitDialog::createBestFitLine
void createBestFitLine()
This is called when the user wants the best fit line.
Definition: PlotWindowBestFitDialog.cpp:112
Isis::PlotCurve::yUnits
Units yUnits() const
Get the units of the y-axis double data.
Definition: PlotCurve.cpp:86
Isis::PlotCurve::setPen
void setPen(const QPen &pen)
Sets the plot pen to the passed-in pen.
Definition: PlotCurve.cpp:340
PlotWindow.h
Isis::IsSpecial
bool IsSpecial(const double d)
Returns if the input pixel is special.
Definition: SpecialPixel.h:197
IString.h
QComboBox
Isis::PlotCurve::setData
void setData(QwtSeriesData< QPointF > *data)
This method sets the data for the curve, then sets the value for the markers associated with the curv...
Definition: PlotCurve.cpp:109
Isis::PlotWindowBestFitDialog
Definition: PlotWindowBestFitDialog.h:30
Isis::MultivariateStatistics
Container of multivariate statistics.
Definition: MultivariateStatistics.h:54
Isis::ScatterPlotData
This is the QwtRasterData for a scatter plot.
Definition: ScatterPlotData.h:28
ScatterPlotData.h
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::PlotWindowBestFitDialog::PlotWindowBestFitDialog
PlotWindowBestFitDialog(PlotWindow *windowWithCurves, QWidget *parent)
Create a PlotWindowBestFitDialog.
Definition: PlotWindowBestFitDialog.cpp:33
Isis::PlotWindowBestFitDialog::~PlotWindowBestFitDialog
virtual ~PlotWindowBestFitDialog()
Definition: PlotWindowBestFitDialog.cpp:101
MultivariateStatistics.h
Isis::PlotCurve::setColor
void setColor(const QColor &color)
Set the color of this curve and it's markers.
Definition: PlotCurve.cpp:97
Isis::Null
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
Isis::PlotCurve::xUnits
Units xUnits() const
Get the units of the x-axis double data.
Definition: PlotCurve.cpp:76
Isis::ScatterPlotData::discreteXValues
QVector< double > discreteXValues() const
Get a list of all of the x-bin center values for this scatter plot.
Definition: ScatterPlotData.cpp:297
QPair< double, double >
Isis::PlotCurve::setMarkerSymbol
void setMarkerSymbol(QwtSymbol::Style style)
This method sets the shape of the markers.
Definition: PlotCurve.cpp:120
QDialog
QVector
This is free and unencumbered software released into the public domain.
Definition: Calculator.h:18
IsisDebug.h
Isis::PlotWindow
Definition: PlotWindow.h:88
Isis::PlotWindowBestFitDialog::readCurvesFromWindow
void readCurvesFromWindow()
This populates the curve selection combo with all of the available information inside of the PlotWind...
Definition: PlotWindowBestFitDialog.cpp:203
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::PlotCurve::color
QColor color() const
This method returns the color of the curve.
Definition: PlotCurve.cpp:56
PlotWindowBestFitDialog.h