View that draws a color image representing a two-dimensional scalar field. It uses a color table to map scalar values to colors. Two different mappings between field values and color entries are provided:
The standard color table defines a cold - hot feeling going from blue over white to red.
Properties:
ScalarField model | scalar field defining the values to be displayed |
double minVal, maxVal | values that are mapped to lowest/highest color for linear scaling |
boolean infiniteScale | if true, linear scaling is replaced by a non-linear mapping with atan |
double scale | scale factor stretching the mapping in the non-linear case |
ColorTable colors | color table of 256 RGB values |
Methods:
void update() | recalculates all color values |