#include <Material.h>
Public Attributes | |
| std::string | name |
| RGBAColor | diffuse |
| RGBAColor | ambient |
| RGBAColor | specular |
| RGBAColor | emissive |
| float | shininess |
| bool | useDiffuse |
| bool | useSpecular |
| bool | useAmbient |
| bool | useEmissive |
| bool | useShininess |
| bool | useTexture |
| bool | useBumpMapping |
| bool | activated |
| std::string | textureFilename |
| std::string | bumpTextureFilename |
Public Member Functions | |
| void | setColor (float r, float g, float b, float a) |
| Material () | |
| Material (const Material &mat) | |
| Material & | operator= (const Material &other) |
Friends | |
| SOFA_TYPE_API std::ostream & | operator<< (std::ostream &out, const Material &m) |
| SOFA_TYPE_API std::istream & | operator>> (std::istream &in, Material &m) |
| bool sofa::type::Material::activated |
| RGBAColor sofa::type::Material::ambient |
| std::string sofa::type::Material::bumpTextureFilename |
| RGBAColor sofa::type::Material::diffuse |
| RGBAColor sofa::type::Material::emissive |
| std::string sofa::type::Material::name |
| float sofa::type::Material::shininess |
| RGBAColor sofa::type::Material::specular |
| std::string sofa::type::Material::textureFilename |
| bool sofa::type::Material::useAmbient |
| bool sofa::type::Material::useBumpMapping |
| bool sofa::type::Material::useDiffuse |
| bool sofa::type::Material::useEmissive |
| bool sofa::type::Material::useShininess |
| bool sofa::type::Material::useSpecular |
| bool sofa::type::Material::useTexture |
| sofa::type::Material::Material | ( | ) |
| sofa::type::Material::Material | ( | const Material & | mat | ) |
|
friend |
|
friend |