Class SoColorMapElement


  • public class SoColorMapElement
    extends SoReplacedElement
    Stores the current color map. This element stores the current color map.
    See Also:
    SoColorMap
    • Method Detail

      • getClassStackIndex

        @Deprecated(since="9.3.0.0")
        public static int getClassStackIndex()
        Deprecated.
        As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)
        Returns the stack id for this element. ] *
      • get

        public static SoColorMap get​(SoState state)
        Gets the current color map in the state.
      • getDefault

        public static SoColorMap getDefault()
        Returns the default values.
      • set

        public static void set​(SoState state,
                               SoNode node,
                               SoColorMap colorMapNode)
        Sets the current color map in the state.