diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03211.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03211.html')
-rw-r--r-- | docs/doxygen/nel/a03211.html | 1146 |
1 files changed, 1146 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03211.html b/docs/doxygen/nel/a03211.html new file mode 100644 index 00000000..0d4318b6 --- /dev/null +++ b/docs/doxygen/nel/a03211.html @@ -0,0 +1,1146 @@ +<!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::CPSIntGradient 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::CPSIntGradient Class Reference</h1><code>#include <<a class="el" href="a06242.html">ps_int.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSIntGradient: +<p><center><img src="a03211.png" usemap="#NL3D::CPSIntGradient_map" border="0" alt=""></center> +<map name="NL3D::CPSIntGradient_map"> +<area href="a03159.html" alt="NL3D::CPSValueGradient< sint32 >" shape="rect" coords="0,280,406,304"> +<area href="a03144.html" alt="NL3D::CPSAttribMakerT< sint32, CPSValueGradientFunc< sint32 > >" shape="rect" coords="0,224,406,248"> +<area href="a03136.html" alt="NL3D::CPSAttribMaker< sint32 >" shape="rect" coords="0,168,406,192"> +<area href="a03137.html" alt="NL3D::CPSAttribMakerBase" shape="rect" coords="0,112,406,136"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,406,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,406,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This is a int gradient class. +<p> + +<p> +Definition at line <a class="el" href="a06242.html#l00068">68</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="a03253.html">CPSValueGradientFunc</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="a03211.html#NL3D_1_1CPSIntGradienta0">clone</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03211.html#NL3D_1_1CPSIntGradienta1">CPSIntGradient</a> (const <a class="el" href="a04558.html#a10">sint32</a> *intTab=<a class="el" href="a03211.html#NL3D_1_1CPSIntGradients0">CPSIntGradient::_DefaultGradient</a>, <a class="el" href="a04558.html#a11">uint32</a> nbValues=2, <a class="el" href="a04558.html#a11">uint32</a> nbStages=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="a03159.html#NL3D_1_1CPSValueGradienta7">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_1CPSValueGradienta7"></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="a03159.html#NL3D_1_1CPSValueGradienta8">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_1CPSValueGradienta8"></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="a03211.html#NL3D_1_1CPSIntGradienta16">NLMISC_DECLARE_CLASS</a> (<a class="el" href="a03211.html">CPSIntGradient</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="a03253.html">CPSValueGradientFunc</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>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03211.html#NL3D_1_1CPSIntGradients0">_DefaultGradient</a> [] = { 0, 10 }</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::CPSIntGradient::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="a03253.html">CPSValueGradientFunc</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="a03253.html">CPSValueGradientFunc</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::CPSIntGradient::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="a03253.html">CPSValueGradientFunc</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_1CPSIntGradienta1" doxytag="NL3D::CPSIntGradient::CPSIntGradient" ></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::CPSIntGradient::CPSIntGradient </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a04558.html#a10">sint32</a> * </td> + <td class="mdname" nowrap> <em>intTab</em> = <a class="el" href="a03211.html#NL3D_1_1CPSIntGradients0">CPSIntGradient::_DefaultGradient</a>, </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>nbValues</em> = 2, </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>nbStages</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"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Construct the value gradient blender by passing a pointer to a float table. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>nbStages</em> </td><td>The result is sampled into a table by linearly interpolating values. This give the number of step between each value </td></tr> + <tr><td valign=top><em>nbCycles</em> </td><td>: The nb of time the pattern is repeated during particle life. see <a class="el" href="a04791.html">ps_attrib_maker.h</a></td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a06241.html#l00039">39</a> of file <a class="el" href="a06241.html">ps_int.cpp</a>. +<p> +References <a class="el" href="a03253.html#NL3D_1_1CPSValueGradientFunca10">NL3D::CPSValueGradientFunc< sint32 >::setValues()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00040 : CPSValueGradient<sint32>(nbCycles) +00041 { +00042 <a class="code" href="a03144.html#NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4o0">_F</a>.setValues(intTab, nbValues, nbStages); +00043 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSIntGradienta0" doxytag="NL3D::CPSIntGradient::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::CPSIntGradient::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#l00081">81</a> of file <a class="el" href="a06242.html">ps_int.h</a>. +<p> +<div class="fragment"><pre>00081 { <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a03211.html#NL3D_1_1CPSIntGradienta1">CPSIntGradient</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::CPSIntGradient::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::CPSIntGradient::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="a03253.html">CPSValueGradientFunc</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::CPSIntGradient::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="a03253.html">CPSValueGradientFunc</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::CPSIntGradient::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="a03253.html">CPSValueGradientFunc</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::CPSIntGradient::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::CPSIntGradient::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="a03253.html">CPSValueGradientFunc</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_1CPSValueGradienta7" doxytag="NL3D::CPSIntGradient::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="a03159.html">NL3D::CPSValueGradient</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#l00412">412</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. +<p> +<div class="fragment"><pre>00412 { <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_1CPSValueGradienta8" doxytag="NL3D::CPSIntGradient::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="a03159.html">NL3D::CPSValueGradient</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#l00413">413</a> of file <a class="el" href="a06222.html">ps_attrib_maker_template.h</a>. +<p> +<div class="fragment"><pre>00413 { <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::CPSIntGradient::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::CPSIntGradient::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::CPSIntGradient::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="a03253.html">CPSValueGradientFunc</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::CPSIntGradient::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::CPSIntGradient::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="a03253.html">CPSValueGradientFunc</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::CPSIntGradient::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_1CPSIntGradienta16" doxytag="NL3D::CPSIntGradient::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::CPSIntGradient::NLMISC_DECLARE_CLASS </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03211.html">CPSIntGradient</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::CPSIntGradient::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::CPSIntGradient::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="a03253.html">CPSValueGradientFunc</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::CPSIntGradient::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="a03253.html">CPSValueGradientFunc</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::CPSIntGradient::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="a03253.html">CPSValueGradientFunc</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::CPSIntGradient::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_1CPSIntGradients0" doxytag="NL3D::CPSIntGradient::_DefaultGradient" ></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="a04558.html#a10">sint32</a> <a class="el" href="a03211.html#NL3D_1_1CPSIntGradients0">NL3D::CPSIntGradient::_DefaultGradient</a> = { 0, 10 }<code> [static]</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="a06241.html#l00035">35</a> of file <a class="el" href="a06241.html">ps_int.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSValueGradient_3_01NLMISC_1_1CRGBA_01_4o0" doxytag="NL3D::CPSIntGradient::_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="a03253.html">CPSValueGradientFunc</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="a03253.html">CPSValueGradientFunc</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::CPSIntGradient::_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::CPSIntGradient::_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 files:<ul> +<li><a class="el" href="a06242.html">ps_int.h</a><li><a class="el" href="a06241.html">ps_int.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:15:53 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> |