SoAccumulatedElement Class |
Abstract base class for each state element whose value may be accumulated when it is set.
Namespace: OIV.Inventor.Elements
The SoAccumulatedElement type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetClassStackIndex | Obsolete. Returns the stack id for this element. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Pop | Pops element. | |
Push | Pushes element. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.