Class SoOverrideElement

  • public class SoOverrideElement
    extends SoElement
    Stores a flag for each type of element which can be overridden. This element stores a flag for each type of element which can be overridden. Nodes implement override by setting the appropriate bit if their override flag is on, and ignoring overridden elements if the corresponding bit in the state's SoOverrideElement is set.

    • Method Detail

      • setDepthBufferFunctionOverride

        public static void setDepthBufferFunctionOverride​(SoState state,
                                                          SoNode name_18834,
                                                          boolean override)
        Set override flag for SoDepthBuffer.function.
      • getFontNameOverride

        public static boolean getFontNameOverride​(SoState state)
        Returns true if SoFontNameElement is overridden.
      • getEmissiveColorOverride

        public static boolean getEmissiveColorOverride​(SoState state)
        Returns true if SoEmissiveColorElement is overridden.
      • setDepthBufferRangeOverride

        public static void setDepthBufferRangeOverride​(SoState state,
                                                       SoNode name_18831,
                                                       boolean override)
        Set override flag for SoDepthBuffer.range.
      • setPolygonOffsetOverride

        public static void setPolygonOffsetOverride​(SoState state,
                                                    SoNode name_18822,
                                                    boolean override)
        Set override flag for SoPolygonOffsetElement.
      • getLightModelOverride

        public static boolean getLightModelOverride​(SoState state)
        Returns true if SoLightModelElement is overridden.
      • setEnvironmentOverride

        public static void setEnvironmentOverride​(SoState state,
                                                  SoNode name_18819,
                                                  boolean override)
        Set override flag for SoEnvironmentElement.
      • getFontSizeOverride

        public static boolean getFontSizeOverride​(SoState state)
        Returns true if SoFontSizeElement is overridden.
      • setPatternOverride

        public static void setPatternOverride​(SoState state,
                                              SoNode name_18825,
                                              boolean override)
        Set override flag for SoPatternElement.
      • getDrawStyleOverride

        public static boolean getDrawStyleOverride​(SoState state)
        Returns true if SoDrawStyleElement is overridden.
      • getCreaseAngleOverride

        public static boolean getCreaseAngleOverride​(SoState state)
        Returns true if SoCreaseAngleElement is overridden.
      • getComplexityTypeOverride

        public static boolean getComplexityTypeOverride​(SoState state)
        Returns true if SoComplexityTypeElement is overridden.
      • getColorIndexOverride

        public static boolean getColorIndexOverride​(SoState state)
        Returns true if SoColorIndexElement is overridden.
      • getComplexityOverride

        public static boolean getComplexityOverride​(SoState state)
        Returns true if SoComplexityElement is overridden.
      • push

        public void push​(SoState state)
        Overrides push() method to copy values from next instance in the stack, and set up cache dependencies correctly.
        push in class SoElement
      • getDiffuseColorOverride

        public static boolean getDiffuseColorOverride​(SoState state)
        Returns true if SoDiffuseColorElement is overridden.
      • getAmbientColorOverride

        public static boolean getAmbientColorOverride​(SoState state)
        Returns true if SoAmbientColorElement is overridden.
      • getClassStackIndex

        public static int getClassStackIndex()
        As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)
        Returns the stack id for this element. ] *
      • setFontSizeOverride

        public static void setFontSizeOverride​(SoState state,
                                               SoNode name_18780,
                                               boolean override)
        Set override flag for SoFontSizeElement.
      • getDepthBufferRangeOverride

        public static boolean getDepthBufferRangeOverride​(SoState state)
        Returns true if SoDepthBuffer.range is overridden.
      • setFontNameOverride

        public static void setFontNameOverride​(SoState state,
                                               SoNode name_18777,
                                               boolean override)
        Set override flag for SoFontNameElement.
      • getPatternOverride

        public static boolean getPatternOverride​(SoState state)
        Returns true if SoPatternElement is overriden.
      • setLightModelOverride

        public static void setLightModelOverride​(SoState state,
                                                 SoNode name_18786,
                                                 boolean override)
        Set override flag for SoLightModelElement.
      • getEnvironmentOverride

        public static boolean getEnvironmentOverride​(SoState state)
        Returns true if SoEnvironmentElement is overridden.
      • getPolygonOffsetOverride

        public static boolean getPolygonOffsetOverride​(SoState state)
        Returns true if SoPolygonOffsetElement is overridden.
      • setEmissiveColorOverride

        public static void setEmissiveColorOverride​(SoState state,
                                                    SoNode name_18774,
                                                    boolean override)
        Set override flag for SoEmissiveColorElement.
      • setColorIndexOverride

        public static void setColorIndexOverride​(SoState state,
                                                 SoNode name_18753,
                                                 boolean override)
        Set override flag for SoColorIndexElement.
      • setComplexityOverride

        public static void setComplexityOverride​(SoState state,
                                                 SoNode name_18756,
                                                 boolean override)
        Set override flag for SoComplexityElement.
      • setCreaseAngleOverride

        public static void setCreaseAngleOverride​(SoState state,
                                                  SoNode name_18762,
                                                  boolean override)
        Set override flag for SoCreaseAngleElement.
      • setAmbientColorOverride

        public static void setAmbientColorOverride​(SoState state,
                                                   SoNode name_18750,
                                                   boolean override)
        Set override flag for SoAmbientColorElement.
      • setDrawStyleOverride

        public static void setDrawStyleOverride​(SoState state,
                                                SoNode name_18771,
                                                boolean override)
        Set override flag for SoDrawStyleElement.
      • getDepthBufferFunctionOverride

        public static boolean getDepthBufferFunctionOverride​(SoState state)
        Returns true if SoDepthBuffer.function is overridden.
      • setDiffuseColorOverride

        public static void setDiffuseColorOverride​(SoState state,
                                                   SoNode name_18768,
                                                   boolean override)
        Set override flag for SoDiffuseColorElement.
      • getBBoxTypeOverride

        public static boolean getBBoxTypeOverride​(SoState state)
        Returns true if SoComplexityType.bboxType is overridden.
      • setLinePatternOverride

        public static void setLinePatternOverride​(SoState state,
                                                  SoNode name_18789,
                                                  boolean override)
        Set override flag for SoLinePatternElement.
      • getPointSizeOverride

        public static boolean getPointSizeOverride​(SoState state)
        Returns true if SoPointSizeElement is overridden.
      • setSpecularColorOverride

        public static void setSpecularColorOverride​(SoState state,
                                                    SoNode name_18810,
                                                    boolean override)
        Set override flag for SoSpecularColorElement.
      • getPickStyleOverride

        public static boolean getPickStyleOverride​(SoState state)
        Returns true if SoPickStyleElement is overridden.
      • setShininessOverride

        public static void setShininessOverride​(SoState state,
                                                SoNode name_18807,
                                                boolean override)
        Set override flag for SoShininessElement.
      • setTransparencyTypeOverride

        public static void setTransparencyTypeOverride​(SoState state,
                                                       SoNode name_18816,
                                                       boolean override)
        Set override flag for SoTransparencyTypeElement.
      • getLinePatternOverride

        public static boolean getLinePatternOverride​(SoState state)
        Returns true if SoLinePatternElement is overridden.
      • setTransparencyOverride

        public static void setTransparencyOverride​(SoState state,
                                                   SoNode name_18813,
                                                   boolean override)
        Set override flag for SoTransparencyElement.
      • getLineWidthOverride

        public static boolean getLineWidthOverride​(SoState state)
        Returns true if SoLineWidthElement is overridden.
      • setShapeHintsOverride

        public static void setShapeHintsOverride​(SoState state,
                                                 SoNode name_18804,
                                                 boolean override)
        Set override flag for SoShapeHintsElement.
      • getTransparencyOverride

        public static boolean getTransparencyOverride​(SoState state)
        Returns true if SoTransparencyElement is overridden.
      • getTransparencyTypeOverride

        public static boolean getTransparencyTypeOverride​(SoState state)
        Returns true if SoTransparencyTypeElement is overridden.
      • setLineWidthOverride

        public static void setLineWidthOverride​(SoState state,
                                                SoNode name_18792,
                                                boolean override)
        Set override flag for SoLineWidthElement.
      • getSpecularColorOverride

        public static boolean getSpecularColorOverride​(SoState state)
        Returns true if SoSpecularColorElement is overridden.
      • setPointSizeOverride

        public static void setPointSizeOverride​(SoState state,
                                                SoNode name_18801,
                                                boolean override)
        Set override flag for SoPointSizeElement.
      • getShapeHintsOverride

        public static boolean getShapeHintsOverride​(SoState state)
        Returns true if SoShapeHintsElement is overridden.
      • setPickStyleOverride

        public static void setPickStyleOverride​(SoState state,
                                                SoNode name_18798,
                                                boolean override)
        Set override flag for SoPickStyleElement.
      • getShininessOverride

        public static boolean getShininessOverride​(SoState state)
        Returns true if SoShininessElement is overridden.