#include <Mesh.h>

Public Member Functions | |
| void | setColor (float r, float g, float b, float a) |
| Material () | |
Data Fields | |
| std::string | name |
| Vec4f | diffuse |
| Vec4f | ambient |
| Vec4f | specular |
| Vec4f | emissive |
| float | shininess |
| bool | useDiffuse |
| bool | useSpecular |
| bool | useAmbient |
| bool | useEmissive |
| bool | useShininess |
| bool | activated |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const Material &m) |
| std::istream & | operator>> (std::istream &in, Material &m) |
Definition at line 52 of file Mesh.h.
| sofa::helper::io::Mesh::Material::Material | ( | ) |
Definition at line 42 of file Mesh.cpp.
References activated, ambient, diffuse, emissive, name, shininess, specular, useAmbient, useDiffuse, useEmissive, useShininess, and useSpecular.
| void sofa::helper::io::Mesh::Material::setColor | ( | float | r, | |
| float | g, | |||
| float | b, | |||
| float | a | |||
| ) |
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const Material & | m | |||
| ) | [friend] |
| std::istream& operator>> | ( | std::istream & | in, | |
| Material & | m | |||
| ) | [friend] |
Definition at line 66 of file Mesh.h.
Referenced by Material(), and sofa::component::visualmodel::VisualModelImpl::setMesh().
Definition at line 57 of file Mesh.h.
Referenced by Material(), setColor(), sofa::gui::qt::ModifyObject::setNode(), and sofa::gui::qt::ModifyObject::updateValues().
Definition at line 56 of file Mesh.h.
Referenced by Material(), setColor(), sofa::gui::qt::ModifyObject::setNode(), and sofa::gui::qt::ModifyObject::updateValues().
Definition at line 59 of file Mesh.h.
Referenced by Material(), setColor(), sofa::gui::qt::ModifyObject::setNode(), and sofa::gui::qt::ModifyObject::updateValues().
| std::string sofa::helper::io::Mesh::Material::name |
Definition at line 60 of file Mesh.h.
Referenced by Material(), sofa::gui::qt::ModifyObject::setNode(), and sofa::gui::qt::ModifyObject::updateValues().
Definition at line 58 of file Mesh.h.
Referenced by Material(), setColor(), sofa::gui::qt::ModifyObject::setNode(), and sofa::gui::qt::ModifyObject::updateValues().
Definition at line 63 of file Mesh.h.
Referenced by Material(), sofa::gui::qt::ModifyObject::setNode(), and sofa::gui::qt::ModifyObject::updateValues().
Definition at line 61 of file Mesh.h.
Referenced by Material(), sofa::gui::qt::ModifyObject::setNode(), and sofa::gui::qt::ModifyObject::updateValues().
Definition at line 64 of file Mesh.h.
Referenced by Material(), sofa::gui::qt::ModifyObject::setNode(), and sofa::gui::qt::ModifyObject::updateValues().
Definition at line 65 of file Mesh.h.
Referenced by Material(), sofa::gui::qt::ModifyObject::setNode(), and sofa::gui::qt::ModifyObject::updateValues().
Definition at line 62 of file Mesh.h.
Referenced by Material(), sofa::gui::qt::ModifyObject::setNode(), and sofa::gui::qt::ModifyObject::updateValues().
1.5.7.1