Class MoColorMappingElement

    • Method Detail

      • set

        public static void set​(SoState state,
                               SoNode node,
                               MiColorMapping<java.lang.Double,​java.awt.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<java.lang.Double,​java.awt.Color> getColorMapping​(SoState state)
        Returns the current color mapping from the specified traversal state.
        Parameters:
        state - traversal state
        Returns:
        the current color mapping