|
QtiPlot
0.9.8.2
|
A customized QwtLinearColorMap. More...
#include <LinearColorMap.h>
Public Member Functions | |
| QwtDoubleInterval | intensityRange () const |
| Get the intensity range. More... | |
| LinearColorMap () | |
| Constructor. More... | |
| LinearColorMap (const QColor &from, const QColor &to) | |
| Constructor. More... | |
| double | lowerBound () |
| Get the lower range limit. More... | |
| void | setIntensityRange (const QwtDoubleInterval &range) |
| Set the intensity range. More... | |
| void | setIntensityRange (double vmin, double vmax) |
| Set the intensity range. More... | |
| QString | toXmlString () |
| Exports the map to a pseudo-XML string. More... | |
| double | upperBound () |
| Get the upper range limit. More... | |
Static Public Member Functions | |
| static LinearColorMap | fromXmlStringList (const QStringList &lst) |
| Used when restoring from project files. More... | |
Private Attributes | |
| QwtDoubleInterval | d_range |
A customized QwtLinearColorMap.
| LinearColorMap::LinearColorMap | ( | ) |
Constructor.
Referenced by fromXmlStringList().
| LinearColorMap::LinearColorMap | ( | const QColor & | from, |
| const QColor & | to | ||
| ) |
Constructor.
|
static |
Used when restoring from project files.
References LinearColorMap().
Referenced by ApplicationWindow::openMatrix(), Graph3D::restore(), Matrix::restore(), and Graph::restoreSpectrogram().
| QwtDoubleInterval LinearColorMap::intensityRange | ( | ) | const |
Get the intensity range.
References d_range.
Referenced by Matrix::colorRange(), Spectrogram::range(), ColorMapEditor::setColorMap(), and Graph3D::setDataColorMap().
|
inline |
Get the lower range limit.
References d_range.
|
inline |
Set the intensity range.
References d_range.
|
inline |
Set the intensity range.
References d_range.
| QString LinearColorMap::toXmlString | ( | ) |
Exports the map to a pseudo-XML string.
References d_range.
Referenced by Matrix::save(), Graph3D::save(), and Spectrogram::saveToString().
|
inline |
Get the upper range limit.
References d_range.
|
private |
Referenced by intensityRange(), lowerBound(), setIntensityRange(), toXmlString(), and upperBound().
1.8.6