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_18943,
                                              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_18949,
                                                       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_18934,
                                                       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_18937,
                                                  boolean override)
        Set override flag for SoEnvironmentElement.
      • setPolygonOffsetOverride

        public static void setPolygonOffsetOverride​(SoState state,
                                                    SoNode name_18940,
                                                    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.
        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

        public static int getClassStackIndex()
        As of Open Inventor 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_18952,
                                                          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_18889,
                                               boolean override)
        Set override flag for SoFontSizeElement.
      • setFontNameOverride

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

        public static void setLinePatternOverride​(SoState state,
                                                  SoNode name_18898,
                                                  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_18895,
                                                 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_18859,
                                                   boolean override)
        Set override flag for SoAmbientColorElement.
      • setColorIndexOverride

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

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

        public static void setCreaseAngleOverride​(SoState state,
                                                  SoNode name_18871,
                                                  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_18883,
                                                    boolean override)
        Set override flag for SoEmissiveColorElement.
      • setDrawStyleOverride

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

        public static void setDiffuseColorOverride​(SoState state,
                                                   SoNode name_18877,
                                                   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_18931,
                                                   boolean override)
        Set override flag for SoTransparencyElement.
      • setSpecularColorOverride

        public static void setSpecularColorOverride​(SoState state,
                                                    SoNode name_18928,
                                                    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_18916,
                                                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_18907,
                                                boolean override)
        Set override flag for SoPickStyleElement.
      • setLineWidthOverride

        public static void setLineWidthOverride​(SoState state,
                                                SoNode name_18901,
                                                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_18913,
                                                 boolean override)
        Set override flag for SoShapeHintsElement.
      • setPointSizeOverride

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