QtiPlot  0.9.8.2
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
LinearColorMap Class Reference

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

Detailed Description

A customized QwtLinearColorMap.

Constructor & Destructor Documentation

LinearColorMap::LinearColorMap ( )

Constructor.

Referenced by fromXmlStringList().

LinearColorMap::LinearColorMap ( const QColor &  from,
const QColor &  to 
)

Constructor.

Member Function Documentation

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
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.

Member Data Documentation

QwtDoubleInterval LinearColorMap::d_range
private

The documentation for this class was generated from the following files: