|  | UNIVERS
    15.3
    UNIVERS base processing software API | 
#include <zqb_scaled_palette.hpp>
 
  
 | Public Member Functions | |
| ZqbScaledPalette (const QColor &c=Qt::black) | |
| ZqbScaledPalette (int n, const QColor &c1, const QColor &c2) | |
| ZqbScaledPalette (int n, const QColor &c1, const QColor &c2, const QColor &c3) | |
| ZqbScaledPalette (const ZqbScaledPalette &zscpal) | |
| ZqbScaledPalette (const ZqbPalette &zpal) | |
| ZqbScaledPalette & | operator= (const ZqbScaledPalette &zscpal) | 
| ZqbScaledPalette & | operator= (const ZqbPalette &zpal) | 
| virtual int | colorIndex (double coord) const | 
| virtual void | coordRange (int index, double coord[2]) const | 
| virtual const QColor & | color (double coord) const | 
| const QColor & | operator() (double coord) const | 
| virtual void | setRange (double lowi, double highi) | 
| virtual void | setRange (double lh[2]) | 
| virtual void | getRange (double lh[2]) const | 
| ZqbScaledPalette (const QColor &c=Qt::black) | |
| ZqbScaledPalette (int n, const QColor &c1, const QColor &c2) | |
| ZqbScaledPalette (int n, const QColor &c1, const QColor &c2, const QColor &c3) | |
| ZqbScaledPalette (const ZqbScaledPalette &zscpal) | |
| ZqbScaledPalette (const ZqbPalette &zpal) | |
| ZqbScaledPalette & | operator= (const ZqbScaledPalette &zscpal) | 
| ZqbScaledPalette & | operator= (const ZqbPalette &zpal) | 
| virtual int | colorIndex (double coord) const | 
| virtual void | coordRange (int index, double coord[2]) const | 
| virtual const QColor & | color (double coord) const | 
| const QColor & | operator() (double coord) const | 
| virtual void | setRange (double lowi, double highi) | 
| virtual void | setRange (double lh[2]) | 
| virtual void | getRange (double lh[2]) const | 
|  Public Member Functions inherited from ZqbPalette | |
| ZqbPalette (const QColor &c=Qt::black) | |
| ZqbPalette (int n, const QColor &c1, const QColor &c2) | |
| ZqbPalette (int n, const QColor &c1, const QColor &c2, const QColor &c3) | |
| ZqbPalette (const ZqbPalette &zpal) | |
| virtual | ~ZqbPalette () | 
| ZqbPalette & | operator= (const ZqbPalette &zpal) | 
| virtual void | revertColorsOrder () | 
| virtual int | numberOfColors () const | 
| virtual const QColor & | color (int index) const | 
| const QColor & | operator[] (int index) const | 
| virtual QColor & | color (int index) | 
| QColor & | operator[] (int index) | 
| virtual int | colorIndex (const QColor &c) const | 
| const int | operator[] (const QColor &c) const | 
| virtual void | drawPalette (QPixmap &pixmap, Qt::Orientation eOrient) const | 
| virtual int | addColor (const QColor &c) | 
| ZqbPalette & | operator+= (const QColor &c) | 
| virtual int | addPalette (const ZqbPalette &pal) | 
| ZqbPalette & | operator+= (const ZqbPalette &pal) | 
| void | expandToColor (int n, const QColor &c) | 
| int | addColors (int n, const QColor &c1, const QColor &c2) | 
| int | addColors (int n, const QColor &c1, const QColor &c2, const QColor &c3) | 
| ZqbPalette (const QColor &c=Qt::black) | |
| ZqbPalette (int n, const QColor &c1, const QColor &c2) | |
| ZqbPalette (int n, const QColor &c1, const QColor &c2, const QColor &c3) | |
| ZqbPalette (const ZqbPalette &zpal) | |
| virtual | ~ZqbPalette () | 
| ZqbPalette & | operator= (const ZqbPalette &zpal) | 
| virtual void | revertColorsOrder () | 
| virtual int | numberOfColors () const | 
| virtual const QColor & | color (int index) const | 
| const QColor & | operator[] (int index) const | 
| virtual QColor & | color (int index) | 
| QColor & | operator[] (int index) | 
| virtual int | colorIndex (const QColor &c) const | 
| int | operator[] (const QColor &c) const | 
| virtual void | drawPalette (QPixmap &pixmap, Qt::Orientation eOrient) const | 
| virtual int | addColor (const QColor &c) | 
| ZqbPalette & | operator+= (const QColor &c) | 
| virtual int | addPalette (const ZqbPalette &pal) | 
| ZqbPalette & | operator+= (const ZqbPalette &pal) | 
| void | expandToColor (int n, const QColor &c) | 
| int | addColors (int n, const QColor &c1, const QColor &c2) | 
| int | addColors (int n, const QColor &c1, const QColor &c2, const QColor &c3) | 
| Protected Attributes | |
| double | m_fRange [2] | 
Color palette with real coordinate scale to convert coordinate to some color.
| ZqbScaledPalette::ZqbScaledPalette | ( | const QColor & | c = Qt::black | ) | 
Create scaled palette with default range {0.0 100.0} and with one given color (black by default).
| ZqbScaledPalette::ZqbScaledPalette | ( | int | n, | 
| const QColor & | c1, | ||
| const QColor & | c2 | ||
| ) | 
Create scaled palette with default range {0.0 100.0} and with vector of n colors distributed smoothly from first color to the second.
| ZqbScaledPalette::ZqbScaledPalette | ( | int | n, | 
| const QColor & | c1, | ||
| const QColor & | c2, | ||
| const QColor & | c3 | ||
| ) | 
Create scaled palette with default range {0.0 100.0} and with vector of n colors distributed smoothly from first color to the third via the second. White color (Qt::white()) is advised as the second color.
| ZqbScaledPalette::ZqbScaledPalette | ( | const ZqbScaledPalette & | zscpal | ) | 
Create copy of the scaled palette.
| ZqbScaledPalette::ZqbScaledPalette | ( | const ZqbPalette & | zpal | ) | 
Create copy of the palette with default range {0.0 100.0}.
| ZqbScaledPalette::ZqbScaledPalette | ( | const QColor & | c = Qt::black | ) | 
Create scaled palette with default range {0.0 100.0} and with one given color (black by default).
| ZqbScaledPalette::ZqbScaledPalette | ( | int | n, | 
| const QColor & | c1, | ||
| const QColor & | c2 | ||
| ) | 
Create scaled palette with default range {0.0 100.0} and with vector of n colors distributed smoothly from first color to the second.
| ZqbScaledPalette::ZqbScaledPalette | ( | int | n, | 
| const QColor & | c1, | ||
| const QColor & | c2, | ||
| const QColor & | c3 | ||
| ) | 
Create scaled palette with default range {0.0 100.0} and with vector of n colors distributed smoothly from first color to the third via the second. White color (Qt::white()) is advised as the second color.
| ZqbScaledPalette::ZqbScaledPalette | ( | const ZqbScaledPalette & | zscpal | ) | 
Create copy of the scaled palette.
| ZqbScaledPalette::ZqbScaledPalette | ( | const ZqbPalette & | zpal | ) | 
Create copy of the palette with default range {0.0 100.0}.
| 
 | virtual | 
Get color by coordinate.
| 
 | virtual | 
Get color by coordinate.
| 
 | virtual | 
Get index of the color by given coordinate.
| 
 | virtual | 
Get index of the color by given coordinate.
| 
 | virtual | 
Get range of coordinates for given color index.
| 
 | virtual | 
Get range of coordinates for given color index.
| 
 | virtual | 
Get range of coordinates for low color index and high color index.
| 
 | virtual | 
Get range of coordinates for low color index and high color index.
| 
 | inline | 
Get color by coordinate. Synonymous for color()
| 
 | inline | 
Get color by coordinate. Synonymous for color()
| ZqbScaledPalette& ZqbScaledPalette::operator= | ( | const ZqbScaledPalette & | zscpal | ) | 
Assign the scaled palette.
| ZqbScaledPalette& ZqbScaledPalette::operator= | ( | const ZqbScaledPalette & | zscpal | ) | 
Assign the scaled palette.
| ZqbScaledPalette& ZqbScaledPalette::operator= | ( | const ZqbPalette & | zpal | ) | 
Assign the usual palette and don't touch the range.
| ZqbScaledPalette& ZqbScaledPalette::operator= | ( | const ZqbPalette & | zpal | ) | 
Assign the usual palette and don't touch the range.
| 
 | virtual | 
Set transformation by given coordinates for low color index and high color index.
| 
 | virtual | 
Set transformation by given coordinates for low color index and high color index.
| 
 | inlinevirtual | 
Set transformation by given minimum and maximum values. Synonymous for setRange().
| 
 | inlinevirtual | 
Set transformation by given minimum and maximum values. Synonymous for setRange().
| 
 | protected | 
Range of coordinates used for color scale.
 1.8.5
 1.8.5