diff options
Diffstat (limited to 'docs/doxygen/nel/a03250.html')
-rw-r--r-- | docs/doxygen/nel/a03250.html | 438 |
1 files changed, 438 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03250.html b/docs/doxygen/nel/a03250.html new file mode 100644 index 00000000..07e93607 --- /dev/null +++ b/docs/doxygen/nel/a03250.html @@ -0,0 +1,438 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: TemplateNL3D::CPSValueBlendFunc< T > class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CPSValueBlendFunc< T > Class Template Reference</h1><code>#include <<a class="el" href="a06222.html">ps_attrib_maker_template.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSValueBlendFunc< T >: +<p><center><img src="a03250.png" usemap="#NL3D::CPSValueBlendFunc< T >_map" border="0" alt=""></center> +<map name="NL3D::CPSValueBlendFunc< T >_map"> +<area href="a03251.html" alt="NL3D::CPSValueBlendFuncBase< T >" shape="rect" coords="0,0,228,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<h3>template<typename T><br> + class NL3D::CPSValueBlendFunc< T ></h3> + +This temlate functor blend exactly between 2 value (no samples) To accomplish blending, it use the template function PSValueBlend It is used by CPSValueBlend <dl compact><dt><b>Author:</b></dt><dd>Nicolas Vizerie <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a05363.html#a473">PSValueBlend</a> </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06222.html#l00093">93</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</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>T </td><td class="memItemRight" valign=bottom><a class="el" href="a03250.html#NL3D_1_1CPSValueBlendFunca0">operator()</a> (<a class="el" href="a05363.html#a366">TAnimationTime</a> time) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This produce Values. <a href="#NL3D_1_1CPSValueBlendFunca0"></a><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Object</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03250.html#NL3D_1_1CPSValueBlendFuncz728_0">CPSValueBlendFunc</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">ctor <a href="#NL3D_1_1CPSValueBlendFuncz728_0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03250.html#NL3D_1_1CPSValueBlendFuncz728_1">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">serialization <a href="#NL3D_1_1CPSValueBlendFuncz728_1"></a><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader"></div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>T </td><td class="memItemRight" valign=bottom><a class="el" href="a03250.html#NL3D_1_1CPSValueBlendFuncz729_0">getMaxValue</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>T </td><td class="memItemRight" valign=bottom><a class="el" href="a03250.html#NL3D_1_1CPSValueBlendFuncz729_1">getMinValue</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03250.html#NL3D_1_1CPSValueBlendFuncz729_2">getValues</a> (T &startValue, T &endValue) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the start and end Value. <a href="#NL3D_1_1CPSValueBlendFuncz729_2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03250.html#NL3D_1_1CPSValueBlendFuncz729_3">setValues</a> (T startValue, T endValue)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the Values between which to blend. <a href="#NL3D_1_1CPSValueBlendFuncz729_3"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>T </td><td class="memItemRight" valign=bottom><a class="el" href="a03250.html#NL3D_1_1CPSValueBlendFuncp0">_EndValue</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>T </td><td class="memItemRight" valign=bottom><a class="el" href="a03250.html#NL3D_1_1CPSValueBlendFuncp1">_StartValue</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSValueBlendFuncz728_0" doxytag="NL3D::CPSValueBlendFunc::CPSValueBlendFunc" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03250.html">NL3D::CPSValueBlendFunc</a>< T >::<a class="el" href="a03250.html">CPSValueBlendFunc</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +ctor +<p> + +<p> +Definition at line <a class="el" href="a06222.html#l00099">99</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. +<p> +<div class="fragment"><pre>00099 {} +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSValueBlendFuncz729_0" doxytag="NL3D::CPSValueBlendFunc::getMaxValue" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T <a class="el" href="a03250.html">NL3D::CPSValueBlendFunc</a>< T >::getMaxValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06222.html#l00137">137</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. +<p> +<div class="fragment"><pre>00138 { +00139 <span class="keywordflow">return</span> std::max((*<span class="keyword">this</span>)(0), (*<span class="keyword">this</span>)(1)); +00140 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueBlendFuncz729_1" doxytag="NL3D::CPSValueBlendFunc::getMinValue" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T <a class="el" href="a03250.html">NL3D::CPSValueBlendFunc</a>< T >::getMinValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06222.html#l00141">141</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. +<p> +<div class="fragment"><pre>00142 { +00143 <span class="keywordflow">return</span> <a class="code" href="a04061.html#a0">std::min</a>((*<span class="keyword">this</span>)(0), (*<span class="keyword">this</span>)(1)); +00144 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueBlendFuncz729_2" doxytag="NL3D::CPSValueBlendFunc::getValues" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> virtual void <a class="el" href="a03250.html">NL3D::CPSValueBlendFunc</a>< T >::getValues </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T & </td> + <td class="mdname" nowrap> <em>startValue</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T & </td> + <td class="mdname" nowrap> <em>endValue</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Retrieve the start and end Value. +<p> + +<p> +Implements <a class="el" href="a03251.html#NL3D_1_1CPSValueBlendSampleFunc_3_01NLMISC_1_1CRGBA_00_01n_01_4a3">NL3D::CPSValueBlendFuncBase< T ></a>. +<p> +Definition at line <a class="el" href="a06222.html#l00123">123</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. +<p> +<div class="fragment"><pre>00124 { +00125 startValue = (*this)(0); +00126 endValue = (*this)(1); +00127 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueBlendFunca0" doxytag="NL3D::CPSValueBlendFunc::operator()" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T <a class="el" href="a03250.html">NL3D::CPSValueBlendFunc</a>< T >::operator() </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a05363.html#a366">TAnimationTime</a> </td> + <td class="mdname1" valign="top" nowrap> <em>time</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This produce Values. +<p> + +<p> +Definition at line <a class="el" href="a06222.html#l00113">113</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. +<p> +<div class="fragment"><pre>00114 { +00115 +00116 <span class="keywordflow">return</span> <a class="code" href="a05363.html#a473">PSValueBlend</a>(_StartValue, _EndValue, time); <span class="comment">// a cast to T is necessary, because </span> +00117 <span class="comment">// the specialization couls be done with integer</span> +00118 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueBlendFuncz728_1" doxytag="NL3D::CPSValueBlendFunc::serial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a03250.html">NL3D::CPSValueBlendFunc</a>< T >::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serialization +<p> + +<p> +Definition at line <a class="el" href="a06222.html#l00102">102</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. +<p> +<div class="fragment"><pre>00103 { +00104 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(1); +00105 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_StartValue, _EndValue); +00106 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueBlendFuncz729_3" doxytag="NL3D::CPSValueBlendFunc::setValues" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> virtual void <a class="el" href="a03250.html">NL3D::CPSValueBlendFunc</a>< T >::setValues </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T </td> + <td class="mdname" nowrap> <em>startValue</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T </td> + <td class="mdname" nowrap> <em>endValue</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the Values between which to blend. +<p> + +<p> +Implements <a class="el" href="a03251.html#NL3D_1_1CPSValueBlendSampleFunc_3_01NLMISC_1_1CRGBA_00_01n_01_4a7">NL3D::CPSValueBlendFuncBase< T ></a>. +<p> +Definition at line <a class="el" href="a06222.html#l00130">130</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. +<p> +<div class="fragment"><pre>00131 { +00132 <a class="code" href="a03250.html#NL3D_1_1CPSValueBlendFuncp1">_StartValue</a> = startValue; +00133 <a class="code" href="a03250.html#NL3D_1_1CPSValueBlendFuncp0">_EndValue</a> = endValue; +00134 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSValueBlendFuncp0" doxytag="NL3D::CPSValueBlendFunc::_EndValue" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T <a class="el" href="a03250.html">NL3D::CPSValueBlendFunc</a>< T >::<a class="el" href="a03250.html#NL3D_1_1CPSValueBlendFuncp0">_EndValue</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06222.html#l00148">148</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueBlendFuncp1" doxytag="NL3D::CPSValueBlendFunc::_StartValue" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T <a class="el" href="a03250.html">NL3D::CPSValueBlendFunc</a>< T >::<a class="el" href="a03250.html#NL3D_1_1CPSValueBlendFuncp1">_StartValue</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06222.html#l00148">148</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06222.html">ps_attrib_maker_template.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:30:13 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |