Class MoColorMappingElement


public class MoColorMappingElement extends SoReplacedElement
Element that stores the current color mapping.
See Also:
  • Method Details

    • set

      public static void set(SoState state, SoNode node, MiColorMapping<Double,Color> colorMapping)
      Sets the current color mapping for the specified traversal state and node.
      Parameters:
      state - traversal state
      node - color mapping node
      colorMapping - the color mapping
    • getColorMapping

      public static MiColorMapping<Double,Color> getColorMapping(SoState state)
      Returns the current color mapping from the specified traversal state.
      Parameters:
      state - traversal state
      Returns:
      the current color mapping