1 #ifndef SpectralPlotWindow_h 2 #define SpectralPlotWindow_h Cube display widget for certain Isis MDI applications.
QAction * m_showHideBandMarkers
This action toggles band marker visibility.
void update(MdiCubeViewport *activeViewport)
This window can show markers for the currently visible bands.
QwtPlotMarker * createMarker(QColor color)
This is a helper method to create new band markers with the same line style and a custom color...
QwtPlotMarker * m_grayBandLine
The band marker for the gray band.
void setBandMarkersVisible(bool visible)
bool bandMarkersVisible() const
QwtPlotMarker * m_redBandLine
The band marker for the red band.
QwtPlotMarker * m_blueBandLine
The band marker for the blue band.
SpectralPlotWindow(PlotCurve::Units xUnits, QWidget *parent)
This constructs a spectral plot window.
void drawBandMarkers()
This method actually draws in the vertical band line(s) on the plot area.
bool m_markersVisible
True if the visibile state of the active markers should be true.
Namespace for ISIS/Bullet specific routines.
MdiCubeViewport * m_cvp
The viewport to be used as a reference for band markers.
void nullify()
This initializes the class member data to NULL.
QwtPlotMarker * m_greenBandLine
The band marker for the green band.
void setViewport(MdiCubeViewport *cvp)
This class needs to know which viewport the user is looking at so it can appropriately draw in the ba...
Units
These are all the possible units for the x or y data in a plot curve.