diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNL3D_1_1CPSFloatCurveFunctor.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CPSFloatCurveFunctor.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CPSFloatCurveFunctor.html | 818 |
1 files changed, 818 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CPSFloatCurveFunctor.html b/docs/doxygen/nel/classNL3D_1_1CPSFloatCurveFunctor.html new file mode 100644 index 00000000..6028c32f --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CPSFloatCurveFunctor.html @@ -0,0 +1,818 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.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">Compound List</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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CPSFloatCurveFunctor Class Reference</h1>this functor produce float based on a hermite curve. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="ps__float_8h-source.html">ps_float.h</a>></code> +<p> +<a href="classNL3D_1_1CPSFloatCurveFunctor-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a0">CPSFloatCurveFunctor</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>ctor. The default is a cst function whose value is .5.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a1">addControlPoint</a> (const <a class="el" href="structNL3D_1_1CPSFloatCurveFunctor_1_1CCtrlPoint.html">CCtrlPoint</a> &ctrlPoint)</td></tr> +<tr><td> </td><td><font size=-1><em>=======================================================================================.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a2">getNumCtrlPoints</a> (void) const</td></tr> +<tr><td> </td><td><font size=-1><em>retrieve the number of control points.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="structNL3D_1_1CPSFloatCurveFunctor_1_1CCtrlPoint.html">CCtrlPoint</a> & </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a3">getControlPoint</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>) const</td></tr> +<tr><td> </td><td><font size=-1><em>=======================================================================================.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a4">setCtrlPoint</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>, const <a class="el" href="structNL3D_1_1CPSFloatCurveFunctor_1_1CCtrlPoint.html">CCtrlPoint</a> &ctrlPoint)</td></tr> +<tr><td> </td><td><font size=-1><em>=======================================================================================.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a5">removeCtrlPoint</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>=======================================================================================.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a6">setNumSamples</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> numSamples)</td></tr> +<tr><td> </td><td><font size=-1><em>=======================================================================================.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a7">getNumSamples</a> (void) const</td></tr> +<tr><td> </td><td><font size=-1><em>get the numer of samples used with this curb.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a8">enableSmoothing</a> (bool enable=true)</td></tr> +<tr><td> </td><td><font size=-1><em>=======================================================================================.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a9">hasSmoothing</a> (void) const</td></tr> +<tr><td> </td><td><font size=-1><em>test wether smoothing is enabled.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a10">operator()</a> (<a class="el" href="namespaceNL3D.html#a1">TAnimationTime</a> time) const</td></tr> +<tr><td> </td><td><font size=-1><em>This return a sampled value from the hermite curb.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a11">getValue</a> (float date) const</td></tr> +<tr><td> </td><td><font size=-1><em>=======================================================================================.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a12">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> +<tr><td> </td><td><font size=-1><em>=======================================================================================.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#b0">getSlope</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>) const</td></tr> +<tr><td> </td><td><font size=-1><em>=======================================================================================.</em> <a href="#b0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#b1">sortPoints</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>=======================================================================================.</em> <a href="#b1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#b2">updateTab</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>=======================================================================================.</em> <a href="#b2">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="structNL3D_1_1CPSFloatCurveFunctor_1_1CCtrlPoint.html">CCtrlPoint</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#n0">_CtrlPoints</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#n1">_NumSamples</a></td></tr> +<tr><td nowrap align=right valign=top>std::vector< float > </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#n2">_Tab</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#n3">_Smoothing</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +this functor produce float based on a hermite curve. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8h-source.html#l00103">103</a> of file <a class="el" href="ps__float_8h-source.html">ps_float.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NL3D::CPSFloatCurveFunctor::CPSFloatCurveFunctor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CPSFloatCurveFunctor::CPSFloatCurveFunctor </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +ctor. The default is a cst function whose value is .5. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8cpp-source.html#l00056">56</a> of file <a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00178">_CtrlPoints</a>, and <a class="el" href="ps__float_8cpp-source.html#l00142">updateTab</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a1" doxytag="NL3D::CPSFloatCurveFunctor::addControlPoint"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::addControlPoint </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="structNL3D_1_1CPSFloatCurveFunctor_1_1CCtrlPoint.html">CCtrlPoint</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>ctrlPoint</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +=======================================================================================. +<p> +There is a sorted insertion based on the date <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>index</em> </td><td> +renge from 0 to 3 </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="ps__float_8cpp-source.html#l00070">70</a> of file <a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00178">_CtrlPoints</a>, <a class="el" href="ps__float_8cpp-source.html#l00064">sortPoints</a>, and <a class="el" href="ps__float_8cpp-source.html#l00142">updateTab</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NL3D::CPSFloatCurveFunctor::enableSmoothing"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::enableSmoothing </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enable</em> = true </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +=======================================================================================. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8cpp-source.html#l00192">192</a> of file <a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00181">_Smoothing</a>, and <a class="el" href="ps__float_8cpp-source.html#l00142">updateTab</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CPSFloatCurveFunctor::getControlPoint"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="structNL3D_1_1CPSFloatCurveFunctor_1_1CCtrlPoint.html">CPSFloatCurveFunctor::CCtrlPoint</a> & NL3D::CPSFloatCurveFunctor::getControlPoint </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +=======================================================================================. +<p> +<dl compact><dt><b> +Returns: </b><dd> +a <date, value> std::pair </dl> +<p> +Definition at line <a class="el" href="ps__float_8cpp-source.html#l00078">78</a> of file <a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00178">_CtrlPoints</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CPSFloatCurveFunctor::getNumCtrlPoints"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NL3D::CPSFloatCurveFunctor::getNumCtrlPoints </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> +retrieve the number of control points. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8h-source.html#l00127">127</a> of file <a class="el" href="ps__float_8h-source.html">ps_float.h</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00178">_CtrlPoints</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NL3D::CPSFloatCurveFunctor::getNumSamples"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NL3D::CPSFloatCurveFunctor::getNumSamples </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> +get the numer of samples used with this curb. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8h-source.html#l00144">144</a> of file <a class="el" href="ps__float_8h-source.html">ps_float.h</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00179">_NumSamples</a>. </td> + </tr> +</table> +<a name="b0" doxytag="NL3D::CPSFloatCurveFunctor::getSlope"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPSFloatCurveFunctor::getSlope </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +=======================================================================================. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8cpp-source.html#l00167">167</a> of file <a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00178">_CtrlPoints</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>. +<p> +Referenced by <a class="el" href="ps__float_8cpp-source.html#l00109">getValue</a>. </td> + </tr> +</table> +<a name="a11" doxytag="NL3D::CPSFloatCurveFunctor::getValue"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPSFloatCurveFunctor::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>date</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +=======================================================================================. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8cpp-source.html#l00109">109</a> of file <a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00178">_CtrlPoints</a>, <a class="el" href="ps__float_8h-source.html#l00181">_Smoothing</a>, <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="ps__float_8cpp-source.html#l00167">getSlope</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>, <a class="el" href="common_8h-source.html#l00143">NLMISC::sqr</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>. +<p> +Referenced by <a class="el" href="ps__float_8cpp-source.html#l00142">updateTab</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NL3D::CPSFloatCurveFunctor::hasSmoothing"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSFloatCurveFunctor::hasSmoothing </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> +test wether smoothing is enabled. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8h-source.html#l00150">150</a> of file <a class="el" href="ps__float_8h-source.html">ps_float.h</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00181">_Smoothing</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NL3D::CPSFloatCurveFunctor::operator()"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPSFloatCurveFunctor::operator() </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNL3D.html#a1">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 return a sampled value from the hermite curb. +<p> +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><dd> +<a class="el" href="classNL3D_1_1CPSFloatCurveFunctor.html#a11">getValue</a> </dl> +<p> +Definition at line <a class="el" href="ps__float_8h-source.html#l00160">160</a> of file <a class="el" href="ps__float_8h-source.html">ps_float.h</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00179">_NumSamples</a>, <a class="el" href="ps__float_8h-source.html#l00180">_Tab</a>, <a class="el" href="fast__floor_8h-source.html#l00125">NL3D::OptFastFloor</a>, and <a class="el" href="animation__time_8h-source.html#l00044">NL3D::TAnimationTime</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NL3D::CPSFloatCurveFunctor::removeCtrlPoint"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::removeCtrlPoint </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +=======================================================================================. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8cpp-source.html#l00093">93</a> of file <a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00178">_CtrlPoints</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="ps__float_8cpp-source.html#l00142">updateTab</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NL3D::CPSFloatCurveFunctor::serial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.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="structNLMISC_1_1EStream.html">NLMISC::EStream</a>)</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +=======================================================================================. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8cpp-source.html#l00155">155</a> of file <a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CPSFloatCurveFunctor::setCtrlPoint"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::setCtrlPoint </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="structNL3D_1_1CPSFloatCurveFunctor_1_1CCtrlPoint.html">CCtrlPoint</a> & </td> + <td class="mdname" nowrap> <em>ctrlPoint</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +=======================================================================================. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8cpp-source.html#l00084">84</a> of file <a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00178">_CtrlPoints</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="ps__float_8cpp-source.html#l00064">sortPoints</a>, and <a class="el" href="ps__float_8cpp-source.html#l00142">updateTab</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::CPSFloatCurveFunctor::setNumSamples"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::setNumSamples </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>numSamples</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +=======================================================================================. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8cpp-source.html#l00101">101</a> of file <a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00179">_NumSamples</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="ps__float_8cpp-source.html#l00142">updateTab</a>. </td> + </tr> +</table> +<a name="b1" doxytag="NL3D::CPSFloatCurveFunctor::sortPoints"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::sortPoints </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><code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +=======================================================================================. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8cpp-source.html#l00064">64</a> of file <a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00178">_CtrlPoints</a>. +<p> +Referenced by <a class="el" href="ps__float_8cpp-source.html#l00070">addControlPoint</a>, and <a class="el" href="ps__float_8cpp-source.html#l00084">setCtrlPoint</a>. </td> + </tr> +</table> +<a name="b2" doxytag="NL3D::CPSFloatCurveFunctor::updateTab"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSFloatCurveFunctor::updateTab </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><code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +=======================================================================================. +<p> + +<p> +Definition at line <a class="el" href="ps__float_8cpp-source.html#l00142">142</a> of file <a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a>. +<p> +References <a class="el" href="ps__float_8h-source.html#l00179">_NumSamples</a>, <a class="el" href="ps__float_8h-source.html#l00180">_Tab</a>, and <a class="el" href="ps__float_8cpp-source.html#l00109">getValue</a>. +<p> +Referenced by <a class="el" href="ps__float_8cpp-source.html#l00070">addControlPoint</a>, <a class="el" href="ps__float_8cpp-source.html#l00056">CPSFloatCurveFunctor</a>, <a class="el" href="ps__float_8cpp-source.html#l00192">enableSmoothing</a>, <a class="el" href="ps__float_8cpp-source.html#l00093">removeCtrlPoint</a>, <a class="el" href="ps__float_8cpp-source.html#l00084">setCtrlPoint</a>, and <a class="el" href="ps__float_8cpp-source.html#l00101">setNumSamples</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="n0" doxytag="NL3D::CPSFloatCurveFunctor::_CtrlPoints"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="structNL3D_1_1CPSFloatCurveFunctor_1_1CCtrlPoint.html">CCtrlPoint</a>> NL3D::CPSFloatCurveFunctor::_CtrlPoints<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="ps__float_8h-source.html#l00178">178</a> of file <a class="el" href="ps__float_8h-source.html">ps_float.h</a>. +<p> +Referenced by <a class="el" href="ps__float_8cpp-source.html#l00070">addControlPoint</a>, <a class="el" href="ps__float_8cpp-source.html#l00056">CPSFloatCurveFunctor</a>, <a class="el" href="ps__float_8cpp-source.html#l00078">getControlPoint</a>, <a class="el" href="ps__float_8h-source.html#l00127">getNumCtrlPoints</a>, <a class="el" href="ps__float_8cpp-source.html#l00167">getSlope</a>, <a class="el" href="ps__float_8cpp-source.html#l00109">getValue</a>, <a class="el" href="ps__float_8cpp-source.html#l00093">removeCtrlPoint</a>, <a class="el" href="ps__float_8cpp-source.html#l00084">setCtrlPoint</a>, and <a class="el" href="ps__float_8cpp-source.html#l00064">sortPoints</a>. </td> + </tr> +</table> +<a name="n1" doxytag="NL3D::CPSFloatCurveFunctor::_NumSamples"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NL3D::CPSFloatCurveFunctor::_NumSamples<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="ps__float_8h-source.html#l00179">179</a> of file <a class="el" href="ps__float_8h-source.html">ps_float.h</a>. +<p> +Referenced by <a class="el" href="ps__float_8h-source.html#l00144">getNumSamples</a>, <a class="el" href="ps__float_8h-source.html#l00160">operator()</a>, <a class="el" href="ps__float_8cpp-source.html#l00101">setNumSamples</a>, and <a class="el" href="ps__float_8cpp-source.html#l00142">updateTab</a>. </td> + </tr> +</table> +<a name="n3" doxytag="NL3D::CPSFloatCurveFunctor::_Smoothing"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSFloatCurveFunctor::_Smoothing<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="ps__float_8h-source.html#l00181">181</a> of file <a class="el" href="ps__float_8h-source.html">ps_float.h</a>. +<p> +Referenced by <a class="el" href="ps__float_8cpp-source.html#l00192">enableSmoothing</a>, <a class="el" href="ps__float_8cpp-source.html#l00109">getValue</a>, and <a class="el" href="ps__float_8h-source.html#l00150">hasSmoothing</a>. </td> + </tr> +</table> +<a name="n2" doxytag="NL3D::CPSFloatCurveFunctor::_Tab"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<float> NL3D::CPSFloatCurveFunctor::_Tab<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="ps__float_8h-source.html#l00180">180</a> of file <a class="el" href="ps__float_8h-source.html">ps_float.h</a>. +<p> +Referenced by <a class="el" href="ps__float_8h-source.html#l00160">operator()</a>, and <a class="el" href="ps__float_8cpp-source.html#l00142">updateTab</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="ps__float_8h-source.html">ps_float.h</a><li><a class="el" href="ps__float_8cpp-source.html">ps_float.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |