QtiPlot
0.9.8.2
|
A customized QwtLinearColorMap. More...
#include <LinearColorMap.h>
Public Member Functions | |
QwtDoubleInterval | intensityRange () const |
Get the intensity range. | |
LinearColorMap () | |
Constructor. | |
LinearColorMap (const QColor &from, const QColor &to) | |
Constructor. | |
double | lowerBound () |
Get the lower range limit. | |
void | setIntensityRange (const QwtDoubleInterval &range) |
Set the intensity range. | |
void | setIntensityRange (double vmin, double vmax) |
Set the intensity range. | |
QString | toXmlString () |
Exports the map to a pseudo-XML string. | |
double | upperBound () |
Get the upper range limit. | |
Static Public Member Functions | |
static LinearColorMap | fromXmlStringList (const QStringList &lst) |
Used when restoring from project files. | |
Private Attributes | |
QwtDoubleInterval | d_range |
A customized QwtLinearColorMap.
Constructor.
Referenced by fromXmlStringList().
LinearColorMap::LinearColorMap | ( | const QColor & | from, |
const QColor & | to | ||
) |
Constructor.
LinearColorMap LinearColorMap::fromXmlStringList | ( | const QStringList & | lst | ) | [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().
double LinearColorMap::lowerBound | ( | ) | [inline] |
Get the lower range limit.
References d_range.
void LinearColorMap::setIntensityRange | ( | const QwtDoubleInterval & | range | ) | [inline] |
Set the intensity range.
References d_range.
void LinearColorMap::setIntensityRange | ( | double | vmin, |
double | vmax | ||
) | [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().
double LinearColorMap::upperBound | ( | ) | [inline] |
Get the upper range limit.
References d_range.
QwtDoubleInterval LinearColorMap::d_range [private] |
Referenced by intensityRange(), lowerBound(), setIntensityRange(), toXmlString(), and upperBound().