Class SoOverrideElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.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'sSoOverrideElement
is set.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
getAmbientColorOverride(SoState state)
Returns true if SoAmbientColorElement is overridden.static boolean
getBBoxTypeOverride(SoState state)
Returns true if SoComplexityType.bboxType is overridden.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9300.static boolean
getColorIndexOverride(SoState state)
Returns true if SoColorIndexElement is overridden.static boolean
getComplexityOverride(SoState state)
Returns true ifSoComplexityElement
is overridden.static boolean
getComplexityTypeOverride(SoState state)
Returns true ifSoComplexityTypeElement
is overridden.static boolean
getCreaseAngleOverride(SoState state)
Returns true ifSoCreaseAngleElement
is overridden.static boolean
getDepthBufferFunctionOverride(SoState state)
Returns true ifSoDepthBuffer.function
is overridden.static boolean
getDepthBufferRangeOverride(SoState state)
Returns true ifSoDepthBuffer.range
is overridden.static boolean
getDiffuseColorOverride(SoState state)
Returns true if SoDiffuseColorElement is overridden.static boolean
getDrawStyleOverride(SoState state)
Returns true ifSoDrawStyleElement
is overridden.static boolean
getEmissiveColorOverride(SoState state)
Returns true if SoEmissiveColorElement is overridden.static boolean
getEnvironmentOverride(SoState state)
Returns true ifSoEnvironmentElement
is overridden.static boolean
getFontNameOverride(SoState state)
Returns true ifSoFontNameElement
is overridden.static boolean
getFontRenderStyleOverride(SoState state)
Returns true ifSoFontRenderStyleElement
is overridden.static boolean
getFontSizeOverride(SoState state)
Returns true ifSoFontSizeElement
is overridden.static boolean
getFullSceneAntialiasingOverride(SoState state)
Returns true ifSoFullSceneAntialiasingElement
is overridden.static boolean
getLightModelOverride(SoState state)
Returns true ifSoLightModelElement
is overridden.static boolean
getLinePatternOverride(SoState state)
Returns true ifSoLinePatternElement
is overridden.static boolean
getLineWidthOverride(SoState state)
Returns true ifSoLineWidthElement
is overridden.static boolean
getMaterialBindingOverride(SoState state)
Returns true ifSoMaterialBindingElement
is overridden.static boolean
getNeighborToleranceOverride(SoState state)
Returns true ifSoNeighborToleranceElement
is overridden.static boolean
getPatternOverride(SoState state)
Returns true ifSoPatternElement
is overriden.static boolean
getPickStyleOverride(SoState state)
Returns true ifSoPickStyleElement
is overridden.static boolean
getPointSizeOverride(SoState state)
Returns true ifSoPointSizeElement
is overridden.static boolean
getPolygonOffsetOverride(SoState state)
Returns true ifSoPolygonOffsetElement
is overridden.static boolean
getShapeHintsOverride(SoState state)
Returns true ifSoShapeHintsElement
is overridden.static boolean
getShininessOverride(SoState state)
Returns true if SoShininessElement is overridden.static boolean
getSpecularColorOverride(SoState state)
Returns true if SoSpecularColorElement is overridden.static boolean
getTransparencyOverride(SoState state)
Returns true if SoTransparencyElement is overridden.static boolean
getTransparencyTypeOverride(SoState state)
Returns true if SoTransparencyTypeElement is overridden.void
push(SoState state)
Overridespush()
method to copy values from next instance in the stack, and set up cache dependencies correctly.static void
setAmbientColorOverride(SoState state, SoNode name_18802, boolean override)
Set override flag for SoAmbientColorElement.static void
setBBoxTypeOverride(SoState state, SoNode name_18889, boolean override)
Set override flag forSoComplexity.bboxType
.static void
setColorIndexOverride(SoState state, SoNode name_18805, boolean override)
Set override flag for SoColorIndexElement.static void
setComplexityOverride(SoState state, SoNode name_18808, boolean override)
Set override flag forSoComplexityElement
.static void
setComplexityTypeOverride(SoState state, SoNode name_18811, boolean override)
Set override flag forSoComplexityTypeElement
.static void
setCreaseAngleOverride(SoState state, SoNode name_18814, boolean override)
Set override flag forSoCreaseAngleElement
.static void
setDepthBufferFunctionOverride(SoState state, SoNode name_18886, boolean override)
Set override flag forSoDepthBuffer.function
.static void
setDepthBufferRangeOverride(SoState state, SoNode name_18883, boolean override)
Set override flag forSoDepthBuffer.range
.static void
setDiffuseColorOverride(SoState state, SoNode name_18820, boolean override)
Set override flag for SoDiffuseColorElement.static void
setDrawStyleOverride(SoState state, SoNode name_18823, boolean override)
Set override flag forSoDrawStyleElement
.static void
setEmissiveColorOverride(SoState state, SoNode name_18826, boolean override)
Set override flag for SoEmissiveColorElement.static void
setEnvironmentOverride(SoState state, SoNode name_18871, boolean override)
Set override flag forSoEnvironmentElement
.static void
setFontNameOverride(SoState state, SoNode name_18829, boolean override)
Set override flag forSoFontNameElement
.static void
setFontRenderStyleOverride(SoState state, SoNode name_18835, boolean override)
Set override flag forSoFontRenderStyleElement
.static void
setFontSizeOverride(SoState state, SoNode name_18832, boolean override)
Set override flag forSoFontSizeElement
.static void
setFullSceneAntialiasingOverride(SoState state, SoNode name_18880, boolean override)
Set override flag forSoFullSceneAntialiasingElement
.static void
setLightModelOverride(SoState state, SoNode name_18838, boolean override)
Set override flag forSoLightModelElement
.static void
setLinePatternOverride(SoState state, SoNode name_18841, boolean override)
Set override flag forSoLinePatternElement
.static void
setLineWidthOverride(SoState state, SoNode name_18844, boolean override)
Set override flag forSoLineWidthElement
.static void
setMaterialBindingOverride(SoState state, SoNode name_18847, boolean override)
Set override flag forSoMaterialBindingElement
.static void
setNeighborToleranceOverride(SoState state, SoNode name_18817, boolean override)
Set override flag forSoNeighborToleranceElement
.static void
setPatternOverride(SoState state, SoNode name_18877, boolean override)
Set override flag forSoPatternElement
.static void
setPickStyleOverride(SoState state, SoNode name_18850, boolean override)
Set override flag forSoPickStyleElement
.static void
setPointSizeOverride(SoState state, SoNode name_18853, boolean override)
Set override flag forSoPointSizeElement
.static void
setPolygonOffsetOverride(SoState state, SoNode name_18874, boolean override)
Set override flag forSoPolygonOffsetElement
.static void
setShapeHintsOverride(SoState state, SoNode name_18856, boolean override)
Set override flag forSoShapeHintsElement
.static void
setShininessOverride(SoState state, SoNode name_18859, boolean override)
Set override flag for SoShininessElement.static void
setSpecularColorOverride(SoState state, SoNode name_18862, boolean override)
Set override flag for SoSpecularColorElement.static void
setTransparencyOverride(SoState state, SoNode name_18865, boolean override)
Set override flag for SoTransparencyElement.static void
setTransparencyTypeOverride(SoState state, SoNode name_18868, boolean override)
Set override flag for SoTransparencyTypeElement.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
setDepthBufferFunctionOverride
public static void setDepthBufferFunctionOverride(SoState state, SoNode name_18886, boolean override)
Set override flag forSoDepthBuffer.function
.
-
getFontNameOverride
public static boolean getFontNameOverride(SoState state)
Returns true ifSoFontNameElement
is overridden.
-
getEmissiveColorOverride
public static boolean getEmissiveColorOverride(SoState state)
Returns true if SoEmissiveColorElement is overridden.
-
setDepthBufferRangeOverride
public static void setDepthBufferRangeOverride(SoState state, SoNode name_18883, boolean override)
Set override flag forSoDepthBuffer.range
.
-
setPolygonOffsetOverride
public static void setPolygonOffsetOverride(SoState state, SoNode name_18874, boolean override)
Set override flag forSoPolygonOffsetElement
.
-
getLightModelOverride
public static boolean getLightModelOverride(SoState state)
Returns true ifSoLightModelElement
is overridden.
-
setEnvironmentOverride
public static void setEnvironmentOverride(SoState state, SoNode name_18871, boolean override)
Set override flag forSoEnvironmentElement
.
-
getFontRenderStyleOverride
public static boolean getFontRenderStyleOverride(SoState state)
Returns true ifSoFontRenderStyleElement
is overridden.
-
setFullSceneAntialiasingOverride
public static void setFullSceneAntialiasingOverride(SoState state, SoNode name_18880, boolean override)
Set override flag forSoFullSceneAntialiasingElement
.
-
getFontSizeOverride
public static boolean getFontSizeOverride(SoState state)
Returns true ifSoFontSizeElement
is overridden.
-
setPatternOverride
public static void setPatternOverride(SoState state, SoNode name_18877, boolean override)
Set override flag forSoPatternElement
.
-
getDrawStyleOverride
public static boolean getDrawStyleOverride(SoState state)
Returns true ifSoDrawStyleElement
is overridden.
-
getCreaseAngleOverride
public static boolean getCreaseAngleOverride(SoState state)
Returns true ifSoCreaseAngleElement
is overridden.
-
getNeighborToleranceOverride
public static boolean getNeighborToleranceOverride(SoState state)
Returns true ifSoNeighborToleranceElement
is overridden.
-
getComplexityTypeOverride
public static boolean getComplexityTypeOverride(SoState state)
Returns true ifSoComplexityTypeElement
is overridden.
-
getColorIndexOverride
public static boolean getColorIndexOverride(SoState state)
Returns true if SoColorIndexElement is overridden.
-
getComplexityOverride
public static boolean getComplexityOverride(SoState state)
Returns true ifSoComplexityElement
is overridden.
-
push
public void push(SoState state)
Overridespush()
method to copy values from next instance in the stack, and set up cache dependencies correctly.
-
getDiffuseColorOverride
public static boolean getDiffuseColorOverride(SoState state)
Returns true if SoDiffuseColorElement is overridden.
-
setBBoxTypeOverride
public static void setBBoxTypeOverride(SoState state, SoNode name_18889, boolean override)
Set override flag forSoComplexity.bboxType
.
-
setComplexityTypeOverride
public static void setComplexityTypeOverride(SoState state, SoNode name_18811, boolean override)
Set override flag forSoComplexityTypeElement
.
-
getAmbientColorOverride
public static boolean getAmbientColorOverride(SoState state)
Returns true if SoAmbientColorElement is overridden.
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
getFullSceneAntialiasingOverride
public static boolean getFullSceneAntialiasingOverride(SoState state)
Returns true ifSoFullSceneAntialiasingElement
is overridden.
-
setFontSizeOverride
public static void setFontSizeOverride(SoState state, SoNode name_18832, boolean override)
Set override flag forSoFontSizeElement
.
-
getDepthBufferRangeOverride
public static boolean getDepthBufferRangeOverride(SoState state)
Returns true ifSoDepthBuffer.range
is overridden.
-
setFontNameOverride
public static void setFontNameOverride(SoState state, SoNode name_18829, boolean override)
Set override flag forSoFontNameElement
.
-
getPatternOverride
public static boolean getPatternOverride(SoState state)
Returns true ifSoPatternElement
is overriden.
-
setLightModelOverride
public static void setLightModelOverride(SoState state, SoNode name_18838, boolean override)
Set override flag forSoLightModelElement
.
-
getEnvironmentOverride
public static boolean getEnvironmentOverride(SoState state)
Returns true ifSoEnvironmentElement
is overridden.
-
setFontRenderStyleOverride
public static void setFontRenderStyleOverride(SoState state, SoNode name_18835, boolean override)
Set override flag forSoFontRenderStyleElement
.
-
getPolygonOffsetOverride
public static boolean getPolygonOffsetOverride(SoState state)
Returns true ifSoPolygonOffsetElement
is overridden.
-
setEmissiveColorOverride
public static void setEmissiveColorOverride(SoState state, SoNode name_18826, boolean override)
Set override flag for SoEmissiveColorElement.
-
setColorIndexOverride
public static void setColorIndexOverride(SoState state, SoNode name_18805, boolean override)
Set override flag for SoColorIndexElement.
-
setNeighborToleranceOverride
public static void setNeighborToleranceOverride(SoState state, SoNode name_18817, boolean override)
Set override flag forSoNeighborToleranceElement
.
-
setComplexityOverride
public static void setComplexityOverride(SoState state, SoNode name_18808, boolean override)
Set override flag forSoComplexityElement
.
-
setCreaseAngleOverride
public static void setCreaseAngleOverride(SoState state, SoNode name_18814, boolean override)
Set override flag forSoCreaseAngleElement
.
-
setAmbientColorOverride
public static void setAmbientColorOverride(SoState state, SoNode name_18802, boolean override)
Set override flag for SoAmbientColorElement.
-
setDrawStyleOverride
public static void setDrawStyleOverride(SoState state, SoNode name_18823, boolean override)
Set override flag forSoDrawStyleElement
.
-
getDepthBufferFunctionOverride
public static boolean getDepthBufferFunctionOverride(SoState state)
Returns true ifSoDepthBuffer.function
is overridden.
-
setDiffuseColorOverride
public static void setDiffuseColorOverride(SoState state, SoNode name_18820, 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_18841, boolean override)
Set override flag forSoLinePatternElement
.
-
getPointSizeOverride
public static boolean getPointSizeOverride(SoState state)
Returns true ifSoPointSizeElement
is overridden.
-
setSpecularColorOverride
public static void setSpecularColorOverride(SoState state, SoNode name_18862, boolean override)
Set override flag for SoSpecularColorElement.
-
getPickStyleOverride
public static boolean getPickStyleOverride(SoState state)
Returns true ifSoPickStyleElement
is overridden.
-
setShininessOverride
public static void setShininessOverride(SoState state, SoNode name_18859, boolean override)
Set override flag for SoShininessElement.
-
getMaterialBindingOverride
public static boolean getMaterialBindingOverride(SoState state)
Returns true ifSoMaterialBindingElement
is overridden.
-
setTransparencyTypeOverride
public static void setTransparencyTypeOverride(SoState state, SoNode name_18868, boolean override)
Set override flag for SoTransparencyTypeElement.
-
getLinePatternOverride
public static boolean getLinePatternOverride(SoState state)
Returns true ifSoLinePatternElement
is overridden.
-
setTransparencyOverride
public static void setTransparencyOverride(SoState state, SoNode name_18865, boolean override)
Set override flag for SoTransparencyElement.
-
getLineWidthOverride
public static boolean getLineWidthOverride(SoState state)
Returns true ifSoLineWidthElement
is overridden.
-
setShapeHintsOverride
public static void setShapeHintsOverride(SoState state, SoNode name_18856, boolean override)
Set override flag forSoShapeHintsElement
.
-
getTransparencyOverride
public static boolean getTransparencyOverride(SoState state)
Returns true if SoTransparencyElement is overridden.
-
setMaterialBindingOverride
public static void setMaterialBindingOverride(SoState state, SoNode name_18847, boolean override)
Set override flag forSoMaterialBindingElement
.
-
getTransparencyTypeOverride
public static boolean getTransparencyTypeOverride(SoState state)
Returns true if SoTransparencyTypeElement is overridden.
-
setLineWidthOverride
public static void setLineWidthOverride(SoState state, SoNode name_18844, boolean override)
Set override flag forSoLineWidthElement
.
-
getSpecularColorOverride
public static boolean getSpecularColorOverride(SoState state)
Returns true if SoSpecularColorElement is overridden.
-
setPointSizeOverride
public static void setPointSizeOverride(SoState state, SoNode name_18853, boolean override)
Set override flag forSoPointSizeElement
.
-
getShapeHintsOverride
public static boolean getShapeHintsOverride(SoState state)
Returns true ifSoShapeHintsElement
is overridden.
-
setPickStyleOverride
public static void setPickStyleOverride(SoState state, SoNode name_18850, boolean override)
Set override flag forSoPickStyleElement
.
-
getShininessOverride
public static boolean getShininessOverride(SoState state)
Returns true if SoShininessElement is overridden.
-
-