#include <3dsmodel.h>
Collaboration diagram for M3DMaterial:

Public Member Functions | |
| M3DColor | getAmbientColor () const |
| M3DColor | getDiffuseColor () const |
| std::string | getName () const |
| float | getOpacity () const |
| float | getShininess () const |
| M3DColor | getSpecularColor () const |
| std::string | getTextureMap () const |
| M3DMaterial () | |
| void | setAmbientColor (M3DColor) |
| void | setDiffuseColor (M3DColor) |
| void | setName (std::string) |
| void | setOpacity (float) |
| void | setShininess (float) |
| void | setSpecularColor (M3DColor) |
| void | setTextureMap (const std::string &) |
Private Attributes | |
| M3DColor | ambient |
| M3DColor | diffuse |
| std::string | name |
| float | opacity |
| float | shininess |
| M3DColor | specular |
| std::string | texmap |
|
|
Definition at line 26 of file 3dsmodel.cpp. 00026 : 00027 ambient(0, 0, 0), 00028 diffuse(0, 0, 0), 00029 specular(0, 0, 0), 00030 shininess(1.0f) 00031 { 00032 }
|
|
|
Definition at line 54 of file 3dsmodel.cpp. References ambient. 00055 {
00056 return ambient;
00057 }
|
|
|
Definition at line 44 of file 3dsmodel.cpp. References diffuse. Referenced by Convert3DSMesh(), ConvertToVertexList(), and convertToVertexList(). 00045 {
00046 return diffuse;
00047 }
|
|
|
Definition at line 34 of file 3dsmodel.cpp. References name. Referenced by Convert3DSMesh(), ConvertToVertexList(), and convertToVertexList(). 00035 {
00036 return name;
00037 }
|
|
|
Definition at line 84 of file 3dsmodel.cpp. References opacity. Referenced by Convert3DSMesh(), ConvertToVertexList(), and convertToVertexList(). 00085 {
00086 return opacity;
00087 }
|
|
|
Definition at line 74 of file 3dsmodel.cpp. References shininess. Referenced by Convert3DSMesh(), ConvertToVertexList(), and convertToVertexList(). 00075 {
00076 return shininess;
00077 }
|
|
|
Definition at line 64 of file 3dsmodel.cpp. References specular. Referenced by Convert3DSMesh(), ConvertToVertexList(), and convertToVertexList(). 00065 {
00066 return specular;
00067 }
|
|
|
Definition at line 94 of file 3dsmodel.cpp. References texmap. Referenced by Convert3DSMesh(), ConvertToVertexList(), and convertToVertexList(). 00095 {
00096 return texmap;
00097 }
|
|
|
Definition at line 59 of file 3dsmodel.cpp. References ambient. Referenced by processMaterialChunk(). 00060 {
00061 ambient = color;
00062 }
|
|
|
Definition at line 49 of file 3dsmodel.cpp. References diffuse. Referenced by processMaterialChunk(). 00050 {
00051 diffuse = color;
00052 }
|
|
|
Definition at line 39 of file 3dsmodel.cpp. References name. Referenced by processMaterialChunk(). 00040 {
00041 name = _name;
00042 }
|
|
|
Definition at line 89 of file 3dsmodel.cpp. References opacity. Referenced by processMaterialChunk(). 00090 {
00091 opacity = _opacity;
00092 }
|
|
|
Definition at line 79 of file 3dsmodel.cpp. References shininess. Referenced by processMaterialChunk(). 00080 {
00081 shininess = _shininess;
00082 }
|
|
|
Definition at line 69 of file 3dsmodel.cpp. References specular. Referenced by processMaterialChunk(). 00070 {
00071 specular = color;
00072 }
|
|
|
Definition at line 99 of file 3dsmodel.cpp. References texmap. Referenced by processTexmapChunk(). 00100 {
00101 texmap = _texmap;
00102 }
|
|
|
Definition at line 52 of file 3dsmodel.h. Referenced by getAmbientColor(), and setAmbientColor(). |
|
|
Definition at line 53 of file 3dsmodel.h. Referenced by getDiffuseColor(), and setDiffuseColor(). |
|
|
Definition at line 50 of file 3dsmodel.h. |
|
|
Definition at line 56 of file 3dsmodel.h. Referenced by getOpacity(), and setOpacity(). |
|
|
Definition at line 55 of file 3dsmodel.h. Referenced by getShininess(), and setShininess(). |
|
|
Definition at line 54 of file 3dsmodel.h. Referenced by getSpecularColor(), and setSpecularColor(). |
|
|
Definition at line 51 of file 3dsmodel.h. Referenced by getTextureMap(), and setTextureMap(). |
1.4.1