#include <opennurbs_material.h>
Definition at line 25 of file opennurbs_material.h.
Definition at line 76 of file opennurbs_material.cpp.
Definition at line 81 of file opennurbs_material.cpp.
int ON_Material::AddTexture | ( | const ON_Texture & | tx | ) |
Definition at line 629 of file opennurbs_material.cpp.
int ON_Material::AddTexture | ( | const wchar_t * | filename, |
ON_Texture::TYPE | type | ||
) |
Definition at line 651 of file opennurbs_material.cpp.
ON_Color ON_Material::Ambient | ( | ) | const |
Definition at line 871 of file opennurbs_material.cpp.
int ON_Material::Compare | ( | const ON_Material & | other | ) | const |
Definition at line 808 of file opennurbs_material.cpp.
void ON_Material::Default | ( | ) |
Definition at line 33 of file opennurbs_material.cpp.
int ON_Material::DeleteTexture | ( | const wchar_t * | filename, |
ON_Texture::TYPE | type | ||
) |
Definition at line 604 of file opennurbs_material.cpp.
ON_Color ON_Material::Diffuse | ( | ) | const |
Definition at line 876 of file opennurbs_material.cpp.
void ON_Material::Dump | ( | ON_TextLog & | dump | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 92 of file opennurbs_material.cpp.
ON_Color ON_Material::Emission | ( | ) | const |
Definition at line 881 of file opennurbs_material.cpp.
int ON_Material::FindTexture | ( | ON_UUID | texture_id | ) | const |
Definition at line 593 of file opennurbs_material.cpp.
int ON_Material::FindTexture | ( | const wchar_t * | filename, |
ON_Texture::TYPE | type, | ||
int | i0 = -1 |
||
) | const |
Definition at line 571 of file opennurbs_material.cpp.
ON_BOOL32 ON_Material::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const [virtual] |
Implements ON_Object.
Definition at line 85 of file opennurbs_material.cpp.
int ON_Material::MaterialIndex | ( | ) | const |
Definition at line 911 of file opennurbs_material.cpp.
const wchar_t * ON_Material::MaterialName | ( | ) | const |
Definition at line 921 of file opennurbs_material.cpp.
ON_UUID ON_Material::MaterialPlugInUuid | ( | ) | const |
Definition at line 126 of file opennurbs_material.cpp.
double ON_Material::MaxShine | ( | ) | [static] |
Definition at line 28 of file opennurbs_material.cpp.
ON_UUID ON_Material::ModelObjectId | ( | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 1575 of file opennurbs_object.cpp.
ON::object_type ON_Material::ObjectType | ( | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 566 of file opennurbs_material.cpp.
ON_Material::ON_OBJECT_DECLARE | ( | ON_Material | ) | [private] |
bool ON_Material::operator!= | ( | const ON_Material & | src | ) | const |
Definition at line 707 of file opennurbs_material.cpp.
bool ON_Material::operator== | ( | const ON_Material & | src | ) | const |
Definition at line 702 of file opennurbs_material.cpp.
ON_BOOL32 ON_Material::Read | ( | ON_BinaryArchive & | file | ) | [virtual] |
Reimplemented from ON_Object.
Definition at line 327 of file opennurbs_material.cpp.
bool ON_Material::ReadV3Helper | ( | ON_BinaryArchive & | file, |
int | minor_version | ||
) | [private] |
Definition at line 443 of file opennurbs_material.cpp.
void ON_Material::SetAmbient | ( | ON_Color | c | ) |
Definition at line 891 of file opennurbs_material.cpp.
void ON_Material::SetDiffuse | ( | ON_Color | c | ) |
Definition at line 896 of file opennurbs_material.cpp.
void ON_Material::SetEmission | ( | ON_Color | c | ) |
Definition at line 901 of file opennurbs_material.cpp.
void ON_Material::SetMaterialIndex | ( | int | i | ) |
Definition at line 916 of file opennurbs_material.cpp.
void ON_Material::SetMaterialName | ( | const wchar_t * | sMaterialName | ) |
Definition at line 926 of file opennurbs_material.cpp.
void ON_Material::SetMaterialPlugInUuid | ( | ON_UUID | u | ) |
Definition at line 131 of file opennurbs_material.cpp.
void ON_Material::SetShine | ( | double | shine | ) |
Definition at line 676 of file opennurbs_material.cpp.
void ON_Material::SetSpecular | ( | ON_Color | c | ) |
Definition at line 906 of file opennurbs_material.cpp.
void ON_Material::SetTransparency | ( | double | transparency | ) |
Definition at line 692 of file opennurbs_material.cpp.
double ON_Material::Shine | ( | ) | const |
Definition at line 671 of file opennurbs_material.cpp.
ON_Color ON_Material::Specular | ( | ) | const |
Definition at line 886 of file opennurbs_material.cpp.
double ON_Material::Transparency | ( | ) | const |
Definition at line 687 of file opennurbs_material.cpp.
ON_BOOL32 ON_Material::Write | ( | ON_BinaryArchive & | file | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 136 of file opennurbs_material.cpp.
bool ON_Material::WriteV3Helper | ( | ON_BinaryArchive & | file | ) | const [private] |
Definition at line 216 of file opennurbs_material.cpp.
Definition at line 147 of file opennurbs_material.h.
Definition at line 166 of file opennurbs_material.h.
Definition at line 158 of file opennurbs_material.h.
Definition at line 148 of file opennurbs_material.h.
Definition at line 149 of file opennurbs_material.h.
Definition at line 144 of file opennurbs_material.h.
Definition at line 153 of file opennurbs_material.h.
ON_SimpleArray<ON_UuidIndex> ON_Material::m_material_channel |
Definition at line 320 of file opennurbs_material.h.
Definition at line 132 of file opennurbs_material.h.
Definition at line 139 of file opennurbs_material.h.
Definition at line 142 of file opennurbs_material.h.
double ON_Material::m_max_shine = 255.0f [static, private] |
Definition at line 325 of file opennurbs_material.h.
Definition at line 322 of file opennurbs_material.h.
Definition at line 151 of file opennurbs_material.h.
double ON_Material::m_reflectivity |
Definition at line 154 of file opennurbs_material.h.
unsigned char ON_Material::m_reserved1[2] [private] |
Definition at line 177 of file opennurbs_material.h.
double ON_Material::m_shine |
Definition at line 155 of file opennurbs_material.h.
Definition at line 150 of file opennurbs_material.h.
Definition at line 300 of file opennurbs_material.h.
double ON_Material::m_transparency |
Definition at line 156 of file opennurbs_material.h.
Definition at line 152 of file opennurbs_material.h.