Libmultispectral


Files

file  spectrum.h

Functions

RT_EXPORT void rt_spect_make_CIE_XYZ (struct bn_tabdata **x, struct bn_tabdata **y, struct bn_tabdata **z, const struct bn_table *tabp)
RT_EXPORT void rt_spect_black_body (struct bn_tabdata *data, double temp, unsigned int n)
RT_EXPORT void rt_spect_black_body_fast (struct bn_tabdata *data, double temp)
RT_EXPORT void rt_spect_reflectance_rgb (struct bn_tabdata *curve, const float rgb[3])

Function Documentation

RT_EXPORT void rt_spect_make_CIE_XYZ (  struct bn_tabdata **  x,
struct bn_tabdata **  y,
struct bn_tabdata **  z,
const struct bn_table *  tabp
) 
 

Definition at line 126 of file spectrum.c.

References BN_CK_TABLE, BN_GET_TABDATA, bn_table_interval_num_samples(), bu_log(), bn_table::nx, bn_table::x, and bn_tabdata::y.

Here is the call graph for this function:

RT_EXPORT void rt_spect_black_body (  struct bn_tabdata *  data,
double  temp,
unsigned int  n
) 
 

Definition at line 254 of file spectrum.c.

References BN_CK_TABDATA, BN_CK_TABLE, bu_debug, BU_DEBUG_TABDATA, bu_log(), data, bn_table::nx, PLANCK, and bn_table::x.

Here is the call graph for this function:

RT_EXPORT void rt_spect_black_body_fast (  struct bn_tabdata *  data,
double  temp
) 
 

Definition at line 313 of file spectrum.c.

References BN_CK_TABDATA, BN_CK_TABLE, bu_debug, BU_DEBUG_TABDATA, bu_log(), data, bn_table::nx, PLANCK, and bn_table::x.

Here is the call graph for this function:

RT_EXPORT void rt_spect_reflectance_rgb (  struct bn_tabdata *  curve,
const float  rgb[3]
) 
 


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