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/ps__emitter_8h-source.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/ps__emitter_8h-source.html')
-rw-r--r-- | docs/doxygen/nel/ps__emitter_8h-source.html | 543 |
1 files changed, 543 insertions, 0 deletions
diff --git a/docs/doxygen/nel/ps__emitter_8h-source.html b/docs/doxygen/nel/ps__emitter_8h-source.html new file mode 100644 index 00000000..fb55afee --- /dev/null +++ b/docs/doxygen/nel/ps__emitter_8h-source.html @@ -0,0 +1,543 @@ +<!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>ps_emitter.h</h1><a href="ps__emitter_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_PS_EMITTER_H</font> +00027 <font class="preprocessor"></font><font class="preprocessor">#define NL_PS_EMITTER_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="ps__located_8h.html">3d/ps_located.h</a>"</font> +00031 <font class="preprocessor">#include "<a class="code" href="ps__attrib__maker_8h.html">3d/ps_attrib_maker.h</a>"</font> +00032 <font class="preprocessor">#include "<a class="code" href="ps__edit_8h.html">3d/ps_edit.h</a>"</font> +00033 <font class="preprocessor">#include "<a class="code" href="ps__plane__basis_8h.html">3d/ps_plane_basis.h</a>"</font> +00034 <font class="preprocessor">#include "<a class="code" href="ps__direction_8h.html">3d/ps_direction.h</a>"</font> +00035 +00036 +00037 <font class="keyword">namespace </font>NL3D { +00038 +00039 +<a name="l00049"></a><a class="code" href="classNL3D_1_1CPSEmitter.html">00049</a> <font class="keyword">class </font>CPSEmitter : <font class="keyword">public</font> CPSLocatedBindable +00050 { +00051 <font class="keyword">public</font>: +00052 +00054 +00055 +00056 <a class="code" href="classNL3D_1_1CPSEmitter.html#z716_0">CPSEmitter</a>(); +00057 +00058 <font class="comment">// dtor</font> +00059 <font class="keyword">virtual</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#z716_1">~CPSEmitter</a>(); +00061 +<a name="l00063"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a0">00063</a> uint32 <a class="code" href="classNL3D_1_1CPSEmitter.html#a0">getType</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="namespaceNL3D.html#a204">PSEmitter</a>; } +00064 +00065 +<a name="l00067"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a1">00067</a> <font class="keyword">virtual</font> uint32 <a class="code" href="classNL3D_1_1CPSEmitter.html#a1">getPriority</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> 500; } +00068 +<a name="l00070"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a2">00070</a> <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a2">hasEmitters</a>(<font class="keywordtype">void</font>) { <a class="code" href="debug_8h.html#a6">nlassert</a>(<a class="code" href="classNL3D_1_1CPSLocatedBindable.html#n0">_Owner</a>); <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#n0">_Owner</a>->getSize() != 0; } +00071 +00078 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a3">step</a>(<a class="code" href="namespaceNL3D.html#a484">TPSProcessPass</a> pass, <a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> ellapsedTime, <a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> realEllapsedTime); +00079 +00080 +00082 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a4">showTool</a>(<font class="keywordtype">void</font>); +00083 +00085 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a5">setEmittedType</a>(<a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *et); +00086 +00090 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a6">notifyTargetRemoved</a>(<a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *ptr); +00091 +<a name="l00093"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a7">00093</a> <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *<a class="code" href="classNL3D_1_1CPSEmitter.html#a7">getEmittedType</a>(<font class="keywordtype">void</font>) { <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n0">_EmittedType</a>; } +<a name="l00095"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a8">00095</a> <font class="keyword">const</font> <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *<a class="code" href="classNL3D_1_1CPSEmitter.html#a7">getEmittedType</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n0">_EmittedType</a>; } +00096 +00097 +<a name="l00106"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#s5">00106</a> <font class="keyword">enum</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#s5">TEmissionType</a> { <a class="code" href="classNL3D_1_1CPSEmitter.html#s5s0">regular</a> = 0, <a class="code" href="classNL3D_1_1CPSEmitter.html#s5s1">onDeath</a> = 1, <a class="code" href="classNL3D_1_1CPSEmitter.html#s5s2">once</a> = 2, <a class="code" href="classNL3D_1_1CPSEmitter.html#s5s3">onBounce</a> = 3, <a class="code" href="classNL3D_1_1CPSEmitter.html#s5s4">externEmit</a> = 4 }; +00107 +00110 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a9">setEmissionType</a>(<a class="code" href="classNL3D_1_1CPSEmitter.html#s5">TEmissionType</a> freqType); +00111 +<a name="l00113"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a10">00113</a> <a class="code" href="classNL3D_1_1CPSEmitter.html#s5">TEmissionType</a> <a class="code" href="classNL3D_1_1CPSEmitter.html#a10">getEmissionType</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n4">_EmissionType</a>; } +00114 +00118 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a11">setPeriod</a>(<font class="keywordtype">float</font> period); +00119 +<a name="l00121"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a12">00121</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a12">getPeriod</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n5">_Period</a>; } +00122 +<a name="l00124"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a13">00124</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a13">usePeriodScheme</a>(<font class="keywordtype">void</font>) { <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n6">_PeriodScheme</a> != NULL; } +00125 +00127 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a14">setPeriodScheme</a>(CPSAttribMaker<float> *scheme); +00128 +00129 <font class="comment">// Retrieve the period scheme, or null, if there'isnt</font> +<a name="l00130"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a15">00130</a> CPSAttribMaker<float> *<a class="code" href="classNL3D_1_1CPSEmitter.html#a15">getPeriodScheme</a>(<font class="keywordtype">void</font>) { <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n6">_PeriodScheme</a>; } +00131 +00132 <font class="comment">// Retrieve the period scheme, or null, if there'isnt (const version)</font> +<a name="l00133"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a16">00133</a> <font class="keyword">const</font> CPSAttribMaker<float> *<a class="code" href="classNL3D_1_1CPSEmitter.html#a15">getPeriodScheme</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n6">_PeriodScheme</a>; } +00134 +<a name="l00136"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a17">00136</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a17">setEmitDelay</a>(<font class="keywordtype">float</font> delay) { <a class="code" href="classNL3D_1_1CPSEmitter.html#n9">_EmitDelay</a> = delay; } +00137 +<a name="l00139"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a18">00139</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a18">getEmitDelay</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n9">_EmitDelay</a>; } +00140 +00142 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a19">setMaxEmissionCount</a>(uint8 count); +00143 +<a name="l00145"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a20">00145</a> uint8 <a class="code" href="classNL3D_1_1CPSEmitter.html#a20">getMaxEmissionCount</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n10">_MaxEmissionCount</a>; } +00146 +00150 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a21">setGenNb</a>(uint32 GenNb); +00151 +<a name="l00153"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a22">00153</a> uint <a class="code" href="classNL3D_1_1CPSEmitter.html#a22">getGenNb</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n7">_GenNb</a>; } +00154 +<a name="l00156"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a23">00156</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a23">useGenNbScheme</a>(<font class="keywordtype">void</font>) { <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n8">_GenNbScheme</a> != NULL; } +00157 +00159 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a24">setGenNbScheme</a>(CPSAttribMaker<uint32> *scheme); +00160 +<a name="l00162"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a25">00162</a> CPSAttribMaker<uint32> *<a class="code" href="classNL3D_1_1CPSEmitter.html#a25">getGenNbScheme</a>(<font class="keywordtype">void</font>) { <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n8">_GenNbScheme</a>; } +00163 +<a name="l00165"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a26">00165</a> <font class="keyword">const</font> CPSAttribMaker<uint32> *<a class="code" href="classNL3D_1_1CPSEmitter.html#a25">getGenNbScheme</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n8">_GenNbScheme</a>; } +00166 +00168 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a27">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) <font class="keywordflow">throw</font>(NLMISC::EStream); +00169 +00171 +00172 +<a name="l00175"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#z717_0">00175</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#z717_0">setSpeedInheritanceFactor</a>(<font class="keywordtype">float</font> fact) +00176 { +00177 <a class="code" href="classNL3D_1_1CPSEmitter.html#n3">_SpeedInheritanceFactor</a> = fact; +00178 } +00179 +<a name="l00181"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#z717_1">00181</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#z717_1">getSpeedInheritanceFactor</a>(<font class="keywordtype">void</font>)<font class="keyword"> const</font> +00182 <font class="keyword"> </font>{ +00183 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n3">_SpeedInheritanceFactor</a>; +00184 } +00185 +<a name="l00187"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#z717_2">00187</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#z717_2">enableSpeedBasisEmission</a>(<font class="keywordtype">bool</font> enabled = <font class="keyword">true</font>) +00188 { +00189 <a class="code" href="classNL3D_1_1CPSEmitter.html#n11">_SpeedBasisEmission</a> = enabled; +00190 } +00191 +<a name="l00195"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#z717_3">00195</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#z717_3">isSpeedBasisEmissionEnabled</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n11">_SpeedBasisEmission</a>; } +00196 +00197 +<a name="l00204"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#z717_4">00204</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#z717_4">setSpeedVectorInEmitterBasis</a>(<font class="keywordtype">bool</font> enable) { <a class="code" href="classNL3D_1_1CPSEmitter.html#n12">_EmitDirBasis</a> = enable;} +00205 +<a name="l00207"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#z717_5">00207</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#z717_5">isSpeedVectorInEmitterBasis</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n12">_EmitDirBasis</a>;} +00209 +00211 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a28">singleEmit</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, uint quantity); +00212 +<a name="l00221"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a29">00221</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a29">enableConsistenEmission</a>(<font class="keywordtype">bool</font> enable) { <a class="code" href="classNL3D_1_1CPSEmitter.html#n13">_ConsistentEmission</a> = enable; } +00222 +<a name="l00223"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#a30">00223</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a30">isConsistentEmissionEnabled</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n13">_ConsistentEmission</a>; } +00224 +00228 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a31">releaseRefTo</a>(<font class="keyword">const</font> CParticleSystemProcess *other); +00229 +00233 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#a32">releaseAllRef</a>(); +00234 +00235 <font class="keyword">protected</font>: +00236 +00238 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#b0">processEmit</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, sint nbToGenerate); +00239 +00241 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#b1">processEmitConsistent</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &emitterPos, +00242 uint32 emitterIndex, +00243 sint nbToGenerate, +00244 <a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> deltaT, +00245 <a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> ellapsedTime, +00246 <font class="keywordtype">float</font> realEllapsedTimeRatio +00247 ); +00248 +00250 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#b2">processRegularEmission</a>(<a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> ellapsedTime); +00251 +00254 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#b3">processRegularEmissionConsistent</a>(<a class="code" href="namespaceNL3D.html#a1">TAnimationTime</a> ellapsedTime, <font class="keywordtype">float</font> realEllapsedTimeRatio); +00255 +00256 +00257 +00258 +00266 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#b4">emit</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &srcPos, uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &pos, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &speed) = 0; +00267 +00270 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#b5">newElement</a>(<a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *emitterLocated, uint32 emitterIndex); +00271 +00276 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#b6">deleteElement</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>); +00277 +00281 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#b7">resize</a>(uint32 size); +00282 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#b8">bounceOccured</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>); +00283 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#b9">updateMaxCountVect</a>(); +00284 +00285 +00286 +<a name="l00288"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n0">00288</a> <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *<a class="code" href="classNL3D_1_1CPSEmitter.html#n0">_EmittedType</a>; +00289 +<a name="l00292"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n1">00292</a> <a class="code" href="namespaceNL3D.html#a182">TPSAttribFloat</a> <a class="code" href="classNL3D_1_1CPSEmitter.html#n1">_Phase</a>; +<a name="l00293"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n2">00293</a> <a class="code" href="namespaceNL3D.html#a184">TPSAttribUInt8</a> <a class="code" href="classNL3D_1_1CPSEmitter.html#n2">_NumEmission</a>; <font class="comment">// used only if MaxEmissionCount is != 0</font> +00294 +<a name="l00295"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n3">00295</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n3">_SpeedInheritanceFactor</a>; +<a name="l00296"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n4">00296</a> <a class="code" href="classNL3D_1_1CPSEmitter.html#s5">TEmissionType</a> <a class="code" href="classNL3D_1_1CPSEmitter.html#n4">_EmissionType</a>; +<a name="l00297"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n5">00297</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n5">_Period</a>; +<a name="l00298"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n6">00298</a> CPSAttribMaker<float> *<a class="code" href="classNL3D_1_1CPSEmitter.html#n6">_PeriodScheme</a>; +<a name="l00299"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n7">00299</a> uint32 <a class="code" href="classNL3D_1_1CPSEmitter.html#n7">_GenNb</a>; +<a name="l00300"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n8">00300</a> CPSAttribMaker<uint32> *<a class="code" href="classNL3D_1_1CPSEmitter.html#n8">_GenNbScheme</a>; +<a name="l00301"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n9">00301</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n9">_EmitDelay</a>; +<a name="l00302"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n10">00302</a> uint8 <a class="code" href="classNL3D_1_1CPSEmitter.html#n10">_MaxEmissionCount</a>; +<a name="l00303"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n11">00303</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n11">_SpeedBasisEmission</a>; +<a name="l00304"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n12">00304</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n12">_EmitDirBasis</a>; <font class="comment">// true when emission direction is in the emitter basis</font> +<a name="l00305"></a><a class="code" href="classNL3D_1_1CPSEmitter.html#n13">00305</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSEmitter.html#n13">_ConsistentEmission</a>; +00306 }; +00307 +00310 +<a name="l00315"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html">00315</a> <font class="keyword">class </font>CPSModulatedEmitter +00316 { +00317 <font class="keyword">public</font>: +00318 +<a name="l00320"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a0">00320</a> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a0">CPSModulatedEmitter</a>() : <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n0">_EmitteeSpeed</a>(1.f), <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>(NULL) +00321 { +00322 } +00323 +<a name="l00325"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a1">00325</a> <font class="keyword">virtual</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a1">~CPSModulatedEmitter</a>() +00326 { +00327 <font class="keyword">delete</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>; +00328 } +00329 +<a name="l00333"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a2">00333</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a2">setEmitteeSpeedScheme</a>(CPSAttribMaker<float> *scheme) +00334 { +00335 <font class="keyword">delete</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>; +00336 <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a> = scheme; +00337 <font class="keywordflow">if</font> (<a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#b0">getModulatedEmitterOwner</a>() && scheme->hasMemory()) +00338 scheme->resize(<a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#b0">getModulatedEmitterOwner</a>()->getMaxSize(), <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#b0">getModulatedEmitterOwner</a>()->getSize()); +00339 } +00340 +<a name="l00342"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a3">00342</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a3">setEmitteeSpeed</a>(<font class="keywordtype">float</font> speed) +00343 { +00344 <font class="keyword">delete</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>; +00345 <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a> = NULL; +00346 <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n0">_EmitteeSpeed</a> = speed; +00347 +00348 } +00349 +<a name="l00351"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a4">00351</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a4">getEmitteeSpeed</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n0">_EmitteeSpeed</a>; } +00352 +<a name="l00354"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a5">00354</a> CPSAttribMaker<float> *<a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a5">getEmitteeSpeedScheme</a>(<font class="keywordtype">void</font>) { <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>; } +00355 +<a name="l00357"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a6">00357</a> <font class="keyword">const</font> CPSAttribMaker<float> *<a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a5">getEmitteeSpeedScheme</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>; } +00358 +<a name="l00360"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a7">00360</a> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a7">useEmitteeSpeedScheme</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a> != NULL; } +00361 +00363 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#a8">serialEmitteeSpeedScheme</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) <font class="keywordflow">throw</font>(NLMISC::EStream); +00364 +00365 <font class="keyword">protected</font>: +00366 +00367 <font class="comment">// emitter must define this in order to allow this class to access the located owner</font> +00368 <font class="keyword">virtual</font> CPSLocated *<a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#b0">getModulatedEmitterOwner</a>(<font class="keywordtype">void</font>) = 0; +00369 +<a name="l00370"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#b1">00370</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#b1">newEmitteeSpeedElement</a>(CPSLocated *emitter, uint32 emitterIndex) +00371 { +00372 <font class="keywordflow">if</font> (<a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a> && <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>->hasMemory()) <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>->newElement(emitter, emitterIndex); +00373 } +00374 +<a name="l00375"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#b2">00375</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#b2">deleteEmitteeSpeedElement</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>) +00376 { +00377 <font class="keywordflow">if</font> (<a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a> && <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>->hasMemory()) <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>->deleteElement(<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>); +00378 } +00379 +<a name="l00380"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#b3">00380</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#b3">resizeEmitteeSpeed</a>(uint32 capacity) +00381 { +00382 <font class="keywordflow">if</font> (<a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a> && <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>->hasMemory()) <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>->resize(capacity, <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#b0">getModulatedEmitterOwner</a>()->getSize()); +00383 } +00384 +00385 +<a name="l00386"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n0">00386</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n0">_EmitteeSpeed</a>; +<a name="l00387"></a><a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">00387</a> CPSAttribMaker<float> *<a class="code" href="classNL3D_1_1CPSModulatedEmitter.html#n1">_EmitteeSpeedScheme</a>; +00388 }; +00389 +00390 +00391 +00394 +<a name="l00396"></a><a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html">00396</a> <font class="keyword">class </font>CPSEmitterDirectionnal : <font class="keyword">public</font> CPSEmitter, <font class="keyword">public</font> CPSModulatedEmitter +00397 ,<font class="keyword">public</font> CPSDirection +00398 { +00399 +00400 <font class="keyword">public</font>: +00401 +00402 +<a name="l00403"></a><a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#a0">00403</a> <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#a0">CPSEmitterDirectionnal</a>() : <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#n0">_Dir</a>(NLMISC::CVector::K) +00404 { <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#n3">_Name</a> = std::string(<font class="stringliteral">"DirectionnalEmitter"</font>); } +00405 +00407 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#a1">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) <font class="keywordflow">throw</font>(NLMISC::EStream); +00408 +00409 +00410 <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#a2">NLMISC_DECLARE_CLASS</a>(<a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#a0">CPSEmitterDirectionnal</a>); +00411 +00412 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#a3">emit</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &srcPos, uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &pos, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &speed); +00413 +<a name="l00414"></a><a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#a4">00414</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#a4">setDir</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>) { <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#n0">_Dir</a> = v; } +00415 +<a name="l00416"></a><a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#a5">00416</a> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#a5">getDir</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#n0">_Dir</a>; } +00417 +00418 +00419 <font class="keyword">protected</font>: +00420 +<a name="l00421"></a><a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#n0">00421</a> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#n0">_Dir</a>; +00422 +<a name="l00423"></a><a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#b0">00423</a> <font class="keyword">virtual</font> <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *<a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#b0">getModulatedEmitterOwner</a>(<font class="keywordtype">void</font>) { <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#n0">_Owner</a>; } +00424 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#b1">newElement</a>(<a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *emitter, uint32 emitterIndex); +00425 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#b2">deleteElement</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>); +00426 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterDirectionnal.html#b3">resize</a>(uint32 capacity); +00427 }; +00428 +00431 +<a name="l00433"></a><a class="code" href="classNL3D_1_1CPSRadialEmitter.html">00433</a> <font class="keyword">class </font>CPSRadialEmitter : <font class="keyword">public</font> CPSEmitterDirectionnal +00434 { +00435 <font class="keyword">public</font>: +<a name="l00436"></a><a class="code" href="classNL3D_1_1CPSRadialEmitter.html#a0">00436</a> <a class="code" href="classNL3D_1_1CPSRadialEmitter.html#a0">CPSRadialEmitter</a>() +00437 { <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#n3">_Name</a> = std::string(<font class="stringliteral">"RadialEmitter"</font>); } +00439 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSRadialEmitter.html#a1">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) <font class="keywordflow">throw</font>(NLMISC::EStream); +00440 <a class="code" href="classNL3D_1_1CPSRadialEmitter.html#a2">NLMISC_DECLARE_CLASS</a>(<a class="code" href="classNL3D_1_1CPSRadialEmitter.html#a0">CPSRadialEmitter</a>); +00441 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSRadialEmitter.html#a3">emit</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &srcPos, uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &pos, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &speed); +00442 }; +00443 +00444 +00447 +<a name="l00449"></a><a class="code" href="classNL3D_1_1CPSEmitterOmni.html">00449</a> <font class="keyword">class </font>CPSEmitterOmni : <font class="keyword">public</font> CPSEmitter, <font class="keyword">public</font> CPSModulatedEmitter +00450 { +00451 +00452 <font class="keyword">public</font>: +00453 +<a name="l00454"></a><a class="code" href="classNL3D_1_1CPSEmitterOmni.html#a0">00454</a> <a class="code" href="classNL3D_1_1CPSEmitterOmni.html#a0">CPSEmitterOmni</a>() +00455 { +00456 <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#n3">_Name</a> = std::string(<font class="stringliteral">"EmitterOmni"</font>); +00457 } +00458 +00460 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterOmni.html#a1">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) <font class="keywordflow">throw</font>(NLMISC::EStream); +00461 +00462 <a class="code" href="classNL3D_1_1CPSEmitterOmni.html#a2">NLMISC_DECLARE_CLASS</a>(<a class="code" href="classNL3D_1_1CPSEmitterOmni.html#a0">CPSEmitterOmni</a>); +00463 +00464 +00466 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterOmni.html#a3">emit</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &srcPos, uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &pos, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &speed); +00467 <font class="keyword">protected</font>: +<a name="l00468"></a><a class="code" href="classNL3D_1_1CPSEmitterOmni.html#b0">00468</a> <font class="keyword">virtual</font> <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *<a class="code" href="classNL3D_1_1CPSEmitterOmni.html#b0">getModulatedEmitterOwner</a>(<font class="keywordtype">void</font>) { <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#n0">_Owner</a>; } +00469 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterOmni.html#b1">newElement</a>(<a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *emitter, uint32 emitterIndex); +00470 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterOmni.html#b2">deleteElement</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>); +00471 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterOmni.html#b3">resize</a>(uint32 capacity); +00472 +00473 +00474 }; +00475 +00478 +<a name="l00480"></a><a class="code" href="classNL3D_1_1CPSEmitterRectangle.html">00480</a> <font class="keyword">class </font>CPSEmitterRectangle : <font class="keyword">public</font> CPSEmitter, <font class="keyword">public</font> CPSModulatedEmitter, <font class="keyword">public</font> IPSMover +00481 , <font class="keyword">public</font> CPSDirection +00482 { +00483 <font class="keyword">public</font>: +00484 +00485 <font class="comment">// Ctor</font> +00486 +<a name="l00487"></a><a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a0">00487</a> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a0">CPSEmitterRectangle</a>() : <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#n3">_Dir</a>(-NLMISC::CVector::K) +00488 { +00489 <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#n3">_Name</a> = std::string(<font class="stringliteral">"EmitterRectangle"</font>); +00490 } +00491 +00493 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a1">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) <font class="keywordflow">throw</font>(NLMISC::EStream); +00494 +00495 <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a2">NLMISC_DECLARE_CLASS</a>(<a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a0">CPSEmitterRectangle</a>); +00496 +00497 +00499 +00500 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a3">emit</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &srcPos, uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &pos, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &speed); +00501 +<a name="l00502"></a><a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a4">00502</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a4">setDir</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>) { <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#n3">_Dir</a> = v; } +00503 +<a name="l00504"></a><a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a5">00504</a> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a5">getDir</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#n3">_Dir</a>; } +00505 +00506 +00507 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a6">showTool</a>(<font class="keywordtype">void</font>); +00508 +00509 +00510 +00511 <font class="comment">// Inherited from IPSMover</font> +<a name="l00512"></a><a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a7">00512</a> <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a7">supportUniformScaling</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <font class="keyword">true</font>; } +<a name="l00513"></a><a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a8">00513</a> <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a8">supportNonUniformScaling</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <font class="keyword">true</font>; } +00514 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a9">setMatrix</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &m); +00515 <font class="keyword">virtual</font> <a class="code" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a10">getMatrix</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>) <font class="keyword">const</font>; +00516 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a11">setScale</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <font class="keywordtype">float</font> scale); +00517 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a11">setScale</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>); +00518 <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#a13">getScale</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>) <font class="keyword">const</font>; +00519 +00520 <font class="keyword">protected</font>: +00521 +<a name="l00522"></a><a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#b0">00522</a> <font class="keyword">virtual</font> <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *<a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#b0">getModulatedEmitterOwner</a>(<font class="keywordtype">void</font>) { <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#n0">_Owner</a>; } +00523 +<a name="l00524"></a><a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#n0">00524</a> CPSAttrib<CPlaneBasis> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#n0">_Basis</a>; +00525 +00526 <font class="comment">// Width</font> +<a name="l00527"></a><a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#n1">00527</a> <a class="code" href="namespaceNL3D.html#a182">TPSAttribFloat</a> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#n1">_Width</a>; +00528 +00529 <font class="comment">// Height</font> +<a name="l00530"></a><a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#n2">00530</a> <a class="code" href="namespaceNL3D.html#a182">TPSAttribFloat</a> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#n2">_Height</a>; +00531 +00532 <font class="comment">// Direction of emission (in each plane basis)</font> +<a name="l00533"></a><a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#n3">00533</a> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#n3">_Dir</a>; +00534 +00537 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#b1">newElement</a>(<a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *emitterLocated, uint32 emitterIndex); +00538 +00543 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#b2">deleteElement</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>); +00544 +00548 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterRectangle.html#b3">resize</a>(uint32 size); +00549 }; +00550 +00551 +00554 +<a name="l00556"></a><a class="code" href="classNL3D_1_1CPSEmitterConic.html">00556</a> <font class="keyword">class </font>CPSEmitterConic : <font class="keyword">public</font> CPSEmitterDirectionnal +00557 { +00558 <font class="keyword">public</font>: +00559 +<a name="l00560"></a><a class="code" href="classNL3D_1_1CPSEmitterConic.html#a0">00560</a> <a class="code" href="classNL3D_1_1CPSEmitterConic.html#a0">CPSEmitterConic</a>() : <a class="code" href="classNL3D_1_1CPSEmitterConic.html#n0">_Radius</a>(1.f) +00561 { +00562 <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#n3">_Name</a> = std::string(<font class="stringliteral">"EmitterConic"</font>); +00563 } +00564 +00566 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterConic.html#a1">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) <font class="keywordflow">throw</font>(NLMISC::EStream); +00567 +00568 <a class="code" href="classNL3D_1_1CPSEmitterConic.html#a2">NLMISC_DECLARE_CLASS</a>(<a class="code" href="classNL3D_1_1CPSEmitterConic.html#a0">CPSEmitterConic</a>); +00569 +00570 +00572 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterConic.html#a3">emit</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &srcPos, uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &pos, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &speed); +00573 +<a name="l00575"></a><a class="code" href="classNL3D_1_1CPSEmitterConic.html#a4">00575</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterConic.html#a4">setRadius</a>(<font class="keywordtype">float</font> <a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>) { <a class="code" href="classNL3D_1_1CPSEmitterConic.html#n0">_Radius</a> = <a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>; } +00576 +<a name="l00578"></a><a class="code" href="classNL3D_1_1CPSEmitterConic.html#a5">00578</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CPSEmitterConic.html#a5">getRadius</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSEmitterConic.html#n0">_Radius</a>; } +00579 +00581 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSEmitterConic.html#a6">setDir</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>); +00582 +00583 <font class="keyword">protected</font>: +00584 +00585 <font class="comment">// The radius for emission</font> +<a name="l00586"></a><a class="code" href="classNL3D_1_1CPSEmitterConic.html#n0">00586</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CPSEmitterConic.html#n0">_Radius</a>; +00587 +00588 }; +00589 +00592 +00593 <font class="comment">// A spherical emitter</font> +<a name="l00594"></a><a class="code" href="classNL3D_1_1CPSSphericalEmitter.html">00594</a> <font class="keyword">class </font>CPSSphericalEmitter : <font class="keyword">public</font> CPSEmitter, <font class="keyword">public</font> CPSModulatedEmitter, <font class="keyword">public</font> IPSMover +00595 { +00596 <font class="keyword">public</font>: +00597 <font class="comment">// Ctor</font> +00598 +<a name="l00599"></a><a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a0">00599</a> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a0">CPSSphericalEmitter</a>() +00600 { +00601 <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#n3">_Name</a> = std::string(<font class="stringliteral">"spherical emitter"</font>); +00602 } +00603 +00605 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a1">serial</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) <font class="keywordflow">throw</font>(NLMISC::EStream); +00606 +00607 <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a2">NLMISC_DECLARE_CLASS</a>(<a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a0">CPSSphericalEmitter</a>); +00608 +00609 +00611 +00612 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a3">emit</a>(<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &srcPos, uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &pos, <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &speed); +00613 +00614 +00615 +00616 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a4">showTool</a>(<font class="keywordtype">void</font>); +00617 +00618 +00619 +00620 <font class="comment">// Inherited from IPSMover</font> +<a name="l00621"></a><a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a5">00621</a> <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a5">supportUniformScaling</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <font class="keyword">true</font>; } +<a name="l00622"></a><a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a6">00622</a> <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a6">supportNonUniformScaling</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <font class="keyword">false</font>; } +00623 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a7">setMatrix</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &m); +00624 <font class="keyword">virtual</font> <a class="code" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a8">getMatrix</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>) <font class="keyword">const</font>; +<a name="l00625"></a><a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a9">00625</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a9">setScale</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>, <font class="keywordtype">float</font> scale) { <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#n0">_Radius</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>] = scale; } +<a name="l00626"></a><a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a10">00626</a> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#a10">getScale</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>)<font class="keyword"> const </font>{ <font class="keywordflow">return</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>(<a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#n0">_Radius</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>], <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#n0">_Radius</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>], <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#n0">_Radius</a>[<a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>]); } +00627 +00628 <font class="keyword">protected</font>: +<a name="l00629"></a><a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#b0">00629</a> <font class="keyword">virtual</font> <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *<a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#b0">getModulatedEmitterOwner</a>(<font class="keywordtype">void</font>) { <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CPSLocatedBindable.html#n0">_Owner</a>; } +<a name="l00630"></a><a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#n0">00630</a> <a class="code" href="namespaceNL3D.html#a182">TPSAttribFloat</a> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#n0">_Radius</a>; +00631 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#b1">newElement</a>(<a class="code" href="classNL3D_1_1CPSLocatedBindable.html#l0">CPSLocated</a> *emitterLocated, uint32 emitterIndex); +00632 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#b2">deleteElement</a>(uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>); +00633 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CPSSphericalEmitter.html#b3">resize</a>(uint32 size); +00634 }; +00635 +00636 +00637 } <font class="comment">// NL3D</font> +00638 +00639 +00640 <font class="preprocessor">#endif // NL_PS_EMITTER_H</font> +00641 <font class="preprocessor"></font> +00642 <font class="comment">/* End of ps_emitter.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> |