Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pgtlc3(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PGTLC3(3g)  —  Subroutines

Name

PGTLC3 − Returns the 3D position of the locator. 

Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
 

Syntax

PGTLC3 (VIEWI, LPX, LPY, LPZ)

Argument     Data Type      Access    Description
---------------------------------------------------------------------------
VIEWI        Integer        Write     View index
LPX, LPY     Real           Write     Locator position, in world
LPZ                                   coordinates (x, y, z)
---------------------------------------------------------------------------

Description

PGTLC3 obtains information contained in the current event report entry.  If the report contains input generated by anything other than a locator-class input device, a call to this function generates an error.  (See the PWAIT function for more information about input classes and the current event report.) 

The PGTLC3 function returns the world coordinate point and the view index of the view transformation Digital PHIGS uses to translate the normalized projection coordinate point to the world coordinate point. 

Digital PHIGS uses the current workstation transformation to translate the device coordinate point to the normalized projection coordinate point.  See Getting Started with DEC PHIGS for more information about view indexes. 

See Also

PWAIT
PFLUSH
PGTLC
PINLC3
PRQLC3
PSMLC3
PSLCM
PSVTIP

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