Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ValuePaletteOptions

Interface to define secondary miscellaneous properties of a LUT.

Index

Properties

color

color : Color

Fallback color, which is used if LUT steps are defined as empty or defined incorrectly.

Default value: Black.

interpolate

interpolate : boolean

Interpolation behavior of the LUT, which describes the distribution of color for the data:

  • True: LUT creates a gradient LUT using linear-interpolation (LERP) between colors, which were defined in the collection of steps.
  • False: LUT creates a uniform LUT using step-function for each color to describe the range of values where this color is used.

Default value: true.

title

title : string

Title of the LUT, which describes the visualization.

Default value: Empty string.

units

units : string

Units of the data-values in the LUT, which describes the data domain.

Default value: Empty string.

valueRangeMax

valueRangeMax : number | undefined

Maximum value that needs to be interpretable when using the LUT.

By default this is automatically assigned to a slightly higher value than max.

In some rare cases, it might be useful to define explicitly if look up precision errors occur.

valueRangeMin

valueRangeMin : number | undefined

Minimum value that needs to be interpretable when using the LUT.

By default this is automatically assigned to a slightly lower value than min.

In some rare cases, it might be useful to define explicitly if look up precision errors occur.