diff options
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CPSAttribMakerT.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CPSAttribMakerT.html | 1247 |
1 files changed, 1247 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CPSAttribMakerT.html b/docs/doxygen/nel/classNL3D_1_1CPSAttribMakerT.html new file mode 100644 index 00000000..f62fde28 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CPSAttribMakerT.html @@ -0,0 +1,1247 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.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">Compound List</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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CPSAttribMakerT Class Template Reference</h1>This template generate an attrib maker by defining the methods of the CPSCAttribMaker class. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSAttribMakerT: +<p><center><img src="classNL3D_1_1CPSAttribMakerT.gif" usemap="#NL3D::CPSAttribMakerT_map" border="0"></center> +<map name="NL3D::CPSAttribMakerT_map"> +<area href="classNL3D_1_1CPSAttribMaker.html" alt="NL3D::CPSAttribMaker" shape="rect" coords="0,168,172,192"> +<area href="classNL3D_1_1CPSAttribMakerBase.html" alt="NL3D::CPSAttribMakerBase" shape="rect" coords="0,112,172,136"> +<area href="classNLMISC_1_1IStreamable.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,172,80"> +<area href="classNLMISC_1_1IClassable.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,172,24"> +</map> +<a href="classNL3D_1_1CPSAttribMakerT-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td nowrap align=right valign=top>typedef T </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#s0">value_type</a></td></tr> +<tr><td> </td><td><font size=-1><em>the type of the attribute to be produced.</em> <a href="#s0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>typedef F </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#s1">functor_type</a></td></tr> +<tr><td> </td><td><font size=-1><em>the type of the functor object.</em> <a href="#s1">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>virtual T </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a0">get</a> (<a class="el" href="classNL3D_1_1CPSLocated.html">CPSLocated</a> *loc, <a class="el" href="memory__common_8h.html#a11">uint32</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>compute one value of the attribute for the given index.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual T </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a1">get</a> (float input)</td></tr> +<tr><td> </td><td><font size=-1><em>Direct lookup of the result value from a float input (if it makes sense).</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a2">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> +<tr><td> </td><td><font size=-1><em>serialisation of the object.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a3">CPSAttribMakerT</a> (float nbCycles)</td></tr> +<tr><td> </td><td><font size=-1><em>construct the attrib maker specifying the number of cycles to do.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a4">~CPSAttribMakerT</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>dtor.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a5">hasCustomInput</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>tells wether one may choose one attribute from a <a class="el" href="classNL3D_1_1CPSLocated.html">CPSLocated</a> to use as an input.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a6">setInput</a> (const <a class="el" href="structNL3D_1_1CPSInputType.html">CPSInputType</a> &input)</td></tr> +<tr><td> </td><td><font size=-1><em>set a new input type.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="structNL3D_1_1CPSInputType.html">CPSInputType</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a7">getInput</a> (void) const</td></tr> +<tr><td> </td><td><font size=-1><em>get the type of input (if supported).</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a8">isClampingSupported</a> (void) const</td></tr> +<tr><td> </td><td><font size=-1><em>tells wether clamping is supported for the input (value can't go above MaxInputValue).</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a9">setClamping</a> (bool enable=true)</td></tr> +<tr><td> </td><td><font size=-1><em>Enable, disable the clamping of input values.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a10">getClamping</a> (void) const</td></tr> +<tr><td> </td><td><font size=-1><em>Test if the clamping is enabled.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>F </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#m0">_F</a></td></tr> +<tr><td> </td><td><font size=-1><em>the functor object.</em> <a href="#m0">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>template<typename It> void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#c0">makeByIterator</a> (It it, void *tab, <a class="el" href="memory__common_8h.html#a11">uint32</a> <a class="el" href="driver__opengl__extension__def_8h.html#a374">stride</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> numAttrib, bool canOverlapOne) const</td></tr> +<tr><td> </td><td><font size=-1><em>generate an attribute by using the given iterator.</em> <a href="#c0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>template<typename It> void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#c1">make4ByIterator</a> (It it, void *tab, <a class="el" href="memory__common_8h.html#a11">uint32</a> <a class="el" href="driver__opengl__extension__def_8h.html#a374">stride</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> numAttrib, bool canOverlapOne) const</td></tr> +<tr><td> </td><td><font size=-1><em>The same as make, but it replicate each attribute 4 times, thus filling 4*numAttrib.</em> <a href="#c1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>template<typename It> void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#c2">makeNByIterator</a> (It it, void *tab, <a class="el" href="memory__common_8h.html#a11">uint32</a> <a class="el" href="driver__opengl__extension__def_8h.html#a374">stride</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> numAttrib, <a class="el" href="memory__common_8h.html#a11">uint32</a> nbReplicate, bool canOverlapOne) const</td></tr> +<tr><td> </td><td><font size=-1><em>The same as make4, but with n replication instead of 4.</em> <a href="#c2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void * </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#c3">make</a> (<a class="el" href="classNL3D_1_1CPSLocated.html">CPSLocated</a> *loc, <a class="el" href="memory__common_8h.html#a11">uint32</a> startIndex, void *tab, <a class="el" href="memory__common_8h.html#a11">uint32</a> <a class="el" href="driver__opengl__extension__def_8h.html#a374">stride</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> numAttrib, bool allowNoCopy, <a class="el" href="memory__common_8h.html#a11">uint32</a> srcStep) const</td></tr> +<tr><td> </td><td><font size=-1><em>Fill tab with an attribute by using the given stride.</em> <a href="#c3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#c4">make4</a> (<a class="el" href="classNL3D_1_1CPSLocated.html">CPSLocated</a> *loc, <a class="el" href="memory__common_8h.html#a11">uint32</a> startIndex, void *tab, <a class="el" href="memory__common_8h.html#a11">uint32</a> <a class="el" href="driver__opengl__extension__def_8h.html#a374">stride</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> numAttrib, <a class="el" href="memory__common_8h.html#a11">uint32</a> srcStep) const</td></tr> +<tr><td> </td><td><font size=-1><em>The same as make, but it replicate each attribute 4 times, thus filling 4*numAttrib.</em> <a href="#c4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#c5">makeN</a> (<a class="el" href="classNL3D_1_1CPSLocated.html">CPSLocated</a> *loc, <a class="el" href="memory__common_8h.html#a11">uint32</a> startIndex, void *tab, <a class="el" href="memory__common_8h.html#a11">uint32</a> <a class="el" href="driver__opengl__extension__def_8h.html#a374">stride</a>, <a class="el" href="memory__common_8h.html#a11">uint32</a> numAttrib, <a class="el" href="memory__common_8h.html#a11">uint32</a> nbReplicate, <a class="el" href="memory__common_8h.html#a11">uint32</a> srcStep) const</td></tr> +<tr><td> </td><td><font size=-1><em>The same as make4, but with n replication instead of 4.</em> <a href="#c5">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="structNL3D_1_1CPSInputType.html">CPSInputType</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#o0">_InputType</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSAttribMakerT.html#o1">_Clamp</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<h3>template<typename T, class F><br> + class NL3D::CPSAttribMakerT< T, F ></h3> + +This template generate an attrib maker by defining the methods of the CPSCAttribMaker class. +<p> +You can derive your own class but it is a shortcut to do the job <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>T</em> </td><td> +: the type to produce </td></tr> +<tr><td valign=top><em>F</em> </td><td> +: a class that override the () operator, the input is chosen by the user (age, speed ...) , and the output is the same type as T. Inline is preferable, as it will be called a lot It can stores info that indicate how to build it </td></tr> +</table> +</dl> +<p> + +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00051">51</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>.<hr><h2>Member Typedef Documentation</h2> +<a name="s1" doxytag="NL3D::CPSAttribMakerT::functor_type"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef F NL3D::CPSAttribMakerT::functor_type + </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="ps__attrib__maker__helper_8h-source.html#l00174">174</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a name="s0" doxytag="NL3D::CPSAttribMakerT::value_type"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef T NL3D::CPSAttribMakerT::value_type + </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="ps__attrib__maker__helper_8h-source.html#l00171">171</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a3" doxytag="NL3D::CPSAttribMakerT::CPSAttribMakerT"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> NL3D::CPSAttribMakerT< T, F >::CPSAttribMakerT </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +construct the attrib maker specifying the number of cycles to do. +<p> +<dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CPSAttribMaker.html#z708_0">setNbCycles</a>() </dl> +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00128">128</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CPSAttribMakerT::~CPSAttribMakerT"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> virtual NL3D::CPSAttribMakerT< T, F >::~CPSAttribMakerT </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +dtor. +<p> + +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00133">133</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a1" doxytag="NL3D::CPSAttribMakerT::get"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> virtual T NL3D::CPSAttribMakerT< T, F >::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]</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). +<p> +This bypass what was set with setInput The input must be in [0, 1[ +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSAttribMaker.html#z707_1">NL3D::CPSAttribMaker</a>. +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00060">60</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NL3D::CPSAttribMakerT::get"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T NL3D::CPSAttribMakerT< T, F >::get </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CPSLocated.html">CPSLocated</a> * </td> + <td class="mdname" nowrap> <em>loc</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.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]</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="classNL3D_1_1CPSAttribMaker.html#z707_0">NL3D::CPSAttribMaker</a>. +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l01172">1172</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. +<p> +References <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00055">_F</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00179">_InputType</a>, <a class="el" href="ps__attrib__maker_8h-source.html#l00294">NL3D::CPSAttribMaker::_NbCycles</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>, <a class="el" href="ps__attrib__maker_8h-source.html#l00096">NL3D::MaxInputValue</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="fast__floor_8h-source.html#l00123">NL3D::OptFastFloorBegin</a>, <a class="el" href="fast__floor_8h-source.html#l00124">NL3D::OptFastFloorEnd</a>, <a class="el" href="fast__floor_8h-source.html#l00130">NL3D::OptFastFractionnalPart</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>, <a class="el" href="memory__common_8h-source.html#l00100">uint32</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NL3D::CPSAttribMakerT::getClamping"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSAttribMakerT< T, F >::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]</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. +<p> +<dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a8">isClampingSupported</a>() </dl> +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSAttribMaker.html#z708_7">NL3D::CPSAttribMaker</a>. +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00167">167</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NL3D::CPSAttribMakerT::getInput"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="structNL3D_1_1CPSInputType.html">CPSInputType</a> NL3D::CPSAttribMakerT< T, F >::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]</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). +<p> +The default return attrDate <dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a5">hasCustomInput</a>() </dl> +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSAttribMaker.html#z708_4">NL3D::CPSAttribMaker</a>. +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00150">150</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NL3D::CPSAttribMakerT::hasCustomInput"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSAttribMakerT< T, F >::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]</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="classNL3D_1_1CPSLocated.html">CPSLocated</a> to use as an input. +<p> +If false, the input(s) is fixed For this class, it is supported +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSAttribMaker.html#z708_2">NL3D::CPSAttribMaker</a>. +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00139">139</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NL3D::CPSAttribMakerT::isClampingSupported"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSAttribMakerT< T, F >::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]</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> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSAttribMaker.html#z708_5">NL3D::CPSAttribMaker</a>. +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00155">155</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a name="c3" doxytag="NL3D::CPSAttribMakerT::make"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void* NL3D::CPSAttribMakerT< T, F >::make </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CPSLocated.html">CPSLocated</a> * </td> + <td class="mdname" nowrap> <em>loc</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>startIndex</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>tab</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>stride</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>numAttrib</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>allowNoCopy</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>srcStep</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Fill tab with an attribute by using the given stride. +<p> +It fills numAttrib attributes. <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>loc</em> </td><td> +the 'located' that hold the 'located bindable' that need an attribute to be filled </td></tr> +<tr><td valign=top><em>startIndex</em> </td><td> +usually 0, it gives the index of the first element in the located (is it multiplied by the step) </td></tr> +<tr><td valign=top><em>tab</em> </td><td> +where the data will be written </td></tr> +<tr><td valign=top><em>stride</em> </td><td> +the stride, in byte, between each value to write </td></tr> +<tr><td valign=top><em>numAttrib</em> </td><td> +the number of attributes to compute </td></tr> +<tr><td valign=top><em>allowNoCopy</em> </td><td> +data may be already present in memory, and may not need computation. When set to true, this allow no computation to be made the return parameter is then le location of the datas. this may be tab (if recomputation where needed), or another value for this to work, the stride must most of the time be sizeof(T). This is intended to be used with derivers of <a class="el" href="classNL3D_1_1CPSAttribMaker.html">CPSAttribMaker</a> that store values that do not depend on the input. The make method then just copy the data, we is sometime useless </td></tr> +<tr><td valign=top><em>srcStep</em> </td><td> +A fixed-point 16:16 value that gives the step for the source iterator </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +where the data have been copied, this is always tab, unless allowNoCopy is set to true, in which case this may be different </dl> +<p> +Implements <a class="el" href="classNL3D_1_1CPSAttribMaker.html#z707_2">NL3D::CPSAttribMaker</a>. +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00596">596</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a name="c4" doxytag="NL3D::CPSAttribMakerT::make4"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSAttribMakerT< T, F >::make4 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CPSLocated.html">CPSLocated</a> * </td> + <td class="mdname" nowrap> <em>loc</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>startIndex</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>tab</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>stride</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>numAttrib</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>srcStep</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The same as make, but it replicate each attribute 4 times, thus filling 4*numAttrib. +<p> +Useful for facelookat and the like <dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CPSAttribMakerT.html#c3">make</a>() </dl> +<p> +Implements <a class="el" href="classNL3D_1_1CPSAttribMaker.html#z707_3">NL3D::CPSAttribMaker</a>. +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00790">790</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a name="c1" doxytag="NL3D::CPSAttribMakerT::make4ByIterator"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" colspan="4"> +template<typename It> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSAttribMakerT< T, F >::make4ByIterator </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">It </td> + <td class="mdname" nowrap> <em>it</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>tab</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>stride</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>numAttrib</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>canOverlapOne</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The same as make, but it replicate each attribute 4 times, thus filling 4*numAttrib. +<p> +Useful for facelookat and the like <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>canOverlapOne</em> </td><td> +must be true if the entry iterator can give values above 1 </td></tr> +</table> +</dl><dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CPSAttribMakerT.html#c0">makeByIterator</a>() </dl> +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00293">293</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. +<p> +Referenced by <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00790">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make4</a>. </td> + </tr> +</table> +<a name="c0" doxytag="NL3D::CPSAttribMakerT::makeByIterator"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" colspan="4"> +template<typename It> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSAttribMakerT< T, F >::makeByIterator </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">It </td> + <td class="mdname" nowrap> <em>it</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>tab</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>stride</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>numAttrib</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>canOverlapOne</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +generate an attribute by using the given iterator. +<p> +this allow to choose the input of tha attribute maker <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>canOverlapOne</em> </td><td> +must be true if the entry iterator can give values above 1 the attribute maker with no speed penalty </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00191">191</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. +<p> +Referenced by <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00596">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make</a>. </td> + </tr> +</table> +<a name="c5" doxytag="NL3D::CPSAttribMakerT::makeN"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSAttribMakerT< T, F >::makeN </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CPSLocated.html">CPSLocated</a> * </td> + <td class="mdname" nowrap> <em>loc</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>startIndex</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>tab</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>stride</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>numAttrib</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>nbReplicate</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>srcStep</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The same as make4, but with n replication instead of 4. +<p> +<dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CPSAttribMakerT.html#c4">make4</a> </dl> +<p> +Implements <a class="el" href="classNL3D_1_1CPSAttribMaker.html#z707_4">NL3D::CPSAttribMaker</a>. +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00978">978</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a name="c2" doxytag="NL3D::CPSAttribMakerT::makeNByIterator"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" colspan="4"> +template<typename It> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSAttribMakerT< T, F >::makeNByIterator </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">It </td> + <td class="mdname" nowrap> <em>it</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>tab</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>stride</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>numAttrib</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>nbReplicate</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>canOverlapOne</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The same as make4, but with n replication instead of 4. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>canOverlapOne</em> </td><td> +must be true if the entry iterator can give values above 1 </td></tr> +</table> +</dl><dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CPSAttribMakerT.html#c1">make4ByIterator</a> </dl> +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00448">448</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. +<p> +Referenced by <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00978">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::makeN</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CPSAttribMakerT::serial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSAttribMakerT< T, F >::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.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="structNLMISC_1_1EStream.html">NLMISC::EStream</a>)<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serialisation of the object. +<p> +<dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CPSAttribMakerT.html#c4">make4</a> </dl> +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSAttribMaker.html#z706_1">NL3D::CPSAttribMaker</a>. +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00104">104</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NL3D::CPSAttribMakerT::setClamping"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSAttribMakerT< T, F >::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]</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. +<p> +<dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CPSAttribMakerT.html#a8">isClampingSupported</a>() </dl> +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSAttribMaker.html#z708_6">NL3D::CPSAttribMaker</a>. +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00161">161</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::CPSAttribMakerT::setInput"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSAttribMakerT< T, F >::setInput </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="structNL3D_1_1CPSInputType.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]</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> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSAttribMaker.html#z708_3">NL3D::CPSAttribMaker</a>. +<p> +Definition at line <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00144">144</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o1" doxytag="NL3D::CPSAttribMakerT::_Clamp"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSAttribMakerT::_Clamp<code> [private]</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="ps__attrib__maker__helper_8h-source.html#l00182">182</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. +<p> +Referenced by <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00128">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::CPSAttribMakerT</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00167">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::getClamping</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00293">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make4ByIterator</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00191">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::makeByIterator</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00448">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::makeNByIterator</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00104">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::serial</a>, and <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00161">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::setClamping</a>. </td> + </tr> +</table> +<a name="m0" doxytag="NL3D::CPSAttribMakerT::_F"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> F NL3D::CPSAttribMakerT::_F + </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="ps__attrib__maker__helper_8h-source.html#l00055">55</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. +<p> +Referenced by <a class="el" href="ps__attrib__maker__helper_8h-source.html#l01172">get</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00060">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::get</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00293">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make4ByIterator</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00191">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::makeByIterator</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00448">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::makeNByIterator</a>, and <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00104">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::serial</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NL3D::CPSAttribMakerT::_InputType"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<typename T, class F> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="structNL3D_1_1CPSInputType.html">CPSInputType</a> NL3D::CPSAttribMakerT::_InputType<code> [private]</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="ps__attrib__maker__helper_8h-source.html#l00179">179</a> of file <a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a>. +<p> +Referenced by <a class="el" href="ps__attrib__maker__helper_8h-source.html#l01172">get</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00150">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::getInput</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00596">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00790">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::make4</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00978">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::makeN</a>, <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00104">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::serial</a>, and <a class="el" href="ps__attrib__maker__helper_8h-source.html#l00144">NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::setInput</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="ps__attrib__maker__helper_8h-source.html">ps_attrib_maker_helper.h</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |