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

SET LOCAL TRANSFORMATION 3 (PHOP,*,STOP,*)

Purpose

Use Set Local Transformation 3 to insert a three-dimensional Set Local 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 Local Transformation 3 structure element, depending on the current edit mode.

Depending on the composition type, when the graPHIGS API encounters this element during traversal, the specified matrix replaces, is pre-concatenated with, or is post-concatenated with the current local modeling transformation matrix. The resultant matrix, in conjunction with the global modeling transformation, transforms all subsequent primitives from the Modeling Coordinate (MC) system to the World Coordinate (WC) system.

Language Bindings

C

pset_local_tran3 (local_tran, compose_type)

Input Parameters

Pmatrix3 local_tran
Local transformation matrix. (See Chapter 15. "ISO PHIGS Transformations" for a description of the storage of the transformation matrix).

Pcompose_type compose_type
Composition type (0=PTYPE_PRECONCAT, 1=PTYPE_POSTCONCAT, 2=PTYPE_REPLACE).

FORTRAN

PSLMT3 (xfrmt, ctype)

Input Parameters

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

integer ctype
Composition type (0=PCPRE, 1=PCPOST, 2=PCREPL).

Errors

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

Related Subroutines

  • None


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