RiIrregularSpectralCurve[ Color | Source | Search | Keywords | Summary | Ancestors | All Members | Descendants ]
| public: | |
| // Constructors and assignment | |
| RiIrregularSpectralCurve(const RiReal *data, const RiReal *lambda, int numSamples); | |
| RiIrregularSpectralCurve(int numSamples); | |
| ~RiIrregularSpectralCurve(); | |
| void | SetSample(int sample, RiReal value, RiReal lambda); |
| // Members | |
| RiReal | GetValue(RiReal lambda) const; |
| protected: |
RiIrregularSpectralCurve(const RiReal *data, const RiReal *lambda, int numSamples);
RiIrregularSpectralCurve(int numSamples);
~RiIrregularSpectralCurve();
void SetSample(int sample, RiReal value, RiReal lambda);
virtual RiReal GetValue(RiReal lambda) const;
| public: | ||
|---|---|---|
| operator | RiSpectrum() const; | |
| RiReal | GetValue(RiReal lambda) const; | // pure virtual |
| RiReal | operator()(RiReal lambda) const ; | |
| // Constructors and assignment | ||
| void | SetSample(int sample, RiReal value, RiReal lambda); | |
| protected: | ||
| RiSpectrum | Integrate(RiReal stepSize) const; | |