<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: csGenerateImageTexture Class Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <h1>csGenerateImageTexture Class Reference</h1><!-- doxytag: class="csGenerateImageTexture" -->A base class which represents a texture that can be displayed on the terrain. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="gentrtex_8h-source.html">cstool/gentrtex.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for csGenerateImageTexture:</div> <div class="dynsection"> <p><center><img src="classcsGenerateImageTexture__inherit__graph.png" border="0" usemap="#csGenerateImageTexture__inherit__map" alt="Inheritance graph"></center> <map name="csGenerateImageTexture__inherit__map"> <area shape="rect" href="classcsGenerateImageTextureBlend.html" title="a class for a texture that is made by blending together other textures based on a..." alt="" coords="240,5,459,32"><area shape="rect" href="classcsGenerateImageTextureSingle.html" title="A class for a single texture." alt="" coords="239,56,460,83"><area shape="rect" href="classcsGenerateImageTextureSolid.html" title="A class for a solid coloured texture." alt="" coords="243,107,456,133"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classcsGenerateImageTexture-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGenerateImageTexture.html#f1f1b5a8e27e3c8cf44402260b41de63">GetColor</a> (<a class="el" href="classcsColor.html">csColor</a> &col, float x, float y)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">get color (0..1) for location <a href="#f1f1b5a8e27e3c8cf44402260b41de63"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGenerateImageTexture.html#f8bd4bec335dbe5f86226f83759794f7">~csGenerateImageTexture</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">delete it <a href="#f8bd4bec335dbe5f86226f83759794f7"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A base class which represents a texture that can be displayed on the terrain. <p> It has a colour for each pixel <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000013">Deprecated:</a></b></dt><dd></dd></dl> <p>Definition at line <a class="el" href="gentrtex_8h-source.html#l00058">58</a> of file <a class="el" href="gentrtex_8h-source.html">gentrtex.h</a>.</p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="f8bd4bec335dbe5f86226f83759794f7"></a><!-- doxytag: member="csGenerateImageTexture::~csGenerateImageTexture" ref="f8bd4bec335dbe5f86226f83759794f7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual csGenerateImageTexture::~csGenerateImageTexture </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> delete it <p> <p>Definition at line <a class="el" href="gentrtex_8h-source.html#l00062">62</a> of file <a class="el" href="gentrtex_8h-source.html">gentrtex.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="f1f1b5a8e27e3c8cf44402260b41de63"></a><!-- doxytag: member="csGenerateImageTexture::GetColor" ref="f1f1b5a8e27e3c8cf44402260b41de63" args="(csColor &col, float x, float y)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void csGenerateImageTexture::GetColor </td> <td>(</td> <td class="paramtype"><a class="el" href="classcsColor.html">csColor</a> & </td> <td class="paramname"> <em>col</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"> <em>y</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> get color (0..1) for location <p> <p>Implemented in <a class="el" href="classcsGenerateImageTextureSolid.html#3edbd94626a528c79abbacd553a5d507">csGenerateImageTextureSolid</a>, <a class="el" href="classcsGenerateImageTextureSingle.html#bc305faffcfa1835979e10ece7b55282">csGenerateImageTextureSingle</a>, and <a class="el" href="classcsGenerateImageTextureBlend.html#e34f8efbfbd9ea903fee3b3a1f2da849">csGenerateImageTextureBlend</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>cstool/<a class="el" href="gentrtex_8h-source.html">gentrtex.h</a></ul> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>