SpectralSample Struct Reference
#include <SpectralSampleSet.h>
Public Member Functions | |
| SpectralSample (real_t value_, unsigned wavelength_) | |
| SpectralSample (const SpectralSample &r) | |
| SpectralSample () | |
| bool | operator== (const SpectralSample &r) const |
| bool | operator!= (const SpectralSample &r) const |
| operator real_t () const | |
Public Attributes | |
| real_t | value |
| unsigned | wavelength |
Detailed Description
Definition at line 33 of file SpectralSampleSet.h.
Constructor & Destructor Documentation
| SpectralSample::SpectralSample | ( | real_t | value_, | |
| unsigned | wavelength_ | |||
| ) | [inline] |
Definition at line 43 of file SpectralSampleSet.h.
| SpectralSample::SpectralSample | ( | const SpectralSample & | r | ) | [inline] |
Definition at line 47 of file SpectralSampleSet.h.
| SpectralSample::SpectralSample | ( | ) | [inline] |
Definition at line 51 of file SpectralSampleSet.h.
Member Function Documentation
| bool SpectralSample::operator== | ( | const SpectralSample & | r | ) | const [inline] |
Definition at line 54 of file SpectralSampleSet.h.
| bool SpectralSample::operator!= | ( | const SpectralSample & | r | ) | const [inline] |
Definition at line 58 of file SpectralSampleSet.h.
| SpectralSample::operator real_t | ( | ) | const [inline] |
Definition at line 62 of file SpectralSampleSet.h.
Member Data Documentation
point-sampled, wavelength-dependent value, with generic units that are dependent on the user's interpretation
Definition at line 36 of file SpectralSampleSet.h.
| unsigned SpectralSample::wavelength |
wavelength of this spectral sample in nm note: we're restricting simulation to integer wavelengths to allow array indexing by wavelength (for efficiency reasons)
Definition at line 41 of file SpectralSampleSet.h.
The documentation for this struct was generated from the following file:
Generated on 28 Feb 2009 for Milton by
1.5.6