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 9.3.0.0.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
getMetallicOverride(SoState state)
Returns true ifSoPhysicalMaterial.metallic
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
getRoughnessOverride(SoState state)
Returns true ifSoPhysicalMaterial.roughness
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
getSpecularFactorOverride(SoState state)
Returns true ifSoPhysicalMaterial.specular
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_18188, boolean override)
Set override flag for SoAmbientColorElement.static void
setBBoxTypeOverride(SoState state, SoNode name_18284, boolean override)
Set override flag forSoComplexity.bboxType
.static void
setColorIndexOverride(SoState state, SoNode name_18191, boolean override)
Set override flag for SoColorIndexElement.static void
setComplexityOverride(SoState state, SoNode name_18194, boolean override)
Set override flag forSoComplexityElement
.static void
setComplexityTypeOverride(SoState state, SoNode name_18197, boolean override)
Set override flag forSoComplexityTypeElement
.static void
setCreaseAngleOverride(SoState state, SoNode name_18200, boolean override)
Set override flag forSoCreaseAngleElement
.static void
setDepthBufferFunctionOverride(SoState state, SoNode name_18281, boolean override)
Set override flag forSoDepthBuffer.function
.static void
setDepthBufferRangeOverride(SoState state, SoNode name_18278, boolean override)
Set override flag forSoDepthBuffer.range
.static void
setDiffuseColorOverride(SoState state, SoNode name_18206, boolean override)
Set override flag for SoDiffuseColorElement.static void
setDrawStyleOverride(SoState state, SoNode name_18209, boolean override)
Set override flag forSoDrawStyleElement
.static void
setEmissiveColorOverride(SoState state, SoNode name_18212, boolean override)
Set override flag for SoEmissiveColorElement.static void
setEnvironmentOverride(SoState state, SoNode name_18266, boolean override)
Set override flag forSoEnvironmentElement
.static void
setFontNameOverride(SoState state, SoNode name_18215, boolean override)
Set override flag forSoFontNameElement
.static void
setFontRenderStyleOverride(SoState state, SoNode name_18221, boolean override)
Set override flag forSoFontRenderStyleElement
.static void
setFontSizeOverride(SoState state, SoNode name_18218, boolean override)
Set override flag forSoFontSizeElement
.static void
setFullSceneAntialiasingOverride(SoState state, SoNode name_18275, boolean override)
Set override flag forSoFullSceneAntialiasingElement
.static void
setLightModelOverride(SoState state, SoNode name_18224, boolean override)
Set override flag forSoLightModelElement
.static void
setLinePatternOverride(SoState state, SoNode name_18227, boolean override)
Set override flag forSoLinePatternElement
.static void
setLineWidthOverride(SoState state, SoNode name_18230, boolean override)
Set override flag forSoLineWidthElement
.static void
setMaterialBindingOverride(SoState state, SoNode name_18233, boolean override)
Set override flag forSoMaterialBindingElement
.static void
setMetallicOverride(SoState state, SoNode name_18254, boolean override)
Set override flag forSoPhysicalMaterial.metallic
.static void
setNeighborToleranceOverride(SoState state, SoNode name_18203, boolean override)
Set override flag forSoNeighborToleranceElement
.static void
setPatternOverride(SoState state, SoNode name_18272, boolean override)
Set override flag forSoPatternElement
.static void
setPickStyleOverride(SoState state, SoNode name_18236, boolean override)
Set override flag forSoPickStyleElement
.static void
setPointSizeOverride(SoState state, SoNode name_18239, boolean override)
Set override flag forSoPointSizeElement
.static void
setPolygonOffsetOverride(SoState state, SoNode name_18269, boolean override)
Set override flag forSoPolygonOffsetElement
.static void
setRoughnessOverride(SoState state, SoNode name_18251, boolean override)
Set override flag forSoPhysicalMaterial.roughness
.static void
setShapeHintsOverride(SoState state, SoNode name_18242, boolean override)
Set override flag forSoShapeHintsElement
.static void
setShininessOverride(SoState state, SoNode name_18245, boolean override)
Set override flag for SoShininessElement.static void
setSpecularColorOverride(SoState state, SoNode name_18257, boolean override)
Set override flag for SoSpecularColorElement.static void
setSpecularFactorOverride(SoState state, SoNode name_18248, boolean override)
Set override flag forSoPhysicalMaterial.specular
.static void
setTransparencyOverride(SoState state, SoNode name_18260, boolean override)
Set override flag for SoTransparencyElement.static void
setTransparencyTypeOverride(SoState state, SoNode name_18263, 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
-
setPatternOverride
public static void setPatternOverride(SoState state, SoNode name_18272, boolean override)
Set override flag forSoPatternElement
.
-
getEmissiveColorOverride
public static boolean getEmissiveColorOverride(SoState state)
Returns true if SoEmissiveColorElement is overridden.
-
getFontNameOverride
public static boolean getFontNameOverride(SoState state)
Returns true ifSoFontNameElement
is overridden.
-
setDepthBufferRangeOverride
public static void setDepthBufferRangeOverride(SoState state, SoNode name_18278, boolean override)
Set override flag forSoDepthBuffer.range
.
-
getFontSizeOverride
public static boolean getFontSizeOverride(SoState state)
Returns true ifSoFontSizeElement
is overridden.
-
setFullSceneAntialiasingOverride
public static void setFullSceneAntialiasingOverride(SoState state, SoNode name_18275, boolean override)
Set override flag forSoFullSceneAntialiasingElement
.
-
getLinePatternOverride
public static boolean getLinePatternOverride(SoState state)
Returns true ifSoLinePatternElement
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 ifSoLineWidthElement
is overridden.
-
setEnvironmentOverride
public static void setEnvironmentOverride(SoState state, SoNode name_18266, boolean override)
Set override flag forSoEnvironmentElement
.
-
getFontRenderStyleOverride
public static boolean getFontRenderStyleOverride(SoState state)
Returns true ifSoFontRenderStyleElement
is overridden.
-
setPolygonOffsetOverride
public static void setPolygonOffsetOverride(SoState state, SoNode name_18269, boolean override)
Set override flag forSoPolygonOffsetElement
.
-
getLightModelOverride
public static boolean getLightModelOverride(SoState state)
Returns true ifSoLightModelElement
is overridden.
-
getNeighborToleranceOverride
public static boolean getNeighborToleranceOverride(SoState state)
Returns true ifSoNeighborToleranceElement
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.
-
getAmbientColorOverride
public static boolean getAmbientColorOverride(SoState state)
Returns true if SoAmbientColorElement is overridden.
-
getComplexityOverride
public static boolean getComplexityOverride(SoState state)
Returns true ifSoComplexityElement
is overridden.
-
getComplexityTypeOverride
public static boolean getComplexityTypeOverride(SoState state)
Returns true ifSoComplexityTypeElement
is overridden.
-
getCreaseAngleOverride
public static boolean getCreaseAngleOverride(SoState state)
Returns true ifSoCreaseAngleElement
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. ] *
-
setBBoxTypeOverride
public static void setBBoxTypeOverride(SoState state, SoNode name_18284, boolean override)
Set override flag forSoComplexity.bboxType
.
-
getDrawStyleOverride
public static boolean getDrawStyleOverride(SoState state)
Returns true ifSoDrawStyleElement
is overridden.
-
setDepthBufferFunctionOverride
public static void setDepthBufferFunctionOverride(SoState state, SoNode name_18281, boolean override)
Set override flag forSoDepthBuffer.function
.
-
setComplexityTypeOverride
public static void setComplexityTypeOverride(SoState state, SoNode name_18197, boolean override)
Set override flag forSoComplexityTypeElement
.
-
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 ifSoPatternElement
is overriden.
-
setFontRenderStyleOverride
public static void setFontRenderStyleOverride(SoState state, SoNode name_18221, boolean override)
Set override flag forSoFontRenderStyleElement
.
-
setFontSizeOverride
public static void setFontSizeOverride(SoState state, SoNode name_18218, boolean override)
Set override flag forSoFontSizeElement
.
-
setFontNameOverride
public static void setFontNameOverride(SoState state, SoNode name_18215, boolean override)
Set override flag forSoFontNameElement
.
-
getFullSceneAntialiasingOverride
public static boolean getFullSceneAntialiasingOverride(SoState state)
Returns true ifSoFullSceneAntialiasingElement
is overridden.
-
setLinePatternOverride
public static void setLinePatternOverride(SoState state, SoNode name_18227, boolean override)
Set override flag forSoLinePatternElement
.
-
getTransparencyTypeOverride
public static boolean getTransparencyTypeOverride(SoState state)
Returns true if SoTransparencyTypeElement is overridden.
-
getEnvironmentOverride
public static boolean getEnvironmentOverride(SoState state)
Returns true ifSoEnvironmentElement
is overridden.
-
getPolygonOffsetOverride
public static boolean getPolygonOffsetOverride(SoState state)
Returns true ifSoPolygonOffsetElement
is overridden.
-
setLightModelOverride
public static void setLightModelOverride(SoState state, SoNode name_18224, boolean override)
Set override flag forSoLightModelElement
.
-
getDepthBufferRangeOverride
public static boolean getDepthBufferRangeOverride(SoState state)
Returns true ifSoDepthBuffer.range
is overridden.
-
setNeighborToleranceOverride
public static void setNeighborToleranceOverride(SoState state, SoNode name_18203, boolean override)
Set override flag forSoNeighborToleranceElement
.
-
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 forSoComplexityElement
.
-
setCreaseAngleOverride
public static void setCreaseAngleOverride(SoState state, SoNode name_18200, boolean override)
Set override flag forSoCreaseAngleElement
.
-
getDepthBufferFunctionOverride
public static boolean getDepthBufferFunctionOverride(SoState state)
Returns true ifSoDepthBuffer.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 forSoDrawStyleElement
.
-
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.
-
setRoughnessOverride
public static void setRoughnessOverride(SoState state, SoNode name_18251, boolean override)
Set override flag forSoPhysicalMaterial.roughness
.
-
getPickStyleOverride
public static boolean getPickStyleOverride(SoState state)
Returns true ifSoPickStyleElement
is overridden.
-
getShapeHintsOverride
public static boolean getShapeHintsOverride(SoState state)
Returns true ifSoShapeHintsElement
is overridden.
-
getShininessOverride
public static boolean getShininessOverride(SoState state)
Returns true if SoShininessElement is overridden.
-
setSpecularFactorOverride
public static void setSpecularFactorOverride(SoState state, SoNode name_18248, boolean override)
Set override flag forSoPhysicalMaterial.specular
.
-
getMaterialBindingOverride
public static boolean getMaterialBindingOverride(SoState state)
Returns true ifSoMaterialBindingElement
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.
-
setMetallicOverride
public static void setMetallicOverride(SoState state, SoNode name_18254, boolean override)
Set override flag forSoPhysicalMaterial.metallic
.
-
getPointSizeOverride
public static boolean getPointSizeOverride(SoState state)
Returns true ifSoPointSizeElement
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 forSoPickStyleElement
.
-
setMaterialBindingOverride
public static void setMaterialBindingOverride(SoState state, SoNode name_18233, boolean override)
Set override flag forSoMaterialBindingElement
.
-
setLineWidthOverride
public static void setLineWidthOverride(SoState state, SoNode name_18230, boolean override)
Set override flag forSoLineWidthElement
.
-
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 forSoShapeHintsElement
.
-
getSpecularFactorOverride
public static boolean getSpecularFactorOverride(SoState state)
Returns true ifSoPhysicalMaterial.specular
is overridden.
-
getRoughnessOverride
public static boolean getRoughnessOverride(SoState state)
Returns true ifSoPhysicalMaterial.roughness
is overridden.
-
getMetallicOverride
public static boolean getMetallicOverride(SoState state)
Returns true ifSoPhysicalMaterial.metallic
is overridden.
-
setPointSizeOverride
public static void setPointSizeOverride(SoState state, SoNode name_18239, boolean override)
Set override flag forSoPointSizeElement
.
-
-