#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 (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 | ( | ) |
| Spectrogram::Spectrogram | ( | Matrix * | m | ) |
| int Spectrogram::colorBarWidth | ( | ) |
| ColorMapPolicy Spectrogram::colorMapPolicy | ( | ) | [inline] |
| int Spectrogram::colorScaleAxis | ( | ) | [inline] |
| Spectrogram * Spectrogram::copy | ( | ) |
| QwtLinearColorMap Spectrogram::defaultColorMap | ( | ) | [static] |
| bool Spectrogram::hasColorScale | ( | ) |
| int Spectrogram::levels | ( | ) | [inline] |
| Matrix* Spectrogram::matrix | ( | ) | [inline] |
| QString Spectrogram::saveToString | ( | ) |
Used when saving a project file.
| void Spectrogram::setColorBarWidth | ( | int | width | ) |
| void Spectrogram::setCustomColorMap | ( | const QwtLinearColorMap & | map | ) |
| void Spectrogram::setDefaultColorMap | ( | ) |
| void Spectrogram::setGrayScale | ( | ) |
| void Spectrogram::setLevelsNumber | ( | int | levels | ) |
| void Spectrogram::showColorScale | ( | int | axis, | |
| bool | on = true | |||
| ) |
| void Spectrogram::updateData | ( | Matrix * | m | ) |
int Spectrogram::color_axis [protected] |
Axis used to display the color scale.
QwtLinearColorMap Spectrogram::color_map [protected] |
ColorMapPolicy Spectrogram::color_map_policy [protected] |
Flags.
Matrix* Spectrogram::d_matrix [protected] |
Pointer to the source data matrix.
1.5.3