aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03574.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a03574.html187
1 files changed, 187 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03574.html b/docs/doxygen/nel/a03574.html
new file mode 100644
index 00000000..eed137d6
--- /dev/null
+++ b/docs/doxygen/nel/a03574.html
@@ -0,0 +1,187 @@
+<!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::CTrackKeyFramerLinear&lt; CKeyRGBA, NLMISC::CRGBA &gt; 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::CTrackKeyFramerLinear&lt; CKeyRGBA, NLMISC::CRGBA &gt; Class Reference</h1><code>#include &lt;<a class="el" href="a06559.html">track_keyframer.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<a class="el" href="a03542.html">ITrack</a> implementation for linear CRGBA keyframer.<p>
+<dl compact><dt><b>Author:</b></dt><dd>Cyril 'Hulud' Corvazier <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06559.html#l00611">611</a> of file <a class="el" href="a06559.html">track_keyframer.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>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03574.html#NL3D_1_1CTrackKeyFramerLinear_3_01CKeyRGBA_00_01NLMISC_1_1CRGBA_01_4a0">evalKey</a> (const <a class="el" href="a02695.html">CKeyRGBA</a> *previous, const <a class="el" href="a02695.html">CKeyRGBA</a> *next, <a class="el" href="a05363.html#a366">TAnimationTime</a> datePrevious, <a class="el" href="a05363.html#a366">TAnimationTime</a> dateNext, <a class="el" href="a05363.html#a366">TAnimationTime</a> date)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">From <a class="el" href="a03554.html">ITrackKeyFramer</a>. <a href="#NL3D_1_1CTrackKeyFramerLinear_3_01CKeyRGBA_00_01NLMISC_1_1CRGBA_01_4a0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a03835.html">IAnimatedValue</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03574.html#NL3D_1_1CTrackKeyFramerLinear_3_01CKeyRGBA_00_01NLMISC_1_1CRGBA_01_4a1">getValue</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">From <a class="el" href="a03542.html">ITrack</a>. <a href="#NL3D_1_1CTrackKeyFramerLinear_3_01CKeyRGBA_00_01NLMISC_1_1CRGBA_01_4a1"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02201.html">CAnimatedValueBlendable</a>&lt; <a class="el" href="a03337.html">NLMISC::CRGBA</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03574.html#NL3D_1_1CTrackKeyFramerLinear_3_01CKeyRGBA_00_01NLMISC_1_1CRGBA_01_4r0">_Value</a></td></tr>
+
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTrackKeyFramerLinear_3_01CKeyRGBA_00_01NLMISC_1_1CRGBA_01_4a0" doxytag="NL3D::CTrackKeyFramerLinear< CKeyRGBA, NLMISC::CRGBA >::evalKey" ></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"> virtual void <a class="el" href="a03572.html">NL3D::CTrackKeyFramerLinear</a>&lt; <a class="el" href="a02695.html">CKeyRGBA</a>, <a class="el" href="a03337.html">NLMISC::CRGBA</a> &gt;::evalKey </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02695.html">CKeyRGBA</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>previous</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a02695.html">CKeyRGBA</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>next</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a05363.html#a366">TAnimationTime</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>datePrevious</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a05363.html#a366">TAnimationTime</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>dateNext</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a05363.html#a366">TAnimationTime</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>date</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+From <a class="el" href="a03554.html">ITrackKeyFramer</a>.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06559.html#l00622">622</a> of file <a class="el" href="a06559.html">track_keyframer.h</a>.
+<p>
+References <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a05858.html#l00076">NL3D::CKey&lt; T &gt;::OODeltaTime</a>, <a class="el" href="a05454.html#l00044">NL3D::TAnimationTime</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05858.html#l00069">NL3D::CKey&lt; T &gt;::Value</a>.
+<p>
+<div class="fragment"><pre>00625 {
+00626 <span class="keywordflow">if</span>(previous &amp;&amp; next)
+00627 {
+00628 <span class="comment">// lerp from previous to cur.</span>
+00629 date-= datePrevious;
+00630 date*= previous-&gt;OODeltaTime;
+00631 <a class="code" href="a05378.html#a374">NLMISC::clamp</a>(date, 0,1);
+00632
+00633 <span class="comment">// blend.</span>
+00634 <a class="code" href="a03572.html#NL3D_1_1CTrackKeyFramerLinearr0">_Value</a>.Value.blendFromui(previous-&gt;Value, next-&gt;Value, (<a class="code" href="a04558.html#a15">uint</a>)(date*256));
+00635 }
+00636 <span class="keywordflow">else</span>
+00637 {
+00638 <span class="keywordflow">if</span> (previous)
+00639 <a class="code" href="a03572.html#NL3D_1_1CTrackKeyFramerLinearr0">_Value</a>.Value= previous-&gt;Value;
+00640 <span class="keywordflow">else</span>
+00641 <span class="keywordflow">if</span> (next)
+00642 <a class="code" href="a03572.html#NL3D_1_1CTrackKeyFramerLinearr0">_Value</a>.Value= next-&gt;Value;
+00643 }
+00644 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTrackKeyFramerLinear_3_01CKeyRGBA_00_01NLMISC_1_1CRGBA_01_4a1" doxytag="NL3D::CTrackKeyFramerLinear< CKeyRGBA, NLMISC::CRGBA >::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"> virtual const <a class="el" href="a03835.html">IAnimatedValue</a>&amp; <a class="el" href="a03572.html">NL3D::CTrackKeyFramerLinear</a>&lt; <a class="el" href="a02695.html">CKeyRGBA</a>, <a class="el" href="a03337.html">NLMISC::CRGBA</a> &gt;::getValue </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> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+From <a class="el" href="a03542.html">ITrack</a>.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06559.html#l00616">616</a> of file <a class="el" href="a06559.html">track_keyframer.h</a>.
+<p>
+<div class="fragment"><pre>00617 {
+00618 <span class="keywordflow">return</span> <a class="code" href="a03572.html#NL3D_1_1CTrackKeyFramerLinearr0">_Value</a>;
+00619 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTrackKeyFramerLinear_3_01CKeyRGBA_00_01NLMISC_1_1CRGBA_01_4r0" doxytag="NL3D::CTrackKeyFramerLinear< CKeyRGBA, NLMISC::CRGBA >::_Value" ></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="a02201.html">CAnimatedValueBlendable</a>&lt;<a class="el" href="a03337.html">NLMISC::CRGBA</a>&gt; <a class="el" href="a03572.html">NL3D::CTrackKeyFramerLinear</a>&lt; <a class="el" href="a02695.html">CKeyRGBA</a>, <a class="el" href="a03337.html">NLMISC::CRGBA</a> &gt;::_Value<code> [private]</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="a06559.html#l00647">647</a> of file <a class="el" href="a06559.html">track_keyframer.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="a06559.html">track_keyframer.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:10:47 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>