Class MoPredefinedColorMapping

All Implemented Interfaces:
SafeDisposable

public class MoPredefinedColorMapping extends MoColorMapping
Property node that selects a predefined color mapping.

The range of the scalar values must be given to adjust the color map to the scalar set. If a value is less than minValue, the first color in the map is used. If a value is greater than maxValue, the last color in the map is used. If a value is between minValue and maxValue, linear interpolation is used to determine the color.

See Also:
  • Field Details

    • minValue

      public SoSFFloat minValue
      The min value defining the range of scalar values.
      The default value is 0.
    • maxValue

      public SoSFFloat maxValue
      The max value defining the range of scalar values.
      The default value is 1.
    • predefColorMap

      Use this field to specify a predefined color map.

      NONE Default (node is ignored)
      GREY or GRAY GREY
      TEMPERATURE TEMPERATURE
      PHYSICS PHYSICS
      STANDARD STANDARD
      GLOW GLOW
      BLUE_RED BLUE_RED
      SEISMIC SEISMIC
      BLUE_WHITE_RED BLUE_WHITE_RED
      INTENSITY INTENSITY
      RAINBOW_TURBO RAINBOW_TURBO

      Note: The checkerboard pattern shows through where the color map alpha (opacity) value is less than 1.0.

  • Constructor Details

    • MoPredefinedColorMapping

      public MoPredefinedColorMapping()
      Constructs a property node with initial color map set to NONE (node has no effect).
  • Method Details