|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef SpectralPlotWindow_h
2 #define SpectralPlotWindow_h
46 QwtPlotMarker *createMarker(QColor color);
47 void drawBandMarkers();
52 bool m_markersVisible;
54 QwtPlotMarker *m_grayBandLine;
56 QwtPlotMarker *m_redBandLine;
58 QwtPlotMarker *m_greenBandLine;
60 QwtPlotMarker *m_blueBandLine;
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:39
~SpectralPlotWindow()
Definition: SpectralPlotWindow.cpp:55
bool isColor() const
Definition: CubeViewport.h:184
Definition: PlotCurve.h:44
Units
These are all the possible units for the x or y data in a plot curve.
Definition: PlotCurve.h:54
SpectralPlotWindow(PlotCurve::Units xUnits, QWidget *parent)
This constructs a spectral plot window.
Definition: SpectralPlotWindow.cpp:27
int blueBand() const
Definition: CubeViewport.h:209
PlotCurve::Units xAxisUnits() const
This is the data-type of the curves' x data in this plot window.
Definition: PlotWindow.cpp:266
void update(MdiCubeViewport *activeViewport)
This window can show markers for the currently visible bands.
Definition: SpectralPlotWindow.cpp:223
int grayBand() const
Definition: CubeViewport.h:194
PvlObjectIterator findObject(const QString &name, PvlObjectIterator beg, PvlObjectIterator end)
Find the index of object with a specified name, between two indexes.
Definition: PvlObject.h:274
@ Wavelength
The data is a wavelength.
Definition: PlotCurve.h:92
void setBandMarkersVisible(bool visible)
Definition: SpectralPlotWindow.cpp:205
QwtPlot * plot()
Get the plot encapsulated by this PlotWindow.
Definition: PlotWindow.cpp:1653
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
Namespace for the standard library.
Definition: SpectralPlotWindow.h:29
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Definition: Cube.cpp:1701
bool bandMarkersVisible() const
Definition: SpectralPlotWindow.cpp:235
void setViewport(MdiCubeViewport *cvp)
This class needs to know which viewport the user is looking at so it can appropriately draw in the ba...
Definition: SpectralPlotWindow.cpp:194
void replot()
Reset the scale of the plot, replot it and emit plot changed.
Definition: PlotWindow.cpp:1797
Definition: PlotWindow.h:88
Cube * cube() const
Definition: CubeViewport.h:338
int redBand() const
Definition: CubeViewport.h:199
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
int greenBand() const
Definition: CubeViewport.h:204