SpectralSampleSet.h File Reference
#include <common/common.h>#include <common/image/Rgba.h>#include <ostream>#include <limits>#include <utils/SpectralSampleSet.inl>Go to the source code of this file.
Classes | |
| struct | SpectralSample |
| class | SpectralSampleSet |
| Templated set of spectral values (wavelength-dependeht), sampled at N distinct wavelengths. Specific SpectralSampleSet instances include SpectralRadianceSet, in which each sample represents the radiance at a single wavelength with units Watts / (m^2 sr), and SpectralScalarSet, where each wavelength-dependent sample represents a unitless scalar that can be used to attenuate SpectralRadianceSet. More... | |
Defines | |
| #define | NO_DEFAULT_WAVELENGTHS 3 |
Typedefs | |
| typedef SpectralSample | SpectralRadiance |
| spectral radiance with units Watts / (m^2 sr) | |
| typedef SpectralSampleSet | SpectralRadianceSet |
Functions | |
Extra operators where SpectralSampleSet is on right-hand side | |
| SpectralSampleSet | operator* (const real_t &scale, const SpectralSampleSet &v) |
| std::ostream & | operator<< (std::ostream &os, const SpectralSampleSet &v) |
| Prints a SpectralSampleSet to an output stream. | |
Define Documentation
| #define NO_DEFAULT_WAVELENGTHS 3 |
Definition at line 31 of file SpectralSampleSet.h.
Typedef Documentation
| typedef SpectralSample SpectralRadiance |
| typedef SpectralSampleSet SpectralRadianceSet |
set of spectral radiance samples, where each sample represents the radiance at a single wavelength with units Watts / (m^2 sr)
Definition at line 262 of file SpectralSampleSet.h.
Function Documentation
| SpectralSampleSet operator* | ( | const real_t & | scale, | |
| const SpectralSampleSet & | v | |||
| ) | [inline] |
- Returns:
- the
v, with each spectral sample scaled byscale
Definition at line 357 of file SpectralSampleSet.inl.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const SpectralSampleSet & | v | |||
| ) | [inline] |
Prints a SpectralSampleSet to an output stream.
Definition at line 364 of file SpectralSampleSet.inl.
Generated on 28 Feb 2009 for Milton by
1.5.6