public class SoTextureMatrixElement extends SoAccumulatedElement
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.
See also:
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static SbMatrix |
get(SoState state)
Calls get(state, (int)0).
|
static SbMatrix |
get(SoState state,
int unit)
Returns current matrix from the state.
|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
static void |
makeIdentity(SoState state,
SoNode node)
Sets the texture matrix to the identity matrix.
|
static void |
mult(SoState state,
SoNode node,
SbMatrix matrix)
Multiplies the given matrix into the texture matrix.
|
void |
push(SoState state)
Overrides
push() method to copy values from next instance in the stack. |
static void |
rotateBy(SoState state,
SoNode node,
SbRotation rotation)
Multiplies a matrix that performs the specified transformation into the texture matrix.
|
static void |
scaleBy(SoState state,
SoNode node,
SbVec3f scaleFactor)
Multiplies a matrix that performs the specified transformation into the texture matrix.
|
static void |
set(SoState state,
SoNode node,
SbMatrix matrix)
Sets the texture transform matrix to the given matrix.
|
static void |
translateBy(SoState state,
SoNode node,
SbVec3f translation)
Multiplies a matrix that performs the specified transformation into the texture matrix.
|
getClassStackIndex, pop
dispose, getNativeResourceHandle
@Deprecated public static int getClassStackIndex()
public static void makeIdentity(SoState state, SoNode node)
public void push(SoState state)
push()
method to copy values from next instance in the stack.push
in class SoAccumulatedElement
public static void rotateBy(SoState state, SoNode node, SbRotation rotation)
public static void scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)
public static void set(SoState state, SoNode node, SbMatrix matrix)
public static void mult(SoState state, SoNode node, SbMatrix matrix)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com