NAME
SoMultiTextureMatrixElement -
The SoMultiTextureMatrixElement class is used to manage the texture
matrix stack for texture units > 0.
The texture matrix is used to transform texture coordinates before
being used to map textures onto polygons.
SYNOPSIS
#include <Inventor/elements/SoMultiTextureMatrixElement.h>
Inherits SoAccumulatedElement.
Inherited by SoGLMultiTextureMatrixElement.
Public Member Functions
virtual void init (SoState *state)
virtual void push (SoState *state)
Static Public Member Functions
static void initClass (void)
static void set (SoState *const state, SoNode *const node, const int
unit, const SbMatrix &matrix)
static void mult (SoState *const state, SoNode *const node, const int
unit, const SbMatrix &matrix)
static const SbMatrix & get (SoState *const state, const int unit)
Protected Member Functions
virtual ~SoMultiTextureMatrixElement ()
UnitData & getUnitData (const int unit)
const UnitData & getUnitData (const int unit) const
virtual void multElt (const int unit, const SbMatrix &matrix)
virtual void setElt (const int unit, const SbMatrix &matrix)
virtual const SbMatrix & getElt (const int unit) const
Detailed Description
The SoMultiTextureMatrixElement class is used to manage the texture
matrix stack for texture units > 0.
The texture matrix is used to transform texture coordinates before
being used to map textures onto polygons.
Since:
Coin 2.2
Constructor & Destructor Documentation
SoMultiTextureMatrixElement::~SoMultiTextureMatrixElement (void)
[protected, virtual] The destructor.
Member Function Documentation
void SoMultiTextureMatrixElement::initClass (void) [static] Initialize
relevant common data for all instances, like the type system.
Reimplemented from SoAccumulatedElement.
Reimplemented in SoGLMultiTextureMatrixElement.
void SoMultiTextureMatrixElement::mult (SoState *const state, SoNode
*const node, const int unit, const SbMatrix & matrix) [static]
Multiplies matrix into the current texture matrix.
const SbMatrix & SoMultiTextureMatrixElement::get (SoState *const state,
const int unit) [static] Returns current texture matrix.
void SoMultiTextureMatrixElement::multElt (const int unit, const SbMatrix &
matrix) [protected, virtual] virtual method which is called from
mult(). Multiplies matrix into element matrix.
Reimplemented in SoGLMultiTextureMatrixElement.
void SoMultiTextureMatrixElement::setElt (const int unit, const SbMatrix &
matrix) [protected, virtual] virtual method which is called from set().
Sets matrix intp element matrix.
Reimplemented in SoGLMultiTextureMatrixElement.
const SbMatrix & SoMultiTextureMatrixElement::getElt (const int unit) const
[protected, virtual] Returns element matrix. Called from get().
Author
Generated automatically by Doxygen for Coin from the source code.