aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03199.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03199.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03199.html')
-rw-r--r--docs/doxygen/nel/a03199.html1041
1 files changed, 1041 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03199.html b/docs/doxygen/nel/a03199.html
new file mode 100644
index 00000000..b7ef398d
--- /dev/null
+++ b/docs/doxygen/nel/a03199.html
@@ -0,0 +1,1041 @@
+<!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: NL3D::CPSFloatCurveFunctor 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CPSFloatCurveFunctor Class Reference</h1><code>#include &lt;<a class="el" href="a06238.html">ps_float.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+this functor produce float based on a hermite curve NB : must be init before use, or assert occurs
+<p>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00107">107</a> of file <a class="el" href="a06238.html">ps_float.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>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora0">addControlPoint</a> (const <a class="el" href="a03200.html">CCtrlPoint</a> &amp;ctrlPoint)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">======================================================================================= <a href="#NL3D_1_1CPSFloatCurveFunctora0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora1">CPSFloatCurveFunctor</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora2">enableSmoothing</a> (bool enable=true)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">======================================================================================= <a href="#NL3D_1_1CPSFloatCurveFunctora2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03200.html">CCtrlPoint</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora3">getControlPoint</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">======================================================================================= <a href="#NL3D_1_1CPSFloatCurveFunctora3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora4">getMaxValue</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora5">getMinValue</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora6">getNumCtrlPoints</a> (void) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">retrieve the number of control points <a href="#NL3D_1_1CPSFloatCurveFunctora6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora7">getNumSamples</a> (void) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the numer of samples used with this curb <a href="#NL3D_1_1CPSFloatCurveFunctora7"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora8">getValue</a> (float date) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">======================================================================================= <a href="#NL3D_1_1CPSFloatCurveFunctora8"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora9">hasSmoothing</a> (void) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">test wether smoothing is enabled <a href="#NL3D_1_1CPSFloatCurveFunctora9"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora10">operator()</a> (<a class="el" href="a05363.html#a366">TAnimationTime</a> time) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora11">removeCtrlPoint</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">======================================================================================= <a href="#NL3D_1_1CPSFloatCurveFunctora11"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora12">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">======================================================================================= <a href="#NL3D_1_1CPSFloatCurveFunctora12"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora13">setCtrlPoint</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>, const <a class="el" href="a03200.html">CCtrlPoint</a> &amp;ctrlPoint)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">======================================================================================= <a href="#NL3D_1_1CPSFloatCurveFunctora13"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora14">setNumSamples</a> (<a class="el" href="a04558.html#a11">uint32</a> numSamples)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">======================================================================================= <a href="#NL3D_1_1CPSFloatCurveFunctora14"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb0">getSlope</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">======================================================================================= <a href="#NL3D_1_1CPSFloatCurveFunctorb0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb1">sortPoints</a> (void)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">======================================================================================= <a href="#NL3D_1_1CPSFloatCurveFunctorb1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb2">updateTab</a> (void)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">======================================================================================= <a href="#NL3D_1_1CPSFloatCurveFunctorb2"></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><a class="el" href="a03254.html">CPSVector</a>&lt; <a class="el" href="a03200.html">CCtrlPoint</a> &gt;::<a class="el" href="a03254.html">V</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp1">_MaxValue</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp2">_MinValue</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp3">_NumSamples</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp4">_Smoothing</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03254.html">CPSVector</a>&lt; float &gt;::<a class="el" href="a03254.html">V</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp5">_Tab</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora1" doxytag="NL3D::CPSFloatCurveFunctor::CPSFloatCurveFunctor" ></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" nowrap valign="top"> NL3D::CPSFloatCurveFunctor::CPSFloatCurveFunctor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ctor. The default is a cst function whose value is .5 NB : must be init before use, or assert occurs
+<p>
+Definition at line <a class="el" href="a06237.html#l00050">50</a> of file <a class="el" href="a06237.html">ps_float.cpp</a>.
+<p>
+<div class="fragment"><pre>00050 : <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp3">_NumSamples</a>(0), <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp4">_Smoothing</a>(<span class="keyword">true</span>)
+00051 {
+00052 <span class="comment">/*</span>
+00053 <span class="comment"> _CtrlPoints.push_back(CCtrlPoint(0, 0.5f));</span>
+00054 <span class="comment"> _CtrlPoints.push_back(CCtrlPoint(1, 0.5f)); </span>
+00055 <span class="comment"> updateTab(); </span>
+00056 <span class="comment"> */</span>
+00057 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora0" doxytag="NL3D::CPSFloatCurveFunctor::addControlPoint" ></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" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::addControlPoint </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03200.html">CCtrlPoint</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>ctrlPoint</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+=======================================================================================
+<p>
+Add a control point. There is a sorted insertion based on the date <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>index</em>&nbsp;</td><td>renge from 0 to 3</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06237.html#l00066">66</a> of file <a class="el" href="a06237.html">ps_float.cpp</a>.
+<p>
+References <a class="el" href="a06238.html#l00187">_CtrlPoints</a>, <a class="el" href="a06237.html#l00060">sortPoints()</a>, and <a class="el" href="a06237.html#l00139">updateTab()</a>.
+<p>
+<div class="fragment"><pre>00067 {
+00068 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.push_back(ctrlPoint);
+00069 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb1">sortPoints</a>();
+00070 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb2">updateTab</a>();
+00071 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora2" doxytag="NL3D::CPSFloatCurveFunctor::enableSmoothing" ></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" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::enableSmoothing </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> = true </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+=======================================================================================
+<p>
+
+<p>
+Definition at line <a class="el" href="a06237.html#l00196">196</a> of file <a class="el" href="a06237.html">ps_float.cpp</a>.
+<p>
+References <a class="el" href="a06238.html#l00190">_Smoothing</a>, and <a class="el" href="a06237.html#l00139">updateTab()</a>.
+<p>
+<div class="fragment"><pre>00197 {
+00198 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp4">_Smoothing</a> = enable;
+00199 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb2">updateTab</a>();
+00200 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora3" doxytag="NL3D::CPSFloatCurveFunctor::getControlPoint" ></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" nowrap valign="top"> const <a class="el" href="a03200.html">CPSFloatCurveFunctor::CCtrlPoint</a> &amp; NL3D::CPSFloatCurveFunctor::getControlPoint </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>index</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+=======================================================================================
+<p>
+get a control point. <dl compact><dt><b>Returns:</b></dt><dd>a &lt;date, value&gt; std::pair</dd></dl>
+
+<p>
+Definition at line <a class="el" href="a06237.html#l00074">74</a> of file <a class="el" href="a06237.html">ps_float.cpp</a>.
+<p>
+References <a class="el" href="a06238.html#l00187">_CtrlPoints</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00075 {
+00076 <span class="keywordflow">return</span> <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a>];
+00077 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora4" doxytag="NL3D::CPSFloatCurveFunctor::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" nowrap valign="top"> float NL3D::CPSFloatCurveFunctor::getMaxValue </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00178">178</a> of file <a class="el" href="a06238.html">ps_float.h</a>.
+<p>
+<div class="fragment"><pre>00178 { <span class="keywordflow">return</span> <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp1">_MaxValue</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora5" doxytag="NL3D::CPSFloatCurveFunctor::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" nowrap valign="top"> float NL3D::CPSFloatCurveFunctor::getMinValue </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00177">177</a> of file <a class="el" href="a06238.html">ps_float.h</a>.
+<p>
+<div class="fragment"><pre>00177 { <span class="keywordflow">return</span> <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp2">_MinValue</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora6" doxytag="NL3D::CPSFloatCurveFunctor::getNumCtrlPoints" ></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" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> NL3D::CPSFloatCurveFunctor::getNumCtrlPoints </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+retrieve the number of control points
+<p>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00133">133</a> of file <a class="el" href="a06238.html">ps_float.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00133 { <span class="keywordflow">return</span> <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.size(); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora7" doxytag="NL3D::CPSFloatCurveFunctor::getNumSamples" ></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" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CPSFloatCurveFunctor::getNumSamples </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the numer of samples used with this curb
+<p>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00150">150</a> of file <a class="el" href="a06238.html">ps_float.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00150 { <span class="keywordflow">return</span> <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp3">_NumSamples</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctorb0" doxytag="NL3D::CPSFloatCurveFunctor::getSlope" ></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" nowrap valign="top"> float NL3D::CPSFloatCurveFunctor::getSlope </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>index</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [protected]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+=======================================================================================
+<p>
+
+<p>
+Definition at line <a class="el" href="a06237.html#l00171">171</a> of file <a class="el" href="a06237.html">ps_float.cpp</a>.
+<p>
+References <a class="el" href="a06238.html#l00187">_CtrlPoints</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06237.html#l00105">getValue()</a>.
+<p>
+<div class="fragment"><pre>00172 {
+00173 <span class="comment">// tangent for first point</span>
+00174 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> == 0)
+00175 {
+00176 <span class="keywordflow">return</span> <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[1].Date != <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[0].Date ? (<a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[1].Value - <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[0].Value)
+00177 / (<a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[1].Date - <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[0].Date)
+00178 : 1e6f;
+00179 }
+00180
+00181 <span class="comment">// tangent for last point</span>
+00182 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> == <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.size() - 1)
+00183 {
+00184 <span class="keywordflow">return</span> <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a>].Date != <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a> - 1].Date ? (<a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a>].Value - <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a> - 1].Value)
+00185 / (<a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a>].Date - <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a> - 1].Date)
+00186 : 1e6f;
+00187 }
+00188
+00189 <span class="comment">// tangent for other points</span>
+00190 <span class="keywordflow">return</span> <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a> + 1].Date != <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a> - 1].Date ? (<a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a> + 1].Value - <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a> - 1].Value)
+00191 / (<a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a> + 1].Date - <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a> - 1].Date)
+00192 : 1e6f;
+00193 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora8" doxytag="NL3D::CPSFloatCurveFunctor::getValue" ></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" nowrap valign="top"> float NL3D::CPSFloatCurveFunctor::getValue </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>date</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+=======================================================================================
+<p>
+
+<p>
+Definition at line <a class="el" href="a06237.html#l00105">105</a> of file <a class="el" href="a06237.html">ps_float.cpp</a>.
+<p>
+References <a class="el" href="a06238.html#l00187">_CtrlPoints</a>, <a class="el" href="a06238.html#l00190">_Smoothing</a>, <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a06237.html#l00171">getSlope()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05587.html#l00107">NLMISC::sqr()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05646.html#l01013">width</a>.
+<p>
+Referenced by <a class="el" href="a06237.html#l00139">updateTab()</a>.
+<p>
+<div class="fragment"><pre>00106 {
+00107 <span class="keywordflow">if</span> (<a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.empty()) <span class="keywordflow">return</span> 0.f;
+00108 <a class="code" href="a05378.html#a374">NLMISC::clamp</a>(date, 0, 1);
+00109 <span class="comment">// find a key that has a higher value</span>
+00110 CPSVector&lt;CCtrlPoint&gt;::V::const_iterator it = <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.begin();
+00111 <span class="keywordflow">while</span> ( it != <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.end() &amp;&amp; it-&gt;Date &lt;= date ) ++it;
+00112
+00113 <span class="keywordflow">if</span> (it == <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.begin()) <span class="keywordflow">return</span> <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[0].Value;
+00114 <span class="keywordflow">if</span> (it == <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.end()) <span class="keywordflow">return</span> <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.size() - 1].Value;
+00115 CPSVector&lt;CCtrlPoint&gt;::V::const_iterator precIt = it - 1;
+00116 <span class="keywordflow">if</span> (precIt-&gt;Date == it-&gt;Date) <span class="keywordflow">return</span> 0.5f * (precIt-&gt;Value + it-&gt;Value);
+00117 <span class="keyword">const</span> <span class="keywordtype">float</span> lambda = (date - precIt-&gt;Date) / (it-&gt;Date - precIt-&gt;Date);
+00118 <span class="keywordflow">if</span> (!<a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp4">_Smoothing</a>) <span class="comment">// linear interpolation</span>
+00119 {
+00120 <span class="keywordflow">return</span> lambda * it-&gt;Value + (1.f - lambda) * precIt-&gt;Value;
+00121 }
+00122 <span class="keywordflow">else</span> <span class="comment">// hermite interpolation</span>
+00123 {
+00124 <span class="keywordtype">float</span> <a class="code" href="a04223.html#a632">width</a> = it-&gt;Date - precIt-&gt;Date;
+00125 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a566">index</a> = precIt - <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.begin();
+00126 <span class="keywordtype">float</span> t1 = <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb0">getSlope</a>(index) * <a class="code" href="a04223.html#a632">width</a>, t2 = <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb0">getSlope</a>(index + 1) * <a class="code" href="a04223.html#a632">width</a>;
+00127 <span class="keyword">const</span> <span class="keywordtype">float</span> lambda2 = <a class="code" href="a05378.html#a373">NLMISC::sqr</a>(lambda);
+00128 <span class="keyword">const</span> <span class="keywordtype">float</span> lambda3 = lambda2 * lambda;
+00129 <span class="keyword">const</span> <span class="keywordtype">float</span> h1 = 2 * lambda3 - 3 * lambda2 + 1;
+00130 <span class="keyword">const</span> <span class="keywordtype">float</span> h2 = - 2 * lambda3 + 3 * lambda2;
+00131 <span class="keyword">const</span> <span class="keywordtype">float</span> h3 = lambda3 - 2 * lambda2 + lambda;
+00132 <span class="keyword">const</span> <span class="keywordtype">float</span> h4 = lambda3 - lambda2;
+00133
+00134 <span class="keywordflow">return</span> h1 * precIt-&gt;Value + h2 * it-&gt;Value + h3 * t1 + h4 * t2;
+00135 }
+00136 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora9" doxytag="NL3D::CPSFloatCurveFunctor::hasSmoothing" ></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" nowrap valign="top"> bool NL3D::CPSFloatCurveFunctor::hasSmoothing </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+test wether smoothing is enabled
+<p>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00156">156</a> of file <a class="el" href="a06238.html">ps_float.h</a>.
+<p>
+<div class="fragment"><pre>00156 { <span class="keywordflow">return</span> <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp4">_Smoothing</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora10" doxytag="NL3D::CPSFloatCurveFunctor::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" nowrap valign="top"> float NL3D::CPSFloatCurveFunctor::operator() </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a05363.html#a366">TAnimationTime</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>time</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This return a sampled value from the hermite curb. The more steps there are, the more accurate it is You can also get an 'exact value'. This must be called between beginFastFloor() and endFastFloor() statements <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora8">getValue</a></dd></dl>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00166">166</a> of file <a class="el" href="a06238.html">ps_float.h</a>.
+<p>
+References <a class="el" href="a05701.html#l00125">NLMISC::OptFastFloor()</a>, and <a class="el" href="a05454.html#l00044">NL3D::TAnimationTime</a>.
+<p>
+<div class="fragment"><pre>00167 {
+00168 <span class="keywordflow">return</span> <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp5">_Tab</a>[<a class="code" href="a05378.html#a397">NLMISC::OptFastFloor</a>(time * _NumSamples)];
+00169 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora11" doxytag="NL3D::CPSFloatCurveFunctor::removeCtrlPoint" ></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" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::removeCtrlPoint </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>index</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+=======================================================================================
+<p>
+
+<p>
+Definition at line <a class="el" href="a06237.html#l00089">89</a> of file <a class="el" href="a06237.html">ps_float.cpp</a>.
+<p>
+References <a class="el" href="a06238.html#l00187">_CtrlPoints</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a06237.html#l00139">updateTab()</a>.
+<p>
+<div class="fragment"><pre>00090 {
+00091 <a class="code" href="a04199.html#a6">nlassert</a>(<a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.size() &gt; 1);
+00092 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.erase(<a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.begin() + <a class="code" href="a04223.html#a566">index</a>);
+00093 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb2">updateTab</a>();
+00094 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora12" doxytag="NL3D::CPSFloatCurveFunctor::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" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+=======================================================================================
+<p>
+
+<p>
+Definition at line <a class="el" href="a06237.html#l00159">159</a> of file <a class="el" href="a06237.html">ps_float.cpp</a>.
+<p>
+<div class="fragment"><pre>00160 {
+00161 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(1);
+00162 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_NumSamples, _Smoothing);
+00163 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_CtrlPoints);
+00164 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>())
+00165 {
+00166 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb2">updateTab</a>();
+00167 }
+00168 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora13" doxytag="NL3D::CPSFloatCurveFunctor::setCtrlPoint" ></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" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::setCtrlPoint </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>index</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03200.html">CCtrlPoint</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>ctrlPoint</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+=======================================================================================
+<p>
+
+<p>
+Definition at line <a class="el" href="a06237.html#l00080">80</a> of file <a class="el" href="a06237.html">ps_float.cpp</a>.
+<p>
+References <a class="el" href="a06238.html#l00187">_CtrlPoints</a>, <a class="el" href="a06238.html#l00114">NL3D::CPSFloatCurveFunctor::CCtrlPoint::Date</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06237.html#l00060">sortPoints()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a06237.html#l00139">updateTab()</a>.
+<p>
+<div class="fragment"><pre>00081 {
+00082 <a class="code" href="a04199.html#a6">nlassert</a>(ctrlPoint.Date &gt;= 0 &amp;&amp; ctrlPoint.Date &lt;= 1);
+00083 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>[<a class="code" href="a04223.html#a566">index</a>] = ctrlPoint;
+00084 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb1">sortPoints</a>();
+00085 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb2">updateTab</a>();
+00086 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctora14" doxytag="NL3D::CPSFloatCurveFunctor::setNumSamples" ></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" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::setNumSamples </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>numSamples</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+=======================================================================================
+<p>
+
+<p>
+Definition at line <a class="el" href="a06237.html#l00097">97</a> of file <a class="el" href="a06237.html">ps_float.cpp</a>.
+<p>
+References <a class="el" href="a06238.html#l00188">_NumSamples</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a06237.html#l00139">updateTab()</a>.
+<p>
+<div class="fragment"><pre>00098 {
+00099 <a class="code" href="a04199.html#a6">nlassert</a>(numSamples &gt; 0);
+00100 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp3">_NumSamples</a> = numSamples;
+00101 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorb2">updateTab</a>();
+00102 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctorb1" doxytag="NL3D::CPSFloatCurveFunctor::sortPoints" ></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" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::sortPoints </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [protected]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+=======================================================================================
+<p>
+
+<p>
+Definition at line <a class="el" href="a06237.html#l00060">60</a> of file <a class="el" href="a06237.html">ps_float.cpp</a>.
+<p>
+References <a class="el" href="a06238.html#l00187">_CtrlPoints</a>.
+<p>
+Referenced by <a class="el" href="a06237.html#l00066">addControlPoint()</a>, and <a class="el" href="a06237.html#l00080">setCtrlPoint()</a>.
+<p>
+<div class="fragment"><pre>00061 {
+00062 std::sort(<a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.begin(), <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">_CtrlPoints</a>.end());
+00063 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctorb2" doxytag="NL3D::CPSFloatCurveFunctor::updateTab" ></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" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::updateTab </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [protected]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+=======================================================================================
+<p>
+
+<p>
+Definition at line <a class="el" href="a06237.html#l00139">139</a> of file <a class="el" href="a06237.html">ps_float.cpp</a>.
+<p>
+References <a class="el" href="a06238.html#l00188">_NumSamples</a>, <a class="el" href="a06237.html#l00105">getValue()</a>, <a class="el" href="a05484.html#l00038">min</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06237.html#l00066">addControlPoint()</a>, <a class="el" href="a06237.html#l00196">enableSmoothing()</a>, <a class="el" href="a06237.html#l00089">removeCtrlPoint()</a>, <a class="el" href="a06237.html#l00080">setCtrlPoint()</a>, and <a class="el" href="a06237.html#l00097">setNumSamples()</a>.
+<p>
+<div class="fragment"><pre>00140 {
+00141 <span class="keywordtype">float</span> step = 1.f / <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp3">_NumSamples</a>;
+00142 <span class="keywordtype">float</span> d = 0.f;
+00143 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp5">_Tab</a>.resize(_NumSamples + 1);
+00144 <a class="code" href="a04558.html#a15">uint</a> k;
+00145 <span class="keywordflow">for</span> (k = 0; k &lt;= <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp3">_NumSamples</a>; ++k)
+00146 {
+00147 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp5">_Tab</a>[k] = <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctora8">getValue</a>(d);
+00148 d += step;
+00149 }
+00150 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp2">_MinValue</a> = <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp1">_MaxValue</a> = <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp5">_Tab</a>[0];
+00151 <span class="keywordflow">for</span> (k = 1; k &lt;= _NumSamples; ++k)
+00152 {
+00153 <a class="code" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp2">_MinValue</a> = <a class="code" href="a04061.html#a0">std::min</a>(_MinValue, _Tab[k]);
+00154 _MaxValue = std::max(_MaxValue, _Tab[k]);
+00155 }
+00156 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctorp0" doxytag="NL3D::CPSFloatCurveFunctor::_CtrlPoints" ></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" nowrap valign="top"> <a class="el" href="a03254.html">CPSVector</a>&lt;<a class="el" href="a03200.html">CCtrlPoint</a>&gt;::<a class="el" href="a03254.html">V</a> <a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp0">NL3D::CPSFloatCurveFunctor::_CtrlPoints</a><code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00187">187</a> of file <a class="el" href="a06238.html">ps_float.h</a>.
+<p>
+Referenced by <a class="el" href="a06237.html#l00066">addControlPoint()</a>, <a class="el" href="a06237.html#l00074">getControlPoint()</a>, <a class="el" href="a06237.html#l00171">getSlope()</a>, <a class="el" href="a06237.html#l00105">getValue()</a>, <a class="el" href="a06237.html#l00089">removeCtrlPoint()</a>, <a class="el" href="a06237.html#l00080">setCtrlPoint()</a>, and <a class="el" href="a06237.html#l00060">sortPoints()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctorp1" doxytag="NL3D::CPSFloatCurveFunctor::_MaxValue" ></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" nowrap valign="top"> float <a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp1">NL3D::CPSFloatCurveFunctor::_MaxValue</a><code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00192">192</a> of file <a class="el" href="a06238.html">ps_float.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctorp2" doxytag="NL3D::CPSFloatCurveFunctor::_MinValue" ></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" nowrap valign="top"> float <a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp2">NL3D::CPSFloatCurveFunctor::_MinValue</a><code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00191">191</a> of file <a class="el" href="a06238.html">ps_float.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctorp3" doxytag="NL3D::CPSFloatCurveFunctor::_NumSamples" ></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" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp3">NL3D::CPSFloatCurveFunctor::_NumSamples</a><code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00188">188</a> of file <a class="el" href="a06238.html">ps_float.h</a>.
+<p>
+Referenced by <a class="el" href="a06237.html#l00097">setNumSamples()</a>, and <a class="el" href="a06237.html#l00139">updateTab()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctorp4" doxytag="NL3D::CPSFloatCurveFunctor::_Smoothing" ></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" nowrap valign="top"> bool <a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp4">NL3D::CPSFloatCurveFunctor::_Smoothing</a><code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00190">190</a> of file <a class="el" href="a06238.html">ps_float.h</a>.
+<p>
+Referenced by <a class="el" href="a06237.html#l00196">enableSmoothing()</a>, and <a class="el" href="a06237.html#l00105">getValue()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSFloatCurveFunctorp5" doxytag="NL3D::CPSFloatCurveFunctor::_Tab" ></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" nowrap valign="top"> <a class="el" href="a03254.html">CPSVector</a>&lt;float&gt;::<a class="el" href="a03254.html">V</a> <a class="el" href="a03199.html#NL3D_1_1CPSFloatCurveFunctorp5">NL3D::CPSFloatCurveFunctor::_Tab</a><code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06238.html#l00189">189</a> of file <a class="el" href="a06238.html">ps_float.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a06238.html">ps_float.h</a><li><a class="el" href="a06237.html">ps_float.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:13:32 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>