public class SoGLModelMatrixElement extends SoModelMatrixElement
SoModelMatrixElement
to send the matrix to GL when necessary.
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
Note that this class relies on SoModelMatrixElement
to store the matrix in the instance. This is less expensive in the long run than asking GL for the matrix when it is needed.
Because GL stores the model and view matrices in one matrix, this has to do a little extra work when setting the model matrix to identity or another matrix. (It has to set the GL model-view matrix correctly.)
See also:
SoModelMatrixElementDeprecated since Open Inventor 9620
SoGLModelMatrixElement
is no longer supported, use equivalent SoModelMatrixElement
.
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
void |
pop(SoState state,
SoElement prevTopElement)
Deprecated.
Overrides
pop() method so side effects can occur in GL. |
void |
push(SoState state)
Deprecated.
Overrides
push() method so side effects can occur in GL. |
get, getCombinedCullMatrix, makeIdentity, mult, popMatrix, pushMatrix, rotateBy, scaleBy, set, set, setCullMatrix, translateBy
getClassStackIndex
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public void push(SoState state)
push()
method so side effects can occur in GL.push
in class SoModelMatrixElement
public void pop(SoState state, SoElement prevTopElement)
pop()
method so side effects can occur in GL.@Deprecated public static int getClassStackIndex()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com