diff options
Diffstat (limited to 'docs/doxygen/nel/a03192.html')
-rw-r--r-- | docs/doxygen/nel/a03192.html | 569 |
1 files changed, 569 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03192.html b/docs/doxygen/nel/a03192.html new file mode 100644 index 00000000..59008831 --- /dev/null +++ b/docs/doxygen/nel/a03192.html @@ -0,0 +1,569 @@ +<!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::CPSFaceLookAt::CSecondSize struct 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::CPSFaceLookAt::CSecondSize Struct Reference</h1><code>#include <<a class="el" href="a06234.html">ps_face_look_at.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSFaceLookAt::CSecondSize: +<p><center><img src="a03192.png" usemap="#NL3D::CPSFaceLookAt::CSecondSize_map" border="0" alt=""></center> +<map name="NL3D::CPSFaceLookAt::CSecondSize_map"> +<area href="a03164.html" alt="NL3D::CPSSizedParticle" shape="rect" coords="0,0,225,24"> +</map> +<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>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03164.html#NL3D_1_1CPSSizedParticlea1">getSize</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the constant size <a href="#NL3D_1_1CPSSizedParticlea1"></a><br><br></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="a03192.html#NL3D_1_1CPSFaceLookAt_1_1CSecondSizea1">getSizeOwner</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">deriver must return their owner there <a href="#NL3D_1_1CPSFaceLookAt_1_1CSecondSizea1"></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="a03164.html#NL3D_1_1CPSSizedParticlea2">getSizeScheme</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the size scheme (NULL if none) const version <a href="#NL3D_1_1CPSSizedParticlea2"></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="a03164.html#NL3D_1_1CPSSizedParticlea3">getSizeScheme</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the size scheme (NULL if none) <a href="#NL3D_1_1CPSSizedParticlea3"></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="a03164.html#NL3D_1_1CPSSizedParticlea4">serialSizeScheme</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. We choose a different name because of multiple-inheritance <a href="#NL3D_1_1CPSSizedParticlea4"></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="a03164.html#NL3D_1_1CPSSizedParticlea5">setSize</a> (float <a class="el" href="a04223.html#a587">size</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set a constant size for the particles. <a href="#NL3D_1_1CPSSizedParticlea5"></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="a03164.html#NL3D_1_1CPSSizedParticlea6">setSizeScheme</a> (<a class="el" href="a03136.html">CPSAttribMaker</a>< float > *<a class="el" href="a04223.html#a587">size</a>)</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03191.html">CPSFaceLookAt</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03192.html#NL3D_1_1CPSFaceLookAt_1_1CSecondSizeo0">Owner</a></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="a03164.html#NL3D_1_1CPSSizedParticleb0">deleteSizeElement</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>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03164.html#NL3D_1_1CPSSizedParticleb2">newSizeElement</a> (<a class="el" href="a03214.html">CPSLocated</a> *emitterLocated, <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="a03164.html#NL3D_1_1CPSSizedParticleb3">resizeSize</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a587">size</a>)</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="a03164.html#NL3D_1_1CPSSizedParticlep0">_ParticleSize</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="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a></td></tr> + +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSSizedParticleb0" doxytag="NL3D::CPSFaceLookAt::CSecondSize::deleteSizeElement" ></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::CPSSizedParticle::deleteSizeElement </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, inherited]</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="a06258.html#l00295">295</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00290">NL3D::CPSSizedParticle::_SizeScheme</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="a06279.html#l00460">NL3D::CPSShockWave::deleteElement()</a>, <a class="el" href="a06277.html#l00172">NL3D::CPSRibbonLookAt::deleteElement()</a>, <a class="el" href="a06273.html#l00322">NL3D::CPSRibbon::deleteElement()</a>, <a class="el" href="a06263.html#l00105">NL3D::CPSQuad::deleteElement()</a>, <a class="el" href="a06250.html#l01874">NL3D::CPSConstraintMesh::deleteElement()</a>, <a class="el" href="a06250.html#l00260">NL3D::CPSMesh::deleteElement()</a>, and <a class="el" href="a06235.html#l00272">NL3D::CPSFanLight::deleteElement()</a>. +<p> +<div class="fragment"><pre>00296 { +00297 <span class="keywordflow">if</span> (<a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a> && <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a>->hasMemory()) <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a>->deleteElement(index); +00298 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSizedParticlea1" doxytag="NL3D::CPSFaceLookAt::CSecondSize::getSize" ></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::CPSSizedParticle::getSize </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the constant size +<p> + +<p> +Definition at line <a class="el" href="a06258.html#l00274">274</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00289">NL3D::CPSSizedParticle::_ParticleSize</a>. +<p> +Referenced by <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06258.html#l00299">NL3D::CPSSizedParticle::resizeSize()</a>, and <a class="el" href="a06257.html#l00183">NL3D::CPSSizedParticle::setSizeScheme()</a>. +<p> +<div class="fragment"><pre>00274 { <span class="keywordflow">return</span> <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep0">_ParticleSize</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSFaceLookAt_1_1CSecondSizea1" doxytag="NL3D::CPSFaceLookAt::CSecondSize::getSizeOwner" ></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::CPSFaceLookAt::CSecondSize::getSizeOwner </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, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +deriver must return their owner there +<p> + +<p> +Implements <a class="el" href="a03164.html#NL3D_1_1CPSSizedParticleb1">NL3D::CPSSizedParticle</a>. +<p> +Definition at line <a class="el" href="a06234.html#l00122">122</a> of file <a class="el" href="a06234.html">ps_face_look_at.h</a>. +<p> +References <a class="el" href="a06247.html#l00942">NL3D::CPSLocatedBindable::getOwner()</a>, and <a class="el" href="a06234.html#l00121">Owner</a>. +<p> +<div class="fragment"><pre>00122 { <span class="keywordflow">return</span> <a class="code" href="a03192.html#NL3D_1_1CPSFaceLookAt_1_1CSecondSizeo0">Owner</a>->getOwner(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSizedParticlea2" doxytag="NL3D::CPSFaceLookAt::CSecondSize::getSizeScheme" ></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::CPSSizedParticle::getSizeScheme </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the size scheme (NULL if none) const version +<p> + +<p> +Definition at line <a class="el" href="a06258.html#l00268">268</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00290">NL3D::CPSSizedParticle::_SizeScheme</a>. +<p> +<div class="fragment"><pre>00268 { <span class="keywordflow">return</span> <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSizedParticlea3" doxytag="NL3D::CPSFaceLookAt::CSecondSize::getSizeScheme" ></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::CPSSizedParticle::getSizeScheme </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the size scheme (NULL if none) +<p> + +<p> +Definition at line <a class="el" href="a06258.html#l00265">265</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00290">NL3D::CPSSizedParticle::_SizeScheme</a>. +<p> +Referenced by <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, and <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>. +<p> +<div class="fragment"><pre>00265 { <span class="keywordflow">return</span> <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSizedParticleb2" doxytag="NL3D::CPSFaceLookAt::CSecondSize::newSizeElement" ></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::CPSSizedParticle::newSizeElement </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>emitterLocated</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, inherited]</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="a06258.html#l00291">291</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00290">NL3D::CPSSizedParticle::_SizeScheme</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="a06279.html#l00451">NL3D::CPSShockWave::newElement()</a>, <a class="el" href="a06277.html#l00163">NL3D::CPSRibbonLookAt::newElement()</a>, <a class="el" href="a06273.html#l00313">NL3D::CPSRibbon::newElement()</a>, <a class="el" href="a06263.html#l00097">NL3D::CPSQuad::newElement()</a>, <a class="el" href="a06250.html#l01855">NL3D::CPSConstraintMesh::newElement()</a>, <a class="el" href="a06250.html#l00225">NL3D::CPSMesh::newElement()</a>, and <a class="el" href="a06235.html#l00264">NL3D::CPSFanLight::newElement()</a>. +<p> +<div class="fragment"><pre>00292 { +00293 <span class="keywordflow">if</span> (<a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a> && <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a>->hasMemory()) <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a>->newElement(emitterLocated, emitterIndex); +00294 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSizedParticleb3" doxytag="NL3D::CPSFaceLookAt::CSecondSize::resizeSize" ></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::CPSSizedParticle::resizeSize </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>size</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, inherited]</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="a06258.html#l00299">299</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00290">NL3D::CPSSizedParticle::_SizeScheme</a>, <a class="el" href="a06258.html#l00274">NL3D::CPSSizedParticle::getSize()</a>, <a class="el" href="a03164.html#NL3D_1_1CPSSizedParticleb1">NL3D::CPSSizedParticle::getSizeOwner()</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker< float >::hasMemory()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06214.html#l00296">NL3D::CPSAttribMaker< float >::resize()</a>, <a class="el" href="a05646.html#l00645">size</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06279.html#l00469">NL3D::CPSShockWave::resize()</a>, <a class="el" href="a06277.html#l00181">NL3D::CPSRibbonLookAt::resize()</a>, <a class="el" href="a06273.html#l00331">NL3D::CPSRibbon::resize()</a>, <a class="el" href="a06262.html#l00276">NL3D::CPSQuad::resize()</a>, <a class="el" href="a06250.html#l01889">NL3D::CPSConstraintMesh::resize()</a>, <a class="el" href="a06250.html#l00423">NL3D::CPSMesh::resize()</a>, and <a class="el" href="a06235.html#l00432">NL3D::CPSFanLight::resize()</a>. +<p> +<div class="fragment"><pre>00300 { +00301 <a class="code" href="a04199.html#a6">nlassert</a>(size < (1 << 16)); +00302 <span class="keywordflow">if</span> (<a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a> && <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a>->hasMemory()) <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a>->resize(size, <a class="code" href="a03192.html#NL3D_1_1CPSFaceLookAt_1_1CSecondSizea1">getSizeOwner</a>()-><a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlea1">getSize</a>()); +00303 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSizedParticlea4" doxytag="NL3D::CPSFaceLookAt::CSecondSize::serialSizeScheme" ></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::CPSSizedParticle::serialSizeScheme </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>)<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serialization. We choose a different name because of multiple-inheritance +<p> + +<p> +Definition at line <a class="el" href="a06257.html#l00211">211</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +<div class="fragment"><pre>00212 { +00213 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(1); +00214 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00215 { +00216 <span class="keywordflow">if</span> (<a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a>) +00217 { +00218 <span class="keyword">delete</span> <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a>; +00219 <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a> = NULL; +00220 } +00221 } +00222 <span class="keywordtype">bool</span> useSizeScheme = <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a> != NULL; +00223 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(useSizeScheme); +00224 <span class="keywordflow">if</span> (useSizeScheme) +00225 { +00226 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(_SizeScheme); +00227 } +00228 <span class="keywordflow">else</span> +00229 { +00230 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_ParticleSize); +00231 } +00232 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSizedParticlea5" doxytag="NL3D::CPSFaceLookAt::CSecondSize::setSize" ></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::CPSSizedParticle::setSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>size</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a constant size for the particles. +<p> + +<p> +Definition at line <a class="el" href="a06257.html#l00192">192</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a06258.html#l00289">NL3D::CPSSizedParticle::_ParticleSize</a>, <a class="el" href="a06258.html#l00290">NL3D::CPSSizedParticle::_SizeScheme</a>, and <a class="el" href="a05646.html#l00645">size</a>. +<p> +<div class="fragment"><pre>00193 { +00194 <span class="keyword">delete</span> <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a>; +00195 <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a> = NULL; +00196 <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep0">_ParticleSize</a> = <a class="code" href="a04223.html#a587">size</a>; +00197 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSizedParticlea6" doxytag="NL3D::CPSFaceLookAt::CSecondSize::setSizeScheme" ></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::CPSSizedParticle::setSizeScheme </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>size</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set an attribute maker that produce a size It must have been allocated by new It will be deleted by this object +<p> +Definition at line <a class="el" href="a06257.html#l00183">183</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a06258.html#l00290">NL3D::CPSSizedParticle::_SizeScheme</a>, <a class="el" href="a06258.html#l00274">NL3D::CPSSizedParticle::getSize()</a>, <a class="el" href="a03164.html#NL3D_1_1CPSSizedParticleb1">NL3D::CPSSizedParticle::getSizeOwner()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05646.html#l00645">size</a>. +<p> +<div class="fragment"><pre>00184 { +00185 <a class="code" href="a04199.html#a6">nlassert</a>(size != NULL); +00186 <span class="keyword">delete</span> <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a>; +00187 <a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlep1">_SizeScheme</a> = <a class="code" href="a04223.html#a587">size</a>; +00188 <span class="keywordflow">if</span> (<a class="code" href="a03192.html#NL3D_1_1CPSFaceLookAt_1_1CSecondSizea1">getSizeOwner</a>() && <a class="code" href="a04223.html#a587">size</a>->hasMemory()) <a class="code" href="a04223.html#a587">size</a>->resize(<a class="code" href="a03192.html#NL3D_1_1CPSFaceLookAt_1_1CSecondSizea1">getSizeOwner</a>()->getMaxSize(), <a class="code" href="a03192.html#NL3D_1_1CPSFaceLookAt_1_1CSecondSizea1">getSizeOwner</a>()-><a class="code" href="a03164.html#NL3D_1_1CPSSizedParticlea1">getSize</a>()); +00189 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSSizedParticlep0" doxytag="NL3D::CPSFaceLookAt::CSecondSize::_ParticleSize" ></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="a03164.html#NL3D_1_1CPSSizedParticlep0">NL3D::CPSSizedParticle::_ParticleSize</a><code> [protected, inherited]</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="a06258.html#l00289">289</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="a06231.html#l00055">NL3D::CPSFaceHelper::drawFaces()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>, <a class="el" href="a06258.html#l00274">NL3D::CPSSizedParticle::getSize()</a>, and <a class="el" href="a06257.html#l00192">NL3D::CPSSizedParticle::setSize()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSizedParticlep1" doxytag="NL3D::CPSFaceLookAt::CSecondSize::_SizeScheme" ></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="a03164.html#NL3D_1_1CPSSizedParticlep1">NL3D::CPSSizedParticle::_SizeScheme</a><code> [protected, inherited]</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="a06258.html#l00290">290</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="a06258.html#l00295">NL3D::CPSSizedParticle::deleteSizeElement()</a>, <a class="el" href="a06231.html#l00055">NL3D::CPSFaceHelper::drawFaces()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>, <a class="el" href="a06258.html#l00265">NL3D::CPSSizedParticle::getSizeScheme()</a>, <a class="el" href="a06258.html#l00291">NL3D::CPSSizedParticle::newSizeElement()</a>, <a class="el" href="a06258.html#l00299">NL3D::CPSSizedParticle::resizeSize()</a>, <a class="el" href="a06257.html#l00192">NL3D::CPSSizedParticle::setSize()</a>, <a class="el" href="a06257.html#l00183">NL3D::CPSSizedParticle::setSizeScheme()</a>, and <a class="el" href="a06257.html#l00205">NL3D::CPSSizedParticle::~CPSSizedParticle()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSFaceLookAt_1_1CSecondSizeo0" doxytag="NL3D::CPSFaceLookAt::CSecondSize::Owner" ></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="a03191.html">CPSFaceLookAt</a>* <a class="el" href="a03192.html#NL3D_1_1CPSFaceLookAt_1_1CSecondSizeo0">NL3D::CPSFaceLookAt::CSecondSize::Owner</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06234.html#l00121">121</a> of file <a class="el" href="a06234.html">ps_face_look_at.h</a>. +<p> +Referenced by <a class="el" href="a06233.html#l00893">NL3D::CPSFaceLookAt::CPSFaceLookAt()</a>, and <a class="el" href="a06234.html#l00122">getSizeOwner()</a>. </td> + </tr> +</table> +<hr>The documentation for this struct was generated from the following file:<ul> +<li><a class="el" href="a06234.html">ps_face_look_at.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:12:21 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> |