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.
More...
#include <Inventor/elements/SoMultiTextureMatrixElement.h>
|
static SoType | getClassTypeId (void) |
|
static int | getClassStackIndex (void) |
|
static void * | createInstance (void) |
|
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=0) |
|
static void | makeIdentity (SoState *const state, SoNode *const node, const int unit=0) |
|
static void | set (SoState *const state, SoNode *const node, const SbMatrix &matrix) |
|
static void | mult (SoState *const state, SoNode *const node, const SbMatrix &matrix) |
|
static void | translateBy (SoState *const state, SoNode *const node, const SbVec3f &translation) |
|
static void | rotateBy (SoState *const state, SoNode *const node, const SbRotation &rotation) |
|
static void | scaleBy (SoState *const state, SoNode *const node, const SbVec3f &scaleFactor) |
|
static SoType | getClassTypeId (void) |
|
static int | getClassStackIndex (void) |
|
static void | initClass (void) |
|
static void | initClass (void) |
|
static SoType | getClassTypeId (void) |
|
static int | getClassStackIndex (void) |
|
static void | initElements (void) |
|
static int | getNumStackIndices (void) |
|
static SoType | getIdFromStackIndex (const int stackIndex) |
|
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
SoMultiTextureMatrixElement::SoMultiTextureMatrixElement |
( |
void |
| ) |
|
|
protected |
SoMultiTextureMatrixElement::~SoMultiTextureMatrixElement |
( |
void |
| ) |
|
|
protectedvirtual |
void * SoMultiTextureMatrixElement::createInstance |
( |
void |
| ) |
|
|
static |
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
void SoMultiTextureMatrixElement::init |
( |
SoState * |
state | ) |
|
|
virtual |
void SoMultiTextureMatrixElement::push |
( |
SoState * |
state | ) |
|
|
virtual |
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 = 0 |
|
) |
| |
|
static |
Returns current texture matrix.
void SoMultiTextureMatrixElement::multElt |
( |
const int |
unit, |
|
|
const SbMatrix & |
matrix |
|
) |
| |
|
protectedvirtual |
void SoMultiTextureMatrixElement::setElt |
( |
const int |
unit, |
|
|
const SbMatrix & |
matrix |
|
) |
| |
|
protectedvirtual |
const SbMatrix & SoMultiTextureMatrixElement::getElt |
( |
const int |
unit | ) |
const |
|
protectedvirtual |
Returns element matrix. Called from get().
The documentation for this class was generated from the following files: