SoGLModelMatrixElement Class |
Note: This API is now obsolete.
Stores the current model matrix in GL.
Namespace: OIV.Inventor.Elements
The SoGLModelMatrixElement type exposes the following members.
Name | Description | |
---|---|---|
![]() | CallSetElt | Obsolete. Calls CallSetElt(matrix, true). (Inherited from SoModelMatrixElement.) |
![]() | Equals | (Inherited from Object.) |
![]() ![]() | GetClassStackIndex | Obsolete. Returns the stack id for this element. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Pop | Overrides pop() method so side effects can occur in GL. |
![]() | Push | Overrides push() method so side effects can occur in GL. |
![]() | SetElt | Obsolete. Calls SetElt(matrix, true). |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.)