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/a03182.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03182.html | 659 |
1 files changed, 659 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03182.html b/docs/doxygen/nel/a03182.html new file mode 100644 index 00000000..fee87c17 --- /dev/null +++ b/docs/doxygen/nel/a03182.html @@ -0,0 +1,659 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NL3D::CPSModulatedEmitter class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main 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">Data Structures</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">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CPSModulatedEmitter Class Reference</h1><code>#include <<a class="el" href="a06230.html">ps_emitter.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSModulatedEmitter: +<p><center><img src="a03182.png" usemap="#NL3D::CPSModulatedEmitter_map" border="0" alt=""></center> +<map name="NL3D::CPSModulatedEmitter_map"> +<area href="a03181.html" alt="NL3D::CPSEmitterDirectionnal" shape="rect" coords="95,56,276,80"> +<area href="a03183.html" alt="NL3D::CPSEmitterOmni" shape="rect" coords="286,56,467,80"> +<area href="a03184.html" alt="NL3D::CPSEmitterRectangle" shape="rect" coords="477,56,658,80"> +<area href="a03238.html" alt="NL3D::CPSSphericalEmitter" shape="rect" coords="668,56,849,80"> +<area href="a03180.html" alt="NL3D::CPSEmitterConic" shape="rect" coords="0,112,181,136"> +<area href="a03225.html" alt="NL3D::CPSRadialEmitter" shape="rect" coords="191,112,372,136"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This class helps tuning the emission strenght. It modulate the speed of emitted particle by a coeeficient produced by an attribute maker +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00369">369</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSModulatedEmittera0">CPSModulatedEmitter</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">ctor : the default doesn't alter speed <a href="#NL3D_1_1CPSModulatedEmittera0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmittera18">getEmitteeSpeed</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the modulation speed (valid only if no scheme is used) <a href="#NL3D_1_1CPSSphericalEmittera18"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmittera19">getEmitteeSpeedScheme</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the speed modulation shceme, or NULL if no one is set (const version) <a href="#NL3D_1_1CPSSphericalEmittera19"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmittera20">getEmitteeSpeedScheme</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the speed modulation shceme, or NULL if no one is set <a href="#NL3D_1_1CPSSphericalEmittera20"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmittera60">serialEmitteeSpeedScheme</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">serialization <a href="#NL3D_1_1CPSSphericalEmittera60"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmittera66">setEmitteeSpeed</a> (float speed)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set a constant speed modulation for emittee <a href="#NL3D_1_1CPSSphericalEmittera66"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmittera67">setEmitteeSpeedScheme</a> (<a class="el" href="a03136.html">CPSAttribMaker</a>< float > *scheme)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmittera90">useEmitteeSpeedScheme</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">check wether a speed modulation scheme is being used <a href="#NL3D_1_1CPSSphericalEmittera90"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSModulatedEmittera8">~CPSModulatedEmitter</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">dtor <a href="#NL3D_1_1CPSModulatedEmittera8"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmitterb2">deleteEmitteeSpeedElement</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03214.html">CPSLocated</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSModulatedEmitterb1">getModulatedEmitterOwner</a> (void)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmitterb7">newEmitteeSpeedElement</a> (<a class="el" href="a03214.html">CPSLocated</a> *emitter, <a class="el" href="a04558.html#a11">uint32</a> emitterIndex)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmitterb15">resizeEmitteeSpeed</a> (<a class="el" href="a04558.html#a11">uint32</a> capacity)</td></tr> + +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmitterp6">_EmitteeSpeed</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSModulatedEmittera0" doxytag="NL3D::CPSModulatedEmitter::CPSModulatedEmitter" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CPSModulatedEmitter::CPSModulatedEmitter </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +ctor : the default doesn't alter speed +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00374">374</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +References <a class="el" href="a06230.html#l00440">_EmitteeSpeed</a>, and <a class="el" href="a06230.html#l00441">_EmitteeSpeedScheme</a>. +<p> +<div class="fragment"><pre>00374 : <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp6">_EmitteeSpeed</a>(1.f), <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a>(NULL) +00375 { +00376 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSModulatedEmittera8" doxytag="NL3D::CPSModulatedEmitter::~CPSModulatedEmitter" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual NL3D::CPSModulatedEmitter::~<a class="el" href="a03182.html">CPSModulatedEmitter</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +dtor +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00379">379</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +References <a class="el" href="a06230.html#l00441">_EmitteeSpeedScheme</a>. +<p> +<div class="fragment"><pre>00380 { +00381 <span class="keyword">delete</span> <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a>; +00382 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSSphericalEmitterb2" doxytag="NL3D::CPSModulatedEmitter::deleteEmitteeSpeedElement" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSModulatedEmitter::deleteEmitteeSpeedElement </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00429">429</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +References <a class="el" href="a06230.html#l00441">_EmitteeSpeedScheme</a>, <a class="el" href="a06214.html#l00285">NL3D::CPSAttribMaker< float >::deleteElement()</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker< float >::hasMemory()</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06229.html#l02547">NL3D::CPSSphericalEmitter::deleteElement()</a>, <a class="el" href="a06229.html#l02370">NL3D::CPSEmitterRectangle::deleteElement()</a>, <a class="el" href="a06229.html#l02270">NL3D::CPSEmitterDirectionnal::deleteElement()</a>, and <a class="el" href="a06229.html#l02237">NL3D::CPSEmitterOmni::deleteElement()</a>. +<p> +<div class="fragment"><pre>00430 { +00431 <span class="keywordflow">if</span> (<a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a> && <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a>->hasMemory()) <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a>->deleteElement(index); +00432 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSphericalEmittera18" doxytag="NL3D::CPSModulatedEmitter::getEmitteeSpeed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPSModulatedEmitter::getEmitteeSpeed </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the modulation speed (valid only if no scheme is used) +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00405">405</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +References <a class="el" href="a06230.html#l00440">_EmitteeSpeed</a>. +<p> +<div class="fragment"><pre>00405 { <span class="keywordflow">return</span> <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp6">_EmitteeSpeed</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSphericalEmittera19" doxytag="NL3D::CPSModulatedEmitter::getEmitteeSpeedScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03136.html">CPSAttribMaker</a><float>* NL3D::CPSModulatedEmitter::getEmitteeSpeedScheme </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the speed modulation shceme, or NULL if no one is set (const version) +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00411">411</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +References <a class="el" href="a06230.html#l00441">_EmitteeSpeedScheme</a>. +<p> +<div class="fragment"><pre>00411 { <span class="keywordflow">return</span> <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSphericalEmittera20" doxytag="NL3D::CPSModulatedEmitter::getEmitteeSpeedScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03136.html">CPSAttribMaker</a><float>* NL3D::CPSModulatedEmitter::getEmitteeSpeedScheme </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the speed modulation shceme, or NULL if no one is set +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00408">408</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +References <a class="el" href="a06230.html#l00441">_EmitteeSpeedScheme</a>. +<p> +<div class="fragment"><pre>00408 { <span class="keywordflow">return</span> <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSModulatedEmitterb1" doxytag="NL3D::CPSModulatedEmitter::getModulatedEmitterOwner" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a03214.html">CPSLocated</a>* NL3D::CPSModulatedEmitter::getModulatedEmitterOwner </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a03181.html#NL3D_1_1CPSRadialEmitterb4">NL3D::CPSEmitterDirectionnal</a>, <a class="el" href="a03183.html#NL3D_1_1CPSEmitterOmnib4">NL3D::CPSEmitterOmni</a>, <a class="el" href="a03184.html#NL3D_1_1CPSEmitterRectangleb4">NL3D::CPSEmitterRectangle</a>, and <a class="el" href="a03238.html#NL3D_1_1CPSSphericalEmitterb4">NL3D::CPSSphericalEmitter</a>. +<p> +Referenced by <a class="el" href="a06230.html#l00434">resizeEmitteeSpeed()</a>, and <a class="el" href="a06230.html#l00387">setEmitteeSpeedScheme()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSphericalEmitterb7" doxytag="NL3D::CPSModulatedEmitter::newEmitteeSpeedElement" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSModulatedEmitter::newEmitteeSpeedElement </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname" nowrap> <em>emitter</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>emitterIndex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00424">424</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +References <a class="el" href="a06230.html#l00441">_EmitteeSpeedScheme</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker< float >::hasMemory()</a>, <a class="el" href="a06214.html#l00290">NL3D::CPSAttribMaker< float >::newElement()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06229.html#l02539">NL3D::CPSSphericalEmitter::newElement()</a>, <a class="el" href="a06229.html#l02360">NL3D::CPSEmitterRectangle::newElement()</a>, <a class="el" href="a06229.html#l02263">NL3D::CPSEmitterDirectionnal::newElement()</a>, and <a class="el" href="a06229.html#l02230">NL3D::CPSEmitterOmni::newElement()</a>. +<p> +<div class="fragment"><pre>00425 { +00426 <span class="keywordflow">if</span> (<a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a> && <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a>->hasMemory()) <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a>->newElement(emitter, emitterIndex); +00427 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSphericalEmitterb15" doxytag="NL3D::CPSModulatedEmitter::resizeEmitteeSpeed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSModulatedEmitter::resizeEmitteeSpeed </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>capacity</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00434">434</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +References <a class="el" href="a06230.html#l00441">_EmitteeSpeedScheme</a>, <a class="el" href="a03182.html#NL3D_1_1CPSModulatedEmitterb1">getModulatedEmitterOwner()</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker< float >::hasMemory()</a>, <a class="el" href="a06214.html#l00296">NL3D::CPSAttribMaker< float >::resize()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06229.html#l02555">NL3D::CPSSphericalEmitter::resize()</a>, <a class="el" href="a06229.html#l02380">NL3D::CPSEmitterRectangle::resize()</a>, <a class="el" href="a06229.html#l02277">NL3D::CPSEmitterDirectionnal::resize()</a>, and <a class="el" href="a06229.html#l02244">NL3D::CPSEmitterOmni::resize()</a>. +<p> +<div class="fragment"><pre>00435 { +00436 <span class="keywordflow">if</span> (<a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a> && <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a>->hasMemory()) <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a>->resize(capacity, <a class="code" href="a03182.html#NL3D_1_1CPSModulatedEmitterb1">getModulatedEmitterOwner</a>()->getSize()); +00437 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSphericalEmittera60" doxytag="NL3D::CPSModulatedEmitter::serialEmitteeSpeedScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSModulatedEmitter::serialEmitteeSpeedScheme </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serialization +<p> + +<p> +Definition at line <a class="el" href="a06229.html#l02180">2180</a> of file <a class="el" href="a06229.html">ps_emitter.cpp</a>. +<p> +<div class="fragment"><pre>02181 { +02182 <span class="keywordtype">bool</span> useScheme; +02183 <span class="keywordflow">if</span> (!f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +02184 { +02185 useScheme = <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmittera90">useEmitteeSpeedScheme</a>(); +02186 } +02187 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(useScheme); +02188 <span class="keywordflow">if</span> (useScheme) +02189 { +02190 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(_EmitteeSpeedScheme); +02191 } +02192 <span class="keywordflow">else</span> +02193 { +02194 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_EmitteeSpeed); +02195 } +02196 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSphericalEmittera66" doxytag="NL3D::CPSModulatedEmitter::setEmitteeSpeed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSModulatedEmitter::setEmitteeSpeed </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>speed</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set a constant speed modulation for emittee +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00396">396</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +References <a class="el" href="a06230.html#l00440">_EmitteeSpeed</a>, and <a class="el" href="a06230.html#l00441">_EmitteeSpeedScheme</a>. +<p> +<div class="fragment"><pre>00397 { +00398 <span class="keyword">delete</span> <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a>; +00399 <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a> = NULL; +00400 <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp6">_EmitteeSpeed</a> = speed; +00401 +00402 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSphericalEmittera67" doxytag="NL3D::CPSModulatedEmitter::setEmitteeSpeedScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSModulatedEmitter::setEmitteeSpeedScheme </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td> + <td class="mdname1" valign="top" nowrap> <em>scheme</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a new scheme for speed modulation. It must have been allocated with new, and will be destriyed by this object +<p> +Definition at line <a class="el" href="a06230.html#l00387">387</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +References <a class="el" href="a06230.html#l00441">_EmitteeSpeedScheme</a>, <a class="el" href="a03182.html#NL3D_1_1CPSModulatedEmitterb1">getModulatedEmitterOwner()</a>, and <a class="el" href="a06214.html#l00296">NL3D::CPSAttribMaker< T >::resize()</a>. +<p> +<div class="fragment"><pre>00388 { +00389 <span class="keyword">delete</span> <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a>; +00390 <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a> = scheme; +00391 <span class="keywordflow">if</span> (<a class="code" href="a03182.html#NL3D_1_1CPSModulatedEmitterb1">getModulatedEmitterOwner</a>() && scheme->hasMemory()) +00392 scheme->resize(<a class="code" href="a03182.html#NL3D_1_1CPSModulatedEmitterb1">getModulatedEmitterOwner</a>()->getMaxSize(), <a class="code" href="a03182.html#NL3D_1_1CPSModulatedEmitterb1">getModulatedEmitterOwner</a>()->getSize()); +00393 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSphericalEmittera90" doxytag="NL3D::CPSModulatedEmitter::useEmitteeSpeedScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSModulatedEmitter::useEmitteeSpeedScheme </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +check wether a speed modulation scheme is being used +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00414">414</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +References <a class="el" href="a06230.html#l00441">_EmitteeSpeedScheme</a>. +<p> +<div class="fragment"><pre>00414 { <span class="keywordflow">return</span> <a class="code" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">_EmitteeSpeedScheme</a> != NULL; } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSSphericalEmitterp6" doxytag="NL3D::CPSModulatedEmitter::_EmitteeSpeed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmitterp6">NL3D::CPSModulatedEmitter::_EmitteeSpeed</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00440">440</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +Referenced by <a class="el" href="a06230.html#l00374">CPSModulatedEmitter()</a>, <a class="el" href="a06230.html#l00405">getEmitteeSpeed()</a>, and <a class="el" href="a06230.html#l00396">setEmitteeSpeed()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSphericalEmitterp7" doxytag="NL3D::CPSModulatedEmitter::_EmitteeSpeedScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03136.html">CPSAttribMaker</a><float>* <a class="el" href="a03182.html#NL3D_1_1CPSSphericalEmitterp7">NL3D::CPSModulatedEmitter::_EmitteeSpeedScheme</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06230.html#l00441">441</a> of file <a class="el" href="a06230.html">ps_emitter.h</a>. +<p> +Referenced by <a class="el" href="a06230.html#l00374">CPSModulatedEmitter()</a>, <a class="el" href="a06230.html#l00429">deleteEmitteeSpeedElement()</a>, <a class="el" href="a06230.html#l00408">getEmitteeSpeedScheme()</a>, <a class="el" href="a06230.html#l00424">newEmitteeSpeedElement()</a>, <a class="el" href="a06230.html#l00434">resizeEmitteeSpeed()</a>, <a class="el" href="a06230.html#l00396">setEmitteeSpeed()</a>, <a class="el" href="a06230.html#l00387">setEmitteeSpeedScheme()</a>, <a class="el" href="a06230.html#l00414">useEmitteeSpeedScheme()</a>, and <a class="el" href="a06230.html#l00379">~CPSModulatedEmitter()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06230.html">ps_emitter.h</a><li><a class="el" href="a06229.html">ps_emitter.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:18:34 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |