SoReplacedElement Class Reference
[Elements]

Abstract base class for each state element whose value is replaced whenever it is set. More...

#include <Inventor/elements/SoReplacedElement.h>

Inheritance diagram for SoReplacedElement:
SoElement SoTypedObject MoCellFilterElement MoColorMappingElement MoCombineColorMappingElement MoDataBindingElement MoDrawStyleElement MoMaterialElement MoMeshElement MoTessellatorElement PoBevelEdgeElement PoCellFilterElement PoDataMappingElement PoDateFormatMappingElement PoDomainElement PoIsovaluesListElement PoLabelHintsElement PoMesh1DFilterElement PoMesh1DHintsElement PoMeshElement PoMiscTextAttrElement PoNumericDisplayFormatElement PoProfileElement SoBevelPropertyElement SoBumpMappingPropertyElement SoColorMapElement SoCoordinateElement SoDataCompositorElement SoDataSetElement SoDataSetIdElement SoEdgeFlagElement SoEnvironmentElement SoFontNameElement SoGeometryPriorityElement SoGeoOriginElement SoGLExtTextureImageElement SoLightAttenuationElement SoLinePatternElement SoMultipleInstanceElement SoNormalElement SoNurbsPropertyElement SoPatternElement SoPolygonOffsetElement SoProfileCoordinateElement SoProjectionMatrixElement SoRenderObjectListElement SoROIElement SoShaderProgramElement SoTextStyleColorsElement SoTextTextureQualityRangeElement SoTextureNameElement SoTimeHintsElement SoVertexFlagElement SoViewingMatrixElement SoViewVolumeElement SoVolumeClippingGroupElement SoVolumeGroupElement SoVolumeRenderingQualityElement

List of all members.

Public Member Functions

virtual void print (FILE *fp) const

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()

Detailed Description

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.

SEE ALSO


Member Function Documentation

static int SoReplacedElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoElement.

Reimplemented in SoBevelPropertyElement, SoBumpMappingPropertyElement, SoColorMapElement, SoCoordinateElement, SoEdgeFlagElement, SoEnvironmentElement, SoFontNameElement, SoGeoOriginElement, SoGLColorMapElement, SoGLCoordinateElement, SoGLEnvironmentElement, SoGLExtTextureImageElement, SoGLLinePatternElement, SoGLNormalElement, SoGLPatternElement, SoGLPolygonOffsetElement, SoGLProjectionMatrixElement, SoGLShaderProgramElement, SoGLViewingMatrixElement, SoLightAttenuationElement, SoLinePatternElement, SoMultipleInstanceElement, SoNormalElement, SoNurbsPropertyElement, SoPatternElement, SoPolygonOffsetElement, SoProfileCoordinateElement, SoProjectionMatrixElement, SoRenderObjectListElement, SoShaderProgramElement, SoTextStyleColorsElement, SoTextTextureQualityRangeElement, SoTextureNameElement, SoVertexFlagElement, SoViewingMatrixElement, SoViewVolumeElement, SoDataCompositorElement, SoDataSetElement, SoDataSetIdElement, SoGeometryPriorityElement, SoROIElement, SoTimeHintsElement, PoBevelEdgeElement, PoCellFilterElement, PoDataMappingElement, PoDateFormatMappingElement, PoDomainElement, PoIsovaluesListElement, PoLabelHintsElement, PoMesh1DFilterElement, PoMesh1DHintsElement, PoMeshElement, PoMiscTextAttrElement, PoNumericDisplayFormatElement, PoProfileElement, MoCellFilterElement, MoColorMappingElement, MoCombineColorMappingElement, MoDataBindingElement, MoDrawStyleElement, MoMaterialElement, MoMeshElement, MoTessellatorElement, SoVolumeClippingGroupElement, SoVolumeGroupElement, and SoVolumeRenderingQualityElement.

static SoType SoReplacedElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoElement.

Reimplemented in SoBevelPropertyElement, SoBumpMappingPropertyElement, SoColorMapElement, SoCoordinateElement, SoEdgeFlagElement, SoEnvironmentElement, SoFontNameElement, SoGeoOriginElement, SoGLColorMapElement, SoGLCoordinateElement, SoGLEnvironmentElement, SoGLExtTextureImageElement, SoGLLinePatternElement, SoGLNormalElement, SoGLPatternElement, SoGLPolygonOffsetElement, SoGLProjectionMatrixElement, SoGLShaderProgramElement, SoGLViewingMatrixElement, SoLightAttenuationElement, SoLinePatternElement, SoMultipleInstanceElement, SoNormalElement, SoNurbsPropertyElement, SoPatternElement, SoPolygonOffsetElement, SoProfileCoordinateElement, SoProjectionMatrixElement, SoRenderObjectListElement, SoShaderProgramElement, SoTextStyleColorsElement, SoTextTextureQualityRangeElement, SoTextureNameElement, SoVertexFlagElement, SoViewingMatrixElement, SoViewVolumeElement, SoDataCompositorElement, SoDataSetElement, SoDataSetIdElement, SoGeometryPriorityElement, SoROIElement, SoTimeHintsElement, PoBevelEdgeElement, PoCellFilterElement, PoDataMappingElement, PoDateFormatMappingElement, PoDomainElement, PoIsovaluesListElement, PoLabelHintsElement, PoMesh1DFilterElement, PoMesh1DHintsElement, PoMeshElement, PoMiscTextAttrElement, PoNumericDisplayFormatElement, PoProfileElement, MoCellFilterElement, MoColorMappingElement, MoCombineColorMappingElement, MoDataBindingElement, MoDrawStyleElement, MoMaterialElement, MoMeshElement, MoTessellatorElement, SoVolumeClippingGroupElement, SoVolumeGroupElement, and SoVolumeRenderingQualityElement.

virtual void SoReplacedElement::print ( FILE *  fp  )  const [virtual]

The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/