1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
---|
3 | <title>Path Map Module: Material Class Reference</title> |
---|
4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.4.6-NO --> |
---|
8 | <div class="tabs"> |
---|
9 | <ul> |
---|
10 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
11 | <li id="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
12 | </ul></div> |
---|
13 | <div class="tabs"> |
---|
14 | <ul> |
---|
15 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
16 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
17 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
18 | </ul></div> |
---|
19 | <h1>Material Class Reference</h1><!-- doxytag: class="Material" --><a class="el" href="class_material.html">Material</a> class for ray tracing. A material that can be assigned to Intersectables. Implements [lambert + phong + ideal reflection + refraction + emission] model. Descendants may override this by texturing (<a class="el" href="class_textured_material.html">TexturedMaterial</a>) or procedural texturing. |
---|
20 | <a href="#_details">More...</a> |
---|
21 | <p> |
---|
22 | Inherited by <a class="el" href="class_textured_material.html">TexturedMaterial</a>, and <a class="el" href="class_wood_material.html">WoodMaterial</a>. |
---|
23 | <p> |
---|
24 | <a href="class_material-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
25 | <tr><td></td></tr> |
---|
26 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
27 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dff0c2d8b1b74b3e2f5d8e0b25070acf"></a><!-- doxytag: member="Material::kd" ref="dff0c2d8b1b74b3e2f5d8e0b25070acf" args="" --> |
---|
28 | <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#dff0c2d8b1b74b3e2f5d8e0b25070acf">kd</a></td></tr> |
---|
29 | |
---|
30 | <tr><td class="mdescLeft"> </td><td class="mdescRight">diffuse coefficient <br></td></tr> |
---|
31 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7a07ccde755a9302bb49083e21450972"></a><!-- doxytag: member="Material::ks" ref="7a07ccde755a9302bb49083e21450972" args="" --> |
---|
32 | <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#7a07ccde755a9302bb49083e21450972">ks</a></td></tr> |
---|
33 | |
---|
34 | <tr><td class="mdescLeft"> </td><td class="mdescRight">specular energy reflected for perpendicular light <br></td></tr> |
---|
35 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="49335919c5596c4523f71be7f01bdf9d"></a><!-- doxytag: member="Material::ns" ref="49335919c5596c4523f71be7f01bdf9d" args="" --> |
---|
36 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#49335919c5596c4523f71be7f01bdf9d">ns</a></td></tr> |
---|
37 | |
---|
38 | <tr><td class="mdescLeft"> </td><td class="mdescRight">specularity <br></td></tr> |
---|
39 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c17af9197d974c1b6ddb74d328c0974d"></a><!-- doxytag: member="Material::ki" ref="c17af9197d974c1b6ddb74d328c0974d" args="" --> |
---|
40 | <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#c17af9197d974c1b6ddb74d328c0974d">ki</a></td></tr> |
---|
41 | |
---|
42 | <tr><td class="mdescLeft"> </td><td class="mdescRight">ideal <br></td></tr> |
---|
43 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2df737b538dea9d03772ef63e6f7533"></a><!-- doxytag: member="Material::kr" ref="d2df737b538dea9d03772ef63e6f7533" args="" --> |
---|
44 | <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#d2df737b538dea9d03772ef63e6f7533">kr</a></td></tr> |
---|
45 | |
---|
46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">refractive <br></td></tr> |
---|
47 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93e332f41e1b4101c4a5151c5f115521"></a><!-- doxytag: member="Material::rf" ref="93e332f41e1b4101c4a5151c5f115521" args="" --> |
---|
48 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#93e332f41e1b4101c4a5151c5f115521">rf</a></td></tr> |
---|
49 | |
---|
50 | <tr><td class="mdescLeft"> </td><td class="mdescRight">refraction ratio <br></td></tr> |
---|
51 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9d88a9ef5de17f0a1efd0efb953344c9"></a><!-- doxytag: member="Material::ad" ref="9d88a9ef5de17f0a1efd0efb953344c9" args="" --> |
---|
52 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#9d88a9ef5de17f0a1efd0efb953344c9">ad</a></td></tr> |
---|
53 | |
---|
54 | <tr><td class="mdescLeft"> </td><td class="mdescRight">diffuse albedo <br></td></tr> |
---|
55 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="594b05e42c9deef9ab84df572ec0181b"></a><!-- doxytag: member="Material::as" ref="594b05e42c9deef9ab84df572ec0181b" args="" --> |
---|
56 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#594b05e42c9deef9ab84df572ec0181b">as</a></td></tr> |
---|
57 | |
---|
58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">specular albedo <br></td></tr> |
---|
59 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2dfb8f54ff0aa5c2e1e43785fd15fbad"></a><!-- doxytag: member="Material::ai" ref="2dfb8f54ff0aa5c2e1e43785fd15fbad" args="" --> |
---|
60 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#2dfb8f54ff0aa5c2e1e43785fd15fbad">ai</a></td></tr> |
---|
61 | |
---|
62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">ideal albedo <br></td></tr> |
---|
63 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="65789480a0b0c204e68c81bfd2707fb8"></a><!-- doxytag: member="Material::ar" ref="65789480a0b0c204e68c81bfd2707fb8" args="" --> |
---|
64 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#65789480a0b0c204e68c81bfd2707fb8">ar</a></td></tr> |
---|
65 | |
---|
66 | <tr><td class="mdescLeft"> </td><td class="mdescRight">refraction albedo <br></td></tr> |
---|
67 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d3b14a05a1cf7f289b7118f6b520f8dc"></a><!-- doxytag: member="Material::ed" ref="d3b14a05a1cf7f289b7118f6b520f8dc" args="" --> |
---|
68 | <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#d3b14a05a1cf7f289b7118f6b520f8dc">ed</a></td></tr> |
---|
69 | |
---|
70 | <tr><td class="mdescLeft"> </td><td class="mdescRight">diffuse emission <br></td></tr> |
---|
71 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8abb0666fa4f8e0d5d20451a46405f13"></a><!-- doxytag: member="Material::es" ref="8abb0666fa4f8e0d5d20451a46405f13" args="" --> |
---|
72 | <a class="el" href="class_vector.html">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#8abb0666fa4f8e0d5d20451a46405f13">es</a></td></tr> |
---|
73 | |
---|
74 | <tr><td class="mdescLeft"> </td><td class="mdescRight">directional (near surface normal) emission <br></td></tr> |
---|
75 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="76d81d87c8593b12b2cbbdc73871f9a8"></a><!-- doxytag: member="Material::ens" ref="76d81d87c8593b12b2cbbdc73871f9a8" args="" --> |
---|
76 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#76d81d87c8593b12b2cbbdc73871f9a8">ens</a></td></tr> |
---|
77 | |
---|
78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">directional (near surface normal) emission exponent <br></td></tr> |
---|
79 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9cc52856df5822ae7187e4b8c9fa6b54"></a><!-- doxytag: member="Material::aed" ref="9cc52856df5822ae7187e4b8c9fa6b54" args="" --> |
---|
80 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#9cc52856df5822ae7187e4b8c9fa6b54">aed</a></td></tr> |
---|
81 | |
---|
82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">diffuse emission albedo <br></td></tr> |
---|
83 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="22317ae4de7c9796727503239fab4250"></a><!-- doxytag: member="Material::aes" ref="22317ae4de7c9796727503239fab4250" args="" --> |
---|
84 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_material.html#22317ae4de7c9796727503239fab4250">aes</a></td></tr> |
---|
85 | |
---|
86 | <tr><td class="mdescLeft"> </td><td class="mdescRight">directional emission albedo <br></td></tr> |
---|
87 | </table> |
---|
88 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
89 | <a class="el" href="class_material.html">Material</a> class for ray tracing. A material that can be assigned to Intersectables. Implements [lambert + phong + ideal reflection + refraction + emission] model. Descendants may override this by texturing (<a class="el" href="class_textured_material.html">TexturedMaterial</a>) or procedural texturing. |
---|
90 | <p> |
---|
91 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
92 | <li>Material.hpp<li>Constants.cpp</ul> |
---|
93 | <hr size="1"><address style="align: right;"><small>Generated on Thu Apr 27 17:17:42 2006 for Path Map Module by |
---|
94 | <a href="http://www.doxygen.org/index.html"> |
---|
95 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address> |
---|
96 | </body> |
---|
97 | </html> |
---|