Click or drag to resize
SoAccumulatedElement Class

Abstract base class for each state element whose value may be accumulated when it is set.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoAccumulatedElement
        More...

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoAccumulatedElement : SoElement

The SoAccumulatedElement 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 memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Pops element.

(Inherited from SoElement.)
Public methodPush

Pushes element.

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

This is the abstract base class for each state element whose value may be accumulated when it is set. (This is rare.) Examples are transformations and profiles.

Subclasses may need to override the OIV.Inventor.Elements.SoAccumulatedElement.Push(OIV.Inventor.Misc.SoState) method to copy values from the next instance in the stack (using getNextInStack() ), if the new one has to accumulate values on top of the old ones.

This class defines the matches() method to compare lists of node-id's. The node-id's represent the states of all nodes that changed the value of the element. OIV.Inventor.Elements.SoAccumulatedElement provides methods that maintain lists of node-id's of all nodes that affect an instance. Subclasses must call these methods to make sure the id's are up to date, if they plan to use the standard matches() method. Otherwise, they can define matches() differently, if they wish.

See Also
Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoAccumulatedElement
        OIV.Inventor.ElementsSoClipPlaneElement
        OIV.Inventor.ElementsSoInteractiveComplexityElement
        OIV.Inventor.ElementsSoLightElement
        OIV.Inventor.ElementsSoModelMatrixElement
        OIV.Inventor.ElementsSoProfileElement
        OIV.Inventor.ElementsSoTextureMatrixElement
        OIV.Inventor.ElementsSoTextureUnitElement
        OIV.Inventor.ElementsSoUniformShaderParameterElement
        OIV.Inventor.ElementsSoVertexShaderParameterElement
        OIV.LDM.ElementsSoDataRangeElement
        OIV.LDM.ElementsSoTransferFunctionElement
        OIV.VolumeViz.ElementsSoUniformGridClippingElement
        OIV.VolumeViz.ElementsSoVolumeTransformElement