lux::IrregularSPD Class Reference

#include <irregular.h>

Inheritance diagram for lux::IrregularSPD:

lux::SPD

List of all members.

Public Member Functions

 IrregularSPD ()
 IrregularSPD (const float *const wavelengths, const float *const samples, int n, int resolution=5, SPDResamplingMethod resamplignMethod=Linear)
 ~IrregularSPD ()

Protected Member Functions

void init (float lMin, float lMax, const float *const s, int n)

Private Member Functions

void calc_spline_data (const float *const wavelengths, const float *const amplitudes, int n, float *spline_data)


Detailed Description

Definition at line 38 of file irregular.h.


Constructor & Destructor Documentation

lux::IrregularSPD::IrregularSPD (  )  [inline]

Definition at line 41 of file irregular.h.

IrregularSPD::IrregularSPD ( const float *const   wavelengths,
const float *const   samples,
int  n,
int  resolution = 5,
SPDResamplingMethod  resamplignMethod = Linear 
)

lux::IrregularSPD::~IrregularSPD (  )  [inline]

Definition at line 52 of file irregular.h.


Member Function Documentation

void IrregularSPD::calc_spline_data ( const float *const   wavelengths,
const float *const   amplitudes,
int  n,
float *  spline_data 
) [private]

Definition at line 121 of file irregular.cpp.

References blender::p.

Referenced by IrregularSPD().

void IrregularSPD::init ( float  lMin,
float  lMax,
const float *const   s,
int  n 
) [protected]


The documentation for this class was generated from the following files:

Generated on Mon May 18 07:14:54 2009 for lux by  doxygen 1.5.7.1