<!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: csGenerateImageTextureBlend 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>csGenerateImageTextureBlend Class Reference</h1><!-- doxytag: class="csGenerateImageTextureBlend" --><!-- doxytag: inherits="csGenerateImageTexture" -->a class for a texture that is made by blending together other textures based on a value. <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 csGenerateImageTextureBlend:</div> <div class="dynsection"> <p><center><img src="classcsGenerateImageTextureBlend__inherit__graph.png" border="0" usemap="#csGenerateImageTextureBlend__inherit__map" alt="Inheritance graph"></center> <map name="csGenerateImageTextureBlend__inherit__map"> <area shape="rect" href="classcsGenerateImageTexture.html" title="A base class which represents a texture that can be displayed on the terrain." alt="" coords="23,7,207,33"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classcsGenerateImageTextureBlend-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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGenerateImageTextureBlend.html#de4db3d397cc9d8026d881a9f78f98a7">AddLayer</a> (float value, <a class="el" href="classcsGenerateImageTexture.html">csGenerateImageTexture</a> *tex)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">add a layer correctly sorted into the list <a href="#de4db3d397cc9d8026d881a9f78f98a7"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGenerateImageTextureBlend.html#e34f8efbfbd9ea903fee3b3a1f2da849">GetColor</a> (<a class="el" href="classcsColor.html">csColor</a> &col, float x, float y)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">get the color <a href="#e34f8efbfbd9ea903fee3b3a1f2da849"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGenerateImageTextureBlend.html#31162c481b828e09481d767888ae4ab7">~csGenerateImageTextureBlend</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">deletes the list too <a href="#31162c481b828e09481d767888ae4ab7"></a><br></td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsGenerateImageLayer.html">csGenerateImageLayer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGenerateImageTextureBlend.html#ef83b05466fb7b9cfbd73706a1f9b9ba">layers</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">the list - sorted by value - of layers <a href="#ef83b05466fb7b9cfbd73706a1f9b9ba"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsGenerateImageValue.html">csGenerateImageValue</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGenerateImageTextureBlend.html#35d694df56b63baa93b8eee0cc7f16e8">valuefunc</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">the value function object <a href="#35d694df56b63baa93b8eee0cc7f16e8"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> a class for a texture that is made by blending together other textures based on a value. <p> It has a set of layers to blend between. <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000018">Deprecated:</a></b></dt><dd></dd></dl> <p>Definition at line <a class="el" href="gentrtex_8h-source.html#l00172">172</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="31162c481b828e09481d767888ae4ab7"></a><!-- doxytag: member="csGenerateImageTextureBlend::~csGenerateImageTextureBlend" ref="31162c481b828e09481d767888ae4ab7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual csGenerateImageTextureBlend::~csGenerateImageTextureBlend </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> deletes the list too <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="de4db3d397cc9d8026d881a9f78f98a7"></a><!-- doxytag: member="csGenerateImageTextureBlend::AddLayer" ref="de4db3d397cc9d8026d881a9f78f98a7" args="(float value, csGenerateImageTexture *tex)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void csGenerateImageTextureBlend::AddLayer </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"> <em>value</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classcsGenerateImageTexture.html">csGenerateImageTexture</a> * </td> <td class="paramname"> <em>tex</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> add a layer correctly sorted into the list <p> </div> </div><p> <a class="anchor" name="e34f8efbfbd9ea903fee3b3a1f2da849"></a><!-- doxytag: member="csGenerateImageTextureBlend::GetColor" ref="e34f8efbfbd9ea903fee3b3a1f2da849" args="(csColor &col, float x, float y)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void csGenerateImageTextureBlend::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> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> get the color <p> <p>Implements <a class="el" href="classcsGenerateImageTexture.html#f1f1b5a8e27e3c8cf44402260b41de63">csGenerateImageTexture</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="ef83b05466fb7b9cfbd73706a1f9b9ba"></a><!-- doxytag: member="csGenerateImageTextureBlend::layers" ref="ef83b05466fb7b9cfbd73706a1f9b9ba" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcsGenerateImageLayer.html">csGenerateImageLayer</a>* <a class="el" href="classcsGenerateImageTextureBlend.html#ef83b05466fb7b9cfbd73706a1f9b9ba">csGenerateImageTextureBlend::layers</a> </td> </tr> </table> </div> <div class="memdoc"> <p> the list - sorted by value - of layers <p> <p>Definition at line <a class="el" href="gentrtex_8h-source.html#l00177">177</a> of file <a class="el" href="gentrtex_8h-source.html">gentrtex.h</a>.</p> </div> </div><p> <a class="anchor" name="35d694df56b63baa93b8eee0cc7f16e8"></a><!-- doxytag: member="csGenerateImageTextureBlend::valuefunc" ref="35d694df56b63baa93b8eee0cc7f16e8" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcsGenerateImageValue.html">csGenerateImageValue</a>* <a class="el" href="classcsGenerateImageTextureBlend.html#35d694df56b63baa93b8eee0cc7f16e8">csGenerateImageTextureBlend::valuefunc</a> </td> </tr> </table> </div> <div class="memdoc"> <p> the value function object <p> <p>Definition at line <a class="el" href="gentrtex_8h-source.html#l00179">179</a> of file <a class="el" href="gentrtex_8h-source.html">gentrtex.h</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>