SoAccumulatedElement Class Reference
[Elements]

Abstract base class for each state element whose value may be accumulated when it is set. More...

#include <Inventor/elements/SoAccumulatedElement.h>

Inheritance diagram for SoAccumulatedElement:
SoElement SoTypedObject MoScalarSetElement MoScalarSetElementI MoScalarSetElementIj MoScalarSetElementIjk MoVec3SetElementI MoVec3SetElementIj MoVec3SetElementIjk SoClipPlaneElement SoDataRangeElement SoInteractiveComplexityElement SoLightElement SoModelMatrixElement SoProfileElement SoTextureMatrixElement SoTextureUnitElement SoTransferFunctionElement SoUniformGridClippingElement SoUniformShaderParameterElement SoVertexShaderParameterElement SoVolumeTransformElement

List of all members.

Public Member Functions

virtual void push (SoState *)
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 may be accumulated when it is set.

This is the abstract base class for each state element whose value may be accumulated when it is set. (This is rare.) Examples are transformations and profiles.

Subclasses may need to override the push() method to copy values from the next instance in the stack (using getNextInStack() ), if the new one has to accumulate values on top of the old ones.

This class defines the matches() method to compare lists of node-id's. The node-id's represent the states of all nodes that changed the value of the element. SoAccumulatedElement provides methods that maintain lists of node-id's of all nodes that affect an instance. Subclasses must call these methods to make sure the id's are up to date, if they plan to use the standard matches() method. Otherwise, they can define matches() differently, if they wish.

SEE ALSO

Referenced classes go here.


Member Function Documentation

static int SoAccumulatedElement::getClassStackIndex (  )  [static]
static SoType SoAccumulatedElement::getClassTypeId (  )  [static]
virtual void SoAccumulatedElement::print ( FILE *  fp  )  const [virtual]

Prints element (for debugging).

Reimplemented from SoElement.

Reimplemented in SoClipPlaneElement, SoModelMatrixElement, SoProfileElement, and SoTextureMatrixElement.

virtual void SoAccumulatedElement::push ( SoState  )  [virtual]

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

Open Inventor Toolkit reference manual, generated on 16 Jul 2020
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/