|
SciDAVis
1.D4
|
#include <Spectrogram.h>
Public Types | |
| enum | ColorMapPolicy { GrayScale, Default, Custom } |
Public Member Functions | |
| 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 () | |
| Spectrogram (Matrix *m) | |
| 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 | ) |
| int Spectrogram::colorBarWidth | ( | ) |
References color_axis.
Referenced by PlotDialog::setActiveCurve().
|
inline |
Referenced by PlotDialog::setActiveCurve().
|
inline |
References color_axis.
Referenced by Plot::removeCurve(), PlotDialog::setActiveCurve(), Graph::updateSecondaryAxis(), and Graph::zoom().
| Spectrogram * Spectrogram::copy | ( | ) |
References color_map_policy, levels(), matrix(), setLevelsNumber(), and Spectrogram().
Referenced by Graph::copy().
|
static |
Referenced by PlotDialog::acceptParams(), and setDefaultColorMap().
| bool Spectrogram::hasColorScale | ( | ) |
References color_axis.
Referenced by PlotDialog::setActiveCurve(), and showColorScale().
|
inline |
Referenced by copy(), saveToString(), PlotDialog::setActiveCurve(), and updateData().
|
inline |
| QString Spectrogram::saveToString | ( | ) |
Used when saving a project file.
References color_axis, color_map, color_map_policy, Custom, d_matrix, levels(), and Matrix::name().
| void Spectrogram::setColorBarWidth | ( | int | width | ) |
References color_axis.
Referenced by PlotDialog::acceptParams(), and Graph::copy().
| 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().
|
protected |
Axis used to display the color scale.
Referenced by colorBarWidth(), colorScaleAxis(), hasColorScale(), saveToString(), setColorBarWidth(), setCustomColorMap(), setDefaultColorMap(), setGrayScale(), showColorScale(), and updateData().
|
protected |
Referenced by saveToString(), setCustomColorMap(), setDefaultColorMap(), and setGrayScale().
|
protected |
Flags.
Referenced by copy(), saveToString(), setCustomColorMap(), setDefaultColorMap(), and setGrayScale().
|
protected |
Pointer to the source data matrix.
Referenced by matrix(), and saveToString().
1.8.1