#include "metal.h"#include "bxdf.h"#include "fresnelconductor.h"#include "microfacet.h"#include "blinn.h"#include "anisotropic.h"#include "paramset.h"#include "irregular.h"#include <boost/lexical_cast.hpp>#include <boost/regex.hpp>#include <fstream>Go to the source code of this file.
Classes | |
| struct | IOR |
| struct | IORSample |
Functions | |
| float | eVtolambda (float eV) |
| float | umtolambda (float um) |
| void | IORFromName (const string name, SPD *&n, SPD *&k) |
| bool | InterpolatedIOR (float lambda, const vector< struct IORSample > &data, IOR *ior) |
| bool | ReadSOPRAData (std::ifstream &fs, vector< struct IORSample > &data) |
| bool | ReadLuxpopData (std::ifstream &fs, vector< struct IORSample > &data) |
| int | IORFromFile (const string filename, SPD *&n, SPD *&k) |
| float eVtolambda | ( | float | eV | ) |
Definition at line 78 of file metal.cpp.
Referenced by ReadSOPRAData().
Definition at line 339 of file metal.cpp.
References ReadLuxpopData(), and ReadSOPRAData().
Referenced by lux::Metal::CreateMaterial().
Definition at line 90 of file metal.cpp.
References lux::DEFAULT_METAL, LUX_NOERROR, LUX_WARNING, and luxError.
Referenced by lux::Metal::CreateMaterial().
| bool ReadLuxpopData | ( | std::ifstream & | fs, | |
| vector< struct IORSample > & | data | |||
| ) |
Definition at line 306 of file metal.cpp.
References IORSample::ior, IOR::k, IORSample::lambda, cimg_library::line(), and IOR::n.
Referenced by IORFromFile().
| bool ReadSOPRAData | ( | std::ifstream & | fs, | |
| vector< struct IORSample > & | data | |||
| ) |
Definition at line 240 of file metal.cpp.
References eVtolambda(), IORSample::ior, IOR::k, IORSample::lambda, cimg_library::line(), IOR::n, and umtolambda().
Referenced by IORFromFile().
| float umtolambda | ( | float | um | ) |
Definition at line 86 of file metal.cpp.
Referenced by ReadSOPRAData().
1.6.1