| 1 | 
greg | 
1.1 | 
                LIBRARY ROUTINES AND HEADER FILES | 
| 2 | 
  | 
  | 
                SCCSid "$SunId$ LBL" | 
| 3 | 
  | 
  | 
 | 
| 4 | 
  | 
  | 
This directory contains library routines and common header files for | 
| 5 | 
  | 
  | 
the RADIANCE programs in the directories on the same level. | 
| 6 | 
  | 
  | 
 | 
| 7 | 
  | 
  | 
calcomp.h       header file for expression parser | 
| 8 | 
  | 
  | 
color.h         header for routines using pixel color values | 
| 9 | 
  | 
  | 
cone.h          header file for cones (cones, cylinders, rings, cups, tubes) | 
| 10 | 
  | 
  | 
face.h          header for routines using polygonal faces | 
| 11 | 
greg | 
2.2 | 
font.h          header for font handling rountines | 
| 12 | 
greg | 
1.1 | 
fvect.h         header file for floating point routines using vectors | 
| 13 | 
  | 
  | 
linregr.h       header file for linear regression calculation | 
| 14 | 
  | 
  | 
mat4.h          definitions for 4x4 matrix operations | 
| 15 | 
  | 
  | 
object.h        header file for routines using objects and object sets | 
| 16 | 
  | 
  | 
octree.h        header file for routines using octrees | 
| 17 | 
  | 
  | 
otypes.h        defines for object types | 
| 18 | 
greg | 
2.2 | 
paths.h         header file defining standard path names for this architecture | 
| 19 | 
greg | 
2.4 | 
plocate.h       header for 3D vector location | 
| 20 | 
greg | 
1.1 | 
random.h        header file for random(3) and urand() function | 
| 21 | 
  | 
  | 
resolu.h        definitions for resolution line in image file. | 
| 22 | 
  | 
  | 
standard.h      standard include file for most programs | 
| 23 | 
  | 
  | 
targa.h         header file for reading and writing Targa format files | 
| 24 | 
greg | 
2.2 | 
vfork.h         header file for routines using vfork() | 
| 25 | 
greg | 
1.1 | 
view.h          header file for image generation | 
| 26 | 
  | 
  | 
xraster.h       header file for X routines using images | 
| 27 | 
  | 
  | 
xtwind.h        header for X text window routines | 
| 28 | 
  | 
  | 
badarg.c        check argument list against format string | 
| 29 | 
  | 
  | 
bcopy.c         substitutes for library routines | 
| 30 | 
  | 
  | 
bmalloc.c       memory allocation without overhead (no free lists) | 
| 31 | 
  | 
  | 
caldefn.c       store variable definitions | 
| 32 | 
  | 
  | 
calexpr.c       compute data values using expression parser | 
| 33 | 
  | 
  | 
calfunc.c       routines for calcomp using functions | 
| 34 | 
  | 
  | 
calprnt.c       routines for printing calcomp expressions | 
| 35 | 
greg | 
2.4 | 
clip.c          routine to clip 3D line segments to a box | 
| 36 | 
greg | 
1.1 | 
color.c         routines for color calculations | 
| 37 | 
  | 
  | 
colrops.c       integer operations on COLR scanlines | 
| 38 | 
  | 
  | 
cone.c          routines for making cones | 
| 39 | 
greg | 
2.2 | 
cputs.c         default routine for command-line error output | 
| 40 | 
greg | 
1.1 | 
ealloc.c        memory routines which call quit on error | 
| 41 | 
greg | 
2.2 | 
eputs.c         default routine for error output | 
| 42 | 
  | 
  | 
erf.c           BSD implementation of erf() and erfc() | 
| 43 | 
greg | 
1.1 | 
error.c         standard error reporting function | 
| 44 | 
greg | 
2.3 | 
expandarg.c     expand command-line argument to read from environ or file | 
| 45 | 
greg | 
1.1 | 
face.c          routines dealing with polygonal faces | 
| 46 | 
greg | 
2.4 | 
fdate.c         return UNIX date in system-independent interface | 
| 47 | 
greg | 
1.1 | 
fgetline.c      read line with escaped newlines | 
| 48 | 
greg | 
2.4 | 
fgetval.c       scanf replacement that skips # comments | 
| 49 | 
greg | 
1.1 | 
fgetword.c      read white space separated words from stream | 
| 50 | 
greg | 
2.4 | 
fixargv0.c      MS-DOS compatibility routine to fix program name + arg. list | 
| 51 | 
greg | 
2.2 | 
font.c          library routines for font handling | 
| 52 | 
greg | 
2.4 | 
frexp.c         free exponent (library routine replacement) | 
| 53 | 
greg | 
2.2 | 
fropen.c        find and open a Radiance library file | 
| 54 | 
greg | 
1.1 | 
fvect.c         routines for float vector calculations | 
| 55 | 
greg | 
2.2 | 
fwrite.c        standard lib replacement | 
| 56 | 
greg | 
2.4 | 
getlibpath.c    return standard library path from RAYLIB (or default) | 
| 57 | 
greg | 
1.1 | 
getpagesize.c   return system page size for non-BSD machine | 
| 58 | 
  | 
  | 
getpath.c       function to search for file in a list of directories | 
| 59 | 
  | 
  | 
header.c        routines for reading and writing information headers | 
| 60 | 
  | 
  | 
image.c         routines for image generation / pixel mapping | 
| 61 | 
  | 
  | 
instance.c      routines for octree objects | 
| 62 | 
greg | 
2.4 | 
invmat4.c       compute inverse of 4x4 matrix | 
| 63 | 
greg | 
1.1 | 
lamps.c         load lamp data | 
| 64 | 
  | 
  | 
linregr.c       basic linear regression calculation | 
| 65 | 
greg | 
2.4 | 
lookup.c        hash table lookup routines | 
| 66 | 
greg | 
1.1 | 
malloc.c        fast malloc for memory hogs and VM environments | 
| 67 | 
  | 
  | 
mat4.c          routines dealing with 4 X 4 homogeneous matrices | 
| 68 | 
greg | 
2.4 | 
mktemp.c        make temporary file (system-independent replacement) | 
| 69 | 
greg | 
1.1 | 
modobject.c     routines for tracking object modifiers | 
| 70 | 
  | 
  | 
multisamp.c     binary space partitioning curve for multidimensional sampling | 
| 71 | 
greg | 
2.5 | 
myhostname.c    system-independent host name call | 
| 72 | 
greg | 
1.1 | 
objset.c        routines for maintaining object sets | 
| 73 | 
  | 
  | 
octree.c        routines dealing with octrees and cubes | 
| 74 | 
  | 
  | 
otypes.c        object type lookup and error reporting | 
| 75 | 
  | 
  | 
peano.c         generate an N-dimensional Peano space-filling curve | 
| 76 | 
greg | 
2.4 | 
plocate.c       routine to locate 3D vector w.r.t. box | 
| 77 | 
  | 
  | 
popen.c         system-independent replacement for popen(3) call | 
| 78 | 
greg | 
2.2 | 
portio.c        routines for portable binary input and output | 
| 79 | 
greg | 
1.1 | 
process.c       routines to communicate with separate process via dual pipes | 
| 80 | 
greg | 
2.2 | 
quit.c          default quit() routine, calles exit() | 
| 81 | 
  | 
  | 
random.c        BSD random number generator | 
| 82 | 
greg | 
1.1 | 
readfargs.c     allocate, read and free object arguments (RADIANCE parser) | 
| 83 | 
  | 
  | 
readobj.c       routines for reading in object descriptions | 
| 84 | 
  | 
  | 
readoct.c       routines to read octree information | 
| 85 | 
  | 
  | 
resolu.c        read and write image resolutions | 
| 86 | 
  | 
  | 
rexpr.c         regular expression parser (ala grep) | 
| 87 | 
  | 
  | 
savestr.c       routines for efficient string storage | 
| 88 | 
  | 
  | 
savqstr.c       quick and dirty string saver | 
| 89 | 
  | 
  | 
spec_rgb.c      convert colors and spectral ranges | 
| 90 | 
greg | 
2.2 | 
strcmp.c        more efficient standard lib replacement for use with savestr() | 
| 91 | 
greg | 
1.1 | 
urand.c         anticorrelated random function due to Christophe Schlick | 
| 92 | 
  | 
  | 
urind.c         compute pseudo-asyncronous entry point for urand(3) | 
| 93 | 
greg | 
2.2 | 
wordfile.c      open and read a file of whitespace-separated words | 
| 94 | 
greg | 
1.1 | 
words.c         routines for recognizing and moving about words in strings | 
| 95 | 
greg | 
2.2 | 
wputs.c         default warning message output function | 
| 96 | 
greg | 
1.1 | 
x11findwind.c   find a window by its name under X | 
| 97 | 
  | 
  | 
xf.c            routines to convert transform arguments into 4X4 matrix | 
| 98 | 
greg | 
2.2 | 
xraster.c       X10R4 raster handling routines | 
| 99 | 
  | 
  | 
xtwind.c        X10R4 text window routines |