Click or drag to resize
SoLazyElement Class

Note: This API is now obsolete.

Manages several properties that need to be lazily tracked for OpenGL.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoLazyElement
        OIV.Inventor.ElementsSoGLLazyElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
[ObsoleteAttribute("Obsolete since Open Inventor 10000. Use #SoMaterialElement, #SoBlendElement or #SoLightModelElement instead.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public class SoLazyElement : SoElement

The SoLazyElement type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetAmbient
Public methodStatic memberGetBlending
Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodStatic memberGetColorIndex
Public methodStatic memberGetColorIndices

Public methodStatic memberGetColorMaterial
Public methodStatic memberGetDefaultAmbient

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultAmbientIntensity

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultColorIndex

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultDiffuse

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultEmissive

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultLightModel

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultLineWidth

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultPacked

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultPackedInternal

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultShininess

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultSpecular

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDefaultTransparency

Specify Open Inventor defaults for colors, etc.

Public methodStatic memberGetDiffuse

get() methods get value from Inventor state.

Public methodStatic memberGetEmissive
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodStatic memberGetInstance

Returns the top (current) instance of the element in the state Note that the cache dependencies associated with this element are managed differently from other elements: this replaces the SoElement.getConstElement that is used by standard elements, but which causes cache dependency.

Public methodStatic memberGetLightModel
Public methodGetNumColorIndices

Method to inquire about current colors.

Public methodGetNumDiffuse

Method to inquire about current colors.

Public methodGetNumTransparencies

Method to inquire about current colors.

Public methodStatic memberGetPackedColors

Public methodStatic memberGetShininess
Public methodStatic memberGetSmoothing
Public methodStatic memberGetSpecular
Public methodStatic memberGetTransparency

get() methods get value from Inventor state.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsPacked

Method to inquire about current colors.

Public methodIsTransparent

Method to inquire about current colors.

Public methodPop

Pops element.

(Inherited from SoElement.)
Public methodPush

push (for non-GL elements)

(Overrides SoElementPush(SoState).)
Public methodStatic memberSetAmbient
Public methodStatic memberSetBlending
Public methodStatic memberSetColorIndices

Static set method.

Public methodStatic memberSetColorMaterial
Public methodStatic memberSetDiffuse

Static set method.

Public methodStatic memberSetEmissive
Public methodStatic memberSetLightModel
Public methodStatic memberSetPacked

Static set method.

Public methodStatic memberSetShininess
Public methodStatic memberSetSmoothing
Public methodStatic memberSetSpecular
Public methodStatic memberSetTransparency

Static set method.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This element manages several properties such as colors, that need to be lazily tracked for OpenGL. Allows Open Inventor property nodes to set these properties without immediately making any OpenGL calls. Thus we avoid making redundant OpenGL calls to set, for example, the material color. Open Inventor rendering nodes then request that the values of any properties that are relevant to that shape and "out of date" (not current with OpenGL state) be sent to OpenGL.

Includes: Transparencies GLColorMaterial GLBlendEnablement PolygonStipple Light model Color index Line width

See Also