aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/flare__shape_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/flare__shape_8h-source.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/flare__shape_8h-source.html284
1 files changed, 284 insertions, 0 deletions
diff --git a/docs/doxygen/nel/flare__shape_8h-source.html b/docs/doxygen/nel/flare__shape_8h-source.html
new file mode 100644
index 00000000..bd5709af
--- /dev/null
+++ b/docs/doxygen/nel/flare__shape_8h-source.html
@@ -0,0 +1,284 @@
+<!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>flare_shape.h</h1><a href="flare__shape_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
+00007 <font class="comment">/* Copyright, 2000, 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_FLARE_SHAPE_H</font>
+00027 <font class="preprocessor"></font><font class="preprocessor">#define NL_FLARE_SHAPE_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="class__id_8h.html">nel/misc/class_id.h</a>"</font>
+00031 <font class="preprocessor">#include "<a class="code" href="animation__time_8h.html">nel/3d/animation_time.h</a>"</font>
+00032 <font class="preprocessor">#include "<a class="code" href="shape_8h.html">3d/shape.h</a>"</font>
+00033 <font class="preprocessor">#include "<a class="code" href="texture_8h.html">3d/texture.h</a>"</font>
+00034 <font class="preprocessor">#include "<a class="code" href="track_8h.html">3d/track.h</a>"</font>
+00035
+00036
+00037
+00038 <font class="keyword">namespace </font>NL3D {
+00039
+00040
+00041 <font class="comment">// class id for flares</font>
+00042 <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CClassId.html">NLMISC::CClassId</a> <a class="code" href="namespaceNL3D.html#a38">FlareModelClassId</a> = <a class="code" href="classNLMISC_1_1CClassId.html">NLMISC::CClassId</a>(0x6d674c32, 0x53b961a0);
+00043
+00044 <font class="comment">// max number of flares</font>
+00045 <font class="keyword">const</font> uint <a class="code" href="namespaceNL3D.html#a39">MaxFlareNum</a>= 10;
+00046
+<a name="l00053"></a><a class="code" href="classNL3D_1_1CFlareShape.html">00053</a> <font class="keyword">class </font>CFlareShape : <font class="keyword">public</font> IShape
+00054 {
+00055 <font class="keyword">public</font>:
+00056 <a class="code" href="classNL3D_1_1CFlareShape.html#a0">NLMISC_DECLARE_CLASS</a>(<a class="code" href="classNL3D_1_1CFlareShape.html#z454_0">CFlareShape</a>);
+00057
+00059
+00060
+00061 <a class="code" href="classNL3D_1_1CFlareShape.html#z454_0">CFlareShape</a>();
+00062
+00064 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#z454_1">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f) <font class="keywordflow">throw</font>(NLMISC::EStream);
+00066
+00067
+00069 <font class="keyword">virtual</font> CTransformShape *<a class="code" href="classNL3D_1_1CFlareShape.html#a1">createInstance</a>(CScene &amp;scene);
+00070
+00072 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a2">clip</a>(<font class="keyword">const</font> std::vector&lt;CPlane&gt; &amp;pyramid, <font class="keyword">const</font> CMatrix &amp;worldMatrix);
+00073
+00074
+<a name="l00076"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a3">00076</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a3">render</a>(IDriver *drv, CTransformShape *trans, <font class="keywordtype">bool</font> opaquePass) {}
+00077
+00079 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a4">getAABBox</a>(<a class="code" href="classNLMISC_1_1CAABBox.html">NLMISC::CAABBox</a> &amp;bbox) <font class="keyword">const</font>;
+00080
+00082 <font class="keyword">virtual</font> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a5">getNumTriangles</a> (<font class="keywordtype">float</font> distance);
+00083
+00085 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a6">flushTextures</a> (IDriver &amp;driver);
+00086
+<a name="l00091"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a7">00091</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a7">setTexture</a>(uint <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, ITexture *tex)
+00092 {
+00093 <a class="code" href="debug_8h.html#a6">nlassert</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a> &lt; <a class="code" href="namespaceNL3D.html#a39">MaxFlareNum</a>);
+00094 <a class="code" href="classNL3D_1_1CFlareShape.html#n0">_Tex</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>] = tex;
+00095 }
+00096
+<a name="l00100"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a8">00100</a> ITexture *<a class="code" href="classNL3D_1_1CFlareShape.html#a8">getTexture</a>(uint <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>)
+00101 {
+00102 <a class="code" href="debug_8h.html#a6">nlassert</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a> &lt; <a class="code" href="namespaceNL3D.html#a39">MaxFlareNum</a>);
+00103 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n0">_Tex</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>];
+00104 }
+00105
+<a name="l00107"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a9">00107</a> <font class="keyword">const</font> ITexture *<a class="code" href="classNL3D_1_1CFlareShape.html#a8">getTexture</a>(uint <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>)<font class="keyword"> const </font>
+00108 <font class="keyword"> </font>{
+00109 <a class="code" href="debug_8h.html#a6">nlassert</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a> &lt; <a class="code" href="namespaceNL3D.html#a39">MaxFlareNum</a>);
+00110 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n0">_Tex</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>];
+00111 }
+00112
+<a name="l00116"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a10">00116</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a10">setSize</a>(uint <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <font class="keywordtype">float</font> size)
+00117 {
+00118 <a class="code" href="debug_8h.html#a6">nlassert</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a> &lt; <a class="code" href="namespaceNL3D.html#a39">MaxFlareNum</a>);
+00119 <a class="code" href="classNL3D_1_1CFlareShape.html#n3">_Size</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>] = size;
+00120 }
+00121
+<a name="l00125"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a11">00125</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a11">getSize</a>(uint <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>)<font class="keyword"> const </font>
+00126 <font class="keyword"> </font>{
+00127 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n3">_Size</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>];
+00128 }
+00129
+<a name="l00134"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a12">00134</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a12">setRelativePos</a>(uint <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <font class="keywordtype">float</font> pos)
+00135 {
+00136 <a class="code" href="debug_8h.html#a6">nlassert</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a> &lt; <a class="code" href="namespaceNL3D.html#a39">MaxFlareNum</a>);
+00137 <a class="code" href="classNL3D_1_1CFlareShape.html#n4">_Pos</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>] = pos;
+00138 }
+00139
+<a name="l00141"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a13">00141</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a13">getRelativePos</a>(uint <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>)<font class="keyword"> const</font>
+00142 <font class="keyword"> </font>{
+00143 <a class="code" href="debug_8h.html#a6">nlassert</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a> &lt; <a class="code" href="namespaceNL3D.html#a39">MaxFlareNum</a>);
+00144 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n4">_Pos</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>];
+00145 }
+00146
+<a name="l00148"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a14">00148</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a14">setColor</a>(<a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> col)
+00149 {
+00150 <a class="code" href="classNL3D_1_1CFlareShape.html#n1">_Color</a> = col;
+00151 }
+00152
+<a name="l00154"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a15">00154</a> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> <a class="code" href="classNL3D_1_1CFlareShape.html#a15">getColor</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>
+00155 <font class="keyword"> </font>{
+00156 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n1">_Color</a>;
+00157 }
+00158
+<a name="l00160"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a16">00160</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a16">setFlareSpacing</a>(<font class="keywordtype">float</font> spacing)
+00161 {
+00162 <a class="code" href="classNL3D_1_1CFlareShape.html#n6">_Spacing</a> = spacing;
+00163 }
+00164
+<a name="l00168"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a17">00168</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a17">getFlareSpacing</a>(<font class="keywordtype">void</font>)<font class="keyword"> const</font>
+00169 <font class="keyword"> </font>{
+00170 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n6">_Spacing</a>;
+00171 }
+00172
+<a name="l00174"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a18">00174</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a18">setPersistence</a>(<a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> persistence)
+00175 {
+00176 <a class="code" href="classNL3D_1_1CFlareShape.html#n5">_Persistence</a> = persistence;
+00177 }
+00178
+<a name="l00182"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a19">00182</a> <a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> <a class="code" href="classNL3D_1_1CFlareShape.html#a19">getPersistence</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>
+00183 <font class="keyword"> </font>{
+00184 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n5">_Persistence</a>;
+00185 }
+00186
+00187
+<a name="l00189"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a20">00189</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a20">setAttenuable</a>(<font class="keywordtype">bool</font> enable = <font class="keyword">true</font>) { <a class="code" href="classNL3D_1_1CFlareShape.html#n7">_Attenuable</a> = enable; }
+00190
+<a name="l00192"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a21">00192</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a21">getAttenuable</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n7">_Attenuable</a>; }
+00193
+<a name="l00195"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a22">00195</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a22">setAttenuationRange</a>(<font class="keywordtype">float</font> <a class="code" href="driver__opengl__extension__def_8h.html#a412">range</a>) { <a class="code" href="classNL3D_1_1CFlareShape.html#n8">_AttenuationRange</a> = <a class="code" href="driver__opengl__extension__def_8h.html#a412">range</a>; }
+00196
+<a name="l00198"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a23">00198</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a23">getAttenuationRange</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n8">_AttenuationRange</a>; }
+00199
+00200
+<a name="l00202"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a24">00202</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a24">setFirstFlareKeepSize</a>(<font class="keywordtype">bool</font> enable = <font class="keyword">true</font>) { <a class="code" href="classNL3D_1_1CFlareShape.html#n9">_FirstFlareKeepSize</a> = enable; }
+00203
+<a name="l00205"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a25">00205</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a25">getFirstFlareKeepSize</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n9">_FirstFlareKeepSize</a>; }
+00206
+<a name="l00208"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a26">00208</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a26">enableDazzle</a>(<font class="keywordtype">bool</font> enable = <font class="keyword">true</font>) { <a class="code" href="classNL3D_1_1CFlareShape.html#n10">_DazzleEnabled</a> = enable; }
+00209
+<a name="l00211"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a27">00211</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a27">hasDazzle</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n10">_DazzleEnabled</a>; }
+00212
+<a name="l00216"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a28">00216</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a28">setDazzleColor</a>(<a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> col) { <a class="code" href="classNL3D_1_1CFlareShape.html#n2">_DazzleColor</a> = col; }
+00217
+<a name="l00221"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a29">00221</a> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> <a class="code" href="classNL3D_1_1CFlareShape.html#a29">getDazzleColor</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n2">_DazzleColor</a>; }
+00222
+<a name="l00227"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a30">00227</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a30">setDazzleAttenuationRange</a>(<font class="keywordtype">float</font> <a class="code" href="driver__opengl__extension__def_8h.html#a412">range</a>) { <a class="code" href="classNL3D_1_1CFlareShape.html#n11">_DazzleAttenuationRange</a> = <a class="code" href="driver__opengl__extension__def_8h.html#a412">range</a>; }
+00228
+<a name="l00230"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a31">00230</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a31">getDazzleAttenuationRange</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n11">_DazzleAttenuationRange</a>; }
+00231
+<a name="l00235"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a32">00235</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a32">setMaxViewDist</a>(<font class="keywordtype">float</font> dist) { <a class="code" href="classNL3D_1_1CFlareShape.html#n12">_MaxViewDist</a> = dist; }
+00236
+00237
+<a name="l00239"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a33">00239</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a33">getMaxViewDist</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n12">_MaxViewDist</a>; }
+00240
+<a name="l00244"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a34">00244</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a34">setMaxViewDistRatio</a>(<font class="keywordtype">float</font> ratio) { <a class="code" href="classNL3D_1_1CFlareShape.html#n13">_MaxViewDistRatio</a> = ratio; }
+00245
+<a name="l00247"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a35">00247</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a35">getMaxViewDistRatio</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n13">_MaxViewDistRatio</a>; }
+00248
+<a name="l00253"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a36">00253</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a36">setFlareAtInfiniteDist</a>(<font class="keywordtype">bool</font> enabled = <font class="keyword">true</font>) { <a class="code" href="classNL3D_1_1CFlareShape.html#n14">_InfiniteDist</a> = enabled; }
+00254
+<a name="l00256"></a><a class="code" href="classNL3D_1_1CFlareShape.html#a37">00256</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CFlareShape.html#a37">getFlareAtInfiniteDist</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n14">_InfiniteDist</a>; }
+00257
+<a name="l00259"></a><a class="code" href="classNL3D_1_1CFlareShape.html#m0">00259</a> CTrackDefaultVector <a class="code" href="classNL3D_1_1CFlareShape.html#m0">_DefaultPos</a>;
+00260
+00261
+00263 <font class="comment">// @{</font>
+<a name="l00264"></a><a class="code" href="classNL3D_1_1CFlareShape.html#z455_0">00264</a> CTrackDefaultVector* <a class="code" href="classNL3D_1_1CFlareShape.html#z455_0">getDefaultPos</a> () {<font class="keywordflow">return</font> &amp;<a class="code" href="classNL3D_1_1CFlareShape.html#m0">_DefaultPos</a>;}
+00265 <font class="comment">// @}</font>
+00266
+00267
+00268 <font class="keyword">protected</font>:
+<a name="l00269"></a><a class="code" href="classNL3D_1_1CFlareShape.html#l0">00269</a> <font class="keyword">friend</font> <font class="keyword">class </font><a class="code" href="classNL3D_1_1CFlareShape.html#l0">CFlareModel</a>;
+<a name="l00270"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n0">00270</a> <a class="code" href="classNLMISC_1_1CSmartPtr.html">NLMISC::CSmartPtr&lt;ITexture&gt;</a> <a class="code" href="classNL3D_1_1CFlareShape.html#n0">_Tex</a>[<a class="code" href="namespaceNL3D.html#a39">MaxFlareNum</a>];
+<a name="l00271"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n1">00271</a> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> <a class="code" href="classNL3D_1_1CFlareShape.html#n1">_Color</a>;
+<a name="l00272"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n2">00272</a> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> <a class="code" href="classNL3D_1_1CFlareShape.html#n2">_DazzleColor</a>;
+<a name="l00273"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n3">00273</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n3">_Size</a>[<a class="code" href="namespaceNL3D.html#a39">MaxFlareNum</a>];
+<a name="l00274"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n4">00274</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n4">_Pos</a>[<a class="code" href="namespaceNL3D.html#a39">MaxFlareNum</a>];
+<a name="l00275"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n5">00275</a> <a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> <a class="code" href="classNL3D_1_1CFlareShape.html#n5">_Persistence</a>;
+<a name="l00276"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n6">00276</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n6">_Spacing</a>;
+<a name="l00277"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n7">00277</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n7">_Attenuable</a>;
+<a name="l00278"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n8">00278</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n8">_AttenuationRange</a>;
+<a name="l00279"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n9">00279</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n9">_FirstFlareKeepSize</a>;
+<a name="l00280"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n10">00280</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n10">_DazzleEnabled</a>;
+<a name="l00281"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n11">00281</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n11">_DazzleAttenuationRange</a>;
+<a name="l00282"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n12">00282</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n12">_MaxViewDist</a>;
+<a name="l00283"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n13">00283</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n13">_MaxViewDistRatio</a>;
+<a name="l00284"></a><a class="code" href="classNL3D_1_1CFlareShape.html#n14">00284</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CFlareShape.html#n14">_InfiniteDist</a>;
+00285 };
+00286
+00287
+00288 } <font class="comment">// NL3D</font>
+00289
+00290
+00291 <font class="preprocessor">#endif // NL_FLARE_SHAPE_H</font>
+00292 <font class="preprocessor"></font>
+00293 <font class="comment">/* End of flare_shape.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>