Liboptical


Files

file  optical.h
 Header file for the BRL-CAD Optical Library, LIBOPTICAL.
file  plastic.h

Data Structures

struct  floatpixel
struct  phong_specific

Defines

#define SEEN_OPTICAL_H   seen
#define R_DEBUG   rdebug
#define RDEBUG_HITS   0x00000001
#define RDEBUG_MATERIAL   0x00000002
#define RDEBUG_SHOWERR   0x00000004
#define RDEBUG_RTMEM   0x00000008
#define RDEBUG_SHADE   0x00000010
#define RDEBUG_PARSE   0x00000020
#define RDEBUG_LIGHT   0x00000040
#define RDEBUG_REFRACT   0x00000080
#define RDEBUG_STATS   0x00000200
#define RDEBUG_RTMEM_END   0x00000400
#define RDEBUG_MISSPLOT   0x20000000
#define RDEBUG_RAYWRITE   0x40000000
#define RDEBUG_RAYPLOT   0x80000000
#define RDEBUG_FORMAT   "\020\040RAYPLOT\037RAYWRITE\036MISSPLOT\\013RTMEM_END\\012STATS\010REFRACT\\7LIGHT\6PARSE\5SHADE\4RTMEM\3SHOWERR\2MATERIAL\1HITS"
#define VERBOSE_LIBVERSIONS   0x00000001
#define VERBOSE_MODELTITLE   0x00000002
#define VERBOSE_TOLERANCE   0x00000004
#define VERBOSE_STATS   0x00000008
#define VERBOSE_FRAMENUMBER   0x00000010
#define VERBOSE_VIEWDETAIL   0x00000020
#define VERBOSE_LIGHTINFO   0x00000040
#define VERBOSE_INCREMENTAL   0x00000080
#define VERBOSE_MULTICPU   0x00000100
#define VERBOSE_OUTPUTFILE   0x00000200
#define VERBOSE_FORMAT   "\012OUTPUTFILE\011MULTICPU\010INCREMENTAL\7LIGHTINFO\6VIEWDETAIL\\5FRAMENUMBER\4STATS\3TOLERANCE\2MODELTITLE\1LIBVERSIONS"
#define PL_MAGIC   0xbeef00d
#define PL_NULL   ((struct phong_specific *)0)
#define PL_O(m)   offsetof(struct phong_specific, m)

Functions

__BEGIN_DECLS OPTICAL_EXPORT
void 
optical_shader_init (struct mfuncs **headp)
OPTICAL_EXPORT int mlib_zero ()
OPTICAL_EXPORT int mlib_one ()
OPTICAL_EXPORT void mlib_void ()
OPTICAL_EXPORT int rr_render (register struct application *ap, struct partition *pp, struct shadework *swp)
OPTICAL_EXPORT void shade_inputs (struct application *ap, const struct partition *pp, struct shadework *swp, int want)
OPTICAL_EXPORT void wray (register struct partition *pp, register struct application *ap, FILE *fp, const vect_t inormal)
OPTICAL_EXPORT void wraypts (vect_t in, vect_t inorm, vect_t out, int id, struct application *ap, FILE *fp)
OPTICAL_EXPORT void wraypaint (vect_t start, vect_t norm, int paint, struct application *ap, FILE *fp)
OPTICAL_EXPORT int viewshade (struct application *ap, register const struct partition *pp, register struct shadework *swp)

Variables

OPTICAL_EXPORT int rdebug
OPTICAL_EXPORT int rt_verbosity
OPTICAL_EXPORT double AmbientIntensity
OPTICAL_EXPORT vect_t background
OPTICAL_EXPORT struct region env_region
OPTICAL_EXPORT int max_bounces
OPTICAL_EXPORT int max_ireflect
OPTICAL_EXPORT const char liboptical_version []
bu_structparse phong_parse []

Define Documentation

#define SEEN_OPTICAL_H   seen
 

Definition at line 30 of file optical.h.

#define R_DEBUG   rdebug
 

Definition at line 111 of file optical.h.

#define RDEBUG_HITS   0x00000001
 

Definition at line 132 of file optical.h.

#define RDEBUG_MATERIAL   0x00000002
 

Definition at line 133 of file optical.h.

#define RDEBUG_SHOWERR   0x00000004
 

Definition at line 134 of file optical.h.

#define RDEBUG_RTMEM   0x00000008
 

Definition at line 135 of file optical.h.

#define RDEBUG_SHADE   0x00000010
 

Definition at line 136 of file optical.h.

#define RDEBUG_PARSE   0x00000020
 

Definition at line 137 of file optical.h.

#define RDEBUG_LIGHT   0x00000040
 

Definition at line 138 of file optical.h.

#define RDEBUG_REFRACT   0x00000080
 

Definition at line 139 of file optical.h.

#define RDEBUG_STATS   0x00000200
 

Definition at line 141 of file optical.h.

#define RDEBUG_RTMEM_END   0x00000400
 

Definition at line 142 of file optical.h.

#define RDEBUG_MISSPLOT   0x20000000
 

Definition at line 145 of file optical.h.

#define RDEBUG_RAYWRITE   0x40000000
 

Definition at line 146 of file optical.h.

#define RDEBUG_RAYPLOT   0x80000000
 

Definition at line 147 of file optical.h.

#define RDEBUG_FORMAT   "\020\040RAYPLOT\037RAYWRITE\036MISSPLOT\\013RTMEM_END\\012STATS\010REFRACT\\7LIGHT\6PARSE\5SHADE\4RTMEM\3SHOWERR\2MATERIAL\1HITS"
 

Definition at line 150 of file optical.h.

#define VERBOSE_LIBVERSIONS   0x00000001
 

Definition at line 164 of file optical.h.

#define VERBOSE_MODELTITLE   0x00000002
 

Definition at line 165 of file optical.h.

#define VERBOSE_TOLERANCE   0x00000004
 

Definition at line 166 of file optical.h.

#define VERBOSE_STATS   0x00000008
 

Definition at line 167 of file optical.h.

#define VERBOSE_FRAMENUMBER   0x00000010
 

Definition at line 168 of file optical.h.

#define VERBOSE_VIEWDETAIL   0x00000020
 

Definition at line 169 of file optical.h.

#define VERBOSE_LIGHTINFO   0x00000040
 

Definition at line 170 of file optical.h.

#define VERBOSE_INCREMENTAL   0x00000080
 

Definition at line 171 of file optical.h.

#define VERBOSE_MULTICPU   0x00000100
 

Definition at line 172 of file optical.h.

#define VERBOSE_OUTPUTFILE   0x00000200
 

Definition at line 173 of file optical.h.

#define VERBOSE_FORMAT   "\012OUTPUTFILE\011MULTICPU\010INCREMENTAL\7LIGHTINFO\6VIEWDETAIL\\5FRAMENUMBER\4STATS\3TOLERANCE\2MODELTITLE\1LIBVERSIONS"
 

Definition at line 175 of file optical.h.

#define PL_MAGIC   0xbeef00d
 

Definition at line 29 of file plastic.h.

#define PL_NULL   ((struct phong_specific *)0)
 

Definition at line 30 of file plastic.h.

#define PL_O  )     offsetof(struct phong_specific, m)
 

Definition at line 31 of file plastic.h.


Function Documentation

__BEGIN_DECLS OPTICAL_EXPORT void optical_shader_init struct mfuncs **  headp  ) 
 

OPTICAL_EXPORT int mlib_zero  ) 
 

OPTICAL_EXPORT int mlib_one  ) 
 

OPTICAL_EXPORT void mlib_void  ) 
 

OPTICAL_EXPORT int rr_render register struct application ap,
struct partition pp,
struct shadework swp
 

OPTICAL_EXPORT void shade_inputs struct application ap,
const struct partition pp,
struct shadework swp,
int  want
 

OPTICAL_EXPORT void wray register struct partition pp,
register struct application ap,
FILE *  fp,
const vect_t  inormal
 

OPTICAL_EXPORT void wraypts vect_t  in,
vect_t  inorm,
vect_t  out,
int  id,
struct application ap,
FILE *  fp
 

OPTICAL_EXPORT void wraypaint vect_t  start,
vect_t  norm,
int  paint,
struct application ap,
FILE *  fp
 

OPTICAL_EXPORT int viewshade struct application ap,
register const struct partition pp,
register struct shadework swp
 


Variable Documentation

OPTICAL_EXPORT int rdebug
 

OPTICAL_EXPORT int rt_verbosity
 

OPTICAL_EXPORT double AmbientIntensity
 

OPTICAL_EXPORT vect_t background
 

Definition at line 2113 of file png.h.

OPTICAL_EXPORT struct region env_region
 

OPTICAL_EXPORT int max_bounces
 

OPTICAL_EXPORT int max_ireflect
 

OPTICAL_EXPORT const char liboptical_version[]
 

struct bu_structparse phong_parse[]
 


Generated on Mon Sep 18 01:25:47 2006 for BRL-CAD by  doxygen 1.4.6