#include </home/florent/devel/release/src/gepetto-viewer/plugins/pyqcustomplot/qcustomplot-1.3.2/qcustomplot.h>
Public Member Functions | |
QCPColorGradient (GradientPreset preset=gpCold) | |
bool | operator== (const QCPColorGradient &other) const |
bool | operator!= (const QCPColorGradient &other) const |
int | levelCount () const |
QMap< double, QColor > | colorStops () const |
ColorInterpolation | colorInterpolation () const |
bool | periodic () const |
void | setLevelCount (int n) |
void | setColorStops (const QMap< double, QColor > &colorStops) |
void | setColorStopAt (double position, const QColor &color) |
void | setColorInterpolation (ColorInterpolation interpolation) |
void | setPeriodic (bool enabled) |
void | colorize (const double *data, const QCPRange &range, QRgb *scanLine, int n, int dataIndexFactor=1, bool logarithmic=false) |
QRgb | color (double position, const QCPRange &range, bool logarithmic=false) |
void | loadPreset (GradientPreset preset) |
void | clearColorStops () |
QCPColorGradient | inverted () const |
QCPColorGradient () | |
QCPColorGradient (GradientPreset preset) | |
bool | operator== (const QCPColorGradient &other) const |
bool | operator!= (const QCPColorGradient &other) const |
int | levelCount () const |
QMap< double, QColor > | colorStops () const |
ColorInterpolation | colorInterpolation () const |
bool | periodic () const |
void | setLevelCount (int n) |
void | setColorStops (const QMap< double, QColor > &colorStops) |
void | setColorStopAt (double position, const QColor &color) |
void | setColorInterpolation (ColorInterpolation interpolation) |
void | setPeriodic (bool enabled) |
void | colorize (const double *data, const QCPRange &range, QRgb *scanLine, int n, int dataIndexFactor=1, bool logarithmic=false) |
void | colorize (const double *data, const unsigned char *alpha, const QCPRange &range, QRgb *scanLine, int n, int dataIndexFactor=1, bool logarithmic=false) |
QRgb | color (double position, const QCPRange &range, bool logarithmic=false) |
void | loadPreset (GradientPreset preset) |
void | clearColorStops () |
QCPColorGradient | inverted () const |
QCPColorGradient (GradientPreset preset=gpCold) | |
bool | operator== (const QCPColorGradient &other) const |
bool | operator!= (const QCPColorGradient &other) const |
int | levelCount () const |
QMap< double, QColor > | colorStops () const |
ColorInterpolation | colorInterpolation () const |
bool | periodic () const |
void | setLevelCount (int n) |
void | setColorStops (const QMap< double, QColor > &colorStops) |
void | setColorStopAt (double position, const QColor &color) |
void | setColorInterpolation (ColorInterpolation interpolation) |
void | setPeriodic (bool enabled) |
void | colorize (const double *data, const QCPRange &range, QRgb *scanLine, int n, int dataIndexFactor=1, bool logarithmic=false) |
QRgb | color (double position, const QCPRange &range, bool logarithmic=false) |
void | loadPreset (GradientPreset preset) |
void | clearColorStops () |
QCPColorGradient | inverted () const |
Protected Member Functions | |
void | updateColorBuffer () |
bool | stopsUseAlpha () const |
void | updateColorBuffer () |
void | updateColorBuffer () |
Protected Attributes | |
int | mLevelCount |
QMap< double, QColor > | mColorStops |
ColorInterpolation | mColorInterpolation |
bool | mPeriodic |
QVector< QRgb > | mColorBuffer |
bool | mColorBufferInvalidated |
Defines the color spaces in which color interpolation between gradient stops can be performed.
Defines the color spaces in which color interpolation between gradient stops can be performed.
Defines the color spaces in which color interpolation between gradient stops can be performed.
Defines the available presets that can be loaded with loadPreset. See the documentation there for an image of the presets.
Enumerator | |
---|---|
gpGrayscale | Continuous lightness from black to white (suited for non-biased data representation) |
gpHot | Continuous lightness from black over firey colors to white (suited for non-biased data representation) |
gpCold | Continuous lightness from black over icey colors to white (suited for non-biased data representation) |
gpNight | Continuous lightness from black over weak blueish colors to white (suited for non-biased data representation) |
gpCandy | Blue over pink to white. |
gpGeography | Colors suitable to represent different elevations on geographical maps. |
gpIon | Half hue spectrum from black over purple to blue and finally green (creates banding illusion but allows more precise magnitude estimates) |
gpThermal | Colors suitable for thermal imaging, ranging from dark blue over purple to orange, yellow and white. |
gpPolar | Colors suitable to emphasize polarity around the center, with blue for negative, black in the middle and red for positive values. |
gpSpectrum | An approximation of the visible light spectrum (creates banding illusion but allows more precise magnitude estimates) |
gpJet | Hue variation similar to a spectrum, often used in numerical visualization (creates banding illusion but allows more precise magnitude estimates) |
gpHues | Full hue cycle, with highest and lowest color red (suitable for periodic data, such as angles and phases, see setPeriodic) |
gpGrayscale | Continuous lightness from black to white (suited for non-biased data representation) |
gpHot | Continuous lightness from black over firey colors to white (suited for non-biased data representation) |
gpCold | Continuous lightness from black over icey colors to white (suited for non-biased data representation) |
gpNight | Continuous lightness from black over weak blueish colors to white (suited for non-biased data representation) |
gpCandy | Blue over pink to white. |
gpGeography | Colors suitable to represent different elevations on geographical maps. |
gpIon | Half hue spectrum from black over purple to blue and finally green (creates banding illusion but allows more precise magnitude estimates) |
gpThermal | Colors suitable for thermal imaging, ranging from dark blue over purple to orange, yellow and white. |
gpPolar | Colors suitable to emphasize polarity around the center, with blue for negative, black in the middle and red for positive values. |
gpSpectrum | An approximation of the visible light spectrum (creates banding illusion but allows more precise magnitude estimates) |
gpJet | Hue variation similar to a spectrum, often used in numerical visualization (creates banding illusion but allows more precise magnitude estimates) |
gpHues | Full hue cycle, with highest and lowest color red (suitable for periodic data, such as angles and phases, see setPeriodic) |
gpGrayscale | Continuous lightness from black to white (suited for non-biased data representation) |
gpHot | Continuous lightness from black over firey colors to white (suited for non-biased data representation) |
gpCold | Continuous lightness from black over icey colors to white (suited for non-biased data representation) |
gpNight | Continuous lightness from black over weak blueish colors to white (suited for non-biased data representation) |
gpCandy | Blue over pink to white. |
gpGeography | Colors suitable to represent different elevations on geographical maps. |
gpIon | Half hue spectrum from black over purple to blue and finally green (creates banding illusion but allows more precise magnitude estimates) |
gpThermal | Colors suitable for thermal imaging, ranging from dark blue over purple to orange, yellow and white. |
gpPolar | Colors suitable to emphasize polarity around the center, with blue for negative, black in the middle and red for positive values. |
gpSpectrum | An approximation of the visible light spectrum (creates banding illusion but allows more precise magnitude estimates) |
gpJet | Hue variation similar to a spectrum, often used in numerical visualization (creates banding illusion but allows more precise magnitude estimates) |
gpHues | Full hue cycle, with highest and lowest color red (suitable for periodic data, such as angles and phases, see setPeriodic) |
Defines the available presets that can be loaded with loadPreset. See the documentation there for an image of the presets.
Enumerator | |
---|---|
gpGrayscale | Continuous lightness from black to white (suited for non-biased data representation) |
gpHot | Continuous lightness from black over firey colors to white (suited for non-biased data representation) |
gpCold | Continuous lightness from black over icey colors to white (suited for non-biased data representation) |
gpNight | Continuous lightness from black over weak blueish colors to white (suited for non-biased data representation) |
gpCandy | Blue over pink to white. |
gpGeography | Colors suitable to represent different elevations on geographical maps. |
gpIon | Half hue spectrum from black over purple to blue and finally green (creates banding illusion but allows more precise magnitude estimates) |
gpThermal | Colors suitable for thermal imaging, ranging from dark blue over purple to orange, yellow and white. |
gpPolar | Colors suitable to emphasize polarity around the center, with blue for negative, black in the middle and red for positive values. |
gpSpectrum | An approximation of the visible light spectrum (creates banding illusion but allows more precise magnitude estimates) |
gpJet | Hue variation similar to a spectrum, often used in numerical visualization (creates banding illusion but allows more precise magnitude estimates) |
gpHues | Full hue cycle, with highest and lowest color red (suitable for periodic data, such as angles and phases, see setPeriodic) |
gpGrayscale | Continuous lightness from black to white (suited for non-biased data representation) |
gpHot | Continuous lightness from black over firey colors to white (suited for non-biased data representation) |
gpCold | Continuous lightness from black over icey colors to white (suited for non-biased data representation) |
gpNight | Continuous lightness from black over weak blueish colors to white (suited for non-biased data representation) |
gpCandy | Blue over pink to white. |
gpGeography | Colors suitable to represent different elevations on geographical maps. |
gpIon | Half hue spectrum from black over purple to blue and finally green (creates banding illusion but allows more precise magnitude estimates) |
gpThermal | Colors suitable for thermal imaging, ranging from dark blue over purple to orange, yellow and white. |
gpPolar | Colors suitable to emphasize polarity around the center, with blue for negative, black in the middle and red for positive values. |
gpSpectrum | An approximation of the visible light spectrum (creates banding illusion but allows more precise magnitude estimates) |
gpJet | Hue variation similar to a spectrum, often used in numerical visualization (creates banding illusion but allows more precise magnitude estimates) |
gpHues | Full hue cycle, with highest and lowest color red (suitable for periodic data, such as angles and phases, see setPeriodic) |
gpGrayscale | Continuous lightness from black to white (suited for non-biased data representation) |
gpHot | Continuous lightness from black over firey colors to white (suited for non-biased data representation) |
gpCold | Continuous lightness from black over icey colors to white (suited for non-biased data representation) |
gpNight | Continuous lightness from black over weak blueish colors to white (suited for non-biased data representation) |
gpCandy | Blue over pink to white. |
gpGeography | Colors suitable to represent different elevations on geographical maps. |
gpIon | Half hue spectrum from black over purple to blue and finally green (creates banding illusion but allows more precise magnitude estimates) |
gpThermal | Colors suitable for thermal imaging, ranging from dark blue over purple to orange, yellow and white. |
gpPolar | Colors suitable to emphasize polarity around the center, with blue for negative, black in the middle and red for positive values. |
gpSpectrum | An approximation of the visible light spectrum (creates banding illusion but allows more precise magnitude estimates) |
gpJet | Hue variation similar to a spectrum, often used in numerical visualization (creates banding illusion but allows more precise magnitude estimates) |
gpHues | Full hue cycle, with highest and lowest color red (suitable for periodic data, such as angles and phases, see setPeriodic) |
Defines the available presets that can be loaded with loadPreset. See the documentation there for an image of the presets.
Enumerator | |
---|---|
gpGrayscale | Continuous lightness from black to white (suited for non-biased data representation) |
gpHot | Continuous lightness from black over firey colors to white (suited for non-biased data representation) |
gpCold | Continuous lightness from black over icey colors to white (suited for non-biased data representation) |
gpNight | Continuous lightness from black over weak blueish colors to white (suited for non-biased data representation) |
gpCandy | Blue over pink to white. |
gpGeography | Colors suitable to represent different elevations on geographical maps. |
gpIon | Half hue spectrum from black over purple to blue and finally green (creates banding illusion but allows more precise magnitude estimates) |
gpThermal | Colors suitable for thermal imaging, ranging from dark blue over purple to orange, yellow and white. |
gpPolar | Colors suitable to emphasize polarity around the center, with blue for negative, black in the middle and red for positive values. |
gpSpectrum | An approximation of the visible light spectrum (creates banding illusion but allows more precise magnitude estimates) |
gpJet | Hue variation similar to a spectrum, often used in numerical visualization (creates banding illusion but allows more precise magnitude estimates) |
gpHues | Full hue cycle, with highest and lowest color red (suitable for periodic data, such as angles and phases, see setPeriodic) |
gpGrayscale | Continuous lightness from black to white (suited for non-biased data representation) |
gpHot | Continuous lightness from black over firey colors to white (suited for non-biased data representation) |
gpCold | Continuous lightness from black over icey colors to white (suited for non-biased data representation) |
gpNight | Continuous lightness from black over weak blueish colors to white (suited for non-biased data representation) |
gpCandy | Blue over pink to white. |
gpGeography | Colors suitable to represent different elevations on geographical maps. |
gpIon | Half hue spectrum from black over purple to blue and finally green (creates banding illusion but allows more precise magnitude estimates) |
gpThermal | Colors suitable for thermal imaging, ranging from dark blue over purple to orange, yellow and white. |
gpPolar | Colors suitable to emphasize polarity around the center, with blue for negative, black in the middle and red for positive values. |
gpSpectrum | An approximation of the visible light spectrum (creates banding illusion but allows more precise magnitude estimates) |
gpJet | Hue variation similar to a spectrum, often used in numerical visualization (creates banding illusion but allows more precise magnitude estimates) |
gpHues | Full hue cycle, with highest and lowest color red (suitable for periodic data, such as angles and phases, see setPeriodic) |
gpGrayscale | Continuous lightness from black to white (suited for non-biased data representation) |
gpHot | Continuous lightness from black over firey colors to white (suited for non-biased data representation) |
gpCold | Continuous lightness from black over icey colors to white (suited for non-biased data representation) |
gpNight | Continuous lightness from black over weak blueish colors to white (suited for non-biased data representation) |
gpCandy | Blue over pink to white. |
gpGeography | Colors suitable to represent different elevations on geographical maps. |
gpIon | Half hue spectrum from black over purple to blue and finally green (creates banding illusion but allows more precise magnitude estimates) |
gpThermal | Colors suitable for thermal imaging, ranging from dark blue over purple to orange, yellow and white. |
gpPolar | Colors suitable to emphasize polarity around the center, with blue for negative, black in the middle and red for positive values. |
gpSpectrum | An approximation of the visible light spectrum (creates banding illusion but allows more precise magnitude estimates) |
gpJet | Hue variation similar to a spectrum, often used in numerical visualization (creates banding illusion but allows more precise magnitude estimates) |
gpHues | Full hue cycle, with highest and lowest color red (suitable for periodic data, such as angles and phases, see setPeriodic) |
QCPColorGradient::QCPColorGradient | ( | GradientPreset | preset = gpCold | ) |
QCPColorGradient::QCPColorGradient | ( | ) |
QCPColorGradient::QCPColorGradient | ( | GradientPreset | preset | ) |
QCPColorGradient::QCPColorGradient | ( | GradientPreset | preset = gpCold | ) |
void QCPColorGradient::clearColorStops | ( | ) |
void QCPColorGradient::clearColorStops | ( | ) |
void QCPColorGradient::clearColorStops | ( | ) |
QRgb QCPColorGradient::color | ( | double | position, |
const QCPRange & | range, | ||
bool | logarithmic = false |
||
) |
QRgb QCPColorGradient::color | ( | double | position, |
const QCPRange & | range, | ||
bool | logarithmic = false |
||
) |
QRgb QCPColorGradient::color | ( | double | position, |
const QCPRange & | range, | ||
bool | logarithmic = false |
||
) |
|
inline |
|
inline |
|
inline |
void QCPColorGradient::colorize | ( | const double * | data, |
const QCPRange & | range, | ||
QRgb * | scanLine, | ||
int | n, | ||
int | dataIndexFactor = 1 , |
||
bool | logarithmic = false |
||
) |
void QCPColorGradient::colorize | ( | const double * | data, |
const QCPRange & | range, | ||
QRgb * | scanLine, | ||
int | n, | ||
int | dataIndexFactor = 1 , |
||
bool | logarithmic = false |
||
) |
void QCPColorGradient::colorize | ( | const double * | data, |
const QCPRange & | range, | ||
QRgb * | scanLine, | ||
int | n, | ||
int | dataIndexFactor = 1 , |
||
bool | logarithmic = false |
||
) |
void QCPColorGradient::colorize | ( | const double * | data, |
const unsigned char * | alpha, | ||
const QCPRange & | range, | ||
QRgb * | scanLine, | ||
int | n, | ||
int | dataIndexFactor = 1 , |
||
bool | logarithmic = false |
||
) |
|
inline |
|
inline |
|
inline |
QCPColorGradient QCPColorGradient::inverted | ( | ) | const |
QCPColorGradient QCPColorGradient::inverted | ( | ) | const |
QCPColorGradient QCPColorGradient::inverted | ( | ) | const |
|
inline |
|
inline |
|
inline |
void QCPColorGradient::loadPreset | ( | GradientPreset | preset | ) |
void QCPColorGradient::loadPreset | ( | GradientPreset | preset | ) |
void QCPColorGradient::loadPreset | ( | GradientPreset | preset | ) |
|
inline |
|
inline |
|
inline |
bool QCPColorGradient::operator== | ( | const QCPColorGradient & | other | ) | const |
bool QCPColorGradient::operator== | ( | const QCPColorGradient & | other | ) | const |
bool QCPColorGradient::operator== | ( | const QCPColorGradient & | other | ) | const |
|
inline |
|
inline |
|
inline |
void QCPColorGradient::setColorInterpolation | ( | ColorInterpolation | interpolation | ) |
void QCPColorGradient::setColorInterpolation | ( | ColorInterpolation | interpolation | ) |
void QCPColorGradient::setColorInterpolation | ( | ColorInterpolation | interpolation | ) |
void QCPColorGradient::setColorStopAt | ( | double | position, |
const QColor & | color | ||
) |
void QCPColorGradient::setColorStopAt | ( | double | position, |
const QColor & | color | ||
) |
void QCPColorGradient::setColorStopAt | ( | double | position, |
const QColor & | color | ||
) |
void QCPColorGradient::setColorStops | ( | const QMap< double, QColor > & | colorStops | ) |
void QCPColorGradient::setColorStops | ( | const QMap< double, QColor > & | colorStops | ) |
void QCPColorGradient::setColorStops | ( | const QMap< double, QColor > & | colorStops | ) |
void QCPColorGradient::setLevelCount | ( | int | n | ) |
void QCPColorGradient::setLevelCount | ( | int | n | ) |
void QCPColorGradient::setLevelCount | ( | int | n | ) |
void QCPColorGradient::setPeriodic | ( | bool | enabled | ) |
void QCPColorGradient::setPeriodic | ( | bool | enabled | ) |
void QCPColorGradient::setPeriodic | ( | bool | enabled | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |