|
| rgb_model (Real e0, Real e1, Real e2) |
|
| rgb_model (Real e0) |
|
| rgb_model (const Real e1[3]) |
|
| rgb_model (const vec3 &v) |
|
| rgb_model (const path &path_to_csv, const std::string &wave_col_name, const std::string &power_col_name, const char &sep=',', const uint stride=SPD_STRIDE, SpectrumType stype=SpectrumType::Reflectance) |
|
vec3 | to_xyz () const override |
|
vec3 | to_vec3 () const |
|
vec3 | to_rgb () const override |
|
vec3 | evaluate (const WaveLength &w) const |
|
void | add (const color &c, const WaveLength &w) |
|
rgb_model | operator* (Real coeff) const |
|
void | scale (Real coeff) |
|
| vec3 (Real e0, Real e1, Real e2) |
|
| vec3 (Real e0) |
|
| vec3 (const Real e1[3]) |
|
Real | x () const |
|
Real | y () const |
|
Real | z () const |
|
Real | r () const |
|
Real | g () const |
|
Real | b () const |
|
vec3 | operator- () const |
|
Real | operator[] (int i) const |
|
Real & | operator[] (int i) |
|
vec3 & | operator+= (const vec3 &v) |
|
vec3 & | operator*= (const Real t) |
|
vec3 & | operator/= (const Real t) |
|
vec3 | add (const vec3 &v) |
|
Real | sum () |
|
Real | average () |
|
vec3 | add (const Real &v) |
|
vec3 | subt (const Real &v) |
|
vec3 | subt (const vec3 &v) |
|
vec3 | multip (const vec3 &v) |
|
vec3 | multip (const Real &v) |
|
vec3 | div (const Real &v) |
|
vec3 | div (const vec3 &v) |
|
Real | length () const |
|
Real | length_squared () const |
|
Real | min () const |
|
Real | max () const |
|
bool | near_zero () const |
|
std::vector< Real > | to_vector () const |
|
void | conditional_set (Real setval, int index, const std::function< bool(Real indval)> &fn) |
|
void | conditional_set (Real setval, const std::function< bool(Real indval)> &fn) |
|
|
SpectrumType | type = SpectrumType::RGB |
|
Real | e [3] |
|
|
static vec3 | random () |
|
static vec3 | random (Real min, Real max) |
|
The documentation for this class was generated from the following file: