Abstract base class for each state element whose value is replaced whenever it is set. More...
#include <Inventor/elements/SoReplacedElement.h>
Public Member Functions | |
virtual void | print (FILE *fp) const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
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.
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] |
Prints element (for debugging).
Reimplemented from SoElement.
Reimplemented in SoBevelPropertyElement, SoCoordinateElement, SoEdgeFlagElement, SoFontNameElement, SoGeoOriginElement, SoLightAttenuationElement, SoLinePatternElement, SoNormalElement, SoProfileCoordinateElement, SoProjectionMatrixElement, SoTextureNameElement, SoVertexFlagElement, SoViewingMatrixElement, SoViewVolumeElement, MoCellFilterElement, MoColorMappingElement, MoCombineColorMappingElement, MoDataBindingElement, MoDrawStyleElement, MoMaterialElement, MoMeshElement, and MoTessellatorElement.