last modified: 18-MAY-1987 | catalog | categories | new | search |

NESC9652 TEKLIB.

TEKLIB, TEKTRONIX Graphics Subroutine Library

top ]
1. NAME OR DESIGNATION OF PROGRAM:  TEKLIB.
top ]
2. COMPUTERS
To submit a request, click below on the link of the version you wish to order. Only liaison officers are authorised to submit online requests. Rules for requesters are available here.
Program name Package id Status Status date
TEKLIB NESC9652/01 Tested 18-MAY-1987

Machines used:

Package ID Orig. computer Test computer
NESC9652/01 Many Computers DEC VAX 11/780
top ]
3. DESCRIPTION OF PROGRAM OR FUNCTION

TEKLIB is a library of subroutines that produces graphical output on all Tektronix terminals with model numbers from 4010 through 4115. The application program identifies the model number in the initialization subroutine, GRSTRT, and then uses this number as a flag throughout the run to tailor the graphical output to that specific device. Output includes lines, markers, text, polygons, and panels. Graphic  input is supported on all terminals.
top ]
4. METHOD OF SOLUTION

TEKLIB uses two coordinate systems, viewport and world, to generate graphic images on the screen. Viewport coordinates refer to an imaginary rectangular grid on the display screen surface. The world coordinate system is a rectangular grid on any x-y plane, defined by the application program. The rectangular portion of the x-y plane specified, termed a "window", is projected  onto a rectangular region of the screen, called a "viewport". In addition to 2-D graphics, TEKLIB also provides subroutines for drawing projections of 3-D objects. The application program first defines a point in space to look at the "view point", and the direction and distance from that point to the observer's position. A viewing transformation is performed on each x,y,z point to project it onto a "view plane", a plane perpendicular to the line of sight and passing through the view point. This view plane then becomes the x-y plane of the world window which is mapped into the viewport.
top ]
5. RESTRICTIONS ON THE COMPLEXITY OF THE PROBLEM

TEKLIB does not attempt to emulate attributes such as line style and marker type in  software if the terminal does not support those attributes in hardware.
top ]
6. TYPICAL RUNNING TIME:
top ]
7. UNUSUAL FEATURES OF THE PROGRAM:
top ]
8. RELATED AND AUXILIARY PROGRAMS:
top ]
9. STATUS
Package ID Status date Status
NESC9652/01 18-MAY-1987 Tested at NEADB
top ]
10. REFERENCES:
NESC9652/01, included references:
- M.L. Wolf:
  TEKLIB: A Graphics Subroutine Library for Tektronix Terminals
  BDX-613-3480  (February 1986)
top ]
11. MACHINE REQUIREMENTS

Tektronix 4010 and 4110 Series Terminals. TEKLIB would add less than 25K bytes of storage to a program running on a VAX VMS system.
NESC9652/01
TEKLIB has been tested by NEA-DB on IBM 3084 and VAX-11/780 computers using the following graphic terminal types: Tektronix 4014; DEC VT240 in Tektronix simulation; Selanar HIREZ 100 in Tektronix simulation.
Main storage requirements on IBM 3084  are:
- 240K bytes for the TEKLIB source (FORTRAN) file
- 400K bytes for the TEKLIB object module library.
top ]
12. PROGRAMMING LANGUAGE(S) USED
Package ID Computer language
NESC9652/01 FORTRAN-77
top ]
13. OPERATING SYSTEM UNDER WHICH PROGRAM IS EXECUTED

NOS,NOS/VEV (CDC  CYBER180), VM/CMS (IBM4381), VMS (DEC VAX11).
NESC9652/01
TEKLIB has been tested at the NEA-DB on IBM 3084 under  MVS and on VAX-11/780 under VMS.
top ]
14. OTHER PROGRAMMING OR OPERATING INFORMATION OR RESTRICTIONS

All machine-dependent operations have been isolated in a few subroutines which may be commented out if not needed. The source is written for  the CDC CYBER180 and NOS operating system; installation instructions for use on CDC NOS/VE, IBM CMS, and VAX VMS systems are given in the reference report, BDX-613-3480.
top ]
15. NAME AND ESTABLISHMENT OF AUTHORS

          M.L. Wolf
          Bendix Kansas City Division
          Allied Bendix Aerospace
top ]
16. MATERIAL AVAILABLE
NESC9652/01
File name File description Records
NESC9652_01.001 Information file 85
NESC9652_01.002 TEKLIB source program (FORTRAN) 3027
NESC9652_01.003 TEKLIB test program (FORTRAN) 690
NESC9652_01.004 CP assembly subroutine 90
top ]
17. CATEGORIES
  • N. Subsidiary Calculations

Keywords: computer graphics, display devices, plotters, plotting, utility routines.