Isis 3 Developer Reference
|
Scatter Plot Window. More...
#include <ScatterPlotWindow.h>
Public Types | |
enum | AlarmRangeUnits { CubeUnits, ScreenUnits } |
This enumeration differentiates alarming a strict cube DN box size from a screen region. More... | |
enum | MenuOptions { ShowHideMarkersMenuOption = 1, ShowHideCurvesMenuOption = 2, ShowTableMenuOption = 4, SaveMenuOption = 8, PrintMenuOption = 16, TrackMenuOption = 32, BackgroundSwitchMenuOption = 64, ShowHideGridMenuOption = 128, RenameLabelsMenuOption = 256, SetDisplayRangeMenuOption = 512, ResetScaleMenuOption = 1024, ClearPlotMenuOption = 2048, DefaultHelpMenuOption = 4096, LineFitMenuOption = 8192, ConfigurePlotMenuOption = 16384, AllMenuOptions } |
There is a menu option for everything in the plot window's menu. More... | |
Public Slots | |
void | forgetCubes () |
This causes the window to lose it's pointers to the input cubes. More... | |
void | clearPlot () |
This method completely clears the plot of all plot items. More... | |
void | configurePlotCurves () |
This method creates a CubePlotCurveConfigureDialog object. More... | |
void | createBestFitLine () |
This method prompts the user to select the best fit line criterea. More... | |
void | printPlot () |
Provides printing support of the plot image. More... | |
void | changePlotLabels () |
This method creates the dialog box which allows the user to relabel the plot window. More... | |
void | savePlot () |
This method allows the user to save the plot as a png, jpg, or tif image file. More... | |
void | setDefaultRange () |
Resets the x/y min/max to the defaults. More... | |
void | setLabels () |
Makes the user specified changes to the plot labels. More... | |
void | setUserValues () |
This method sets the scale for the axis according to the user specified numbers. More... | |
void | showHideAllMarkers () |
Shows/Hides all the markers(symbols) More... | |
void | showHideAllCurves () |
This method shows or hides all of the curves in the plotWindow. More... | |
void | resetScale () |
Sets plot scale back to the defaults. More... | |
void | showHideGrid () |
This method hides/shows the grid on the plotWindow and changes the text for the action. More... | |
void | showHelp () |
This method creates and shows the help dialog box for the plot window. More... | |
void | showTable () |
This method is called from the showTable action on the tool bar There are some checks done to make sure there are data to fill the table. More... | |
void | switchBackground () |
This method toggles the plot background color between black and white. More... | |
void | trackerEnabled () |
Enables the plot mouse tracker. More... | |
void | scheduleFillTable () |
Fills in the table with the data from the current curves in the plotWindow once all current actions/activations are done. More... | |
void | fillTable () |
Fills in the table with the data from the current curves in the plotWindow immediately. More... | |
Signals | |
void | closed () |
Emitted when there is a close event on this window that will be accepted. More... | |
void | plotChanged () |
Emitted every time there is a change to the plot window. More... | |
void | requestFillTable () |
Public Member Functions | |
ScatterPlotWindow (QString title, Cube *xAxisCube, int xAxisBand, int xAxisBinCount, Cube *yAxisCube, int yAxisBand, int yAxisBinCount, QwtInterval sampleRange, QwtInterval lineRange, QWidget *parent) | |
Create a scatter plot window with the given data. More... | |
virtual | ~ScatterPlotWindow () |
bool | alarmingPlot () const |
This indicates if we are alarming from viewport to plot. More... | |
bool | alarmingViewport () const |
This indicates if we are alarming from plot to viewport. More... | |
QPair< int, int > | alarmPlotBoxSize () const |
This is the sample/line box sizes for alarming from viewport to plot. More... | |
AlarmRangeUnits | alarmViewportUnits () const |
This is the active alarming units for plot->viewport. More... | |
QPair< int, int > | alarmViewportScreenBoxSize () const |
This is the alarming box size for plot->viewport in screen units. More... | |
QPair< double, double > | alarmViewportDnBoxSize () const |
This is the alarming box size for plot->viewport in cube units (number of samples/lines). More... | |
bool | eventFilter (QObject *o, QEvent *e) |
We override events done on the plot canvas for alarming purposes. More... | |
virtual void | paint (MdiCubeViewport *vp, QPainter *painter) |
If the viewport is showing the x axis cube data or y axis cube data, and alarming is enabled, this paints alarmed values from the plot onto the viewport. More... | |
void | setMousePosition (MdiCubeViewport *vp, QPoint mouseLoc) |
Saves the current mouse position in the viewport so that the plot can be alarmed around that position. More... | |
void | setAlarmingPlot (bool) |
This enables or disables alarming viewport->plot. More... | |
void | setAlarmingViewport (bool) |
This enables or disables alarming plot->viewport. More... | |
void | setAlarmPlotBoxSize (int, int) |
This sets the box size for alarming viewport->plot in cube samples/lines. More... | |
void | setAlarmViewportUnits (AlarmRangeUnits) |
This sets the units to be used for alarming plot->viewport. More... | |
void | setAlarmViewportScreenBoxSize (int, int) |
This sets the screen pixel box size for alarming plot->viewport. More... | |
void | setAlarmViewportDnBoxSize (double, double) |
This sets the cube DN box size for alarming plot->viewport. More... | |
virtual void | add (CubePlotCurve *pc) |
This method adds the curves to the plot. More... | |
virtual void | clearPlotCurves () |
This method also clears the plot of all plot items, but does not call the table delete stuff This method is called from plotTool each time the changePlot() method is called. More... | |
bool | canAdd (CubePlotCurve *curveToTest) const |
This method tests whethere or not a CubePlotCurve can be successfully added to this window. More... | |
QColor | plotBackgroundColor () const |
Returns the plot's background color. More... | |
QList< CubePlotCurve * > | plotCurves () |
Get a comprehensive list of the plot curves inside of this plot window, excluding plot curves that are in the process of being removed. More... | |
QList< const CubePlotCurve * > | plotCurves () const |
Get a comprehensive const list of the plot curves inside of this plot window, excluding plot curves that are in the process of being removed. More... | |
QList< QwtPlotSpectrogram * > | plotSpectrograms () |
Get a comprehensive list of the scatter plots (spectrograms) inside of this plot window. More... | |
QList< const QwtPlotSpectrogram * > | plotSpectrograms () const |
Get a comprehensive const list of the scatter plots (spectrograms) inside of this plot window. More... | |
QString | plotTitle () const |
Returns the plot title. More... | |
bool | userCanAddCurves () const |
Ask if a user action can add this curve to this window in general. More... | |
PlotCurve::Units | xAxisUnits () const |
This is the data-type of the curves' x data in this plot window. More... | |
PlotCurve::Units | yAxisUnits () const |
This is the data-type of the curves' y data in this plot window. More... | |
void | replot () |
Reset the scale of the plot, replot it and emit plot changed. More... | |
void | setAxisLabel (int axisId, QString title) |
Sets the plots given axis title to the given string. More... | |
void | setPlotBackground (QColor c) |
Sets the plot background color to the given color. More... | |
void | setPlotTitle (QString pt) |
Sets the plot title to the given string. More... | |
void | setUserCanAddCurves (bool) |
Allow or disallow users from manually putting curves into this plot window through either copy-and-paste or drag-and-drop. More... | |
void | showWindow () |
Shows the plot window, and raises it to the front of any overlapping sibling widgets. More... | |
virtual void | update (MdiCubeViewport *activeViewport) |
This is provided to allow children to react to tool updates. More... | |
Static Public Member Functions | |
static QString | defaultWindowTitle () |
This is the typical suffix for plot windows, it's here in case we want to update all plot windows to have a different ending than just 'Plot' on them (for example, 'Plot Window'). More... | |
static QString | settingsFileName (QString objectTitle) |
Protected Slots | |
void | colorPlot () |
This method switches the color mode of the scatter plot from black and white to color and visa versa. More... | |
void | showHideContour () |
This method hides or displays the contour lines on the spectrogram. More... | |
Protected Member Functions | |
void | createWidgets (MenuOptions optionsToProvide) |
This method is called by the constructor to create the plot, legend. More... | |
void | disableAxisAutoScale () |
This turns off scaling the x/y axes automatically. More... | |
virtual void | dragEnterEvent (QDragEnterEvent *event) |
When a user drags data into our plot window, we need to indicate whether or not this data is compatible with this window. More... | |
virtual void | dropEvent (QDropEvent *event) |
This is called when a user drops data into our window. More... | |
void | mousePressEvent (QObject *object, QMouseEvent *e) |
This is a helper method for the eventFilter() method. More... | |
QwtPlot * | plot () |
Get the plot encapsulated by this PlotWindow. More... | |
void | setMenus (QList< QMenu *> menus, QList< QAction *> actions) |
Sets up the menus added from a parent object. More... | |
QwtPlotZoomer * | zoomer () |
Get this window's plot's zoomer. More... | |
QString | settingsFileName () const |
virtual void | closeEvent (QCloseEvent *event) |
This method is overridden so that we can be sure to write the current settings of the Main window. More... | |
virtual void | readSettings (QSize defaultSize=QSize()) |
This method ensure that the settings get written even if the Main window was only hidden, not closed. More... | |
Scatter Plot Window.
|
inherited |
There is a menu option for everything in the plot window's menu.
This is provided so that you can enable/disable any given option.
Isis::ScatterPlotWindow::ScatterPlotWindow | ( | QString | title, |
Cube * | xAxisCube, | ||
int | xAxisBand, | ||
int | xAxisBinCount, | ||
Cube * | yAxisCube, | ||
int | yAxisBand, | ||
int | yAxisBinCount, | ||
QwtInterval | sampleRange, | ||
QwtInterval | lineRange, | ||
QWidget * | parent | ||
) |
Create a scatter plot window with the given data.
This will fully populate the window with scatter plot data automatically.
title | The window title and plot title |
xAxisCube | The cube to use for reading X values |
xAxisBand | The band of the x axis cube to read |
xAxisBinCount | The resolution of the x axis data |
yAxisCube | The cube to use for reading X values |
yAxisBand | The band of the y axis cube to read |
yAxisBinCount | The resolution of the y axis data |
sampleRange | The sample range, inclusive 1-based, to read data from |
lineRange | The line range, inclusive 1-based, to read data from |
parent | The Qt-parent relationship parent widget |
References colorPlot(), Isis::PlotWindow::disableAxisAutoScale(), Isis::FileName::expanded(), Isis::Cube::fileName(), Isis::Null, Isis::PlotWindow::plot(), Isis::PlotWindow::replot(), ScreenUnits, showHideContour(), Isis::ScatterPlotData::xCubeMax(), Isis::ScatterPlotData::xCubeMin(), Isis::ScatterPlotData::yCubeMax(), Isis::ScatterPlotData::yCubeMin(), and Isis::PlotWindow::zoomer().
|
virtual |
References Isis::FileName::expanded().
|
virtualinherited |
This method adds the curves to the plot.
pc |
References Isis::PlotCurve::attachMarkers(), Isis::PlotWindow::canAdd(), Isis::PlotWindow::fillTable(), Isis::PlotWindow::plot(), Isis::PlotWindow::plotChanged(), Isis::PlotWindow::replot(), Isis::PlotWindow::resetScale(), and Isis::CubePlotCurve::updateLegendItemWidget().
Referenced by Isis::PlotWindow::dropEvent().
bool Isis::ScatterPlotWindow::alarmingPlot | ( | ) | const |
This indicates if we are alarming from viewport to plot.
Referenced by setMousePosition().
bool Isis::ScatterPlotWindow::alarmingViewport | ( | ) | const |
This indicates if we are alarming from plot to viewport.
Referenced by paint().
QPair< int, int > Isis::ScatterPlotWindow::alarmPlotBoxSize | ( | ) | const |
This is the sample/line box sizes for alarming from viewport to plot.
QPair< double, double > Isis::ScatterPlotWindow::alarmViewportDnBoxSize | ( | ) | const |
This is the alarming box size for plot->viewport in cube units (number of samples/lines).
If the current units are not cube units then this is not actively alarming the given box. These values are valid even when alarming is a screen pixel box, just not use, and they are never translated/re-calculated based on the conversion from screen pixels to cube pixels.
QPair< int, int > Isis::ScatterPlotWindow::alarmViewportScreenBoxSize | ( | ) | const |
This is the alarming box size for plot->viewport in screen units.
If the current units are not screen units, this is not actively alarming the given box. These values are valid even when alarming is a Cube DN box, just not use, and they are never translated/re-calculated based on the conversion from screen pixels to cube pixels.
ScatterPlotWindow::AlarmRangeUnits Isis::ScatterPlotWindow::alarmViewportUnits | ( | ) | const |
This is the active alarming units for plot->viewport.
We either alarm a screen pixel box size or a cube sample/line range around the mouse.
|
inherited |
This method tests whethere or not a CubePlotCurve can be successfully added to this window.
Plot curves with mismatched X/Y data from the plot's x/y axis types can not be added to the window. This does not test whether or not a user is allowed to add the curve manually, just if the curve can be added programatically.
curveToTest | The plot curve to test for compatibility with this window |
References Isis::PlotCurve::xUnits(), and Isis::PlotCurve::yUnits().
Referenced by Isis::PlotWindow::add().
|
slotinherited |
This method creates the dialog box which allows the user to relabel the plot window.
References Isis::PlotWindow::plot(), and Isis::PlotWindow::setLabels().
|
slotinherited |
This method completely clears the plot of all plot items.
i.e. curves and markers, which also deletes the legend also calls the necessary method to delete the table stuff
References Isis::PlotWindow::clearPlotCurves(), and Isis::TableMainWindow::table().
|
virtualinherited |
This method also clears the plot of all plot items, but does not call the table delete stuff This method is called from plotTool each time the changePlot() method is called.
References Isis::PlotWindow::replot().
Referenced by Isis::PlotWindow::clearPlot().
|
signalinherited |
Emitted when there is a close event on this window that will be accepted.
Referenced by Isis::PlotWindow::eventFilter().
|
protectedvirtualinherited |
This method is overridden so that we can be sure to write the current settings of the Main window.
event |
Reimplemented in Isis::TableMainWindow, and Isis::ViewportMainWindow.
Referenced by Isis::ViewportMainWindow::closeEvent(), and Isis::TableMainWindow::closeEvent().
|
protectedslot |
This method switches the color mode of the scatter plot from black and white to color and visa versa.
References Isis::PlotWindow::plot(), and Isis::PlotWindow::replot().
Referenced by ScatterPlotWindow().
|
slotinherited |
This method creates a CubePlotCurveConfigureDialog object.
When there are no curves in this PlotWindow, the dialog will not be created.
References Isis::PlotWindow::plotChanged(), and Isis::PlotWindow::plotCurves().
|
slotinherited |
This method prompts the user to select the best fit line criterea.
The PlotWindowBestFitDialog will create the best fit line automatically when the user asks for one, so we don't need to worry about doing any more than showing a dialog here.
References Isis::PlotWindow::plot().
|
protectedinherited |
This method is called by the constructor to create the plot, legend.
zoomer, and main window.
optionsToProvide | This is a bit-flag containing information on which menu options to give the user/put in the GUI. |
Referenced by Isis::PlotWindow::PlotWindow().
|
staticinherited |
This is the typical suffix for plot windows, it's here in case we want to update all plot windows to have a different ending than just 'Plot' on them (for example, 'Plot Window').
Referenced by Isis::HistogramTool::createWindow(), Isis::SpectralPlotTool::createWindow(), and Isis::SpatialPlotTool::createWindow().
|
protectedinherited |
This turns off scaling the x/y axes automatically.
Use this if you have a very specific axis range you want to use, but keep in mind that users (potentially) have an option to re-enable axis auto scaling if they want to.
Referenced by ScatterPlotWindow().
|
protectedvirtualinherited |
When a user drags data into our plot window, we need to indicate whether or not this data is compatible with this window.
This checks userCanAddCurve() on the drag & drop data and allows or disallowed the event accordingly.
event | The drag event to test |
|
protectedvirtualinherited |
This is called when a user drops data into our window.
The dragEnterEvent() must have said that this curve is compatible with this window. This provides all of the available options to the user (if any) set by the creator of the drag & drop event (i.e. whether or not we can move or just copy). If there are options, we create a context menu - otherwise the default action is taken.
event | The drop event containing the curve to put into the current window. |
References Isis::PlotWindow::add(), and Isis::PlotWindow::plotChanged().
|
virtual |
We override events done on the plot canvas for alarming purposes.
This method will forward mouse moves and leaves to the appropriate methods.
o | The object on which the event happened |
e | The event that triggered this method call |
Reimplemented from Isis::PlotWindow.
References Isis::PlotWindow::eventFilter(), and Isis::PlotWindow::plot().
|
slotinherited |
Fills in the table with the data from the current curves in the plotWindow immediately.
References Isis::TableMainWindow::addToTable(), Isis::IsSpecial(), Isis::TableMainWindow::listWidget(), Isis::Null, Isis::PlotWindow::plotCurves(), Isis::TableMainWindow::table(), Isis::toDouble(), and Isis::toString().
Referenced by Isis::PlotWindow::add(), Isis::PlotWindow::PlotWindow(), and Isis::PlotWindow::showTable().
|
slot |
This causes the window to lose it's pointers to the input cubes.
When a viewport is closed, this will prevent using the cube pointers still for alarming.
|
protectedinherited |
This is a helper method for the eventFilter() method.
When a mouse press event is seen, this handles it. For example, if the user right clicks and the clipboard contains compatible data then this will give a paste option.
object | The object which was pressed |
event | The mouse event which contains button information |
Referenced by Isis::PlotWindow::eventFilter().
|
virtual |
If the viewport is showing the x axis cube data or y axis cube data, and alarming is enabled, this paints alarmed values from the plot onto the viewport.
vp | The viewport that might need to be alarmed/painted red |
painter | The painter to paint with |
Reimplemented from Isis::PlotWindow.
References alarmingViewport(), Isis::ViewportBuffer::bufferXYRect(), Isis::ViewportBuffer::getLine(), Isis::CubeViewport::grayBuffer(), Isis::IsSpecial(), Isis::Null, Isis::PlotWindow::paint(), Isis::Cube::pixelType(), Isis::Cube::read(), Isis::CubeViewport::viewportToCube(), and Isis::ViewportBuffer::working().
Referenced by Isis::ScatterPlotTool::paintViewport().
|
protectedinherited |
Get the plot encapsulated by this PlotWindow.
Referenced by Isis::HistogramPlotWindow::add(), Isis::PlotWindow::add(), Isis::PlotWindow::changePlotLabels(), colorPlot(), Isis::PlotWindow::createBestFitLine(), eventFilter(), Isis::PlotWindow::eventFilter(), Isis::HistogramPlotWindow::HistogramPlotWindow(), Isis::PlotWindow::PlotWindow(), ScatterPlotWindow(), Isis::PlotWindow::setDefaultRange(), and setMousePosition().
|
inherited |
Returns the plot's background color.
|
signalinherited |
Emitted every time there is a change to the plot window.
Referenced by Isis::PlotWindow::add(), Isis::PlotWindow::configurePlotCurves(), Isis::PlotWindow::dropEvent(), Isis::PlotWindow::PlotWindow(), and Isis::PlotWindow::replot().
|
inherited |
Get a comprehensive list of the plot curves inside of this plot window, excluding plot curves that are in the process of being removed.
References Isis::PlotCurve::color().
Referenced by Isis::PlotWindow::configurePlotCurves(), Isis::PlotWindow::fillTable(), Isis::PlotWindow::paint(), Isis::PlotWindow::showTable(), and Isis::PlotWindow::~PlotWindow().
|
inherited |
Get a comprehensive const list of the plot curves inside of this plot window, excluding plot curves that are in the process of being removed.
|
inherited |
Get a comprehensive list of the scatter plots (spectrograms) inside of this plot window.
|
inherited |
Get a comprehensive const list of the scatter plots (spectrograms) inside of this plot window.
|
inherited |
Returns the plot title.
|
slotinherited |
Provides printing support of the plot image.
|
protectedvirtualinherited |
This method ensure that the settings get written even if the Main window was only hidden, not closed.
event | This method is called from the constructor so that when the Main window is created, it know's it's size and location. |
References Isis::MainWindow::settingsFileName().
Referenced by Isis::PlotWindow::PlotWindow(), Isis::TableMainWindow::TableMainWindow(), and Isis::ViewportMainWindow::ViewportMainWindow().
|
inherited |
Reset the scale of the plot, replot it and emit plot changed.
References Isis::PlotWindow::plotChanged(), and Isis::PlotWindow::resetScale().
Referenced by Isis::PlotWindow::add(), Isis::PlotWindow::clearPlotCurves(), colorPlot(), Isis::HistogramTool::refreshPlot(), Isis::SpatialPlotTool::refreshPlot(), Isis::SpectralPlotTool::refreshPlot(), ScatterPlotWindow(), Isis::SpectralPlotWindow::setBandMarkersVisible(), Isis::PlotWindow::setUserValues(), and showHideContour().
|
signalinherited |
Referenced by Isis::PlotWindow::PlotWindow(), and Isis::PlotWindow::scheduleFillTable().
|
slotinherited |
Sets plot scale back to the defaults.
References Isis::PlotCurve::Band.
Referenced by Isis::PlotWindow::add(), and Isis::PlotWindow::replot().
|
slotinherited |
This method allows the user to save the plot as a png, jpg, or tif image file.
|
slotinherited |
Fills in the table with the data from the current curves in the plotWindow once all current actions/activations are done.
This is provided for performance reasons - re-plotting 4 curves only requires one fillTable at the end, instead of after each curve change.
References Isis::PlotWindow::requestFillTable().
Referenced by Isis::PlotWindow::PlotWindow().
void Isis::ScatterPlotWindow::setAlarmingPlot | ( | bool | alarming | ) |
This enables or disables alarming viewport->plot.
alarming | True to enable alarming viewport->plot, false to disable alarming viewport->plot |
void Isis::ScatterPlotWindow::setAlarmingViewport | ( | bool | alarming | ) |
This enables or disables alarming plot->viewport.
alarming | True to enable alarming plot->viewport, false to disable alarming plot->viewport |
void Isis::ScatterPlotWindow::setAlarmPlotBoxSize | ( | int | samples, |
int | lines | ||
) |
This sets the box size for alarming viewport->plot in cube samples/lines.
samples | How many samples (total) the alarming box size should be. This should be odd because the mouse is in the center. |
lines | How many lines (total) the alarming box size should be. This should be odd because the mouse is in the center. |
void Isis::ScatterPlotWindow::setAlarmViewportDnBoxSize | ( | double | xDnBoxSize, |
double | yDnBoxSize | ||
) |
This sets the cube DN box size for alarming plot->viewport.
If the current alarming units for plot->viewport isn't cube pixels, these values will still be stored off and just not be active until the units are changed.
void Isis::ScatterPlotWindow::setAlarmViewportScreenBoxSize | ( | int | width, |
int | height | ||
) |
This sets the screen pixel box size for alarming plot->viewport.
If the current alarming units for plot->viewport isn't screen pixels, these values will still be stored off and just not be active until the units are changed.
width | The screen pixels (total) around the mouse in the X direction to be used for alarming. |
height | The screen pixels (total) around the mouse in the Y direction to be used for alarming. |
void Isis::ScatterPlotWindow::setAlarmViewportUnits | ( | AlarmRangeUnits | units | ) |
This sets the units to be used for alarming plot->viewport.
units | The units (screen or cube DN range) to use for alarming. |
|
inherited |
Sets the plots given axis title to the given string.
axisId | |
title |
|
slotinherited |
Resets the x/y min/max to the defaults.
References Isis::PlotWindow::plot(), and Isis::PlotWindow::setUserValues().
|
slotinherited |
Makes the user specified changes to the plot labels.
Referenced by Isis::PlotWindow::changePlotLabels().
|
protectedinherited |
Sets up the menus added from a parent object.
menu | |
actions |
void Isis::ScatterPlotWindow::setMousePosition | ( | MdiCubeViewport * | vp, |
QPoint | mouseLoc | ||
) |
Saves the current mouse position in the viewport so that the plot can be alarmed around that position.
vp | The viewport that received the mouse event |
mouseLoc | The location on the viewport wheere the mouse is, in screen coordinates. |
References Isis::ScatterPlotData::alarm(), alarmingPlot(), ASSERT, Isis::ScatterPlotData::clearAlarms(), Isis::IsSpecial(), Isis::Null, Isis::Cube::pixelType(), Isis::PlotWindow::plot(), Isis::Cube::read(), and Isis::CubeViewport::viewportToCube().
Referenced by Isis::ScatterPlotTool::mouseLeave(), and Isis::ScatterPlotTool::mouseMove().
|
inherited |
Sets the plot background color to the given color.
c |
Referenced by Isis::HistogramPlotWindow::HistogramPlotWindow(), and Isis::PlotWindow::PlotWindow().
|
inherited |
Sets the plot title to the given string.
This does not update the window title.
pt | The plot title to use |
Referenced by Isis::PlotWindow::PlotWindow().
|
staticinherited |
References _FILEINFO_, and Isis::IException::Programmer.
|
protectedinherited |
References _FILEINFO_, and Isis::IException::Programmer.
Referenced by Isis::TableMainWindow::readColumnSettings(), Isis::TableMainWindow::readItemSettings(), Isis::BlinkTool::readSettings(), Isis::MainWindow::readSettings(), Isis::BlinkTool::writeSettings(), and Isis::TableMainWindow::writeSettings().
|
inherited |
Allow or disallow users from manually putting curves into this plot window through either copy-and-paste or drag-and-drop.
userHasControl | True if users can add curves manually, false otherwise |
|
slotinherited |
This method sets the scale for the axis according to the user specified numbers.
References Isis::PlotWindow::replot().
Referenced by Isis::PlotWindow::setDefaultRange().
|
slotinherited |
This method creates and shows the help dialog box for the plot window.
this is called from the Help–>Basic Help menu.
|
slotinherited |
This method shows or hides all of the curves in the plotWindow.
|
slotinherited |
Shows/Hides all the markers(symbols)
|
protectedslot |
This method hides or displays the contour lines on the spectrogram.
References Isis::PlotWindow::replot().
Referenced by ScatterPlotWindow().
|
slotinherited |
This method hides/shows the grid on the plotWindow and changes the text for the action.
|
slotinherited |
This method is called from the showTable action on the tool bar There are some checks done to make sure there are data to fill the table.
References Isis::PlotWindow::fillTable(), Isis::PlotWindow::plotCurves(), Isis::TableMainWindow::setTrackListItems(), and Isis::TableMainWindow::syncColumns().
|
inherited |
Shows the plot window, and raises it to the front of any overlapping sibling widgets.
Referenced by Isis::AbstractPlotTool::showPlotWindow().
|
slotinherited |
This method toggles the plot background color between black and white.
|
slotinherited |
Enables the plot mouse tracker.
|
virtualinherited |
This is provided to allow children to react to tool updates.
This is useful for example for band markers in the spectral plots.
activeViewport | The currently selected viewport |
Reimplemented in Isis::SpectralPlotWindow.
Referenced by Isis::AbstractPlotTool::updateTool().
|
inherited |
Ask if a user action can add this curve to this window in general.
This verifies that the user is allowed to add curves to this window but not that a particular curve is compatible with this window.
|
inherited |
This is the data-type of the curves' x data in this plot window.
All of the cube plot curves must have the same units for x axis data or the display will not make sense.
Referenced by Isis::PlotWindow::PlotWindow(), Isis::SpatialPlotTool::refreshPlot(), and Isis::SpectralPlotTool::refreshPlot().
|
inherited |
This is the data-type of the curves' y data in this plot window.
All of the cube plot curves must have the same units for y-left axis data (y-right sometimes has different units) or the display will not make sense.
Referenced by Isis::PlotWindow::PlotWindow().
|
protectedinherited |
Get this window's plot's zoomer.
Referenced by ScatterPlotWindow().