Purpose
Use Set Global Transformation to insert a two-dimensional Set Global Transformation 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 structure element, depending on the current edit mode.
When the graPHIGS API encounters this element during traversal, the graPHIGS API expands it into a 44 matrix as follows:
- - - - | | | | |a b c| |a b 0 c| |d e f| -----> |d e 0 f| |g h i| |0 0 1 0| | | |g h 0 i| - - | | - -and causes the expanded matrix to become 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.
Language Bindings
pset_global_tran (global_tran) |
PSGMT (xfrmt) |
Errors
Related Subroutines