[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPGLX3 - Set Global Transformation 3

GPGLX3 ( matrix)

Purpose

Use GPGLX3 to insert a three-dimensional, Set Global Transformation 3 structure element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Global Transformation 3 structure element depending on the current edit mode.

When encountered during traversal, this element causes the specified matrix to replace the current global transformation for the current structure. The resultant matrix, in conjunction with the local modeling transformation, transforms all subsequent primitives from the Modeling Coordinate (MC) system to the World Coordinate (WC) system.

Parameters

matrix -- specified by user, 16 short floating-point numbers

Transformation matrix (44)

The elements must be in the following order for the input transformation matrix:

                 
  |m11 m12 m13 m14|
  |m21 m22 m23 m24|---> (m11,m12,m13,m14,m21,m22,...m44)
  |m31 m32 m33 m34|
  |m41 m42 m43 m44|
                 

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)

Related Subroutines

None

RCP code

201329667 ( X'0C000C03')


[ Previous | Next | Contents | Glossary | Home | Search ]