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 |
Prints element (for debugging). | |
Public Member Functions inherited from SoElement | |
virtual void | push (SoState *state) |
Pushes element. | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Pops element. | |
virtual SoType | getTypeId () const |
Returns type identifier for element instance. | |
Public Member Functions inherited from SoTypedObject | |
SbBool | isOfType (const SoType &type) const |
Returns TRUE if this object is of the type specified in type or is derived from that type. | |
template<typename TypedObjectClass > | |
SbBool | isOfType () const |
Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class. | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
static int | getClassStackIndex () |
Returns the stack id for this element. | |
Static Public Member Functions inherited from SoElement | |
static SoType | getClassTypeId () |
Returns type identifier for SoElement class. | |
Static Public Member Functions inherited from SoTypedObject | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
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.
Definition at line 77 of file SoReplacedElement.h.
|
static |
Returns the stack id for this element.
|
static |
Returns the type identifier for this class.
|
virtual |
Prints element (for debugging).
Reimplemented from SoElement.
Reimplemented in SoBevelPropertyElement, SoCoordinateElement, SoEdgeFlagElement, SoFontNameElement, SoGeoOriginElement, SoLightAttenuationElement, SoLinePatternElement, SoNormalElement, SoProfileCoordinateElement, SoProjectionMatrixElement, SoTangentElement, SoTextureNameElement, SoVertexFlagElement, SoViewingMatrixElement, SoViewVolumeElement, MoCellFilterElement, MoColorMappingElement, MoCombineColorMappingElement, MoDataBindingElement, MoDrawStyleElement, MoMaterialElement, MoMeshElement, and MoTessellatorElement.