aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/mesh__base_8h-source.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/mesh__base_8h-source.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/mesh__base_8h-source.html')
-rw-r--r--docs/doxygen/nel/mesh__base_8h-source.html266
1 files changed, 266 insertions, 0 deletions
diff --git a/docs/doxygen/nel/mesh__base_8h-source.html b/docs/doxygen/nel/mesh__base_8h-source.html
new file mode 100644
index 00000000..28f02ed2
--- /dev/null
+++ b/docs/doxygen/nel/mesh__base_8h-source.html
@@ -0,0 +1,266 @@
+<!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>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</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>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</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>
+&nbsp;
+
+<!-- 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>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <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> &nbsp; </center>
+<hr><h1>mesh_base.h</h1><a href="mesh__base_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_MESH_BASE_H</font>
+00027 <font class="preprocessor"></font><font class="preprocessor">#define NL_MESH_BASE_H</font>
+00028 <font class="preprocessor"></font>
+00029 <font class="preprocessor">#include "<a class="code" href="types__nl_8h.html">nel/misc/types_nl.h</a>"</font>
+00030 <font class="preprocessor">#include "<a class="code" href="shape_8h.html">3d/shape.h</a>"</font>
+00031 <font class="preprocessor">#include "<a class="code" href="driver_8h.html">3d/driver.h</a>"</font>
+00032 <font class="preprocessor">#include "<a class="code" href="material_8h.html">3d/material.h</a>"</font>
+00033 <font class="preprocessor">#include "<a class="code" href="animated__material_8h.html">3d/animated_material.h</a>"</font>
+00034 <font class="preprocessor">#include "<a class="code" href="animated__morph_8h.html">3d/animated_morph.h</a>"</font>
+00035 <font class="preprocessor">#include &lt;set&gt;</font>
+00036 <font class="preprocessor">#include &lt;vector&gt;</font>
+00037
+00038
+00039
+00040 <font class="keyword">namespace </font>NL3D {
+00041
+00042
+00043 <font class="keyword">class </font>CMeshBaseInstance;
+00044
+00045
+00046 <font class="comment">// ***************************************************************************</font>
+<a name="l00053"></a><a class="code" href="classNL3D_1_1CMeshBase.html">00053</a> <font class="comment"></font><font class="keyword">class </font>CMeshBase : <font class="keyword">public</font> IShape
+00054 {
+00055 <font class="keyword">public</font>:
+00056
+00058
+00059
+<a name="l00060"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMatStage.html">00060</a> <font class="keyword">struct </font>CMatStage
+00061 {
+<a name="l00062"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMatStage.html#m1">00062</a> <a class="code" href="types__nl_8h.html#a6">uint8</a> <a class="code" href="structNL3D_1_1CMeshBase_1_1CMatStage.html#m0">nMatNb</a>, <a class="code" href="structNL3D_1_1CMeshBase_1_1CMatStage.html#m1">nStageNb</a>;
+<a name="l00063"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMatStage.html#a0">00063</a> <font class="keywordtype">void</font> <a class="code" href="structNL3D_1_1CMeshBase_1_1CMatStage.html#a0">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f)
+00064 {
+00065 f.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(<a class="code" href="structNL3D_1_1CMeshBase_1_1CMatStage.html#m0">nMatNb</a>);
+00066 f.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(<a class="code" href="structNL3D_1_1CMeshBase_1_1CMatStage.html#m1">nStageNb</a>);
+00067 }
+00068 };
+<a name="l00069"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CLightInfoMapList.html">00069</a> <font class="keyword">struct </font>CLightInfoMapList : std::list&lt; CMatStage &gt;
+00070 {
+<a name="l00071"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CLightInfoMapList.html#a0">00071</a> <font class="keywordtype">void</font> <a class="code" href="structNL3D_1_1CMeshBase_1_1CLightInfoMapList.html#a0">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f)
+00072 {
+00073 f.<a class="code" href="classNLMISC_1_1IStream.html#a7">serialCont</a>((<a class="code" href="classstd_1_1list.html">std::list&lt; CMatStage &gt;</a>&amp;)*<font class="keyword">this</font>);
+00074 }
+00075 };
+<a name="l00076"></a><a class="code" href="classNL3D_1_1CMeshBase.html#z551_0">00076</a> <font class="keyword">typedef</font> std::map&lt; std::string, CLightInfoMapList &gt; <a class="code" href="classNL3D_1_1CMeshBase.html#z551_0">TLightInfoMap</a>;
+00077
+<a name="l00079"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html">00079</a> <font class="keyword">struct </font>CMeshBaseBuild
+00080 {
+<a name="l00081"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m0">00081</a> <font class="keywordtype">bool</font> <a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m0">bCastShadows</a>;
+<a name="l00082"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m1">00082</a> <font class="keywordtype">bool</font> <a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m1">bRcvShadows</a>;
+<a name="l00083"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m2">00083</a> <font class="keywordtype">bool</font> <a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m2">UseLightingLocalAttenuation</a>;
+00084
+00085 <font class="comment">// Default value for position of this mesh</font>
+<a name="l00086"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m3">00086</a> CVector <a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m3">DefaultPos</a>;
+<a name="l00087"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m4">00087</a> CVector <a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m4">DefaultPivot</a>;
+<a name="l00088"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m5">00088</a> CVector <a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m5">DefaultRotEuler</a>;
+<a name="l00089"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m6">00089</a> CQuat <a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m6">DefaultRotQuat</a>;
+<a name="l00090"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m7">00090</a> CVector <a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m7">DefaultScale</a>;
+00091
+00092 <font class="comment">// Material array</font>
+<a name="l00093"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m8">00093</a> std::vector&lt;CMaterial&gt; <a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m8">Materials</a>;
+00094
+00095 <font class="comment">// Map of light information</font>
+<a name="l00096"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m9">00096</a> TLightInfoMap <a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m9">LightInfoMap</a>;
+00097
+00098 <font class="comment">// Default position of the blend shapes factors</font>
+<a name="l00099"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m10">00099</a> std::vector&lt;float&gt; <a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m10">DefaultBSFactors</a>;
+<a name="l00100"></a><a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m11">00100</a> std::vector&lt;std::string&gt;<a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#m11">BSNames</a>;
+00101
+00102
+00103 <a class="code" href="structNL3D_1_1CMeshBase_1_1CMeshBaseBuild.html#a0">CMeshBaseBuild</a>();
+00104
+00105 <font class="comment">// Serialization is not used</font>
+00106 <font class="comment">//void serial(NLMISC::IStream &amp;f) throw(NLMISC::EStream);</font>
+00107 };
+00109
+00110
+00111 <font class="keyword">public</font>:
+00113 <a class="code" href="classNL3D_1_1CMeshBase.html#a0">CMeshBase</a>();
+00114
+00116 <font class="comment">// @{</font>
+00118 <font class="comment"> void setAnimatedMaterial(uint id, const std::string &amp;matName);</font>
+00120 <font class="comment"> CMaterialBase *getAnimatedMaterial(uint id);</font>
+00121 <font class="comment">// @}</font>
+00122
+00124 <font class="comment">// @{</font>
+<a name="l00125"></a><a class="code" href="classNL3D_1_1CMeshBase.html#z553_0">00125</a> CTrackDefaultVector* <a class="code" href="classNL3D_1_1CMeshBase.html#z553_0">getDefaultPos</a> () {<font class="keywordflow">return</font> &amp;<a class="code" href="classNL3D_1_1CMeshBase.html#n2">_DefaultPos</a>;}
+<a name="l00126"></a><a class="code" href="classNL3D_1_1CMeshBase.html#z553_1">00126</a> CTrackDefaultVector* <a class="code" href="classNL3D_1_1CMeshBase.html#z553_1">getDefaultPivot</a> () {<font class="keywordflow">return</font> &amp;<a class="code" href="classNL3D_1_1CMeshBase.html#n3">_DefaultPivot</a>;}
+<a name="l00127"></a><a class="code" href="classNL3D_1_1CMeshBase.html#z553_2">00127</a> CTrackDefaultVector* <a class="code" href="classNL3D_1_1CMeshBase.html#z553_2">getDefaultRotEuler</a> () {<font class="keywordflow">return</font> &amp;<a class="code" href="classNL3D_1_1CMeshBase.html#n4">_DefaultRotEuler</a>;}
+<a name="l00128"></a><a class="code" href="classNL3D_1_1CMeshBase.html#z553_3">00128</a> CTrackDefaultQuat* <a class="code" href="classNL3D_1_1CMeshBase.html#z553_3">getDefaultRotQuat</a> () {<font class="keywordflow">return</font> &amp;<a class="code" href="classNL3D_1_1CMeshBase.html#n5">_DefaultRotQuat</a>;}
+<a name="l00129"></a><a class="code" href="classNL3D_1_1CMeshBase.html#z553_4">00129</a> CTrackDefaultVector* <a class="code" href="classNL3D_1_1CMeshBase.html#z553_4">getDefaultScale</a> () {<font class="keywordflow">return</font> &amp;<a class="code" href="classNL3D_1_1CMeshBase.html#n6">_DefaultScale</a>;}
+<a name="l00130"></a><a class="code" href="classNL3D_1_1CMeshBase.html#z553_5">00130</a> CTrackDefaultRGBA* <a class="code" href="classNL3D_1_1CMeshBase.html#z553_5">getDefaultLMFactor</a> () {<font class="keywordflow">return</font> &amp;<a class="code" href="classNL3D_1_1CMeshBase.html#n7">_DefaultLMFactor</a>;}
+00131 <font class="comment">// @}</font>
+00132
+00134 <font class="comment">// @{</font>
+00135
+<a name="l00137"></a><a class="code" href="classNL3D_1_1CMeshBase.html#z554_0">00137</a> <a class="code" href="types__nl_8h.html#a14">uint</a> <a class="code" href="classNL3D_1_1CMeshBase.html#z554_0">getNbMaterial</a>()<font class="keyword"> const</font>
+00138 <font class="keyword"> </font>{
+00139 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshBase.html#n0">_Materials</a>.size();
+00140 }
+00141
+<a name="l00143"></a><a class="code" href="classNL3D_1_1CMeshBase.html#z554_1">00143</a> CMaterial&amp; <a class="code" href="classNL3D_1_1CMeshBase.html#z554_1">getMaterial</a>(<a class="code" href="types__nl_8h.html#a14">uint</a> <a class="code" href="driver__opengl__extension__def_8h.html#a234">id</a>)
+00144 {
+00145 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshBase.html#n0">_Materials</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a234">id</a>];
+00146 }
+<a name="l00148"></a><a class="code" href="classNL3D_1_1CMeshBase.html#z554_2">00148</a> <font class="keyword">const</font> CMaterial&amp; <a class="code" href="classNL3D_1_1CMeshBase.html#z554_1">getMaterial</a>(<a class="code" href="types__nl_8h.html#a14">uint</a> <a class="code" href="driver__opengl__extension__def_8h.html#a234">id</a>)<font class="keyword"> const</font>
+00149 <font class="keyword"> </font>{
+00150 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshBase.html#n0">_Materials</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a234">id</a>];
+00151 }
+00152 <font class="comment">// @}</font>
+00153
+00155 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMeshBase.html#a1">serialMeshBase</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f) <font class="keywordflow">throw</font>(NLMISC::EStream);
+00156
+00158 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMeshBase.html#a2">flushTextures</a> (IDriver &amp;driver);
+00159
+00160
+<a name="l00162"></a><a class="code" href="classNL3D_1_1CMeshBase.html#a3">00162</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CMeshBase.html#a3">isLightable</a>()<font class="keyword"> const </font>{<font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshBase.html#n9">_IsLightable</a>;}
+00163
+00165 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CMeshBase.html#a4">useLightingLocalAttenuation</a> () <font class="keyword">const</font>;
+00166
+00168 <font class="comment">// @{</font>
+<a name="l00174"></a><a class="code" href="classNL3D_1_1CMeshBase.html#z555_0">00174</a> <font class="comment"></font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMeshBase.html#z555_0">setAutoAnim</a>(<font class="keywordtype">bool</font> on = <font class="keyword">true</font>) { <a class="code" href="classNL3D_1_1CMeshBase.html#n11">_AutoAnim</a> = on; }
+00175 <font class="comment">// Check wether automatic animation is enabled</font>
+<a name="l00176"></a><a class="code" href="classNL3D_1_1CMeshBase.html#z555_1">00176</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CMeshBase.html#z555_1">getAutoAnim</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMeshBase.html#n11">_AutoAnim</a>; }
+00177 <font class="comment">// @}</font>
+00178
+00179
+00180 <font class="comment">// ************************</font>
+00181 <font class="keyword">protected</font>:
+<a name="l00183"></a><a class="code" href="classNL3D_1_1CMeshBase.html#n0">00183</a> std::vector&lt;CMaterial&gt; <a class="code" href="classNL3D_1_1CMeshBase.html#n0">_Materials</a>;
+00184
+00185 <font class="keyword">public</font>:
+00186 <font class="comment">// Map of light information ( LightName, list(MaterialNb, StageNb) )</font>
+<a name="l00187"></a><a class="code" href="classNL3D_1_1CMeshBase.html#m0">00187</a> <a class="code" href="classNL3D_1_1CMeshBase.html#z551_0">TLightInfoMap</a> <a class="code" href="classNL3D_1_1CMeshBase.html#m0">_LightInfos</a>;
+00188
+00189
+00190 <font class="keyword">protected</font>:
+<a name="l00192"></a><a class="code" href="classNL3D_1_1CMeshBase.html#t0">00192</a> <font class="keyword">typedef</font> std::map&lt;uint32, CMaterialBase&gt; <a class="code" href="classNL3D_1_1CMeshBase.html#t0">TAnimatedMaterialMap</a>;
+<a name="l00193"></a><a class="code" href="classNL3D_1_1CMeshBase.html#n1">00193</a> <a class="code" href="classNL3D_1_1CMeshBase.html#t0">TAnimatedMaterialMap</a> <a class="code" href="classNL3D_1_1CMeshBase.html#n1">_AnimatedMaterials</a>;
+00194
+00195
+<a name="l00197"></a><a class="code" href="classNL3D_1_1CMeshBase.html#n2">00197</a> CTrackDefaultVector <a class="code" href="classNL3D_1_1CMeshBase.html#n2">_DefaultPos</a>;
+<a name="l00198"></a><a class="code" href="classNL3D_1_1CMeshBase.html#n3">00198</a> CTrackDefaultVector <a class="code" href="classNL3D_1_1CMeshBase.html#n3">_DefaultPivot</a>;
+<a name="l00199"></a><a class="code" href="classNL3D_1_1CMeshBase.html#n4">00199</a> CTrackDefaultVector <a class="code" href="classNL3D_1_1CMeshBase.html#n4">_DefaultRotEuler</a>;
+<a name="l00200"></a><a class="code" href="classNL3D_1_1CMeshBase.html#n5">00200</a> CTrackDefaultQuat <a class="code" href="classNL3D_1_1CMeshBase.html#n5">_DefaultRotQuat</a>;
+<a name="l00201"></a><a class="code" href="classNL3D_1_1CMeshBase.html#n6">00201</a> CTrackDefaultVector <a class="code" href="classNL3D_1_1CMeshBase.html#n6">_DefaultScale</a>;
+<a name="l00202"></a><a class="code" href="classNL3D_1_1CMeshBase.html#n7">00202</a> CTrackDefaultRGBA <a class="code" href="classNL3D_1_1CMeshBase.html#n7">_DefaultLMFactor</a>;
+00203
+<a name="l00204"></a><a class="code" href="classNL3D_1_1CMeshBase.html#n8">00204</a> std::vector&lt;CMorphBase&gt; <a class="code" href="classNL3D_1_1CMeshBase.html#n8">_AnimatedMorph</a>;
+00205
+<a name="l00207"></a><a class="code" href="classNL3D_1_1CMeshBase.html#n9">00207</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CMeshBase.html#n9">_IsLightable</a>;
+<a name="l00209"></a><a class="code" href="classNL3D_1_1CMeshBase.html#n10">00209</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CMeshBase.html#n10">_UseLightingLocalAttenuation</a>;
+00210
+<a name="l00211"></a><a class="code" href="classNL3D_1_1CMeshBase.html#n11">00211</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CMeshBase.html#n11">_AutoAnim</a>;
+00212
+00213
+00214 <font class="keyword">protected</font>:
+00216 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMeshBase.html#b0">buildMeshBase</a>(CMeshBaseBuild &amp;m);
+00217
+00219 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMeshBase.html#b1">instanciateMeshBase</a>(CMeshBaseInstance *mi, CScene *ownerScene);
+00220
+00221 <font class="keyword">private</font>:
+00222
+00224 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMeshBase.html#c0">computeIsLightable</a>();
+00225 };
+00226
+00227
+00228 } <font class="comment">// NL3D</font>
+00229
+00230
+00231 <font class="preprocessor">#endif // NL_MESH_BASE_H</font>
+00232 <font class="preprocessor"></font>
+00233 <font class="comment">/* End of mesh_base.h */</font>
+</pre></div>
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </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>