LIBRARY ROUTINES AND HEADER FILES SCCSid "$SunId$ LBL" This directory contains library routines and common header files for the RADIANCE programs in the directories on the same level. calcomp.h header file for expression parser color.h header for routines using pixel color values cone.h header file for cones (cones, cylinders, rings, cups, tubes) face.h header for routines using polygonal faces font.h header for font handling rountines fvect.h header file for floating point routines using vectors linregr.h header file for linear regression calculation mat4.h definitions for 4x4 matrix operations object.h header file for routines using objects and object sets octree.h header file for routines using octrees otypes.h defines for object types paths.h header file defining standard path names for this architecture plocate.h header for 3D vector location random.h header file for random(3) and urand() function resolu.h definitions for resolution line in image file. standard.h standard include file for most programs targa.h header file for reading and writing Targa format files vfork.h header file for routines using vfork() view.h header file for image generation xraster.h header file for X routines using images xtwind.h header for X text window routines badarg.c check argument list against format string bcopy.c substitutes for library routines bmalloc.c memory allocation without overhead (no free lists) caldefn.c store variable definitions calexpr.c compute data values using expression parser calfunc.c routines for calcomp using functions calprnt.c routines for printing calcomp expressions clip.c routine to clip 3D line segments to a box color.c routines for color calculations colrops.c integer operations on COLR scanlines cone.c routines for making cones cputs.c default routine for command-line error output ealloc.c memory routines which call quit on error eputs.c default routine for error output erf.c BSD implementation of erf() and erfc() error.c standard error reporting function expandarg.c expand command-line argument to read from environ or file face.c routines dealing with polygonal faces fdate.c return UNIX date in system-independent interface fgetline.c read line with escaped newlines fgetval.c scanf replacement that skips # comments fgetword.c read white space separated words from stream fixargv0.c MS-DOS compatibility routine to fix program name + arg. list font.c library routines for font handling frexp.c free exponent (library routine replacement) fropen.c find and open a Radiance library file fvect.c routines for float vector calculations fwrite.c standard lib replacement getlibpath.c return standard library path from RAYLIB (or default) getpagesize.c return system page size for non-BSD machine getpath.c function to search for file in a list of directories header.c routines for reading and writing information headers image.c routines for image generation / pixel mapping instance.c routines for octree objects invmat4.c compute inverse of 4x4 matrix lamps.c load lamp data linregr.c basic linear regression calculation lookup.c hash table lookup routines malloc.c fast malloc for memory hogs and VM environments mat4.c routines dealing with 4 X 4 homogeneous matrices mktemp.c make temporary file (system-independent replacement) modobject.c routines for tracking object modifiers multisamp.c binary space partitioning curve for multidimensional sampling myhostname.c system-independent host name call objset.c routines for maintaining object sets octree.c routines dealing with octrees and cubes otypes.c object type lookup and error reporting peano.c generate an N-dimensional Peano space-filling curve plocate.c routine to locate 3D vector w.r.t. box popen.c system-independent replacement for popen(3) call portio.c routines for portable binary input and output process.c routines to communicate with separate process via dual pipes quit.c default quit() routine, calles exit() random.c BSD random number generator readfargs.c allocate, read and free object arguments (RADIANCE parser) readobj.c routines for reading in object descriptions readoct.c routines to read octree information resolu.c read and write image resolutions rexpr.c regular expression parser (ala grep) savestr.c routines for efficient string storage savqstr.c quick and dirty string saver spec_rgb.c convert colors and spectral ranges strcmp.c more efficient standard lib replacement for use with savestr() urand.c anticorrelated random function due to Christophe Schlick urind.c compute pseudo-asyncronous entry point for urand(3) wordfile.c open and read a file of whitespace-separated words words.c routines for recognizing and moving about words in strings wputs.c default warning message output function x11findwind.c find a window by its name under X xf.c routines to convert transform arguments into 4X4 matrix xraster.c X10R4 raster handling routines xtwind.c X10R4 text window routines