SoElement Class Reference
[Elements]

Abstract base class for all state elements. More...

#include <Inventor/elements/SoElement.h>

Inheritance diagram for SoElement:
SoTypedObject SoAccumulatedElement SoCacheElement SoDepthBufferElement SoFloatElement SoFullSceneAntialiasingElement SoGLRenderPassElement SoGLUpdateAreaElement SoInt32Element SoInt32ListElement SoInteractionElement SoLazyElement SoLocalBBoxMatrixElement SoLogicalViewportElement SoModifyLogicalViewportElement SoModifyViewVolumeElement SoOverrideElement SoPickRayElement SoReplacedElement SoReplacedTextureElement SoShapeHintsElement SoShapeStyleElement SoStereoElement SoTextureOverrideElement SoViewportRegionElement SoWindowElement

List of all members.

Public Member Functions

virtual void push (SoState *state)
virtual void pop (SoState *state, const SoElement *prevTopElement)
virtual void print (FILE *fp) const
virtual SoType getTypeId () const

Static Public Member Functions

static SoType getClassTypeId ()

Friends

class SoState
class SoCache
class SoBoundingBoxCache
class SoGLCacheListImpl
class SoGLViewingMatrixElement

Detailed Description

Abstract base class for all state elements.

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 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


Member Function Documentation

static SoType SoElement::getClassTypeId (  )  [static]

Returns type identifier for SoElement class.

Reimplemented from SoTypedObject.

Reimplemented in SoAccumulatedElement, SoAnnoText3CharOrientElement, SoAnnoText3FontSizeHintElement, SoAnnoText3RenderPrintElement, SoBBoxModelMatrixElement, SoBBoxTypeElement, SoBevelPropertyElement, SoBumpMappingPropertyElement, SoCacheElement, SoClipPlaneElement, SoColorMapElement, SoComplexityElement, SoComplexityTypeElement, SoCoordinateElement, SoCreaseAngleElement, SoDecimationPercentageElement, SoDecimationTypeElement, SoDepthBufferElement, SoDepthOffsetElement, SoDrawBufferElement, SoDrawStyleElement, SoEdgeFlagElement, SoEnvironmentElement, SoFloatElement, SoFocalDistanceElement, SoFontNameElement, SoFontRenderStyleElement, SoFontSizeElement, SoFullSceneAntialiasingElement, SoGeoOriginElement, SoGeoRenderElement, SoGLClipPlaneElement, SoGLColorMapElement, SoGLCoordinateElement, SoGLDepthBufferElement, SoGLDrawBufferElement, SoGLDrawStyleElement, SoGLEnvironmentElement, SoGLExtTextureImageElement, SoGLFullSceneAntialiasingElement, SoGLLazyElement, SoGLLightIdElement, SoGLLinePatternElement, SoGLLineWidthElement, SoGLModelMatrixElement, SoGLNormalElement, SoGLPatternElement, SoGLPointSizeElement, SoGLPolygonOffsetElement, SoGLProjectionMatrixElement, SoGLRenderPassElement, SoGLShaderProgramElement, SoGLShadowStyleElement, SoGLShapeHintsElement, SoGLTexture3EnabledElement, SoGLTextureCombinerElement, SoGLTextureCoordinate3Element, SoGLTextureCoordinateElement, SoGLTextureCubeMapEnabledElement, SoGLTextureEnabledElement, SoGLTextureImage3Element, SoGLTextureImageElement, SoGLTextureMatrixElement, SoGLTextureUnitElement, SoGLTransparencyTypeElement, SoGLUniformShaderParameterElement, SoGLUpdateAreaElement, SoGLViewingMatrixElement, SoGLViewportRegionElement, SoInt32Element, SoInt32ListElement, SoInteractionElement, SoInteractiveComplexityElement, SoInteractiveSwitchElement, SoLazyElement, SoLightAttenuationElement, SoLightElement, SoLinePatternElement, SoLineWidthElement, SoLocalBBoxMatrixElement, SoLogicalViewportElement, SoMaterialBindingElement, SoModelMatrixElement, SoModifyLogicalViewportElement, SoModifyViewVolumeElement, SoMultipleInstanceElement, SoMultiSwitchElement, SoNeighborToleranceElement, SoNormalBindingElement, SoNormalElement, SoNurbsPropertyElement, SoOverrideElement, SoPatternElement, SoPickMethodElement, SoPickRayElement, SoPickStyleElement, SoPointSizeElement, SoPolygonOffsetElement, SoProfileCoordinateElement, SoProfileElement, SoProjectionMatrixElement, SoRenderObjectListElement, SoReplacedElement, SoReplacedTextureElement, SoShaderProgramElement, SoShapeHintsElement, SoShapeStyleElement, SoStereoElement, SoSwitchElement, SoTextAliasingFactorElement, SoTextAlignmentHElement, SoTextAlignmentVElement, SoTextBackFrameLineWidthElement, SoTextKerningElement, SoTextMarginElement, SoTextOrientationElement, SoTextOutlineEnabledElement, SoTextStyleColorsElement, SoTextStyleElement, SoTextTextureQualityRangeElement, SoTexture3EnabledElement, SoTextureCombinerElement, SoTextureCoordinate3Element, SoTextureCoordinateBindingElement, SoTextureCoordinateElement, SoTextureCubeMapEnabledElement, SoTextureEnabledElement, SoTextureImage3Element, SoTextureImageElement, SoTextureImageElementBase, SoTextureMatrixElement, SoTextureNameElement, SoTextureQualityElement, SoTextureOverrideElement, SoTextureSendingEnabledElement, SoTextureTransformElement, SoTextureUnitElement, SoTransparencyTypeElement, SoUniformShaderParameterElement, SoUnitsElement, SoVertexFlagElement, SoVertexShaderParameterElement, SoViewingMatrixElement, SoViewportRegionElement, SoViewVolumeElement, SoWindowElement, SoDataCompositorElement, SoDataRangeElement, SoDataSetElement, SoDataSetIdElement, SoGeometryPriorityElement, SoROIElement, SoTimeHintsElement, SoTransferFunctionElement, PoBevelEdgeElement, PoCellFilterElement, PoDataMappingElement, PoDateFormatMappingElement, PoDomainElement, PoIsovaluesListElement, PoLabelHintsElement, PoMesh1DFilterElement, PoMesh1DHintsElement, PoMeshElement, PoMiscTextAttrElement, PoNumericDisplayFormatElement, PoProfileElement, MoCellFilterElement, MoColorMappingElement, MoCombineColorMappingElement, MoDataBindingElement, MoDrawStyleElement, MoMaterialElement, MoMeshElement, MoScalarSetElement, MoScalarSetElementI, MoScalarSetElementIj, MoScalarSetElementIjk, MoTessellatorElement, MoVec3SetElementI, MoVec3SetElementIj, MoVec3SetElementIjk, SoUniformGridClippingElement, SoVolumeClippingGroupElement, SoVolumeGroupElement, SoVolumeRenderingQualityElement, and SoVolumeTransformElement.

virtual SoType SoElement::getTypeId (  )  const [inline, virtual]

Returns type identifier for element instance.

Implements SoTypedObject.

virtual void SoElement::pop ( SoState state,
const SoElement prevTopElement 
) [virtual]

Pops element.

Allows for side effects to occur. Default methods do nothing.

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

Prints element (for debugging).

Reimplemented in SoAccumulatedElement, SoBBoxTypeElement, SoBevelPropertyElement, SoClipPlaneElement, SoComplexityTypeElement, SoCoordinateElement, SoCreaseAngleElement, SoDecimationTypeElement, SoDepthBufferElement, SoDrawBufferElement, SoDrawStyleElement, SoEdgeFlagElement, SoFontNameElement, SoFontRenderStyleElement, SoGeoOriginElement, SoGeoRenderElement, SoGLLightIdElement, SoGLRenderPassElement, SoGLUpdateAreaElement, SoLightAttenuationElement, SoLinePatternElement, SoLocalBBoxMatrixElement, SoLogicalViewportElement, SoMaterialBindingElement, SoModelMatrixElement, SoModifyLogicalViewportElement, SoNeighborToleranceElement, SoNormalBindingElement, SoNormalElement, SoOverrideElement, SoPickMethodElement, SoPickRayElement, SoPickStyleElement, SoProfileCoordinateElement, SoProfileElement, SoProjectionMatrixElement, SoReplacedElement, SoReplacedTextureElement, SoShapeHintsElement, SoTextAliasingFactorElement, SoTextAlignmentHElement, SoTextAlignmentVElement, SoTextBackFrameLineWidthElement, SoTextMarginElement, SoTextOrientationElement, SoTextureCoordinate3Element, SoTextureCoordinateBindingElement, SoTextureCoordinateElement, SoTextureImageElementBase, SoTextureMatrixElement, SoTextureNameElement, SoTextureOverrideElement, SoTransparencyTypeElement, SoUnitsElement, SoVertexFlagElement, SoViewingMatrixElement, SoViewportRegionElement, SoViewVolumeElement, MoCellFilterElement, MoColorMappingElement, MoCombineColorMappingElement, MoDataBindingElement, MoDrawStyleElement, MoMaterialElement, MoMeshElement, and MoTessellatorElement.

virtual void SoElement::push ( SoState state  )  [virtual]

Pushes element.

Allows for side effects to occur. Default methods do nothing.

Reimplemented in SoAccumulatedElement, SoBBoxModelMatrixElement, SoClipPlaneElement, SoDepthBufferElement, SoDepthOffsetElement, SoEnvironmentElement, SoFontSizeElement, SoFullSceneAntialiasingElement, SoGLColorMapElement, SoGLDepthBufferElement, SoGLDrawBufferElement, SoGLDrawStyleElement, SoGLEnvironmentElement, SoGLFullSceneAntialiasingElement, SoGLLazyElement, SoGLLightIdElement, SoGLLinePatternElement, SoGLModelMatrixElement, SoGLPatternElement, SoGLPointSizeElement, SoGLPolygonOffsetElement, SoGLShadowStyleElement, SoGLShapeHintsElement, SoGLTextureCombinerElement, SoGLTextureCoordinate3Element, SoGLTextureCoordinateElement, SoGLTextureImage3Element, SoGLTextureImageElement, SoGLTransparencyTypeElement, SoGLUpdateAreaElement, SoGLViewingMatrixElement, SoGLViewportRegionElement, SoInteractiveComplexityElement, SoLazyElement, SoLightElement, SoLocalBBoxMatrixElement, SoModelMatrixElement, SoOverrideElement, SoPatternElement, SoPolygonOffsetElement, SoProfileElement, SoRenderObjectListElement, SoReplacedTextureElement, SoShaderProgramElement, SoShapeHintsElement, SoShapeStyleElement, SoTexture3EnabledElement, SoTextureCombinerElement, SoTextureCoordinate3Element, SoTextureCoordinateBindingElement, SoTextureCoordinateElement, SoTextureCubeMapEnabledElement, SoTextureEnabledElement, SoTextureImageElementBase, SoTextureMatrixElement, SoTextureOverrideElement, SoTextureTransformElement, SoTextureUnitElement, SoUniformShaderParameterElement, SoVertexShaderParameterElement, SoWindowElement, SoDataRangeElement, SoDataSetElement, SoTransferFunctionElement, MoScalarSetElement, MoScalarSetElementI, MoScalarSetElementIj, MoScalarSetElementIjk, MoVec3SetElementI, MoVec3SetElementIj, MoVec3SetElementIjk, SoUniformGridClippingElement, SoVolumeClippingGroupElement, and SoVolumeTransformElement.


Friends And Related Function Documentation

friend class SoBoundingBoxCache [friend]
friend class SoCache [friend]
friend class SoGLCacheListImpl [friend]
friend class SoGLViewingMatrixElement [friend]
friend class SoState [friend]

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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/