Click or drag to resize
SoElement Class

Abstract base class for all state elements.

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

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

The SoElement 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 memberGetClassStackIndexE
Returns the stack id for the element type.
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Pops element.

Public methodPush

Pushes element.

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

This is the abstract base class for all state elements. This class defines the following features for all of its derived classes:

Type identifiers: Each class of element has a unique (static) SoType identifier. The correct type id is also stored in each instance for easy access.

Copying: Elements are copied into the list of elements used in an OIV.Inventor.Caches.SoCache. Performing any operation other than matches() on a copied element is not guaranteed to work (and will not work for things like Coordinates, if the coordinate they were pointing to has been deleted).

Stack indices: Since a subclass of an element class needs to be in the same state stack as the class from which it is derived, stack indices are inherited.

Capturing: Each time an element's value is accessed, that element is added to the elements-used list of all currently open caches.

See Also
Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoAccumulatedElement
      OIV.Inventor.ElementsSoBBoxCacheElement
      OIV.Inventor.ElementsSoBlendElement
      OIV.Inventor.ElementsSoCacheElement
      OIV.Inventor.ElementsSoDepthBufferElement
      OIV.Inventor.ElementsSoFloatElement
      OIV.Inventor.ElementsSoFullSceneAntialiasingElement
      OIV.Inventor.ElementsSoInt32Element
      OIV.Inventor.ElementsSoInt32ListElement
      OIV.Inventor.ElementsSoInteractionElement
      OIV.Inventor.ElementsSoLazyElement
      OIV.Inventor.ElementsSoLightModelElement
      OIV.Inventor.ElementsSoLocalBBoxMatrixElement
      OIV.Inventor.ElementsSoLogicalViewportElement
      OIV.Inventor.ElementsSoLogicOperationElement
      OIV.Inventor.ElementsSoModifyLogicalViewportElement
      OIV.Inventor.ElementsSoModifyViewVolumeElement
      OIV.Inventor.ElementsSoOverrideElement
      OIV.Inventor.ElementsSoPickRayElement
      OIV.Inventor.ElementsSoReplacedElement
      OIV.Inventor.ElementsSoReplacedTextureElement
      OIV.Inventor.ElementsSoShapeHintsElement
      OIV.Inventor.ElementsSoShapeStyleElement
      OIV.Inventor.ElementsSoStereoElement
      OIV.Inventor.ElementsSoTextureOverrideElement
      OIV.Inventor.ElementsSoUpdateAreaElement
      OIV.Inventor.ElementsSoViewportRegionElement
      OIV.Inventor.ElementsSoWindowElement