Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 568

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!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: csGenerateImageValueFunc 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&nbsp;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&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<h1>csGenerateImageValueFunc Class Reference</h1><!-- doxytag: class="csGenerateImageValueFunc" --><!-- doxytag: inherits="csGenerateImageValue" -->This class will generate a value using a given function.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="gentrtex_8h-source.html">cstool/gentrtex.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for csGenerateImageValueFunc:</div>
<div class="dynsection">
<p><center><img src="classcsGenerateImageValueFunc__inherit__graph.png" border="0" usemap="#csGenerateImageValueFunc__inherit__map" alt="Inheritance graph"></center>
<map name="csGenerateImageValueFunc__inherit__map">
<area shape="rect" href="classcsGenerateImageValue.html" title="A base class which represents a value that can be computed for blending purposes..." alt="" coords="20,7,191,33"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classcsGenerateImageValueFunc-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"><a class="anchor" name="4ed78561a554e677abdca67d9a5035ae"></a><!-- doxytag: member="csGenerateImageValueFunc::csGenerateImageValueFunc" ref="4ed78561a554e677abdca67d9a5035ae" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGenerateImageValueFunc.html#4ed78561a554e677abdca67d9a5035ae">csGenerateImageValueFunc</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGenerateImageValueFunc.html#cf86867e21af406bf696b10f2d640532">GetValue</a> (float x, float y)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the value for location.  <a href="#cf86867e21af406bf696b10f2d640532"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGenerateImageValueFunc.html#2a24393cec0bc465c83c640180b8a2e8">SetFunction</a> (<a class="el" href="structiGenerateImageFunction.html">iGenerateImageFunction</a> *func)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the function.  <a href="#2a24393cec0bc465c83c640180b8a2e8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8334e0602493e161489342364bf95fb5"></a><!-- doxytag: member="csGenerateImageValueFunc::~csGenerateImageValueFunc" ref="8334e0602493e161489342364bf95fb5" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsGenerateImageValueFunc.html#8334e0602493e161489342364bf95fb5">~csGenerateImageValueFunc</a> ()</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This class will generate a value using a given function. 
<p>
For heights or slopes. <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000020">Deprecated:</a></b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="gentrtex_8h-source.html#l00208">208</a> of file <a class="el" href="gentrtex_8h-source.html">gentrtex.h</a>.</p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="cf86867e21af406bf696b10f2d640532"></a><!-- doxytag: member="csGenerateImageValueFunc::GetValue" ref="cf86867e21af406bf696b10f2d640532" args="(float x, float y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float csGenerateImageValueFunc::GetValue           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>y</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the value for location. 
<p>

<p>Implements <a class="el" href="classcsGenerateImageValue.html#549362695b331d26b4c71e0961b442f9">csGenerateImageValue</a>.</p>

<p>Definition at line <a class="el" href="gentrtex_8h-source.html#l00222">222</a> of file <a class="el" href="gentrtex_8h-source.html">gentrtex.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="2a24393cec0bc465c83c640180b8a2e8"></a><!-- doxytag: member="csGenerateImageValueFunc::SetFunction" ref="2a24393cec0bc465c83c640180b8a2e8" args="(iGenerateImageFunction *func)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void csGenerateImageValueFunc::SetFunction           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structiGenerateImageFunction.html">iGenerateImageFunction</a> *&nbsp;</td>
          <td class="paramname"> <em>func</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the function. 
<p>

<p>Definition at line <a class="el" href="gentrtex_8h-source.html#l00227">227</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>