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

      • setPatternOverride

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

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

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

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

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

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

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

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

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

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

        public static boolean getLightModelOverride​(SoState state)
        Returns true if SoLightModelElement 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.
        Overrides:
        push in class SoElement
      • getAmbientColorOverride

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

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

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

        public static boolean getCreaseAngleOverride​(SoState state)
        Returns true if SoCreaseAngleElement is overridden.
      • 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. ] *
      • getDrawStyleOverride

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

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

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

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

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

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

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

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

        public static boolean getTransparencyTypeOverride​(SoState state)
        Returns true if SoTransparencyTypeElement is overridden.
      • 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.
      • setLightModelOverride

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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