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

SET GLOBAL TRANSFORMATION (PHOP,*,STOP,*)

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

C

pset_global_tran (global_tran)

Input Parameters

Pmatrix global_tran
Global transformation matrix. (See Chapter 15. "ISO PHIGS Transformations" for a description of the storage of the transformation matrix).

FORTRAN

PSGMT (xfrmt)

Input Parameters

real xfrmt(3,3)
Global transformation matrix. (See Chapter 15. "ISO PHIGS Transformations" for a description of the storage of the transformation matrix).

Errors

5
Function Requires State (PHOP,*,STOP,*)

Related Subroutines

  • None


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