|
Isis 3 Programmer Reference
|
1 #ifndef SpectralPlotWindow_h
2 #define SpectralPlotWindow_h
Cube display widget for certain Isis MDI applications.
QwtPlotMarker * m_grayBandLine
The band marker for the gray band.
Units
These are all the possible units for the x or y data in a plot curve.
SpectralPlotWindow(PlotCurve::Units xUnits, QWidget *parent)
This constructs a spectral plot window.
void nullify()
This initializes the class member data to NULL.
QwtPlotMarker * m_greenBandLine
The band marker for the green band.
QwtPlotMarker * m_blueBandLine
The band marker for the blue band.
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.
MdiCubeViewport * m_cvp
The viewport to be used as a reference for band markers.
QAction * m_showHideBandMarkers
This action toggles band marker visibility.
void setBandMarkersVisible(bool visible)
bool m_markersVisible
True if the visibile state of the active markers should be true.
bool bandMarkersVisible() const
QwtPlotMarker * m_redBandLine
The band marker for the red 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...
void drawBandMarkers()
This method actually draws in the vertical band line(s) on the plot area.
This is free and unencumbered software released into the public domain.