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: TexturedMaterial 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>TexturedMaterial Class Reference</h1><!-- doxytag: class="TexturedMaterial" --><!-- doxytag: inherits="Material" -->A <a class="el" href="class_material.html">Material</a> that can be assigned to an <a class="el" href="class_intersectable.html">Intersectable</a> (typically a <a class="el" href="class_triangle_mesh.html">TriangleMesh</a>), and contains a texture. The texture must be square (equal height and width), 32bpp, BGRA. |
---|
20 | <a href="#_details">More...</a> |
---|
21 | <p> |
---|
22 | Inherits <a class="el" href="class_material.html">Material</a>. |
---|
23 | <p> |
---|
24 | <a href="class_textured_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>Public Member Functions</h2></td></tr> |
---|
27 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_textured_material.html#e589d952a780b6cb1e6962b9e114805a">TexturedMaterial</a> (void *pdata, int pitch, int textureSize)</td></tr> |
---|
28 | |
---|
29 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#e589d952a780b6cb1e6962b9e114805a"></a><br></td></tr> |
---|
30 | </table> |
---|
31 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
32 | A <a class="el" href="class_material.html">Material</a> that can be assigned to an <a class="el" href="class_intersectable.html">Intersectable</a> (typically a <a class="el" href="class_triangle_mesh.html">TriangleMesh</a>), and contains a texture. The texture must be square (equal height and width), 32bpp, BGRA. |
---|
33 | <p> |
---|
34 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
35 | <a class="anchor" name="e589d952a780b6cb1e6962b9e114805a"></a><!-- doxytag: member="TexturedMaterial::TexturedMaterial" ref="e589d952a780b6cb1e6962b9e114805a" args="(void *pdata, int pitch, int textureSize)" --><p> |
---|
36 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
37 | <tr> |
---|
38 | <td class="mdRow"> |
---|
39 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
40 | <tr> |
---|
41 | <td class="md" nowrap valign="top">TexturedMaterial::TexturedMaterial </td> |
---|
42 | <td class="md" valign="top">( </td> |
---|
43 | <td class="md" nowrap valign="top">void * </td> |
---|
44 | <td class="mdname" nowrap> <em>pdata</em>, </td> |
---|
45 | </tr> |
---|
46 | <tr> |
---|
47 | <td class="md" nowrap align="right"></td> |
---|
48 | <td class="md"></td> |
---|
49 | <td class="md" nowrap>int </td> |
---|
50 | <td class="mdname" nowrap> <em>pitch</em>, </td> |
---|
51 | </tr> |
---|
52 | <tr> |
---|
53 | <td class="md" nowrap align="right"></td> |
---|
54 | <td class="md"></td> |
---|
55 | <td class="md" nowrap>int </td> |
---|
56 | <td class="mdname" nowrap> <em>textureSize</em></td> |
---|
57 | </tr> |
---|
58 | <tr> |
---|
59 | <td class="md"></td> |
---|
60 | <td class="md">) </td> |
---|
61 | <td class="md" colspan="2"></td> |
---|
62 | </tr> |
---|
63 | </table> |
---|
64 | </td> |
---|
65 | </tr> |
---|
66 | </table> |
---|
67 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
68 | <tr> |
---|
69 | <td> |
---|
70 | |
---|
71 | </td> |
---|
72 | <td> |
---|
73 | |
---|
74 | <p> |
---|
75 | Constructor. |
---|
76 | <p> |
---|
77 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
78 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
79 | <tr><td valign="top"></td><td valign="top"><em>pdata</em> </td><td>pointer to the memory containing the image </td></tr> |
---|
80 | <tr><td valign="top"></td><td valign="top"><em>pitch</em> </td><td>Number of bytes in a row. (Containg padding zeros, if any.) </td></tr> |
---|
81 | <tr><td valign="top"></td><td valign="top"><em>textureSize</em> </td><td>Width and height in pixels. (Width and height must be equal.) </td></tr> |
---|
82 | </table> |
---|
83 | </dl> |
---|
84 | </td> |
---|
85 | </tr> |
---|
86 | </table> |
---|
87 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
88 | <li>TexturedMaterial.h<li>TexturedMaterial.cpp</ul> |
---|
89 | <hr size="1"><address style="align: right;"><small>Generated on Thu Apr 27 17:17:42 2006 for Path Map Module by |
---|
90 | <a href="http://www.doxygen.org/index.html"> |
---|
91 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address> |
---|
92 | </body> |
---|
93 | </html> |
---|