Class SoReplacedElement

Direct Known Subclasses:
MoCellFilterElement, MoColorMappingElement, MoDataBindingElement, MoDrawStyleElement, MoMaterialElement, MoMeshElement, PoBevelEdgeElement, PoCellFilterElement, PoDataMappingElement, PoDateFormatMappingElement, PoDomainElement, PoIsovaluesListElement, PoLabelHintsElement, PoMesh1DFilterElement, PoMesh1DHintsElement, PoMeshElement, PoMiscTextAttrElement, PoNumericDisplayFormatElement, PoProfileElement, SoBevelPropertyElement, SoColorMapElement, SoCoordinateElement, SoDataCompositorElement, SoDataSetElement, SoDataSetIdElement, SoEdgeFlagElement, SoEnvironmentElement, SoFontNameElement, SoGeometryPriorityElement, SoGeoOriginElement, SoLightAttenuationElement, SoLinePatternElement, SoMaterialElement, SoMultipleInstanceElement, SoNormalElement, SoNurbsPropertyElement, SoPatternElement, SoPolygonOffsetElement, SoProfileCoordinateElement, SoProjectionElement, SoProjectionMatrixElement, SoROIElement, SoShaderProgramElement, SoTangentElement, SoTextStyleColorsElement, SoTextTextureQualityRangeElement, SoTextureNameElement, SoVertexFlagElement, SoViewingMatrixElement, SoViewVolumeElement, SoVolumeClippingGroupElement, SoVolumeGroupElement, SoVolumeRenderingQualityElement

public class SoReplacedElement extends SoElement
Abstract base class for each state element whose value is replaced whenever it is set. This is the abstract base class for each state element whose value is replaced whenever it is set. (Most state elements fall into this category, so most are derived from this class.)

This class overrides the SoElement.getElement() method to store the node-id of the node that is about to set the value in the element (i.e., the node that is passed to getElement()). This class also defines the SoElement.matches() method to return true if the node-id's of the two elements match. Subclasses can change this behavior by defining matches() differently, if they wish. For example, they can compare the elements' values, instead.

  • Method Details

    • 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. ] *