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/track_8h-source.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/track_8h-source.html | 304 |
1 files changed, 304 insertions, 0 deletions
diff --git a/docs/doxygen/nel/track_8h-source.html b/docs/doxygen/nel/track_8h-source.html new file mode 100644 index 00000000..b739d986 --- /dev/null +++ b/docs/doxygen/nel/track_8h-source.html @@ -0,0 +1,304 @@ +<!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>track.h</h1><a href="track_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 +00007 <font class="comment">/* Copyright, 2001 Nevrax Ltd.</font> +00008 <font class="comment"> *</font> +00009 <font class="comment"> * This file is part of NEVRAX NEL.</font> +00010 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font> +00011 <font class="comment"> * it under the terms of the GNU General Public License as published by</font> +00012 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font> +00013 <font class="comment"> * any later version.</font> +00014 <font class="comment"></font> +00015 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font> +00016 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font> +00017 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font> +00018 <font class="comment"> * General Public License for more details.</font> +00019 <font class="comment"></font> +00020 <font class="comment"> * You should have received a copy of the GNU General Public License</font> +00021 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font> +00022 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font> +00023 <font class="comment"> * MA 02111-1307, USA.</font> +00024 <font class="comment"> */</font> +00025 +00026 <font class="preprocessor">#ifndef NL_TRACK_H</font> +00027 <font class="preprocessor"></font><font class="preprocessor">#define NL_TRACK_H</font> +00028 <font class="preprocessor"></font> +00029 <font class="preprocessor">#include "<a class="code" href="stream_8h.html">nel/misc/stream.h</a>"</font> +00030 <font class="preprocessor">#include "<a class="code" href="types__nl_8h.html">nel/misc/types_nl.h</a>"</font> +00031 <font class="preprocessor">#include "<a class="code" href="common_8h.html">nel/misc/common.h</a>"</font> +00032 +00033 <font class="preprocessor">#include "<a class="code" href="animation__time_8h.html">nel/3d/animation_time.h</a>"</font> +00034 <font class="preprocessor">#include "<a class="code" href="u__track_8h.html">nel/3d/u_track.h</a>"</font> +00035 +00036 <font class="preprocessor">#include "<a class="code" href="animated__value_8h.html">3d/animated_value.h</a>"</font> +00037 +00038 +00039 <font class="keyword">namespace </font>NL3D +00040 { +00041 +00042 +00043 <font class="keyword">using</font> <a class="code" href="classNLMISC_1_1CQuat.html">NLMISC::CQuat</a>; +00044 <font class="keyword">using</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>; +00045 +00046 +00047 <font class="comment">// ***************************************************************************</font> +<a name="l00058"></a><a class="code" href="classNL3D_1_1ITrack.html">00058</a> <font class="comment"></font><font class="keyword">class </font>ITrack : <font class="keyword">public</font> NLMISC::IStreamable, <font class="keyword">public</font> UTrack +00059 { +00060 <font class="keyword">public</font>: +<a name="l00064"></a><a class="code" href="classNL3D_1_1ITrack.html#a0">00064</a> <font class="keyword">virtual</font> <a class="code" href="classNL3D_1_1ITrack.html#a0">~ITrack</a>() {}; +00065 +00072 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1ITrack.html#a1">eval</a> (<font class="keyword">const</font> <a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a>& date)=0; +00073 +00079 <font class="keyword">virtual</font> <font class="keyword">const</font> IAnimatedValue& <a class="code" href="classNL3D_1_1ITrack.html#a2">getValue</a> () <font class="keyword">const</font>=0; +00080 +00085 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1ITrack.html#a3">getLoopMode</a>() <font class="keyword">const</font>=0; +00086 +00088 <font class="comment">// @{</font> +00089 +00090 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1ITrack.html#z834_0">interpolate</a> (<a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> time, <font class="keywordtype">float</font>& <a class="code" href="driver__opengl__extension__def_8h.html#a400">res</a>); +00091 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1ITrack.html#z834_0">interpolate</a> (<a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> time, sint32& <a class="code" href="driver__opengl__extension__def_8h.html#a400">res</a>); +00092 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1ITrack.html#z834_0">interpolate</a> (<a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> time, <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>& <a class="code" href="driver__opengl__extension__def_8h.html#a400">res</a>); +00093 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1ITrack.html#z834_0">interpolate</a> (<a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> time, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>& <a class="code" href="driver__opengl__extension__def_8h.html#a400">res</a>); +00094 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1ITrack.html#z834_0">interpolate</a> (<a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> time, <a class="code" href="classNLMISC_1_1CQuat.html">NLMISC::CQuat</a>& <a class="code" href="driver__opengl__extension__def_8h.html#a400">res</a>); +00095 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1ITrack.html#z834_0">interpolate</a> (<a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> time, std::string& <a class="code" href="driver__opengl__extension__def_8h.html#a400">res</a>); +00096 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1ITrack.html#z834_0">interpolate</a> (<a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> time, <font class="keywordtype">bool</font>& <a class="code" href="driver__opengl__extension__def_8h.html#a400">res</a>); +00097 +00098 <font class="comment">// @}</font> +00099 }; +00100 +00101 +00102 <font class="comment">// ***************************************************************************</font> +<a name="l00112"></a><a class="code" href="classNL3D_1_1ITrackDefault.html">00112</a> <font class="comment"></font><font class="keyword">class </font>ITrackDefault : <font class="keyword">public</font> ITrack +00113 { +00114 <font class="keyword">public</font>: +<a name="l00116"></a><a class="code" href="classNL3D_1_1ITrackDefault.html#a0">00116</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1ITrackDefault.html#a0">eval</a> (<font class="keyword">const</font> <a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a>& date) +00117 {} +<a name="l00118"></a><a class="code" href="classNL3D_1_1ITrackDefault.html#a1">00118</a> <a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> <a class="code" href="classNL3D_1_1ITrackDefault.html#a1">getBeginTime</a> ()<font class="keyword"> const</font> +00119 <font class="keyword"> </font>{ +00120 <font class="keywordflow">return</font> 0.f; +00121 } +<a name="l00122"></a><a class="code" href="classNL3D_1_1ITrackDefault.html#a2">00122</a> <a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> <a class="code" href="classNL3D_1_1ITrackDefault.html#a2">getEndTime</a> ()<font class="keyword"> const</font> +00123 <font class="keyword"> </font>{ +00124 <font class="keywordflow">return</font> 0.f; +00125 } +<a name="l00126"></a><a class="code" href="classNL3D_1_1ITrackDefault.html#a3">00126</a> <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1ITrackDefault.html#a3">getLoopMode</a>()<font class="keyword"> const </font>{<font class="keywordflow">return</font> <font class="keyword">true</font>;} +00127 }; +00128 +00129 +00130 +00131 <font class="comment">// ***************************************************************************</font> +00132 <font class="comment">// ***************************************************************************</font> +00133 <font class="comment">// TrackDefault implemenations.</font> +00134 <font class="comment">// ***************************************************************************</font> +00135 <font class="comment">// ***************************************************************************</font> +00136 +00137 +00138 +00148 <font class="keyword">template</font><<font class="keyword">class</font> T> +<a name="l00149"></a><a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html">00149</a> <font class="keyword">class </font>CTrackDefaultBlendable : <font class="keyword">public</font> ITrackDefault +00150 { +00151 <font class="keyword">public</font>: +00152 +<a name="l00153"></a><a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a0">00153</a> <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a0">CTrackDefaultBlendable</a>() +00154 { +00155 } +<a name="l00156"></a><a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a1">00156</a> <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a0">CTrackDefaultBlendable</a>(<font class="keyword">const</font> T &val) +00157 { +00158 <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#o0">_Value</a>.Value= val; +00159 } +00160 +<a name="l00162"></a><a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a2">00162</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a2">setValue</a>(<font class="keyword">const</font> T &val) +00163 { +00164 <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#o0">_Value</a>.Value= val; +00165 } +00166 +00167 +<a name="l00169"></a><a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a3">00169</a> <font class="keyword">virtual</font> <font class="keyword">const</font> IAnimatedValue& <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a3">getValue</a> ()<font class="keyword"> const</font> +00170 <font class="keyword"> </font>{ +00171 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#o0">_Value</a>; +00172 } +00173 +<a name="l00175"></a><a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a4">00175</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a4">serial</a> (<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a>& f) <font class="keywordflow">throw</font> (NLMISC::EStream) +00176 { +00177 <font class="comment">// Serial version</font> +00178 (void)f.serialVersion (0); +00179 +00180 <font class="comment">// Serial the value</font> +00181 f.serial (<a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#o0">_Value</a>.Value); +00182 } +00183 <font class="keyword">private</font>: +00184 +00185 <font class="comment">// The default value</font> +<a name="l00186"></a><a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#o0">00186</a> CAnimatedValueBlendable<T> <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#o0">_Value</a>; +00187 }; +00188 +00189 +00199 <font class="keyword">template</font><<font class="keyword">class</font> T> +<a name="l00200"></a><a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html">00200</a> <font class="keyword">class </font>CTrackDefaultNotBlendable : <font class="keyword">public</font> ITrackDefault +00201 { +00202 <font class="keyword">public</font>: +00203 +<a name="l00204"></a><a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#a0">00204</a> <a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#a0">CTrackDefaultNotBlendable</a>() +00205 { +00206 } +<a name="l00207"></a><a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#a1">00207</a> <a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#a0">CTrackDefaultNotBlendable</a>(<font class="keyword">const</font> T &val) +00208 { +00209 <a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#o0">_Value</a>.Value= val; +00210 } +00211 +<a name="l00213"></a><a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#a2">00213</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#a2">setValue</a>(<font class="keyword">const</font> T &val) +00214 { +00215 <a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#o0">_Value</a>.Value= val; +00216 } +00217 +00218 +<a name="l00220"></a><a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#a3">00220</a> <font class="keyword">virtual</font> <font class="keyword">const</font> IAnimatedValue& <a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#a3">getValue</a> ()<font class="keyword"> const</font> +00221 <font class="keyword"> </font>{ +00222 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#o0">_Value</a>; +00223 } +00224 +<a name="l00226"></a><a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#a4">00226</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#a4">serial</a> (<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a>& f) <font class="keywordflow">throw</font> (NLMISC::EStream) +00227 { +00228 <font class="comment">// Serial version</font> +00229 (void)f.serialVersion (0); +00230 +00231 <font class="comment">// Serial the value</font> +00232 f.serial (<a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#o0">_Value</a>.Value); +00233 } +00234 <font class="keyword">private</font>: +00235 +00236 <font class="comment">// The default value</font> +<a name="l00237"></a><a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#o0">00237</a> CAnimatedValueNotBlendable<T> <a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#o0">_Value</a>; +00238 }; +00239 +00240 +<a name="l00241"></a><a class="code" href="track_8h.html#a0">00241</a> <font class="preprocessor">#define NL3D_TRACKDEF_CTOR(_Son, _Father, _T) \</font> +00242 <font class="preprocessor"> _Son() {} \</font> +00243 <font class="preprocessor"> _Son(const _T &v) : _Father<_T>(v) {}</font> +00244 <font class="preprocessor"></font> +00245 +00246 <font class="comment">// Predefined types</font> +<a name="l00247"></a><a class="code" href="classNL3D_1_1CTrackDefaultFloat.html">00247</a> <font class="keyword">class </font>CTrackDefaultFloat : <font class="keyword">public</font> CTrackDefaultBlendable<float> +00248 { +00249 <font class="keyword">public</font>: +00250 <a class="code" href="classNL3D_1_1CTrackDefaultFloat.html#a0">NL3D_TRACKDEF_CTOR</a>(CTrackDefaultFloat, <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a0">CTrackDefaultBlendable</a>, <font class="keywordtype">float</font>); +00251 <a class="code" href="classNL3D_1_1CTrackDefaultFloat.html#a1">NLMISC_DECLARE_CLASS</a> (CTrackDefaultFloat); +00252 }; +<a name="l00253"></a><a class="code" href="classNL3D_1_1CTrackDefaultVector.html">00253</a> <font class="keyword">class </font>CTrackDefaultVector : <font class="keyword">public</font> CTrackDefaultBlendable<CVector> +00254 { +00255 <font class="keyword">public</font>: +00256 <a class="code" href="classNL3D_1_1CTrackDefaultVector.html#a0">NL3D_TRACKDEF_CTOR</a>(CTrackDefaultVector, <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a0">CTrackDefaultBlendable</a>, CVector); +00257 <a class="code" href="classNL3D_1_1CTrackDefaultVector.html#a1">NLMISC_DECLARE_CLASS</a> (CTrackDefaultVector); +00258 }; +<a name="l00259"></a><a class="code" href="classNL3D_1_1CTrackDefaultQuat.html">00259</a> <font class="keyword">class </font>CTrackDefaultQuat : <font class="keyword">public</font> CTrackDefaultBlendable<CQuat> +00260 { +00261 <font class="keyword">public</font>: +00262 <a class="code" href="classNL3D_1_1CTrackDefaultQuat.html#a0">NL3D_TRACKDEF_CTOR</a>(CTrackDefaultQuat, <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a0">CTrackDefaultBlendable</a>, CQuat); +00263 <a class="code" href="classNL3D_1_1CTrackDefaultQuat.html#a1">NLMISC_DECLARE_CLASS</a> (CTrackDefaultQuat); +00264 }; +<a name="l00265"></a><a class="code" href="classNL3D_1_1CTrackDefaultInt.html">00265</a> <font class="keyword">class </font>CTrackDefaultInt : <font class="keyword">public</font> CTrackDefaultBlendable<sint32> +00266 { +00267 <font class="keyword">public</font>: +00268 <a class="code" href="classNL3D_1_1CTrackDefaultInt.html#a0">NL3D_TRACKDEF_CTOR</a>(CTrackDefaultInt, <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a0">CTrackDefaultBlendable</a>, sint32); +00269 <a class="code" href="classNL3D_1_1CTrackDefaultInt.html#a1">NLMISC_DECLARE_CLASS</a> (CTrackDefaultInt); +00270 }; +00271 +<a name="l00272"></a><a class="code" href="classNL3D_1_1CTrackDefaultRGBA.html">00272</a> <font class="keyword">class </font>CTrackDefaultRGBA : <font class="keyword">public</font> CTrackDefaultBlendable<NLMISC::CRGBA> +00273 { +00274 <font class="keyword">public</font>: +00275 <a class="code" href="classNL3D_1_1CTrackDefaultRGBA.html#a0">NL3D_TRACKDEF_CTOR</a>(CTrackDefaultRGBA, <a class="code" href="classNL3D_1_1CTrackDefaultBlendable.html#a0">CTrackDefaultBlendable</a>, <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>); +00276 <a class="code" href="classNL3D_1_1CTrackDefaultRGBA.html#a1">NLMISC_DECLARE_CLASS</a> (CTrackDefaultRGBA); +00277 }; +00278 +00279 +<a name="l00280"></a><a class="code" href="classNL3D_1_1CTrackDefaultString.html">00280</a> <font class="keyword">class </font>CTrackDefaultString : <font class="keyword">public</font> CTrackDefaultNotBlendable<std::string> +00281 { +00282 <font class="keyword">public</font>: +00283 <a class="code" href="classNL3D_1_1CTrackDefaultString.html#a0">NL3D_TRACKDEF_CTOR</a>(CTrackDefaultString, <a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#a0">CTrackDefaultNotBlendable</a>, std::string); +00284 <a class="code" href="classNL3D_1_1CTrackDefaultString.html#a1">NLMISC_DECLARE_CLASS</a> (CTrackDefaultString); +00285 }; +<a name="l00286"></a><a class="code" href="classNL3D_1_1CTrackDefaultBool.html">00286</a> <font class="keyword">class </font>CTrackDefaultBool : <font class="keyword">public</font> CTrackDefaultNotBlendable<bool> +00287 { +00288 <font class="keyword">public</font>: +00289 <a class="code" href="classNL3D_1_1CTrackDefaultBool.html#a0">NL3D_TRACKDEF_CTOR</a>(CTrackDefaultBool, <a class="code" href="classNL3D_1_1CTrackDefaultNotBlendable.html#a0">CTrackDefaultNotBlendable</a>, <font class="keywordtype">bool</font>); +00290 <a class="code" href="classNL3D_1_1CTrackDefaultBool.html#a1">NLMISC_DECLARE_CLASS</a> (CTrackDefaultBool); +00291 }; +00292 +00293 } <font class="comment">// NL3D</font> +00294 +00295 +00296 <font class="preprocessor">#endif // NL_TRACK_H</font> +00297 <font class="preprocessor"></font> +00298 <font class="comment">/* End of track.h */</font> +</pre></div> + +<!-- 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> |