#include <Spectrogram.h>
Public Types | |
| enum | ColorMapPolicy { GrayScale, Default, Custom } |
Public Member Functions | |
| virtual QwtDoubleRect | boundingRect () const |
| int | colorBarWidth () |
| ColorMapPolicy | colorMapPolicy () |
| int | colorScaleAxis () |
| Spectrogram * | copy () |
| bool | hasColorScale () |
| int | levels () |
| Matrix * | matrix () |
| QString | saveToString () |
| Used when saving a project file. | |
| void | setColorBarWidth (int width) |
| void | setCustomColorMap (const QwtLinearColorMap &map) |
| void | setDefaultColorMap () |
| void | setGrayScale () |
| void | setLevelsNumber (int levels) |
| void | showColorScale (int axis, bool on=true) |
| Spectrogram (Matrix *m) | |
| Spectrogram () | |
| void | updateData (Matrix *m) |
Static Public Member Functions | |
| static QwtLinearColorMap | defaultColorMap () |
Protected Attributes | |
| int | color_axis |
| Axis used to display the color scale. | |
| QwtLinearColorMap | color_map |
| ColorMapPolicy | color_map_policy |
| Flags. | |
| Matrix * | d_matrix |
| Pointer to the source data matrix. | |
| Spectrogram::Spectrogram | ( | ) |
Referenced by copy().
| Spectrogram::Spectrogram | ( | Matrix * | m | ) |
| QwtDoubleRect Spectrogram::boundingRect | ( | ) | const [virtual] |
References Matrix::boundingRect(), and d_matrix.
| int Spectrogram::colorBarWidth | ( | ) |
| ColorMapPolicy Spectrogram::colorMapPolicy | ( | ) | [inline] |
| int Spectrogram::colorScaleAxis | ( | ) | [inline] |
References color_axis.
Referenced by PlotDialog::setActiveCurve(), and Graph::updateSecondaryAxis().
| Spectrogram * Spectrogram::copy | ( | ) |
References color_map_policy, levels(), matrix(), setLevelsNumber(), and Spectrogram().
| QwtLinearColorMap Spectrogram::defaultColorMap | ( | ) | [static] |
Referenced by PlotDialog::acceptParams(), and setDefaultColorMap().
| bool Spectrogram::hasColorScale | ( | ) |
| int Spectrogram::levels | ( | ) | [inline] |
Referenced by copy(), saveToString(), PlotDialog::setActiveCurve(), and updateData().
| Matrix* Spectrogram::matrix | ( | ) | [inline] |
References d_matrix.
Referenced by copy(), ApplicationWindow::showCurveWorksheet(), PlotDialog::showPlotAssociations(), and ApplicationWindow::updateMatrixPlots().
| QString Spectrogram::saveToString | ( | ) |
Used when saving a project file.
References color_axis, color_map, color_map_policy, Custom, d_matrix, and levels().
| void Spectrogram::setColorBarWidth | ( | int | width | ) |
| void Spectrogram::setCustomColorMap | ( | const QwtLinearColorMap & | map | ) |
References color_axis, color_map, color_map_policy, and Custom.
Referenced by PlotDialog::acceptParams(), and Graph::restoreSpectrogram().
| void Spectrogram::setDefaultColorMap | ( | ) |
References color_axis, color_map, color_map_policy, Default, and defaultColorMap().
Referenced by PlotDialog::acceptParams(), Graph::plotSpectrogram(), and Graph::restoreSpectrogram().
| void Spectrogram::setGrayScale | ( | ) |
References color_axis, color_map, color_map_policy, and GrayScale.
Referenced by PlotDialog::acceptParams(), Graph::plotSpectrogram(), and Graph::restoreSpectrogram().
| void Spectrogram::setLevelsNumber | ( | int | levels | ) |
Referenced by PlotDialog::acceptParams(), copy(), Graph::restoreSpectrogram(), and updateData().
| void Spectrogram::showColorScale | ( | int | axis, | |
| bool | on = true | |||
| ) |
References color_axis, and hasColorScale().
Referenced by PlotDialog::acceptParams(), and Graph::copy().
| void Spectrogram::updateData | ( | Matrix * | m | ) |
References color_axis, levels(), and setLevelsNumber().
Referenced by ApplicationWindow::updateMatrixPlots().
int Spectrogram::color_axis [protected] |
Axis used to display the color scale.
Referenced by colorBarWidth(), colorScaleAxis(), hasColorScale(), saveToString(), setColorBarWidth(), setCustomColorMap(), setDefaultColorMap(), setGrayScale(), showColorScale(), and updateData().
QwtLinearColorMap Spectrogram::color_map [protected] |
Referenced by saveToString(), setCustomColorMap(), setDefaultColorMap(), and setGrayScale().
ColorMapPolicy Spectrogram::color_map_policy [protected] |
Flags.
Referenced by colorMapPolicy(), copy(), saveToString(), setCustomColorMap(), setDefaultColorMap(), and setGrayScale().
Matrix* Spectrogram::d_matrix [protected] |
1.5.6