Isis Developer Reference
|
This configuration dialog is for users to determine the scatter plot parameters required to create a scatter plot. More...
#include <ScatterPlotConfigDialog.h>
Public Member Functions | |
ScatterPlotConfigDialog (MdiCubeViewport *activeViewport, Workspace *workspace, QWidget *parent=NULL) | |
This method creates all the dialog boxes required for the scatter plot window. | |
virtual QSize | sizeHint () const |
This is overridden to give a better default size than what Qt calculates by default. | |
Cube * | xAxisCube () const |
The current user selection for a cube for the x-axis data for a scatter plot. | |
Cube * | yAxisCube () const |
The current user selection for a cube for the x-axis data for a scatter plot. | |
int | xAxisCubeBand () const |
The current user selection for the band in the x-axis cube to get data from. | |
int | yAxisCubeBand () const |
The current user selection for the band in the y-axis cube to get data from. | |
int | xAxisBinCount () const |
The current user selection for the resolution of the scatter plot's x data. | |
int | yAxisBinCount () const |
The current user selection for the resolution of the scatter plot's y data. | |
QwtInterval | sampleRange () const |
This is the sample range from which the scatter plot should be created. | |
QwtInterval | lineRange () const |
This is the line range from which the scatter plot should be created. | |
MdiCubeViewport * | xAxisCubeViewport () const |
This returns a viewport which contains the x-axis cube. | |
MdiCubeViewport * | yAxisCubeViewport () const |
This returns a viewport which contains the y-axis cube. | |
This configuration dialog is for users to determine the scatter plot parameters required to create a scatter plot.
Isis::ScatterPlotConfigDialog::ScatterPlotConfigDialog | ( | MdiCubeViewport * | activeViewport, |
Workspace * | workspace, | ||
QWidget * | parent = NULL ) |
This method creates all the dialog boxes required for the scatter plot window.
activeViewport | The current user-selected viewport |
workspace | The workspace containing all of the viewports |
parent | The Qt-parent for this dialog |
QwtInterval Isis::ScatterPlotConfigDialog::lineRange | ( | ) | const |
This is the line range from which the scatter plot should be created.
The return value is 1-based (lines start at 1) and inclusive. The range 1 and nlines is the entire line range.
QwtInterval Isis::ScatterPlotConfigDialog::sampleRange | ( | ) | const |
This is the sample range from which the scatter plot should be created.
The return value is 1-based (samples start at 1) and inclusive. The range 1 and nsamples is the entire sample range.
|
virtual |
This is overridden to give a better default size than what Qt calculates by default.
int Isis::ScatterPlotConfigDialog::xAxisBinCount | ( | ) | const |
The current user selection for the resolution of the scatter plot's x data.
Cube * Isis::ScatterPlotConfigDialog::xAxisCube | ( | ) | const |
The current user selection for a cube for the x-axis data for a scatter plot.
This never returns null if the dialog was accepted().
Referenced by xAxisCubeViewport().
int Isis::ScatterPlotConfigDialog::xAxisCubeBand | ( | ) | const |
The current user selection for the band in the x-axis cube to get data from.
This isn't valid unless there is an xAxisCube().
MdiCubeViewport * Isis::ScatterPlotConfigDialog::xAxisCubeViewport | ( | ) | const |
This returns a viewport which contains the x-axis cube.
References Isis::CubeViewport::cube(), Isis::Workspace::cubeViewportList(), and xAxisCube().
int Isis::ScatterPlotConfigDialog::yAxisBinCount | ( | ) | const |
The current user selection for the resolution of the scatter plot's y data.
Cube * Isis::ScatterPlotConfigDialog::yAxisCube | ( | ) | const |
The current user selection for a cube for the x-axis data for a scatter plot.
This never returns null if the dialog was accepted().
Referenced by yAxisCubeViewport().
int Isis::ScatterPlotConfigDialog::yAxisCubeBand | ( | ) | const |
The current user selection for the band in the y-axis cube to get data from.
This isn't valid unless there is an yAxisCube().
MdiCubeViewport * Isis::ScatterPlotConfigDialog::yAxisCubeViewport | ( | ) | const |
This returns a viewport which contains the y-axis cube.
References Isis::CubeViewport::cube(), Isis::Workspace::cubeViewportList(), and yAxisCube().