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:
SoTexture2Transform
, SoTexture3Transform
, SoTextureMatrix
, SoVRMLTextureTransform
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 |
translateBy(SoState state,
SoNode node,
SbVec3f translation)
Multiplies a matrix that performs the specified transformation into the texture matrix.
|
getClassStackIndex, pop
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public static void makeIdentity(SoState state, SoNode node)
@Deprecated public static int getClassStackIndex()
public static void mult(SoState state, SoNode node, SbMatrix matrix)
public void push(SoState state)
push()
method to copy values from next instance in the stack.push
in class SoAccumulatedElement
public static void scaleBy(SoState state, SoNode node, SbVec3f scaleFactor)
public static void translateBy(SoState state, SoNode node, SbVec3f translation)
public static void rotateBy(SoState state, SoNode node, SbRotation rotation)
Generated on August 20, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com