Abstract base class for each texture state element. More...
#include <Inventor/elements/SoReplacedTextureElement.h>
Public Member Functions | |
virtual void | print (FILE *fp) const |
Prints element (for debugging). | |
virtual void | push (SoState *state) |
Pushes the element, copying values from previous element in state. | |
Public Member Functions inherited from SoElement | |
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 texture state element.
This is the abstract base class for each texture state element. A node-id is associated to each texture unit.
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 copy values (node-id) on top of the old ones.
This class defines the matches() method to compare lists of node-id's associated to each texture unit. The node-id's represent the states of all nodes that changed the value of the element. SoReplacedTextureElement 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.
Definition at line 61 of file SoReplacedTextureElement.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 SoTextureCoordinate3Element, SoTextureCoordinateBindingElement, SoTextureCoordinateElement, and SoTextureImageElementBase.
|
virtual |
Pushes the element, copying values from previous element in state.
node-ids associated to each texture unit are copied.
Reimplemented from SoElement.
Reimplemented in SoTextureCoordinate3Element, SoTextureCoordinateBindingElement, SoTextureCoordinateElement, SoTexture3EnabledElement, SoTextureCombinerElement, SoTextureCubeMapEnabledElement, SoTextureEnabledElement, SoTextureImageElementBase, and SoTextureTransformElement.