Click or drag to resize
SoGLModelMatrixElement Class

Note: This API is now obsolete.

Stores the current model matrix in GL.

Inheritance Hierarchy

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("See documentation for more details")]
public class SoGLModelMatrixElement : SoModelMatrixElement

The SoGLModelMatrixElement type exposes the following members.

Methods
  NameDescription
Public methodCallSetElt Obsolete.
Calls CallSetElt(matrix, true).
(Inherited from SoModelMatrixElement.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Overrides pop() method so side effects can occur in GL.

(Overrides SoElementPop(SoState, SoElement).)
Public methodPush

Overrides push() method so side effects can occur in GL.

(Overrides SoModelMatrixElementPush(SoState).)
Public methodSetElt Obsolete.
Calls SetElt(matrix, true).
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This element stores the current model matrix in GL. Overrides the virtual methods on 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

Reference

OIV.Inventor.ElementsSoGLModelMatrixElement