The color to assign values that are above the given range.
Default is undefined, which indicates that the last color in the color array will be used.
The color to assign values that are below the given range.
Default is undefined, which indicates that the first color in the color array will be used.
The maximum range of the mapper
The minimum range of the mapper
The color used for undefined values.
Default is undefined, which indicates that the last color in the color array will be used.
Creates and returns texture for this scalar mapper
Map normalized value (0 -> 1) into a domain value (range_min -> range_max)
Maps the given domain value to a color using the current range and color array.
Maps the given domain value to a color using the current range and color array.
Map domain value (range_min -> range_max) into a normalized value (0 -> 1)
Sets the scalar mapper level colors from an array of colors at the given values
Returns the suggest tick values (the values of the color changes)
Returns the version of the scalar mapper. Version is increased whenever the mapper is changed.
Generated using TypeDoc
Maps scalar values to texture coordinates/colors using a filled contours style color map with levels of uniform size.
Configured by specifying the number of level colors ([[colorArray]]) and the range (setRange).
To show a color legend in the view representing this mapper, use the Overlay.addCustomColorLegendForScalarMapper function.