Element that stores the current texture matrix - the cumulative transformation applied to subsequent shapes.
More...
#include <Inventor/elements/SoTextureMatrixElement.h>
|
virtual void | init (SoState *state) |
| Initializes element.
|
|
virtual void | push (SoState *state) |
| Overrides push() method to copy values from next instance in the stack.
|
|
virtual void | print (FILE *fp) const |
| Prints element (for debugging)
|
|
virtual bool | matches (const SoElement *elt) const |
| Returns TRUE if the element matches another element, based on node-id's.
|
|
virtual void | print (FILE *fp) const |
| Prints element (for debugging)
|
|
virtual void | init (SoState *state) |
| Initializes element.
|
|
virtual void | push (SoState *state) |
| Pushes/pops element.
|
|
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
|
virtual void | print (FILE *fp) const |
| Prints element (for debugging)
|
|
virtual bool | matches (const SoElement *elt) const =0 |
| Returns TRUE if the element matches another element (of the same class, presumably) with respect to cache validity.
|
|
virtual SoElement * | copyMatchInfo () const =0 |
| Create a copy that we can put in a cache used list and call matches() on later.
|
|
SoType | getTypeId () const |
| Returns type identifier for element instance.
|
|
int | getStackIndex () const |
| Returns the stack index for an element instance.
|
|
void | setDepth (int dpth) |
| Sets stuff in an element instance.
|
|
void | setNext (SoElement *nxt) |
|
void | setNextInStack (SoElement *nxt) |
|
void | setNextFree (SoElement *nxt) |
|
int | getDepth () const |
| Returns stuff from element instance.
|
|
SoElement * | getNext () const |
|
virtual | ~SoElement () |
| Destructor.
|
|
Because the matrix is cumulative, this class is derived from SoAccumulatedElement. The set() method replaces the current matrix, while all the others (mult(), translateBy(), etc.) multiply into it. Node id's of the nodes that affect the element are accumulated properly.
Definition at line 75 of file SoTextureMatrixElement.h.
◆ ~SoTextureMatrixElement()
virtual SoTextureMatrixElement::~SoTextureMatrixElement |
( |
| ) |
|
|
protectedvirtual |
◆ get()
◆ getElt()
virtual const SbMatrix & SoTextureMatrixElement::getElt |
( |
| ) |
const |
|
protectedvirtual |
◆ init()
virtual void SoTextureMatrixElement::init |
( |
SoState * |
state | ) |
|
|
virtual |
◆ initClass()
static void SoTextureMatrixElement::initClass |
( |
| ) |
|
|
static |
◆ makeEltIdentity()
virtual void SoTextureMatrixElement::makeEltIdentity |
( |
| ) |
|
|
protectedvirtual |
◆ makeIdentity()
static void SoTextureMatrixElement::makeIdentity |
( |
SoState * |
state, |
|
|
SoNode * |
node |
|
) |
| |
|
static |
◆ mult()
◆ multElt()
virtual void SoTextureMatrixElement::multElt |
( |
const SbMatrix & |
matrix | ) |
|
|
protectedvirtual |
◆ print()
virtual void SoTextureMatrixElement::print |
( |
FILE * |
fp | ) |
const |
|
virtual |
◆ push()
virtual void SoTextureMatrixElement::push |
( |
SoState * |
state | ) |
|
|
virtual |
◆ rotateBy()
◆ rotateEltBy()
virtual void SoTextureMatrixElement::rotateEltBy |
( |
const SbRotation & |
translation | ) |
|
|
protectedvirtual |
◆ scaleBy()
static void SoTextureMatrixElement::scaleBy |
( |
SoState * |
state, |
|
|
SoNode * |
node, |
|
|
const SbVec3f & |
scaleFactor |
|
) |
| |
|
static |
◆ scaleEltBy()
virtual void SoTextureMatrixElement::scaleEltBy |
( |
const SbVec3f & |
scaleFactor | ) |
|
|
protectedvirtual |
◆ translateBy()
static void SoTextureMatrixElement::translateBy |
( |
SoState * |
state, |
|
|
SoNode * |
node, |
|
|
const SbVec3f & |
translation |
|
) |
| |
|
static |
◆ translateEltBy()
virtual void SoTextureMatrixElement::translateEltBy |
( |
const SbVec3f & |
translation | ) |
|
|
protectedvirtual |
◆ textureMatrix
SbMatrix SoTextureMatrixElement::textureMatrix |
|
protected |
The documentation for this class was generated from the following file: