|
Core 1.0
|
Procedurally defined palettes. More...
#include <palette.h>
Public Member Functions | |
| AnalyticPalette (int=0, bool=false) | |
| Create a palette. | |
| virtual Color | GetColor (double) const |
| Compute the color. | |
| AnalyticPalette | Reversed () const |
| Return the reversed palette. | |
Public Member Functions inherited from GenericPalette | |
| virtual QImage | Draw (int=32, int=1024) const |
| Draws an image with the colors of the palette. | |
| virtual QImage | CreateImage (int, int=16, bool=false) const |
| Create an image form a palette. | |
Static Public Member Functions | |
| static Color | BrownGreyGreen (double) |
| Custom divergent palette. | |
| static Color | GreenBrownGrey (double) |
| Green to brown coloring. | |
| static Color | CoolWarm (double) |
| Diverging palette from blue to red. | |
| static Color | MatlabJet (double) |
| Equivalent of the Jet coloring in Matlab. | |
| static Color | BlueGreen (double) |
| Blue to green smooth palette. | |
| static Color | WhiteRed (double) |
| White to red. | |
| static Color | BlueGreyBrown (double) |
| Custom divergent palette. | |
| static Color | GeologyGreenYellow (double) |
| Custom divergent palette. | |
| static Color | GeologyGreenYellow2 (double) |
| Custom divergent palette. | |
| static Color | BrownGreen (double) |
| Diverging palette from brown to green. | |
| static Color | WhiteBlue (double) |
| White to blue. | |
Protected Attributes | |
| int | n = 0 |
| Palette identifier. | |
| bool | r = false |
| Reverse flag. | |
Procedurally defined palettes.
Palette entries are as follows: 0 Brown-Grey-Green
1 Green-Brown-Grey
2 Matlab Jet
3 Cool-Warm
4 White-Red
5 Blue-Green
6 Blue-Grey-Brown
7-8 Green-Yellow variants
9 Brown-Green
10 White-Blue
|
explicit |
Create a palette.
| n | Palette identifier. |
| r | Reverse flag. |
|
static |
Blue to green smooth palette.
| u | Palette entry. |
|
static |
Custom divergent palette.
Inspired by Kenneth Moreland's diverging color map.
Compute a linear interpolation between blue, grey, and brown.
| u | Interpolant. |
|
static |
Custom divergent palette.
Compute a linear interpolation between brown, grey and green.
| u | Interpolant. |
|
static |
Diverging palette from blue to red.
| u | Palette entry. |
|
static |
Custom divergent palette.
| u | Interpolant. |
|
static |
Custom divergent palette.
| u | Interpolant. |
|
virtual |
|
static |
Green to brown coloring.
| u | Palette entry. |
|
static |
Equivalent of the Jet coloring in Matlab.
| u | Palette entry. |
|
static |
White to blue.
| u | Palette entry. |
|
static |
White to red.
| u | Palette entry. |