Class SoAccumulatedElement

Direct Known Subclasses:
MoCellRangesElement, MoScalarSetElementI, MoScalarSetElementIj, MoScalarSetElementIjk, MoStringSetElement, MoVec3SetElementI, MoVec3SetElementIj, MoVec3SetElementIjk, SoClipPlaneElement, SoDataRangeElement, SoInteractiveComplexityElement, SoLightElement, SoModelMatrixElement, SoProfileElement, SoTextureMatrixElement, SoTextureUnitElement, SoTransferFunctionElement, SoUniformGridClippingElement, SoUniformShaderParameterElement, SoVertexShaderParameterElement, SoVolumeTransformElement

public class SoAccumulatedElement extends SoElement
Abstract base class for each state element whose value may be accumulated when it is set. 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 push() 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. 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.

Referenced classes go here.

  • Method Details

    • push

      public void push(SoState name_7945)
      Pushes element. Allows for side effects to occur. Default methods do nothing.
      Overrides:
      push in class SoElement
    • 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. ] *