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/classNL3D_1_1CPSColoredParticle.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CPSColoredParticle.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CPSColoredParticle.html | 641 |
1 files changed, 641 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CPSColoredParticle.html b/docs/doxygen/nel/classNL3D_1_1CPSColoredParticle.html new file mode 100644 index 00000000..e3ed0843 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CPSColoredParticle.html @@ -0,0 +1,641 @@ +<!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::CPSColoredParticle Class Reference</h1>this class adds tunable color to a particle. Can be added using public multiple inheritance. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="ps__particle__basic_8h-source.html">ps_particle_basic.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSColoredParticle: +<p><center><img src="classNL3D_1_1CPSColoredParticle.gif" usemap="#NL3D::CPSColoredParticle_map" border="0"></center> +<map name="NL3D::CPSColoredParticle_map"> +<area href="classNL3D_1_1CPSConstraintMesh.html" alt="NL3D::CPSConstraintMesh" shape="rect" coords="173,56,336,80"> +<area href="classNL3D_1_1CPSDot.html" alt="NL3D::CPSDot" shape="rect" coords="173,112,336,136"> +<area href="classNL3D_1_1CPSFanLight.html" alt="NL3D::CPSFanLight" shape="rect" coords="173,168,336,192"> +<area href="classNL3D_1_1CPSQuad.html" alt="NL3D::CPSQuad" shape="rect" coords="173,224,336,248"> +<area href="classNL3D_1_1CPSRibbon.html" alt="NL3D::CPSRibbon" shape="rect" coords="173,280,336,304"> +<area href="classNL3D_1_1CPSRibbonLookAt.html" alt="NL3D::CPSRibbonLookAt" shape="rect" coords="173,336,336,360"> +<area href="classNL3D_1_1CPSShockWave.html" alt="NL3D::CPSShockWave" shape="rect" coords="173,392,336,416"> +<area href="classNL3D_1_1CPSTailDot.html" alt="NL3D::CPSTailDot" shape="rect" coords="173,448,336,472"> +</map> +<a href="classNL3D_1_1CPSColoredParticle-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSColoredParticle.html#a0">setColorScheme</a> (<a class="el" href="classNL3D_1_1CPSAttribMaker.html">CPSAttribMaker</a>< CRGBA > *col)</td></tr> +<tr><td> </td><td><font size=-1><em>Set an attribute maker that produce a color It must have been allocated by new It will be deleted by this object.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CPSAttribMaker.html">CPSAttribMaker</a>< CRGBA > * </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSColoredParticle.html#a1">getColorScheme</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>get the color scheme (NULL if none).</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNL3D_1_1CPSAttribMaker.html">CPSAttribMaker</a>< CRGBA > * </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSColoredParticle.html#a2">getColorScheme</a> (void) const</td></tr> +<tr><td> </td><td><font size=-1><em>get the color scheme (NULL if none) const version.</em> <a href="#a2">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_1CPSColoredParticle.html#a3">setColor</a> (<a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> col)</td></tr> +<tr><td> </td><td><font size=-1><em>Set a constant color for the particles. remove any previous scheme.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSColoredParticle.html#a4">getColor</a> (void) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the color.</em> <a href="#a4">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_1CPSColoredParticle.html#a5">CPSColoredParticle</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>ctor : default are white particles (constant color).</em> <a href="#a5">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_1CPSColoredParticle.html#a6">~CPSColoredParticle</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>dtor.</em> <a href="#a6">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_1CPSColoredParticle.html#a7">serialColorScheme</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>serialization.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNL3D_1_1CPSLocated.html">CPSLocated</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSColoredParticle.html#b0">getColorOwner</a> (void)=0</td></tr> +<tr><td> </td><td><font size=-1><em>deriver must return their owner there.</em> <a href="#b0">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_1CPSColoredParticle.html#b1">updateMatAndVbForColor</a> (void)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Update the material and the vb and the like so that they match the color scheme.</em> <a href="#b1">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_1CPSColoredParticle.html#b2">newColorElement</a> (<a class="el" href="classNL3D_1_1CPSLocated.html">CPSLocated</a> *emitterLocated, <a class="el" href="memory__common_8h.html#a11">uint32</a> emitterIndex)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSColoredParticle.html#b3">deleteColorElement</a> (<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 nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSColoredParticle.html#b4">resizeColor</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> <a class="el" href="cf__lexical_8cpp.html#a94">size</a>)</td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSColoredParticle.html#n0">_Color</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CPSAttribMaker.html">CPSAttribMaker</a>< CRGBA > * </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSColoredParticle.html#n1">_ColorScheme</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +this class adds tunable color to a particle. Can be added using public multiple inheritance. +<p> + +<p> +Definition at line <a class="el" href="ps__particle__basic_8h-source.html#l00168">168</a> of file <a class="el" href="ps__particle__basic_8h-source.html">ps_particle_basic.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a5" doxytag="NL3D::CPSColoredParticle::CPSColoredParticle"></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" nowrap valign="top"> NL3D::CPSColoredParticle::CPSColoredParticle </td> + <td class="md" valign="top">( </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> +ctor : default are white particles (constant color). +<p> + +<p> +Definition at line <a class="el" href="ps__particle__basic_8cpp-source.html#l00143">143</a> of file <a class="el" href="ps__particle__basic_8cpp-source.html">ps_particle_basic.cpp</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::CPSColoredParticle::~CPSColoredParticle"></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" nowrap valign="top"> NL3D::CPSColoredParticle::~CPSColoredParticle </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> [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__particle__basic_8cpp-source.html#l00148">148</a> of file <a class="el" href="ps__particle__basic_8cpp-source.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00205">_ColorScheme</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="b3" doxytag="NL3D::CPSColoredParticle::deleteColorElement"></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" nowrap valign="top"> void NL3D::CPSColoredParticle::deleteColorElement </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="ps__particle__basic_8h-source.html#l00214">214</a> of file <a class="el" href="ps__particle__basic_8h-source.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00205">_ColorScheme</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>. +<p> +Referenced by <a class="el" href="ps__tail__dot_8cpp-source.html#l00209">NL3D::CPSTailDot::deleteElement</a>, <a class="el" href="ps__shockwave_8cpp-source.html#l00440">NL3D::CPSShockWave::deleteElement</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00168">NL3D::CPSRibbonLookAt::deleteElement</a>, <a class="el" href="ps__ribbon_8cpp-source.html#l00310">NL3D::CPSRibbon::deleteElement</a>, <a class="el" href="ps__quad_8h-source.html#l00095">NL3D::CPSQuad::deleteElement</a>, <a class="el" href="ps__mesh_8cpp-source.html#l01729">NL3D::CPSConstraintMesh::deleteElement</a>, <a class="el" href="ps__fan__light_8cpp-source.html#l00272">NL3D::CPSFanLight::deleteElement</a>, and <a class="el" href="ps__dot_8cpp-source.html#l00228">NL3D::CPSDot::deleteElement</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CPSColoredParticle::getColor"></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" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> NL3D::CPSColoredParticle::getColor </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the color. +<p> + +<p> +Definition at line <a class="el" href="ps__particle__basic_8h-source.html#l00188">188</a> of file <a class="el" href="ps__particle__basic_8h-source.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00203">_Color</a>. </td> + </tr> +</table> +<a name="b0" doxytag="NL3D::CPSColoredParticle::getColorOwner"></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" nowrap valign="top"> virtual <a class="el" href="classNL3D_1_1CPSLocated.html">CPSLocated</a>* NL3D::CPSColoredParticle::getColorOwner </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> [protected, pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +deriver must return their owner there. +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CPSDot.html#b1">NL3D::CPSDot</a>. +<p> +Referenced by <a class="el" href="ps__particle__basic_8h-source.html#l00218">resizeColor</a>, and <a class="el" href="ps__particle__basic_8cpp-source.html#l00124">setColorScheme</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CPSColoredParticle::getColorScheme"></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" nowrap valign="top"> const <a class="el" href="classNL3D_1_1CPSAttribMaker.html">CPSAttribMaker</a><CRGBA>* NL3D::CPSColoredParticle::getColorScheme </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the color scheme (NULL if none) const version. +<p> + +<p> +Definition at line <a class="el" href="ps__particle__basic_8h-source.html#l00182">182</a> of file <a class="el" href="ps__particle__basic_8h-source.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00205">_ColorScheme</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CPSColoredParticle::getColorScheme"></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" nowrap valign="top"> <a class="el" href="classNL3D_1_1CPSAttribMaker.html">CPSAttribMaker</a><CRGBA>* NL3D::CPSColoredParticle::getColorScheme </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the color scheme (NULL if none). +<p> + +<p> +Definition at line <a class="el" href="ps__particle__basic_8h-source.html#l00179">179</a> of file <a class="el" href="ps__particle__basic_8h-source.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00205">_ColorScheme</a>. </td> + </tr> +</table> +<a name="b2" doxytag="NL3D::CPSColoredParticle::newColorElement"></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" nowrap valign="top"> void NL3D::CPSColoredParticle::newColorElement </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>emitterLocated</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>emitterIndex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="ps__particle__basic_8h-source.html#l00210">210</a> of file <a class="el" href="ps__particle__basic_8h-source.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00205">_ColorScheme</a>. +<p> +Referenced by <a class="el" href="ps__tail__dot_8cpp-source.html#l00201">NL3D::CPSTailDot::newElement</a>, <a class="el" href="ps__shockwave_8cpp-source.html#l00431">NL3D::CPSShockWave::newElement</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00159">NL3D::CPSRibbonLookAt::newElement</a>, <a class="el" href="ps__ribbon_8cpp-source.html#l00301">NL3D::CPSRibbon::newElement</a>, <a class="el" href="ps__quad_8h-source.html#l00087">NL3D::CPSQuad::newElement</a>, <a class="el" href="ps__mesh_8cpp-source.html#l01710">NL3D::CPSConstraintMesh::newElement</a>, <a class="el" href="ps__fan__light_8cpp-source.html#l00264">NL3D::CPSFanLight::newElement</a>, and <a class="el" href="ps__dot_8cpp-source.html#l00222">NL3D::CPSDot::newElement</a>. </td> + </tr> +</table> +<a name="b4" doxytag="NL3D::CPSColoredParticle::resizeColor"></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" nowrap valign="top"> void NL3D::CPSColoredParticle::resizeColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>size</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="ps__particle__basic_8h-source.html#l00218">218</a> of file <a class="el" href="ps__particle__basic_8h-source.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00205">_ColorScheme</a>, <a class="el" href="classNL3D_1_1CPSColoredParticle.html#b0">getColorOwner</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. +<p> +Referenced by <a class="el" href="ps__tail__dot_8cpp-source.html#l00217">NL3D::CPSTailDot::resize</a>, <a class="el" href="ps__shockwave_8cpp-source.html#l00449">NL3D::CPSShockWave::resize</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00177">NL3D::CPSRibbonLookAt::resize</a>, <a class="el" href="ps__ribbon_8cpp-source.html#l00319">NL3D::CPSRibbon::resize</a>, <a class="el" href="ps__quad_8cpp-source.html#l00272">NL3D::CPSQuad::resize</a>, <a class="el" href="ps__mesh_8cpp-source.html#l01744">NL3D::CPSConstraintMesh::resize</a>, <a class="el" href="ps__fan__light_8cpp-source.html#l00442">NL3D::CPSFanLight::resize</a>, and <a class="el" href="ps__dot_8cpp-source.html#l00251">NL3D::CPSDot::resize</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NL3D::CPSColoredParticle::serialColorScheme"></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" nowrap valign="top"> void NL3D::CPSColoredParticle::serialColorScheme </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>)</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serialization. +<p> + +<p> +Definition at line <a class="el" href="ps__particle__basic_8cpp-source.html#l00154">154</a> of file <a class="el" href="ps__particle__basic_8cpp-source.html">ps_particle_basic.cpp</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CPSColoredParticle::setColor"></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" nowrap valign="top"> void NL3D::CPSColoredParticle::setColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>col</em> </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> +Set a constant color for the particles. remove any previous scheme. +<p> + +<p> +Definition at line <a class="el" href="ps__particle__basic_8cpp-source.html#l00134">134</a> of file <a class="el" href="ps__particle__basic_8cpp-source.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00203">_Color</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00205">_ColorScheme</a>, and <a class="el" href="classNL3D_1_1CPSColoredParticle.html#b1">updateMatAndVbForColor</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NL3D::CPSColoredParticle::setColorScheme"></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" nowrap valign="top"> void NL3D::CPSColoredParticle::setColorScheme </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CPSAttribMaker.html">CPSAttribMaker</a>< CRGBA > * </td> + <td class="mdname1" valign="top" nowrap> <em>col</em> </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> +Set an attribute maker that produce a color It must have been allocated by new It will be deleted by this object. +<p> + +<p> +Definition at line <a class="el" href="ps__particle__basic_8cpp-source.html#l00124">124</a> of file <a class="el" href="ps__particle__basic_8cpp-source.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00205">_ColorScheme</a>, <a class="el" href="classNL3D_1_1CPSColoredParticle.html#b0">getColorOwner</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="classNL3D_1_1CPSColoredParticle.html#b1">updateMatAndVbForColor</a>. </td> + </tr> +</table> +<a name="b1" doxytag="NL3D::CPSColoredParticle::updateMatAndVbForColor"></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" nowrap valign="top"> virtual void NL3D::CPSColoredParticle::updateMatAndVbForColor </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> [protected, pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Update the material and the vb and the like so that they match the color scheme. +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CPSDot.html#b3">NL3D::CPSDot</a>. +<p> +Referenced by <a class="el" href="ps__particle__basic_8cpp-source.html#l00134">setColor</a>, and <a class="el" href="ps__particle__basic_8cpp-source.html#l00124">setColorScheme</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="n0" doxytag="NL3D::CPSColoredParticle::_Color"></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" nowrap valign="top"> CRGBA NL3D::CPSColoredParticle::_Color<code> [protected]</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__particle__basic_8h-source.html#l00203">203</a> of file <a class="el" href="ps__particle__basic_8h-source.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="ps__shockwave_8cpp-source.html#l00286">NL3D::CPSShockWave::draw</a>, <a class="el" href="ps__dot_8cpp-source.html#l00122">NL3D::CPSDot::draw</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00188">getColor</a>, <a class="el" href="ps__particle__basic_8cpp-source.html#l00134">setColor</a>, <a class="el" href="ps__tail__dot_8cpp-source.html#l00486">NL3D::CPSTailDot::setupGlobalColor</a>, <a class="el" href="ps__fan__light_8cpp-source.html#l00286">NL3D::CPSFanLight::setupMaterial</a>, <a class="el" href="ps__ribbon_8cpp-source.html#l00988">NL3D::CPSRibbon::setupTexturedGlobalColor</a>, <a class="el" href="ps__ribbon_8cpp-source.html#l00950">NL3D::CPSRibbon::setupUntexturedGlobalColor</a>, and <a class="el" href="ps__quad_8cpp-source.html#l00515">NL3D::CPSQuad::updateMatBeforeRendering</a>. </td> + </tr> +</table> +<a name="n1" doxytag="NL3D::CPSColoredParticle::_ColorScheme"></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" nowrap valign="top"> <a class="el" href="classNL3D_1_1CPSAttribMaker.html">CPSAttribMaker</a><CRGBA>* NL3D::CPSColoredParticle::_ColorScheme<code> [protected]</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__particle__basic_8h-source.html#l00205">205</a> of file <a class="el" href="ps__particle__basic_8h-source.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="ps__mesh_8cpp-source.html#l01680">NL3D::CPSConstraintMesh::computeColors</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00214">deleteColorElement</a>, <a class="el" href="ps__tail__dot_8cpp-source.html#l00231">NL3D::CPSTailDot::displayRibbons</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00317">NL3D::CPSRibbonLookAt::displayRibbons</a>, <a class="el" href="ps__ribbon_8cpp-source.html#l00448">NL3D::CPSRibbon::displayRibbons</a>, <a class="el" href="ps__shockwave_8cpp-source.html#l00286">NL3D::CPSShockWave::draw</a>, <a class="el" href="ps__dot_8cpp-source.html#l00122">NL3D::CPSDot::draw</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00179">getColorScheme</a>, <a class="el" href="ps__fan__light_8cpp-source.html#l00469">NL3D::CPSFanLight::getVBnIB</a>, <a class="el" href="ps__tail__dot_8cpp-source.html#l00352">NL3D::CPSTailDot::getVBnPB</a>, <a class="el" href="ps__shockwave_8cpp-source.html#l00459">NL3D::CPSShockWave::getVBnPB</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00532">NL3D::CPSRibbonLookAt::getVBnPB</a>, <a class="el" href="ps__ribbon_8cpp-source.html#l00661">NL3D::CPSRibbon::getVBnPB</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00210">newColorElement</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00218">resizeColor</a>, <a class="el" href="ps__mesh_8cpp-source.html#l02102">NL3D::CPSConstraintMesh::restoreMaterials</a>, <a class="el" href="ps__particle__basic_8cpp-source.html#l00134">setColor</a>, <a class="el" href="ps__particle__basic_8cpp-source.html#l00124">setColorScheme</a>, <a class="el" href="ps__fan__light_8cpp-source.html#l00286">NL3D::CPSFanLight::setupMaterial</a>, <a class="el" href="ps__ribbon_8cpp-source.html#l01041">NL3D::CPSRibbon::setupTextureMatrix</a>, <a class="el" href="ps__quad_8cpp-source.html#l00515">NL3D::CPSQuad::updateMatBeforeRendering</a>, <a class="el" href="ps__shockwave_8cpp-source.html#l00361">NL3D::CPSShockWave::updateVbColNUVForRender</a>, <a class="el" href="ps__quad_8cpp-source.html#l00382">NL3D::CPSQuad::updateVbColNUVForRender</a>, and <a class="el" href="ps__particle__basic_8cpp-source.html#l00148">~CPSColoredParticle</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="ps__particle__basic_8h-source.html">ps_particle_basic.h</a><li><a class="el" href="ps__particle__basic_8cpp-source.html">ps_particle_basic.cpp</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> |