diff options
Diffstat (limited to 'docs/doxygen/nel/a03224.html')
-rw-r--r-- | docs/doxygen/nel/a03224.html | 1648 |
1 files changed, 1648 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03224.html b/docs/doxygen/nel/a03224.html new file mode 100644 index 00000000..30a37aa0 --- /dev/null +++ b/docs/doxygen/nel/a03224.html @@ -0,0 +1,1648 @@ +<!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::CPSPlaneBasisMemory 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::CPSPlaneBasisMemory Class Reference</h1><code>#include <<a class="el" href="a06261.html">ps_plane_basis_maker.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSPlaneBasisMemory: +<p><center><img src="a03224.png" usemap="#NL3D::CPSPlaneBasisMemory_map" border="0" alt=""></center> +<map name="NL3D::CPSPlaneBasisMemory_map"> +<area href="a03139.html" alt="NL3D::CPSAttribMakerMemory< CPlaneBasis >" shape="rect" coords="0,280,310,304"> +<area href="a03140.html" alt="NL3D::CPSAttribMakerMemoryBase< CPlaneBasis >" shape="rect" coords="0,224,310,248"> +<area href="a03136.html" alt="NL3D::CPSAttribMaker< CPlaneBasis >" shape="rect" coords="0,168,310,192"> +<area href="a03137.html" alt="NL3D::CPSAttribMakerBase" shape="rect" coords="0,112,310,136"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,310,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,310,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +this memorize value by applying some function based on the emitter. For a particle's attribute, each particle has its own value memorized You MUST called setScheme (from <a class="el" href="a03139.html">CPSAttribMakerMemory</a>) to tell how the value will be generated +<p> + +<p> +Definition at line <a class="el" href="a06261.html#l00166">166</a> of file <a class="el" href="a06261.html">ps_plane_basis_maker.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><a class="el" href="a03137.html">CPSAttribMakerBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03224.html#NL3D_1_1CPSPlaneBasisMemorya0">clone</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03224.html#NL3D_1_1CPSPlaneBasisMemorya1">CPSPlaneBasisMemory</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya2">deleteElement</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from <a class="el" href="a03136.html">CPSAttribMaker</a> <a href="#NL3D_1_1CPSColorMemorya2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03083.html">CPlaneBasis</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz714_0">get</a> (float input)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03083.html">CPlaneBasis</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya3">get</a> (<a class="el" href="a03214.html">CPSLocated</a> *loc, <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from <a class="el" href="a03136.html">CPSAttribMaker</a> <a href="#NL3D_1_1CPSColorMemorya3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_0">getClamping</a> (void) const</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02540.html#NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6">getClassName</a> ()=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03083.html">CPlaneBasis</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya5">getDefaultValue</a> (void) const</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the default value : <a href="#NL3D_1_1CPSColorMemorya5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03207.html">CPSInputType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_1">getInput</a> (void) const</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03083.html">CPlaneBasis</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSColorMemorya6">getMaxValue</a> (void) const</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the min value, or an evalution that is guaranteed to be < to it (meaningful for ordered set only) <a href="#NL3D_1_1CPSColorMemorya6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03083.html">CPlaneBasis</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSColorMemorya7">getMinValue</a> (void) const</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the max value, or an evalution that is guaranteed to be > to it (meaningful for ordered set only) <a href="#NL3D_1_1CPSColorMemorya7"></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="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z716_0">getNbCycles</a> (void) const</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03136.html">CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya8">getScheme</a> (void) const</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the scheme used (const version) <a href="#NL3D_1_1CPSColorMemorya8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03136.html">CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya9">getScheme</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the scheme used <a href="#NL3D_1_1CPSColorMemorya9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z712_0">getType</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from <a class="el" href="a03137.html">CPSAttribMakerBase</a>. Template specialization will do the job <a href="#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z712_0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_3">hasCustomInput</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">tells wether one may choose one attribute from a <a class="el" href="a03214.html">CPSLocated</a> to use as an input. If false, the input(s) is fixed <a href="#NL3D_1_1CPSColorMemoryz716_3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_1">hasMemory</a> (void) const</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_4">isClampingSupported</a> (void) const</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void * </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya10">make</a> (<a class="el" href="a03214.html">CPSLocated</a> *loc, <a class="el" href="a04558.html#a11">uint32</a> startIndex, void *output, <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a582">stride</a>, <a class="el" href="a04558.html#a11">uint32</a> numAttrib, bool allowNoCopy=false, <a class="el" href="a04558.html#a11">uint32</a> srcStep=(1<< 16)) const</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from <a class="el" href="a03136.html">CPSAttribMaker</a> <a href="#NL3D_1_1CPSColorMemorya10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya11">make4</a> (<a class="el" href="a03214.html">CPSLocated</a> *loc, <a class="el" href="a04558.html#a11">uint32</a> startIndex, void *tab, <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a582">stride</a>, <a class="el" href="a04558.html#a11">uint32</a> numAttrib, <a class="el" href="a04558.html#a11">uint32</a> srcStep=(1<< 16)) const</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from <a class="el" href="a03136.html">CPSAttribMaker</a> <a href="#NL3D_1_1CPSColorMemorya11"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya12">makeN</a> (<a class="el" href="a03214.html">CPSLocated</a> *loc, <a class="el" href="a04558.html#a11">uint32</a> startIndex, void *tab, <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a582">stride</a>, <a class="el" href="a04558.html#a11">uint32</a> numAttrib, <a class="el" href="a04558.html#a11">uint32</a> nbReplicate, <a class="el" href="a04558.html#a11">uint32</a> srcStep=(1<< 16)) const</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">inherited from <a class="el" href="a03136.html">CPSAttribMaker</a> <a href="#NL3D_1_1CPSColorMemorya12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya13">newElement</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="mdescLeft"> </td><td class="mdescRight">inherited from <a class="el" href="a03136.html">CPSAttribMaker</a> <a href="#NL3D_1_1CPSColorMemorya13"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03224.html#NL3D_1_1CPSPlaneBasisMemorya22">NLMISC_DECLARE_CLASS</a> (<a class="el" href="a03224.html">CPSPlaneBasisMemory</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya15">resize</a> (<a class="el" href="a04558.html#a11">uint32</a> capacity, <a class="el" href="a04558.html#a11">uint32</a> nbPresentElements)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya16">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">serialisation of the object. Derivers MUST call this, (if they use the attribute of this class at least) <a href="#NL3D_1_1CPSColorMemorya16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_5">setClamping</a> (bool enable=true)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya17">setDefaultValue</a> (CPlaneBasisdefaultValue)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_6">setInput</a> (const <a class="el" href="a03207.html">CPSInputType</a> &input)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z716_1">setNbCycles</a> (float nbCycles)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya18">setScheme</a> (<a class="el" href="a03136.html">CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> > *scheme)</td></tr> + +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03083.html">CPlaneBasis</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemoryp0">_DefaultValue</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4p0">_HasMemory</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4p1">_NbCycles</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03136.html">CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03135.html">CPSAttrib</a>< <a class="el" href="a03083.html">CPlaneBasis</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSPlaneBasisMemorya1" doxytag="NL3D::CPSPlaneBasisMemory::CPSPlaneBasisMemory" ></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::CPSPlaneBasisMemory::CPSPlaneBasisMemory </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> + +<p> +Definition at line <a class="el" href="a06261.html#l00169">169</a> of file <a class="el" href="a06261.html">ps_plane_basis_maker.h</a>. +<p> +<div class="fragment"><pre>00169 { <a class="code" href="a03140.html#NL3D_1_1CPSColorMemorya17">setDefaultValue</a>(CPlaneBasis(NLMISC::CVector::K)); } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSPlaneBasisMemorya0" doxytag="NL3D::CPSPlaneBasisMemory::clone" ></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="a03137.html">CPSAttribMakerBase</a>* NL3D::CPSPlaneBasisMemory::clone </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a03137.html#NL3D_1_1CPSValueGradient_3_01uint32_01_4a0">NL3D::CPSAttribMakerBase</a>. +<p> +Definition at line <a class="el" href="a06261.html#l00171">171</a> of file <a class="el" href="a06261.html">ps_plane_basis_maker.h</a>. +<p> +<div class="fragment"><pre>00171 { <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a03224.html#NL3D_1_1CPSPlaneBasisMemorya1">CPSPlaneBasisMemory</a>(*<span class="keyword">this</span>); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya2" doxytag="NL3D::CPSPlaneBasisMemory::deleteElement" ></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 void <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::deleteElement </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, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from <a class="el" href="a03136.html">CPSAttribMaker</a> +<p> + +<p> +Reimplemented from <a class="el" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_0">NL3D::CPSAttribMaker< CPlaneBasis ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l01558">1558</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01559 { +01560 <a class="code" href="a04199.html#a6">nlassert</a>(_Scheme); <span class="comment">// you should have called setScheme !</span> +01561 <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.remove(index); +01562 <span class="keywordflow">if</span> (<a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>->hasMemory()) +01563 { +01564 <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>->deleteElement(index); +01565 } +01566 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemoryz714_0" doxytag="NL3D::CPSPlaneBasisMemory::get" ></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="a03083.html">CPlaneBasis</a> <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::get </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>input</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Direct lookup of the result value from a float input (if it makes sense). This bypass what was set with setInput The input must be in [0, 1[ +<p> +Reimplemented in <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a2">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueBlendFunc< CPlaneBasis > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a2">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueGradientFunc< CPlaneBasis > ></a>, and <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a2">NL3D::CPSAttribMakerT< CPlaneBasis, CSpinnerFunctor ></a>. +<p> +Definition at line <a class="el" href="a06214.html#l00161">161</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +<div class="fragment"><pre>00161 { <a class="code" href="a04199.html#a6">nlassert</a>(0); <span class="keywordflow">return</span> T(); <span class="comment">/* not supported by default */</span> } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya3" doxytag="NL3D::CPSPlaneBasisMemory::get" ></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="a03083.html">CPlaneBasis</a> <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::get </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>loc</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>index</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from <a class="el" href="a03136.html">CPSAttribMaker</a> +<p> + +<p> +Implements <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz714_1">NL3D::CPSAttribMaker< CPlaneBasis ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l01399">1399</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01400 { +01401 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> < <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.getSize()) <span class="keywordflow">return</span> <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>[<a class="code" href="a04223.html#a566">index</a>]; +01402 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp0">_DefaultValue</a>; +01403 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemoryz716_0" doxytag="NL3D::CPSPlaneBasisMemory::getClamping" ></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 bool <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::getClamping </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, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Test if the clamping is enabled. The default is false (clamping unsupported) <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_4">isClampingSupported()</a></dd></dl> + +<p> +Reimplemented in <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a4">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueBlendFunc< CPlaneBasis > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a4">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueGradientFunc< CPlaneBasis > ></a>, and <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a4">NL3D::CPSAttribMakerT< CPlaneBasis, CSpinnerFunctor ></a>. +<p> +Definition at line <a class="el" href="a06214.html#l00272">272</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +<div class="fragment"><pre>00272 { <span class="keywordflow">return</span> <span class="keyword">false</span> ; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6" doxytag="NL3D::CPSPlaneBasisMemory::getClassName" ></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 std::string NLMISC::IClassable::getClassName </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> [pure virtual, inherited]</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="a02995.html#NLAIAGENT_1_1CNumericIndexz1699_0">NLAIAGENT::CNumericIndex</a>, <a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypez1764_0">NLAIC::IPointerGestion</a>, <a class="el" href="a02650.html#NLAIC_1_1CIdentTypez1766_0">NLAIC::CIdentType</a>, and <a class="el" href="a02241.html#CAutomataDescz1896_0">CAutomataDesc</a>. +<p> +Referenced by <a class="el" href="a05549.html#l00091">NLMISC::CClassRegistry::checkObject()</a>, and <a class="el" href="a06525.html#l00039">NL3D::GetTextureSize()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya5" doxytag="NL3D::CPSPlaneBasisMemory::getDefaultValue" ></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="a03083.html">CPlaneBasis</a> <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::getDefaultValue </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 default value : +<p> + +<p> +Definition at line <a class="el" href="a06219.html#l01356">1356</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01356 { <span class="keywordflow">return</span> <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp0">_DefaultValue</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemoryz716_1" doxytag="NL3D::CPSPlaneBasisMemory::getInput" ></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="a03207.html">CPSInputType</a> <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::getInput </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, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the type of input (if supported). The default return attrDate <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_3">hasCustomInput()</a></dd></dl> + +<p> +Reimplemented in <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a6">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueBlendFunc< CPlaneBasis > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a6">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueGradientFunc< CPlaneBasis > ></a>, and <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a6">NL3D::CPSAttribMakerT< CPlaneBasis, CSpinnerFunctor ></a>. +<p> +Definition at line <a class="el" href="a06214.html#l00251">251</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +<div class="fragment"><pre>00251 { <span class="keywordflow">return</span> CPSInputType() ; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya6" doxytag="NL3D::CPSPlaneBasisMemory::getMaxValue" ></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="a03083.html">CPlaneBasis</a> <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::getMaxValue </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, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the min value, or an evalution that is guaranteed to be < to it (meaningful for ordered set only) +<p> + +<p> +Reimplemented in <a class="el" href="a03138.html#NL3D_1_1CPSColorBinOpa2">NL3D::CPSAttribMakerBinOp< CPlaneBasis ></a>, <a class="el" href="a03156.html#NL3D_1_1CPSValueBlendera7">NL3D::CPSValueBlender< CPlaneBasis ></a>, and <a class="el" href="a03159.html#NL3D_1_1CPSValueGradienta7">NL3D::CPSValueGradient< CPlaneBasis ></a>. +<p> +Definition at line <a class="el" href="a06214.html#l00217">217</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +<div class="fragment"><pre>00217 { <span class="keywordflow">return</span> T() ; <span class="comment">/* no mean by default */</span> } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya7" doxytag="NL3D::CPSPlaneBasisMemory::getMinValue" ></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="a03083.html">CPlaneBasis</a> <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::getMinValue </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, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the max value, or an evalution that is guaranteed to be > to it (meaningful for ordered set only) +<p> + +<p> +Reimplemented in <a class="el" href="a03138.html#NL3D_1_1CPSColorBinOpa3">NL3D::CPSAttribMakerBinOp< CPlaneBasis ></a>, <a class="el" href="a03156.html#NL3D_1_1CPSValueBlendera8">NL3D::CPSValueBlender< CPlaneBasis ></a>, and <a class="el" href="a03159.html#NL3D_1_1CPSValueGradienta8">NL3D::CPSValueGradient< CPlaneBasis ></a>. +<p> +Definition at line <a class="el" href="a06214.html#l00215">215</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +<div class="fragment"><pre>00215 { <span class="keywordflow">return</span> T() ; <span class="comment">/* no mean by default */</span> } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z716_0" doxytag="NL3D::CPSPlaneBasisMemory::getNbCycles" ></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="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::getNbCycles </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> +Retrieve the number of cycles <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z716_1">setNbCycles()</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06214.html#l00236">236</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +<div class="fragment"><pre>00236 { <span class="keywordflow">return</span> <a class="code" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4p1">_NbCycles</a> ; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya8" doxytag="NL3D::CPSPlaneBasisMemory::getScheme" ></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><<a class="el" href="a03083.html">CPlaneBasis</a> >* <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::getScheme </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 scheme used (const version) +<p> + +<p> +Definition at line <a class="el" href="a06219.html#l01377">1377</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01377 { <span class="keywordflow">return</span> <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya9" doxytag="NL3D::CPSPlaneBasisMemory::getScheme" ></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><<a class="el" href="a03083.html">CPlaneBasis</a> >* <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::getScheme </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 scheme used +<p> + +<p> +Definition at line <a class="el" href="a06219.html#l01375">1375</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01375 { <span class="keywordflow">return</span> <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z712_0" doxytag="NL3D::CPSPlaneBasisMemory::getType" ></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 char * <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::getType </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from <a class="el" href="a03137.html">CPSAttribMakerBase</a>. Template specialization will do the job +<p> + +<p> +Implements <a class="el" href="a03137.html#NL3D_1_1CPSAttribMakerBasea2">NL3D::CPSAttribMakerBase</a>. +<p> +Definition at line <a class="el" href="a06214.html#l00147">147</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +<div class="fragment"><pre>00147 { <span class="keywordflow">return</span> <span class="stringliteral">"UNKNOWN"</span>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemoryz716_3" doxytag="NL3D::CPSPlaneBasisMemory::hasCustomInput" ></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 bool <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::hasCustomInput </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +tells wether one may choose one attribute from a <a class="el" href="a03214.html">CPSLocated</a> to use as an input. If false, the input(s) is fixed +<p> + +<p> +Reimplemented in <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a9">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueBlendFunc< CPlaneBasis > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a9">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueGradientFunc< CPlaneBasis > ></a>, and <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a9">NL3D::CPSAttribMakerT< CPlaneBasis, CSpinnerFunctor ></a>. +<p> +Definition at line <a class="el" href="a06214.html#l00239">239</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +<div class="fragment"><pre>00239 { <span class="keywordflow">return</span> <span class="keyword">false</span> ; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_1" doxytag="NL3D::CPSPlaneBasisMemory::hasMemory" ></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 <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::hasMemory </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> +Some attribute makers may hold memory. this return true when this is the case. This also mean that you must call newElement, deleteElement, and resize, when it is called for the owning object (which is likely to be a <a class="el" href="a02691.html">CPSLocatedBindable</a>) +<p> +Definition at line <a class="el" href="a06214.html#l00282">282</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +Referenced by <a class="el" href="a06258.html#l00703">NL3D::CPSRotated3DPlaneParticle::deletePlaneBasisElement()</a>, <a class="el" href="a06258.html#l00699">NL3D::CPSRotated3DPlaneParticle::newPlaneBasisElement()</a>, and <a class="el" href="a06258.html#l00707">NL3D::CPSRotated3DPlaneParticle::resizePlaneBasis()</a>. +<p> +<div class="fragment"><pre>00282 { <span class="keywordflow">return</span> <a class="code" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4p0">_HasMemory</a> ; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemoryz716_4" doxytag="NL3D::CPSPlaneBasisMemory::isClampingSupported" ></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 bool <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::isClampingSupported </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, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +tells wether clamping is supported for the input (value can't go above MaxInputValue) The default is false +<p> +Reimplemented in <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a10">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueBlendFunc< CPlaneBasis > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a10">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueGradientFunc< CPlaneBasis > ></a>, and <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a10">NL3D::CPSAttribMakerT< CPlaneBasis, CSpinnerFunctor ></a>. +<p> +Definition at line <a class="el" href="a06214.html#l00258">258</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +<div class="fragment"><pre>00258 { <span class="keywordflow">return</span> <span class="keyword">false</span> ; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya10" doxytag="NL3D::CPSPlaneBasisMemory::make" ></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 void* <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::make </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>loc</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>startIndex</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>output</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>stride</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>numAttrib</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>allowNoCopy</em> = false, </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>srcStep</em> = (1 << 16)</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from <a class="el" href="a03136.html">CPSAttribMaker</a> +<p> + +<p> +Implements <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz714_2">NL3D::CPSAttribMaker< CPlaneBasis ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l01406">1406</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01414 { +01415 <span class="keywordflow">if</span> (!numAttrib) <span class="keywordflow">return</span> output; +01416 <span class="keywordtype">void</span> *tab = output; +01417 <span class="keywordflow">if</span> (!allowNoCopy || srcStep != (1 << 16) || <span class="keyword">sizeof</span>(T) != <a class="code" href="a04223.html#a582">stride</a>) +01418 { +01419 <span class="comment">// we just copy what we have memorized</span> +01420 <span class="keywordflow">if</span> (srcStep == (1 << 16)) +01421 { +01422 <span class="keyword">typename</span> CPSAttrib<T>::const_iterator it = <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.begin() + startIndex, endIt = <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.begin() + startIndex + numAttrib; +01423 <span class="keywordflow">do</span> +01424 { +01425 *(T *) tab = *it; +01426 ++it; +01427 tab = (<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>; +01428 } +01429 <span class="keywordflow">while</span> (it != endIt); +01430 } +01431 <span class="keywordflow">else</span> <span class="comment">// no constant step</span> +01432 { +01433 <a class="code" href="a04558.html#a11">uint32</a> fpIndex = startIndex * srcStep; +01434 <span class="keyword">typename</span> CPSAttrib<T>::const_iterator startIt = <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.begin(); +01435 <span class="keywordflow">while</span> (numAttrib --) +01436 { +01437 *(T *) tab = *(startIt + (fpIndex >> 16)); +01438 tab = (<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>; +01439 fpIndex += srcStep; +01440 } +01441 } +01442 <span class="keywordflow">return</span> output; +01443 } +01444 <span class="keywordflow">else</span> +01445 { +01446 <span class="comment">// the caller will read data directly in the vector ...</span> +01447 <span class="keywordflow">return</span> (<span class="keywordtype">void</span> *) &(*(<a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.begin() + startIndex)); +01448 } +01449 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya11" doxytag="NL3D::CPSPlaneBasisMemory::make4" ></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 void <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::make4 </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>loc</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>startIndex</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>tab</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>stride</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>numAttrib</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>srcStep</em> = (1 << 16)</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from <a class="el" href="a03136.html">CPSAttribMaker</a> +<p> + +<p> +Implements <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz714_3">NL3D::CPSAttribMaker< CPlaneBasis ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l01452">1452</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01459 { +01460 <span class="comment">// we just copy what we have memorized</span> +01461 <span class="keywordflow">if</span> (srcStep == (1 << 16)) +01462 { +01463 <span class="keyword">typename</span> CPSAttrib<T>::const_iterator it = <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.begin() + startIndex, endIt = <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.begin() + startIndex + numAttrib; +01464 <span class="keywordflow">while</span> (it != endIt) +01465 { +01466 *(T *) tab = *it; +01467 tab = (<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>; +01468 *(T *) tab = *it; +01469 tab = (<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>; +01470 *(T *) tab = *it; +01471 tab = (<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>; +01472 *(T *) tab = *it; +01473 tab = (<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>; +01474 ++it; +01475 } +01476 } +01477 <span class="keywordflow">else</span> +01478 { +01479 <a class="code" href="a04558.html#a11">uint32</a> fpIndex = startIndex * srcStep; +01480 <span class="keyword">typename</span> CPSAttrib<T>::const_iterator startIt = <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.begin(); +01481 <span class="keywordflow">while</span> (numAttrib --) +01482 { +01483 *(T *) tab = *(startIt + (fpIndex >> 16)); +01484 *(T *) ((<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>) = *(T *) tab; +01485 tab = (<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>; +01486 *(T *) ((<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>) = *(T *) tab; +01487 tab = (<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>; +01488 *(T *) ((<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>) = *(T *) tab; +01489 +01490 tab = (<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a> + <a class="code" href="a04223.html#a582">stride</a>; +01491 fpIndex += srcStep; +01492 } +01493 } +01494 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya12" doxytag="NL3D::CPSPlaneBasisMemory::makeN" ></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 void <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::makeN </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>loc</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>startIndex</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>tab</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>stride</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>numAttrib</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>nbReplicate</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>srcStep</em> = (1 << 16)</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from <a class="el" href="a03136.html">CPSAttribMaker</a> +<p> + +<p> +Implements <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz714_4">NL3D::CPSAttribMaker< CPlaneBasis ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l01497">1497</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01505 { +01506 <span class="comment">// we just copy what we have memorized</span> +01507 <a class="code" href="a04558.html#a15">uint</a> k; +01508 <span class="keyword">typename</span> CPSAttrib<T>::const_iterator it = <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.begin() + startIndex, endIt = <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.begin() + startIndex + numAttrib; +01509 <span class="keywordflow">if</span> (srcStep == (1 << 16)) +01510 { +01511 <span class="keywordflow">while</span> (it != endIt) +01512 { +01513 +01514 <span class="keywordflow">for</span> (k = 0; k < nbReplicate; ++k) +01515 { +01516 *(T *) tab = *it; +01517 tab = (<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>; +01518 } +01519 ++it; +01520 } +01521 } +01522 <span class="keywordflow">else</span> +01523 { +01524 <a class="code" href="a04558.html#a11">uint32</a> fpIndex = startIndex * srcStep; +01525 <span class="keyword">typename</span> CPSAttrib<T>::const_iterator startIt = <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.begin(); +01526 +01527 <span class="keywordflow">while</span> (numAttrib --) +01528 { +01529 *(T *) tab = *(startIt + (fpIndex >> 16)); +01530 <span class="keywordflow">for</span> (k = 1; k < nbReplicate; ++k) +01531 { +01532 *(T *) ((<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>) = *(T *) tab; +01533 tab = (<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>; +01534 } +01535 tab = (<a class="code" href="a04558.html#a7">uint8</a> *) tab + <a class="code" href="a04223.html#a582">stride</a>; +01536 fpIndex += srcStep; +01537 } +01538 +01539 } +01540 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya13" doxytag="NL3D::CPSPlaneBasisMemory::newElement" ></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 void <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::newElement </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, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +inherited from <a class="el" href="a03136.html">CPSAttribMaker</a> +<p> + +<p> +well a value may be returned without having to know the emitter (random, user param ...) but this case is really useless anyway ... +<p> +Reimplemented from <a class="el" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_2">NL3D::CPSAttribMaker< CPlaneBasis ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l01568">1568</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01569 { +01570 <a class="code" href="a04199.html#a6">nlassert</a>(_Scheme); <span class="comment">// you should have called setScheme !</span> +01571 +01572 <span class="comment">// we should create the contained scheme before this one if it has memory...</span> +01573 <span class="keywordflow">if</span> (<a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>->hasMemory()) +01574 { +01575 <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>->newElement(emitterLocated, emitterIndex); +01576 } +01577 +01578 <span class="keywordflow">if</span> (emitterLocated) +01579 { +01580 <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.insert(<a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>->get(emitterLocated, emitterIndex)); +01581 } +01582 <span class="keywordflow">else</span> +01583 { +01588 <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.insert(_DefaultValue); +01589 } +01590 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSPlaneBasisMemorya22" doxytag="NL3D::CPSPlaneBasisMemory::NLMISC_DECLARE_CLASS" ></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::CPSPlaneBasisMemory::NLMISC_DECLARE_CLASS </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03224.html">CPSPlaneBasisMemory</a> </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya15" doxytag="NL3D::CPSPlaneBasisMemory::resize" ></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 void <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::resize </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="mdname" nowrap> <em>capacity</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>nbPresentElements</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set a new capacity for the memorized attribute, and a number of used element. This usually is 0 , but during edition, this may not be ... so new element are created. this must be called only if this attribute maker has its own memory +<p> +Reimplemented from <a class="el" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_3">NL3D::CPSAttribMaker< CPlaneBasis ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l01591">1591</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01592 { +01593 <a class="code" href="a04199.html#a6">nlassert</a>(capacity < (1 << 16)); +01594 <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.resize(capacity); +01595 <span class="keywordflow">if</span> (nbPresentElements > <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.getSize()) +01596 { +01597 <span class="keywordflow">while</span> (<a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.getSize() != nbPresentElements) +01598 { +01599 <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.insert(_DefaultValue); +01600 } +01601 } +01602 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (nbPresentElements < <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.getSize()) +01603 { +01604 <span class="keywordflow">while</span> (<a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.getSize() != nbPresentElements) +01605 { +01606 <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.remove(<a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.getSize() - 1); +01607 } +01608 } +01609 +01610 +01611 <span class="keywordflow">if</span> (<a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a> && <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>->hasMemory()) +01612 { +01613 <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>->resize(capacity, nbPresentElements); +01614 } +01615 +01616 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya16" doxytag="NL3D::CPSPlaneBasisMemory::serial" ></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 void <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::serial </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> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serialisation of the object. Derivers MUST call this, (if they use the attribute of this class at least) +<p> + +<p> +Reimplemented from <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz712_2">NL3D::CPSAttribMaker< CPlaneBasis ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l01543">1543</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01544 { +01545 +01546 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(1); +01547 CPSAttribMaker<T>::serial(f); +01548 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +01549 { +01550 <span class="keywordflow">if</span> (<a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>) <span class="keyword">delete</span> <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>; +01551 } +01552 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(_Scheme); +01553 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_T); +01554 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DefaultValue); +01555 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemoryz716_5" doxytag="NL3D::CPSPlaneBasisMemory::setClamping" ></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 void <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::setClamping </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enable</em> = true </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Enable, disable the clamping of input values. The default does nothing (clamping unsupported) <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_4">isClampingSupported()</a></dd></dl> + +<p> +Reimplemented in <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a12">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueBlendFunc< CPlaneBasis > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a12">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueGradientFunc< CPlaneBasis > ></a>, and <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a12">NL3D::CPSAttribMakerT< CPlaneBasis, CSpinnerFunctor ></a>. +<p> +Definition at line <a class="el" href="a06214.html#l00265">265</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +<div class="fragment"><pre>00265 {} ; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya17" doxytag="NL3D::CPSPlaneBasisMemory::setDefaultValue" ></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 <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::setDefaultValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03083.html">CPlaneBasis</a> </td> + <td class="mdname1" valign="top" nowrap> <em>defaultValue</em> </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> +set a default value for initialisation, otherwise it will be garbage. This is needed when new element are generated, but not from an emitter for example, when you set this scheme to a LocatedBindable that does have a least one instance in it<p> +example : <a class="el" href="a03177.html">CPSDot</a> *d = new <a class="el" href="a03177.html">CPSDot</a>; CPSAttribMakerMemory<RGBA> *genAttribMaker = new CPSAttribMakerMemory<RGBA>; genAttribMaker->setScheme(CPSColorBlender(CRGBA::White, CRGBA::Black) Now, if an emitter emit these particle, it'll start to emit white ones, and then black ones d->setColorScheme( genAttribMaker); now, suppose that there were several dot instanciated before the setScheme is performed : d-><a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya13">newElement()</a>; no color has been memorized for this element, so when setScheme is performed, it has to generate one There are no emitter that provides it, so its taken from the default value Note : this should only be useful in an editor, that allow the user to change the scheme with a running system ... +<p> +Definition at line <a class="el" href="a06219.html#l01353">1353</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01353 { <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp0">_DefaultValue</a> = defaultValue;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemoryz716_6" doxytag="NL3D::CPSPlaneBasisMemory::setInput" ></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 void <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::setInput </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03207.html">CPSInputType</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>input</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set a new input type (if supported). The default does nothing <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_3">hasCustomInput()</a></dd></dl> + +<p> +Reimplemented in <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a13">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueBlendFunc< CPlaneBasis > ></a>, <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a13">NL3D::CPSAttribMakerT< CPlaneBasis, CPSValueGradientFunc< CPlaneBasis > ></a>, and <a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a13">NL3D::CPSAttribMakerT< CPlaneBasis, CSpinnerFunctor ></a>. +<p> +Definition at line <a class="el" href="a06214.html#l00245">245</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +<div class="fragment"><pre>00245 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z716_1" doxytag="NL3D::CPSPlaneBasisMemory::setNbCycles" ></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 <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::setNbCycles </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>nbCycles</em> </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> +Set the number of cycles that must be done during the life of a particle, or the number of cycle per second for a particle that has no life limit. It is used to multiply the input used by this attribute maker It must be >= 0 +<p> +Definition at line <a class="el" href="a06214.html#l00227">227</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +<div class="fragment"><pre>00228 { +00229 <a class="code" href="a04199.html#a6">nlassert</a>(nbCycles >= 0) ; +00230 <a class="code" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4p1">_NbCycles</a> = nbCycles ; +00231 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemorya18" doxytag="NL3D::CPSPlaneBasisMemory::setScheme" ></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 <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::setScheme </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03136.html">CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> > * </td> + <td class="mdname1" valign="top" nowrap> <em>scheme</em> </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> +set the scheme used to store attribute. this MUST be called, otherwise an assertion will be thrown later It must have been allocated by new, and it will be deleted by this object +<p> +Definition at line <a class="el" href="a06219.html#l01363">1363</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>01364 { +01365 <a class="code" href="a04199.html#a6">nlassert</a>(scheme); +01366 <span class="keywordflow">if</span> (<a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>) <span class="keyword">delete</span> <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>; +01367 <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a> = scheme; +01368 <span class="keywordflow">if</span> (<a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>->hasMemory()) +01369 { +01370 <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a>->resize(<a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.getMaxSize(), <a class="code" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</a>.getSize()); +01371 } +01372 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSColorMemoryp0" doxytag="NL3D::CPSPlaneBasisMemory::_DefaultValue" ></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="a03083.html">CPlaneBasis</a> <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::<a class="el" href="a03140.html#NL3D_1_1CPSColorMemoryp0">_DefaultValue</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="a06219.html#l01624">1624</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4p0" doxytag="NL3D::CPSPlaneBasisMemory::_HasMemory" ></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 <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::<a class="el" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4p0">_HasMemory</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="a06214.html#l00304">304</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4p1" doxytag="NL3D::CPSPlaneBasisMemory::_NbCycles" ></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="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::<a class="el" href="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4p1">_NbCycles</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="a06214.html#l00301">301</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemoryp3" doxytag="NL3D::CPSPlaneBasisMemory::_Scheme" ></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><<a class="el" href="a03083.html">CPlaneBasis</a> >* <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::<a class="el" href="a03140.html#NL3D_1_1CPSColorMemoryp3">_Scheme</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +this attribute maker tells us how to produce arguments from an emitter. as an example, we may want to have a gradient of color : the emitter emit green then blue particles, following a gradient. the color is produced by _Scheme and _T stores it +<p> +Definition at line <a class="el" href="a06219.html#l01630">1630</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSColorMemoryp4" doxytag="NL3D::CPSPlaneBasisMemory::_T" ></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="a03135.html">CPSAttrib</a><<a class="el" href="a03083.html">CPlaneBasis</a> > <a class="el" href="a03140.html">NL3D::CPSAttribMakerMemoryBase</a>< <a class="el" href="a03083.html">CPlaneBasis</a> >::<a class="el" href="a03140.html#NL3D_1_1CPSColorMemoryp4">_T</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="a06219.html#l01621">1621</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06261.html">ps_plane_basis_maker.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:20:01 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> |