diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03210.html | 1107 |
1 files changed, 1107 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03210.html b/docs/doxygen/nel/a03210.html new file mode 100644 index 00000000..a56d213e --- /dev/null +++ b/docs/doxygen/nel/a03210.html @@ -0,0 +1,1107 @@ +<!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::CPSIntBlender 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::CPSIntBlender Class Reference</h1><code>#include <<a class="el" href="a06242.html">ps_int.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSIntBlender: +<p><center><img src="a03210.png" usemap="#NL3D::CPSIntBlender_map" border="0" alt=""></center> +<map name="NL3D::CPSIntBlender_map"> +<area href="a03156.html" alt="NL3D::CPSValueBlender< sint32 >" shape="rect" coords="0,280,390,304"> +<area href="a03144.html" alt="NL3D::CPSAttribMakerT< sint32, CPSValueBlendFunc< sint32 > >" shape="rect" coords="0,224,390,248"> +<area href="a03136.html" alt="NL3D::CPSAttribMaker< sint32 >" shape="rect" coords="0,168,390,192"> +<area href="a03137.html" alt="NL3D::CPSAttribMakerBase" shape="rect" coords="0,112,390,136"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,390,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,390,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +these are some attribute makers for int This is a int blender class. It just blend between 2 values +<p> + +<p> +Definition at line <a class="el" href="a06242.html#l00044">44</a> of file <a class="el" href="a06242.html">ps_int.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="a03250.html">CPSValueBlendFunc</a><<br> + <a class="el" href="a04558.html#a10">sint32</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4w0">functor_type</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">the type of the functor object <a href="#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4w0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4w1">value_type</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">the type of the attribute to be produced <a href="#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4w1"></a><br><br></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="a03210.html#NL3D_1_1CPSIntBlendera0">clone</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03210.html#NL3D_1_1CPSIntBlendera1">CPSIntBlender</a> (<a class="el" href="a04558.html#a10">sint32</a> startInt=0, <a class="el" href="a04558.html#a10">sint32</a> endInt=10, float nbCycles=1.0f)</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_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_0">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">delete an element, given its index. this must be called only if memory management is used. <a href="#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a2">get</a> (float input)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a3">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">compute one value of the attribute for the given index <a href="#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a3"></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="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a4">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>virtual <a class="el" href="a03207.html">CPSInputType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a6">getInput</a> (void) const</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03156.html#NL3D_1_1CPSValueBlendera7">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_1CPSValueBlendera7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03156.html#NL3D_1_1CPSValueBlendera8">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_1CPSValueBlendera8"></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>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="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a9">hasCustomInput</a> (void)</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>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a10">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="a03136.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_2">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="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03210.html#NL3D_1_1CPSIntBlendera16">NLMISC_DECLARE_CLASS</a> (<a class="el" href="a03210.html">CPSIntBlender</a>)</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_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_3">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="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11">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 <a href="#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11"></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="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a12">setClamping</a> (bool enable=true)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a13">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 colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4o0">_F</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">the functor object <a href="#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4o0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></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> + +</table> +<hr><h2>Member Typedef Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4w0" doxytag="NL3D::CPSIntBlender::functor_type" ></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"> typedef <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</a> > <a class="el" href="a03144.html">NL3D::CPSAttribMakerT</a>< <a class="el" href="a04558.html#a10">sint32</a> , <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</a> > >::<a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4w0">functor_type</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +the type of the functor object +<p> + +<p> +Definition at line <a class="el" href="a06219.html#l00174">174</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_4w1" doxytag="NL3D::CPSIntBlender::value_type" ></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"> typedef <a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a03144.html">NL3D::CPSAttribMakerT</a>< <a class="el" href="a04558.html#a10">sint32</a> , <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</a> > >::<a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4w1">value_type</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +the type of the attribute to be produced +<p> + +<p> +Definition at line <a class="el" href="a06219.html#l00171">171</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSIntBlendera1" doxytag="NL3D::CPSIntBlender::CPSIntBlender" ></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::CPSIntBlender::CPSIntBlender </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>startInt</em> = 0, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>endInt</em> = 10, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>nbCycles</em> = 1.0f</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><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="a06242.html#l00048">48</a> of file <a class="el" href="a06242.html">ps_int.h</a>. +<p> +References <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00048 : CPSValueBlender<sint32>(nbCycles) +00049 { +00050 <a class="code" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4o0">_F</a>.setValues(startInt, endInt); +00051 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSIntBlendera0" doxytag="NL3D::CPSIntBlender::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::CPSIntBlender::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="a06242.html#l00052">52</a> of file <a class="el" href="a06242.html">ps_int.h</a>. +<p> +<div class="fragment"><pre>00052 { <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a03210.html#NL3D_1_1CPSIntBlendera1">CPSIntBlender</a>(*<span class="keyword">this</span>); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_0" doxytag="NL3D::CPSIntBlender::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="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a04558.html#a10">sint32</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> +delete an element, given its index. this must be called only if memory management is used. +<p> + +<p> +Reimplemented in <a class="el" href="a03138.html#NL3D_1_1CPSColorBinOpz722_0">NL3D::CPSAttribMakerBinOp< sint32 ></a>, and <a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya2">NL3D::CPSAttribMakerMemoryBase< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06214.html#l00285">285</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +References <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06258.html#l00489">NL3D::CPSTexturedParticle::deleteTextureIndexElement()</a>. +<p> +<div class="fragment"><pre>00285 { <a class="code" href="a04199.html#a6">nlassert</a>(<span class="keyword">false</span>) ; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a2" doxytag="NL3D::CPSIntBlender::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="a04558.html#a10">sint32</a> <a class="el" href="a03144.html">NL3D::CPSAttribMakerT</a>< <a class="el" href="a04558.html#a10">sint32</a> , <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</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 from <a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz714_0">NL3D::CPSAttribMaker< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l00060">60</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>00061 { +00062 <a class="code" href="a05378.html#a395">NLMISC::OptFastFloorBegin</a>(); +00063 <a class="code" href="a04199.html#a6">nlassert</a>(input >= 0.f && input <= 1.f); +00064 <span class="keywordflow">return</span> <a class="code" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4o0">_F</a>(input); +00065 <a class="code" href="a05378.html#a396">NLMISC::OptFastFloorEnd</a>(); +00066 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a3" doxytag="NL3D::CPSIntBlender::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="a04558.html#a10">sint32</a> <a class="el" href="a03144.html">NL3D::CPSAttribMakerT</a>< <a class="el" href="a04558.html#a10">sint32</a> , <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</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> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compute one value of the attribute for the given index +<p> + +<p> +Implements <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz714_1">NL3D::CPSAttribMaker< sint32 ></a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a4" doxytag="NL3D::CPSIntBlender::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="a03144.html">NL3D::CPSAttribMakerT</a>< <a class="el" href="a04558.html#a10">sint32</a> , <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</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. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a10">isClampingSupported()</a></dd></dl> + +<p> +Reimplemented from <a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_0">NL3D::CPSAttribMaker< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l00167">167</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>00167 { <span class="keywordflow">return</span> _Clamp; }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6" doxytag="NL3D::CPSIntBlender::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_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a6" doxytag="NL3D::CPSIntBlender::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="a03144.html">NL3D::CPSAttribMakerT</a>< <a class="el" href="a04558.html#a10">sint32</a> , <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</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="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a9">hasCustomInput()</a></dd></dl> + +<p> +Reimplemented from <a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_1">NL3D::CPSAttribMaker< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l00150">150</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>00150 { <span class="keywordflow">return</span> _InputType; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueBlendera7" doxytag="NL3D::CPSIntBlender::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="a04558.html#a10">sint32</a> <a class="el" href="a03156.html">NL3D::CPSValueBlender</a>< <a class="el" href="a04558.html#a10">sint32</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 from <a class="el" href="a03136.html#NL3D_1_1CPSColorMemorya6">NL3D::CPSAttribMaker< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06222.html#l00173">173</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. +<p> +<div class="fragment"><pre>00173 { <span class="keywordflow">return</span> <a class="code" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4o0">_F</a>.getMaxValue(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueBlendera8" doxytag="NL3D::CPSIntBlender::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="a04558.html#a10">sint32</a> <a class="el" href="a03156.html">NL3D::CPSValueBlender</a>< <a class="el" href="a04558.html#a10">sint32</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 from <a class="el" href="a03136.html#NL3D_1_1CPSColorMemorya7">NL3D::CPSAttribMaker< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06222.html#l00174">174</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. +<p> +<div class="fragment"><pre>00174 { <span class="keywordflow">return</span> <a class="code" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4o0">_F</a>.getMinValue(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z716_0" doxytag="NL3D::CPSIntBlender::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="a04558.html#a10">sint32</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_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z712_0" doxytag="NL3D::CPSIntBlender::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"> virtual const char* <a class="el" href="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a04558.html#a10">sint32</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_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a9" doxytag="NL3D::CPSIntBlender::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="a03144.html">NL3D::CPSAttribMakerT</a>< <a class="el" href="a04558.html#a10">sint32</a> , <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</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 For this class, it is supported +<p> +Reimplemented from <a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_3">NL3D::CPSAttribMaker< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l00139">139</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>00139 { <span class="keywordflow">return</span> <span class="keyword">true</span>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_1" doxytag="NL3D::CPSIntBlender::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="a04558.html#a10">sint32</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#l00489">NL3D::CPSTexturedParticle::deleteTextureIndexElement()</a>, <a class="el" href="a06258.html#l00485">NL3D::CPSTexturedParticle::newTextureIndexElement()</a>, and <a class="el" href="a06258.html#l00493">NL3D::CPSTexturedParticle::resizeTextureIndex()</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_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a10" doxytag="NL3D::CPSIntBlender::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"> bool <a class="el" href="a03144.html">NL3D::CPSAttribMakerT</a>< <a class="el" href="a04558.html#a10">sint32</a> , <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</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) +<p> +Reimplemented from <a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_4">NL3D::CPSAttribMaker< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l00155">155</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>00155 { <span class="keywordflow">return</span> <span class="keyword">true</span>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_2" doxytag="NL3D::CPSIntBlender::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="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a04558.html#a10">sint32</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> +create a new element, and provides the emitter, this must be called only if this attribute maker has its own memory +<p> +Reimplemented in <a class="el" href="a03142.html#NL3D_1_1CPSIntMemorya23">NL3D::CPSAttribMakerMemory< sint32 ></a>, <a class="el" href="a03138.html#NL3D_1_1CPSColorBinOpz722_5">NL3D::CPSAttribMakerBinOp< sint32 ></a>, and <a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya13">NL3D::CPSAttribMakerMemoryBase< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06214.html#l00290">290</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06258.html#l00485">NL3D::CPSTexturedParticle::newTextureIndexElement()</a>. +<p> +<div class="fragment"><pre>00290 { <a class="code" href="a04199.html#a6">nlassert</a>(<span class="keyword">false</span>) ; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSIntBlendera16" doxytag="NL3D::CPSIntBlender::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::CPSIntBlender::NLMISC_DECLARE_CLASS </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03210.html">CPSIntBlender</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_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z718_3" doxytag="NL3D::CPSIntBlender::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="a03136.html">NL3D::CPSAttribMaker</a>< <a class="el" href="a04558.html#a10">sint32</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 in <a class="el" href="a03138.html#NL3D_1_1CPSColorBinOpz722_6">NL3D::CPSAttribMakerBinOp< sint32 ></a>, and <a class="el" href="a03140.html#NL3D_1_1CPSColorMemorya15">NL3D::CPSAttribMakerMemoryBase< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06214.html#l00296">296</a> of file <a class="el" href="a06214.html">ps_attrib_maker.h</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06258.html#l00493">NL3D::CPSTexturedParticle::resizeTextureIndex()</a>. +<p> +<div class="fragment"><pre>00296 { <a class="code" href="a04199.html#a6">nlassert</a>(<span class="keyword">false</span>) ; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a11" doxytag="NL3D::CPSIntBlender::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="a03144.html">NL3D::CPSAttribMakerT</a>< <a class="el" href="a04558.html#a10">sint32</a> , <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</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 +<p> +The same as make4, but with n replication instead of 4 <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03144.html#NL3D_1_1CPSAttribMakerTd1">make4</a></dd></dl> + +<p> +Reimplemented from <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz712_2">NL3D::CPSAttribMaker< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l00104">104</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>00105 { +00106 <a class="code" href="a04558.html#a14">sint</a> ver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(2); +00107 CPSAttribMaker<T>::serial(f); +00108 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_F); +00109 <span class="keywordflow">switch</span> (ver) +00110 { +00111 <span class="keywordflow">case</span> 1: +00112 { +00113 CPSInputType it; +00114 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama7">serialEnum</a>(it.InputType); +00115 _InputType = it; +00116 } +00117 <span class="keywordflow">break</span>; +00118 <span class="keywordflow">case</span> 2: +00119 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_InputType); +00120 <span class="keywordflow">break</span>; +00121 } +00122 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Clamp); +00123 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a12" doxytag="NL3D::CPSIntBlender::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="a03144.html">NL3D::CPSAttribMakerT</a>< <a class="el" href="a04558.html#a10">sint32</a> , <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</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. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a10">isClampingSupported()</a></dd></dl> + +<p> +Reimplemented from <a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_5">NL3D::CPSAttribMaker< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l00161">161</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>00161 { _Clamp = enable; }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4a13" doxytag="NL3D::CPSIntBlender::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="a03144.html">NL3D::CPSAttribMakerT</a>< <a class="el" href="a04558.html#a10">sint32</a> , <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</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 +<p> +Reimplemented from <a class="el" href="a03136.html#NL3D_1_1CPSColorMemoryz716_6">NL3D::CPSAttribMaker< sint32 ></a>. +<p> +Definition at line <a class="el" href="a06219.html#l00144">144</a> of file <a class="el" href="a06219.html">ps_attrib_maker_helper.h</a>. +<p> +<div class="fragment"><pre>00144 { _InputType = input; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4z716_1" doxytag="NL3D::CPSIntBlender::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="a04558.html#a10">sint32</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> +References <a class="el" href="a05622.html#l00290">nlassert</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> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4o0" doxytag="NL3D::CPSIntBlender::_F" ></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="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</a> > <a class="el" href="a03144.html">NL3D::CPSAttribMakerT</a>< <a class="el" href="a04558.html#a10">sint32</a> , <a class="el" href="a03250.html">CPSValueBlendFunc</a>< <a class="el" href="a04558.html#a10">sint32</a> > >::<a class="el" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4o0">_F</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +the functor object +<p> + +<p> +Definition at line <a class="el" href="a06219.html#l00055">55</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::CPSIntBlender::_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="a04558.html#a10">sint32</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::CPSIntBlender::_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="a04558.html#a10">sint32</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> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06242.html">ps_int.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:15:45 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> |