Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ flush_matri(3G) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

view_matrix(3G)

view_port(3G)

flush_matrices(3G)

NAME

flush_matrices − flush matrix stack; reset viewing transformation matrix

SYNOPSIS

C Syntax:

void flush_matrices ( fildes );
int fildes;

FORTRAN77 Syntax:

subroutine flush_matrices ( fildes )
integer*4 fildes

Pascal Syntax:

procedure flush_matrices ( fildes : integer );

DESCRIPTION

Input Parameters

fildes Integer file descriptor returned by gopen when an I/O path to a graphic device is opened. 

Discussion

All matrices in the matrix stack are removed, and the current viewing transformation matrix is set equal to the current device transformation (VDC-to-DC).  This is the matrix that converts from virtual device coordinates (VDC) to device coordinates (each device type requires its own unique matrix).  Modeling and world coordinates are then equivalent to virtual device coordinates. 

Flush_matrices is the only mechanism available for resetting the viewing transformation matrix back to the VDC-to-DC transformation matrix once it has been altered by view_camera, view_matrix, view_volume, or view_window.

Subsequent calls to view_port do not cause a recalculation of the viewing transformation matrix until a viewing operation (view_camera, view_volume, or view_window) is called. 

SEE ALSO

view_matrix(3G), view_port(3G). 

 

Hewlett-Packard Company  —  November 03, 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026