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_1CPSRibbonLookAt.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CPSRibbonLookAt.html | 1171 |
1 files changed, 1171 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CPSRibbonLookAt.html b/docs/doxygen/nel/classNL3D_1_1CPSRibbonLookAt.html new file mode 100644 index 00000000..ab76dd0c --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CPSRibbonLookAt.html @@ -0,0 +1,1171 @@ +<!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::CPSRibbonLookAt Class Reference</h1>A ribbon look at particle. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSRibbonLookAt: +<p><center><img src="classNL3D_1_1CPSRibbonLookAt.gif" usemap="#NL3D::CPSRibbonLookAt_map" border="0"></center> +<map name="NL3D::CPSRibbonLookAt_map"> +<area href="classNL3D_1_1CPSRibbonBase.html" alt="NL3D::CPSRibbonBase" shape="rect" coords="110,224,321,248"> +<area href="classNL3D_1_1CPSSizedParticle.html" alt="NL3D::CPSSizedParticle" shape="rect" coords="331,224,542,248"> +<area href="classNL3D_1_1CPSColoredParticle.html" alt="NL3D::CPSColoredParticle" shape="rect" coords="552,224,763,248"> +<area href="classNL3D_1_1CPSMaterial.html" alt="NL3D::CPSMaterial" shape="rect" coords="773,224,984,248"> +<area href="structNL3D_1_1CPSTexturedParticleNoAnim.html" alt="NL3D::CPSTexturedParticleNoAnim" shape="rect" coords="994,224,1205,248"> +<area href="classNL3D_1_1CPSParticle.html" alt="NL3D::CPSParticle" shape="rect" coords="0,168,211,192"> +<area href="structNL3D_1_1CPSTailParticle.html" alt="NL3D::CPSTailParticle" shape="rect" coords="221,168,432,192"> +<area href="classNL3D_1_1CPSLocatedBindable.html" alt="NL3D::CPSLocatedBindable" shape="rect" coords="0,112,211,136"> +<area href="classNLMISC_1_1IStreamable.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,211,80"> +<area href="classNLMISC_1_1IClassable.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,211,24"> +</map> +<a href="classNL3D_1_1CPSRibbonLookAt-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Vertex buffers & their corresponding index buffers. We keep a map of pretextured vertex buffer (with or without colors).</h2></td></tr> +<tr><td colspan=2>Vb for ribbons that have the same size are shared.<br><br></td></tr> +<tr><td nowrap align=right valign=top>typedef std::hash_map< <a class="el" href="memory__common_8h.html#a15">uint</a>,<br> + <a class="el" href="structNL3D_1_1CPSRibbonLookAt_1_1CVBnPB.html">CVBnPB</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#z734_0">TVBMap</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="structNL3D_1_1CPSRibbonLookAt_1_1CVBnPB.html">CVBnPB</a> & </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#z734_1">getVBnPB</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>get a vertex buffer and a primitive suited for the current ribbon.</em> <a href="#z734_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#z734_2">getNumRibbonsInVB</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the number of ribbons contained in a vb for a given length. (e.g the number of ribbons that can be batched).</em> <a href="#z734_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#z734_0">TVBMap</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#z734_3">_VBMap</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#z734_0">TVBMap</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#z734_4">_ColoredVBMap</a></td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#a0">step</a> (<a class="el" href="namespaceNL3D.html#a484">TPSProcessPass</a> pass, <a class="el" href="namespaceNL3D.html#a1">TAnimationTime</a> ellapsedTime, <a class="el" href="namespaceNL3D.html#a1">TAnimationTime</a> realEt)</td></tr> +<tr><td> </td><td><font size=-1><em>inherited from <a class="el" href="classNL3D_1_1CPSParticle.html">CPSParticle</a>.</em> <a href="#a0">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_1CPSRibbonLookAt.html#a1">hasTransparentFaces</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>return true if there are transparent faces in the object.</em> <a href="#a1">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_1CPSRibbonLookAt.html#a2">hasOpaqueFaces</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>return true if there are Opaque faces in the object.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#a3">getMaxNumFaces</a> (void) const</td></tr> +<tr><td> </td><td><font size=-1><em>return the max number of faces needed for display. This is needed for LOD balancing.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Object</div></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#z731_0">CPSRibbonLookAt</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>ctor.</em> <a href="#z731_0">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_1CPSRibbonLookAt.html#z731_1">~CPSRibbonLookAt</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>dtor.</em> <a href="#z731_1">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_1CPSRibbonLookAt.html#z731_2">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. Derivers must override this, and call their parent version.</em> <a href="#z731_2">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_1CPSRibbonLookAt.html#z731_3">NLMISC_DECLARE_CLASS</a> (CPSRibbonLookAt)</td></tr> +<tr><td colspan="2"><div class="groupHeader">Texture</div></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#z732_0">setTexture</a> (CSmartPtr< <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> > tex)</td></tr> +<tr><td> </td><td><font size=-1><em>Version 4 : added <a class="el" href="classNL3D_1_1CPSRibbonBase.html">CPSRibbonBase</a> has a base class instead of <a class="el" href="classNL3D_1_1CPSParticle.html">CPSParticle</a>.</em> <a href="#z732_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#z732_1">getTexture</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>get the texture used for this particle.</em> <a href="#z732_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#z732_2">getTexture</a> (void) const</td></tr> +<tr><td colspan="2"><div class="groupHeader">Behaviour</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#z733_0">setColorFading</a> (bool onOff=true)</td></tr> +<tr><td> </td><td><font size=-1><em>(de)activate color fading when its done, colors fades to black along the tail.</em> <a href="#z733_0">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_1CPSRibbonLookAt.html#z733_1">getColorFading</a> (void) const</td></tr> +<tr><td> </td><td><font size=-1><em>Test wether color fading is activated.</em> <a href="#z733_1">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_1CPSRibbonLookAt.html#z733_2">setSystemBasis</a> (bool yes)</td></tr> +<tr><td> </td><td><font size=-1><em>tells in which basis is the tail It requires one transform per particle if it is not the same as the located that hold that particle The default is false.</em> <a href="#z733_2">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_1CPSRibbonLookAt.html#z733_3">isInSystemBasis</a> (void) const</td></tr> +<tr><td> </td><td><font size=-1><em>return true if the tails are in the system basis.</em> <a href="#z733_3">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 void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#b0">newElement</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> </td><td><font size=-1><em>We support Auto-LOD for ribbons, although there is a built-in LOD (that change the geometry rather than the number of ribbons) that gives better result (both can be used simultaneously).</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_1CPSRibbonLookAt.html#b1">deleteElement</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> </td><td><font size=-1><em>inherited from <a class="el" href="classNL3D_1_1CPSLocatedBindable.html">CPSLocatedBindable</a>.</em> <a href="#b1">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_1CPSRibbonLookAt.html#b2">resize</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> </td><td><font size=-1><em>inherited from <a class="el" href="classNL3D_1_1CPSLocatedBindable.html">CPSLocatedBindable</a>.</em> <a href="#b2">More...</a><em></em></font><br><br></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_1CPSRibbonLookAt.html#b3">getSizeOwner</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>deriver must return their owner there.</em> <a href="#b3">More...</a><em></em></font><br><br></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_1CPSRibbonLookAt.html#b4">getColorOwner</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>deriver must return their owner there.</em> <a href="#b4">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>CSmartPtr< <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#n0">_Tex</a></td></tr> +<tr><td colspan=2><br><h2>Private Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSRibbonLookAt.html#c0">updateMatAndVbForColor</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>update the material and the vb so that they match the color scheme. Inherited from <a class="el" href="classNL3D_1_1CPSColoredParticle.html">CPSColoredParticle</a>.</em> <a href="#c0">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_1CPSRibbonLookAt.html#c1">displayRibbons</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> nbRibbons, <a class="el" href="memory__common_8h.html#a11">uint32</a> srcStep)</td></tr> +<tr><td> </td><td><font size=-1><em>display a set of ribbons.</em> <a href="#c1">More...</a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A ribbon look at particle. +<p> +It is like a ribbon, but textured (with no animation), and it always faces the user +<p> + +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8h-source.html#l00041">41</a> of file <a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a>.<hr><h2>Member Typedef Documentation</h2> +<a name="z734_0" doxytag="NL3D::CPSRibbonLookAt::TVBMap"></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"> typedef std::hash_map<<a class="el" href="memory__common_8h.html#a15">uint</a>, <a class="el" href="structNL3D_1_1CPSRibbonLookAt_1_1CVBnPB.html">CVBnPB</a>> NL3D::CPSRibbonLookAt::TVBMap<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__ribbon__look__at_8h-source.html#l00148">148</a> of file <a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a>. +<p> +Referenced by <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00532">getVBnPB</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="z731_0" doxytag="NL3D::CPSRibbonLookAt::CPSRibbonLookAt"></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::CPSRibbonLookAt::CPSRibbonLookAt </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. +<p> + +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00055">55</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. </td> + </tr> +</table> +<a name="z731_1" doxytag="NL3D::CPSRibbonLookAt::~CPSRibbonLookAt"></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::CPSRibbonLookAt::~CPSRibbonLookAt </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> +dtor. +<p> + +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00060">60</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="b1" doxytag="NL3D::CPSRibbonLookAt::deleteElement"></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::CPSRibbonLookAt::deleteElement </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> [protected, virtual]</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="classNL3D_1_1CPSLocatedBindable.html">CPSLocatedBindable</a>. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSRibbonBase.html#b1">NL3D::CPSRibbonBase</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00168">168</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00214">NL3D::CPSColoredParticle::deleteColorElement</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00272">NL3D::CPSSizedParticle::deleteSizeElement</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>. </td> + </tr> +</table> +<a name="c1" doxytag="NL3D::CPSRibbonLookAt::displayRibbons"></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::CPSRibbonLookAt::displayRibbons </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="mdname" nowrap> <em>nbRibbons</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"><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +display a set of ribbons. +<p> + +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00317">317</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00205">NL3D::CPSColoredParticle::_ColorScheme</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00808">NL3D::CPSMaterial::_Mat</a>, <a class="el" href="ps__located_8h-source.html#l00979">NL3D::CPSLocatedBindable::_Owner</a>, <a class="el" href="ps__ribbon__base_8h-source.html#l00099">NL3D::CPSRibbonBase::_Parametric</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00266">NL3D::CPSSizedParticle::_ParticleSize</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00267">NL3D::CPSSizedParticle::_SizeScheme</a>, <a class="el" href="ps__ribbon__base_8h-source.html#l00127">NL3D::CPSRibbonBase::_UsedNbSegs</a>, <a class="el" href="ps__ribbon__base_8h-source.html#l00128">NL3D::CPSRibbonBase::_UsedSegDuration</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00202">NL3D::BuildSlice</a>, <a class="el" href="ps__ribbon__base_8cpp-source.html#l00445">NL3D::CPSRibbonBase::computeRibbon</a>, <a class="el" href="ps__particle__basic_8cpp-source.html#l00553">NL3D::CPSMaterial::forceModulateConstantColor</a>, <a class="el" href="ps__located_8h-source.html#l00846">NL3D::CPSLocatedBindable::getDriver</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00578">getNumRibbonsInVB</a>, <a class="el" href="ps__located_8cpp-source.html#l01642">NL3D::CPSLocatedBindable::getSysMat</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00532">getVBnPB</a>, <a class="el" href="ps__located_8cpp-source.html#l01673">NL3D::CPSLocatedBindable::getViewMat</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00192">NL3D::MakeProj</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="ps__located_8cpp-source.html#l01690">NL3D::CPSLocatedBindable::setupDriverModelMatrix</a>, and <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00049">NL3D::TRibbonVect</a>. +<p> +Referenced by <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00119">step</a>. </td> + </tr> +</table> +<a name="z733_1" doxytag="NL3D::CPSRibbonLookAt::getColorFading"></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 bool NL3D::CPSRibbonLookAt::getColorFading </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 wether color fading is activated. +<p> +NOT SUPPORTED FOR NOW +<p> +Implements <a class="el" href="structNL3D_1_1CPSTailParticle.html#a1">NL3D::CPSTailParticle</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8h-source.html#l00077">77</a> of file <a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a>. </td> + </tr> +</table> +<a name="b4" doxytag="NL3D::CPSRibbonLookAt::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::CPSRibbonLookAt::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> [inline, protected, 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> +Implements <a class="el" href="classNL3D_1_1CPSColoredParticle.html#b0">NL3D::CPSColoredParticle</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8h-source.html#l00123">123</a> of file <a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a>. +<p> +References <a class="el" href="ps__located_8h-source.html#l00979">NL3D::CPSLocatedBindable::_Owner</a>, and <a class="el" href="ps__located_8h-source.html#l00939">NL3D::CPSLocatedBindable::CPSLocated</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CPSRibbonLookAt::getMaxNumFaces"></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="memory__common_8h.html#a11">uint32</a> NL3D::CPSRibbonLookAt::getMaxNumFaces </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return the max number of faces needed for display. This is needed for LOD balancing. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1CPSParticle.html#a9">NL3D::CPSParticle</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00523">523</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +References <a class="el" href="ps__ribbon__base_8h-source.html#l00097">NL3D::CPSRibbonBase::_NbSegs</a>, <a class="el" href="ps__located_8h-source.html#l00979">NL3D::CPSLocatedBindable::_Owner</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z734_2" doxytag="NL3D::CPSRibbonLookAt::getNumRibbonsInVB"></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="memory__common_8h.html#a15">uint</a> NL3D::CPSRibbonLookAt::getNumRibbonsInVB </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> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the number of ribbons contained in a vb for a given length. (e.g the number of ribbons that can be batched). +<p> + +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00578">578</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +References <a class="el" href="ps__ribbon__base_8h-source.html#l00127">NL3D::CPSRibbonBase::_UsedNbSegs</a>. +<p> +Referenced by <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00317">displayRibbons</a>, and <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00532">getVBnPB</a>. </td> + </tr> +</table> +<a name="b3" doxytag="NL3D::CPSRibbonLookAt::getSizeOwner"></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::CPSRibbonLookAt::getSizeOwner </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, protected, 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> +Implements <a class="el" href="classNL3D_1_1CPSSizedParticle.html#b0">NL3D::CPSSizedParticle</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8h-source.html#l00122">122</a> of file <a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a>. +<p> +References <a class="el" href="ps__located_8h-source.html#l00979">NL3D::CPSLocatedBindable::_Owner</a>, and <a class="el" href="ps__located_8h-source.html#l00939">NL3D::CPSLocatedBindable::CPSLocated</a>. </td> + </tr> +</table> +<a name="z732_2" doxytag="NL3D::CPSRibbonLookAt::getTexture"></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_1ITexture.html">ITexture</a>* NL3D::CPSRibbonLookAt::getTexture </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> + +<p> +Implements <a class="el" href="structNL3D_1_1CPSTexturedParticleNoAnim.html#a2">NL3D::CPSTexturedParticleNoAnim</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8h-source.html#l00063">63</a> of file <a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a>. +<p> +References <a class="el" href="ps__ribbon__look__at_8h-source.html#l00110">_Tex</a>. </td> + </tr> +</table> +<a name="z732_1" doxytag="NL3D::CPSRibbonLookAt::getTexture"></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_1ITexture.html">ITexture</a>* NL3D::CPSRibbonLookAt::getTexture </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> +get the texture used for this particle. +<p> + +<p> +Implements <a class="el" href="structNL3D_1_1CPSTexturedParticleNoAnim.html#a1">NL3D::CPSTexturedParticleNoAnim</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8h-source.html#l00062">62</a> of file <a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a>. +<p> +References <a class="el" href="ps__ribbon__look__at_8h-source.html#l00110">_Tex</a>. </td> + </tr> +</table> +<a name="z734_1" doxytag="NL3D::CPSRibbonLookAt::getVBnPB"></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="structNL3D_1_1CPSRibbonLookAt_1_1CVBnPB.html">CPSRibbonLookAt::CVBnPB</a> & NL3D::CPSRibbonLookAt::getVBnPB </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> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get a vertex buffer and a primitive suited for the current ribbon. +<p> + +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00532">532</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +References <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00052">_ColoredVBMap</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00205">NL3D::CPSColoredParticle::_ColorScheme</a>, <a class="el" href="ps__ribbon__base_8h-source.html#l00127">NL3D::CPSRibbonBase::_UsedNbSegs</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00051">_VBMap</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00578">getNumRibbonsInVB</a>, and <a class="el" href="ps__ribbon__look__at_8h-source.html#l00148">TVBMap</a>. +<p> +Referenced by <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00317">displayRibbons</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CPSRibbonLookAt::hasOpaqueFaces"></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"> bool NL3D::CPSRibbonLookAt::hasOpaqueFaces </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return true if there are Opaque faces in the object. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1CPSParticle.html#a6">NL3D::CPSParticle</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00517">517</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +References <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00510">hasTransparentFaces</a>. +<p> +Referenced by <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00119">step</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CPSRibbonLookAt::hasTransparentFaces"></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"> bool NL3D::CPSRibbonLookAt::hasTransparentFaces </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return true if there are transparent faces in the object. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1CPSParticle.html#a5">NL3D::CPSParticle</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00510">510</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +References <a class="el" href="ps__particle__basic_8cpp-source.html#l00531">NL3D::CPSMaterial::getBlendingMode</a>. +<p> +Referenced by <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00517">hasOpaqueFaces</a>, and <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00119">step</a>. </td> + </tr> +</table> +<a name="z733_3" doxytag="NL3D::CPSRibbonLookAt::isInSystemBasis"></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 bool NL3D::CPSRibbonLookAt::isInSystemBasis </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> +return true if the tails are in the system basis. +<p> + +<p> +Implements <a class="el" href="structNL3D_1_1CPSTailParticle.html#a5">NL3D::CPSTailParticle</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8h-source.html#l00086">86</a> of file <a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a>. </td> + </tr> +</table> +<a name="b0" doxytag="NL3D::CPSRibbonLookAt::newElement"></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::CPSRibbonLookAt::newElement </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> [protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +We support Auto-LOD for ribbons, although there is a built-in LOD (that change the geometry rather than the number of ribbons) that gives better result (both can be used simultaneously). +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSRibbonBase.html#b0">NL3D::CPSRibbonBase</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00159">159</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00210">NL3D::CPSColoredParticle::newColorElement</a>, and <a class="el" href="ps__particle__basic_8h-source.html#l00268">NL3D::CPSSizedParticle::newSizeElement</a>. </td> + </tr> +</table> +<a name="z731_3" doxytag="NL3D::CPSRibbonLookAt::NLMISC_DECLARE_CLASS"></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::CPSRibbonLookAt::NLMISC_DECLARE_CLASS </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CPSRibbonLookAt </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 name="b2" doxytag="NL3D::CPSRibbonLookAt::resize"></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::CPSRibbonLookAt::resize </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> [protected, virtual]</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="classNL3D_1_1CPSLocatedBindable.html">CPSLocatedBindable</a>. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSRibbonBase.html#b2">NL3D::CPSRibbonBase</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00177">177</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +References <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00218">NL3D::CPSColoredParticle::resizeColor</a>, and <a class="el" href="ps__particle__basic_8h-source.html#l00276">NL3D::CPSSizedParticle::resizeSize</a>. </td> + </tr> +</table> +<a name="z731_2" doxytag="NL3D::CPSRibbonLookAt::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" nowrap valign="top"> void NL3D::CPSRibbonLookAt::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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serialisation. Derivers must override this, and call their parent version. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSRibbonBase.html#z728_1">NL3D::CPSRibbonBase</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00066">66</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. </td> + </tr> +</table> +<a name="z733_0" doxytag="NL3D::CPSRibbonLookAt::setColorFading"></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::CPSRibbonLookAt::setColorFading </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>onOff</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> +(de)activate color fading when its done, colors fades to black along the tail. +<p> +NOT SUPPORTED FOR NOW +<p> +Implements <a class="el" href="structNL3D_1_1CPSTailParticle.html#a0">NL3D::CPSTailParticle</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8h-source.html#l00072">72</a> of file <a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a>. </td> + </tr> +</table> +<a name="z733_2" doxytag="NL3D::CPSRibbonLookAt::setSystemBasis"></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::CPSRibbonLookAt::setSystemBasis </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>yes</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> +tells in which basis is the tail It requires one transform per particle if it is not the same as the located that hold that particle The default is false. +<p> +With that you can control if a rotation of the system will rotate the tail +<p> +Implements <a class="el" href="structNL3D_1_1CPSTailParticle.html#a4">NL3D::CPSTailParticle</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8h-source.html#l00083">83</a> of file <a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a>. </td> + </tr> +</table> +<a name="z732_0" doxytag="NL3D::CPSRibbonLookAt::setTexture"></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::CPSRibbonLookAt::setTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CSmartPtr< <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> > </td> + <td class="mdname1" valign="top" nowrap> <em>tex</em> </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> +Version 4 : added <a class="el" href="classNL3D_1_1CPSRibbonBase.html">CPSRibbonBase</a> has a base class instead of <a class="el" href="classNL3D_1_1CPSParticle.html">CPSParticle</a>. +<p> + +<p> +Implements <a class="el" href="structNL3D_1_1CPSTexturedParticleNoAnim.html#a0">NL3D::CPSTexturedParticleNoAnim</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00111">111</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +References <a class="el" href="ps__ribbon__look__at_8h-source.html#l00110">_Tex</a>, and <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00186">updateMatAndVbForColor</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NL3D::CPSRibbonLookAt::step"></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::CPSRibbonLookAt::step </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNL3D.html#a484">TPSProcessPass</a> </td> + <td class="mdname" nowrap> <em>pass</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNL3D.html#a1">TAnimationTime</a> </td> + <td class="mdname" nowrap> <em>ellapsedTime</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNL3D.html#a1">TAnimationTime</a> </td> + <td class="mdname" nowrap> <em>realEt</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> +inherited from <a class="el" href="classNL3D_1_1CPSParticle.html">CPSParticle</a>. +<p> +<dl compact><dt><b> +See also: </b><dd> +_PersistAfterDeath() </dl> +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSParticle.html#a4">NL3D::CPSParticle</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00119">119</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00808">NL3D::CPSMaterial::_Mat</a>, <a class="el" href="ps__located_8h-source.html#l00979">NL3D::CPSLocatedBindable::_Owner</a>, <a class="el" href="ps__ribbon__base_8h-source.html#l00099">NL3D::CPSRibbonBase::_Parametric</a>, <a class="el" href="ps__particle__basic_8cpp-source.html#l00081">NL3D::CPSParticle::computeSrcStep</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00317">displayRibbons</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00517">hasOpaqueFaces</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00510">hasTransparentFaces</a>, <a class="el" href="namespaceNL3D.html#a484a170">NL3D::PSBlendRender</a>, <a class="el" href="namespaceNL3D.html#a484a168">NL3D::PSMotion</a>, <a class="el" href="namespaceNL3D.html#a484a169">NL3D::PSSolidRender</a>, <a class="el" href="namespaceNL3D.html#a484a171">NL3D::PSToolRender</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00119">step</a>, <a class="el" href="animation__time_8h-source.html#l00044">NL3D::TAnimationTime</a>, <a class="el" href="particle__system__process_8h-source.html#l00053">NL3D::TPSProcessPass</a>, and <a class="el" href="ps__ribbon__base_8cpp-source.html#l00139">NL3D::CPSRibbonBase::updateGlobals</a>. +<p> +Referenced by <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00119">step</a>. </td> + </tr> +</table> +<a name="c0" doxytag="NL3D::CPSRibbonLookAt::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"> void NL3D::CPSRibbonLookAt::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> [private, 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 so that they match the color scheme. Inherited from <a class="el" href="classNL3D_1_1CPSColoredParticle.html">CPSColoredParticle</a>. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1CPSColoredParticle.html#b1">NL3D::CPSColoredParticle</a>. +<p> +Definition at line <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00186">186</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +References <a class="el" href="ps__particle__basic_8h-source.html#l00808">NL3D::CPSMaterial::_Mat</a>, and <a class="el" href="ps__ribbon__look__at_8h-source.html#l00110">_Tex</a>. +<p> +Referenced by <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00111">setTexture</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="z734_4" doxytag="NL3D::CPSRibbonLookAt::_ColoredVBMap"></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_1CPSRibbonLookAt.html#z734_0">CPSRibbonLookAt::TVBMap</a> NL3D::CPSRibbonLookAt::_ColoredVBMap<code> [static, 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__ribbon__look__at_8cpp-source.html#l00052">52</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +Referenced by <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00532">getVBnPB</a>. </td> + </tr> +</table> +<a name="n0" doxytag="NL3D::CPSRibbonLookAt::_Tex"></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"> CSmartPtr<<a class="el" href="classNL3D_1_1ITexture.html">ITexture</a>> NL3D::CPSRibbonLookAt::_Tex<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__ribbon__look__at_8h-source.html#l00110">110</a> of file <a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a>. +<p> +Referenced by <a class="el" href="ps__ribbon__look__at_8h-source.html#l00062">getTexture</a>, <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00111">setTexture</a>, and <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00186">updateMatAndVbForColor</a>. </td> + </tr> +</table> +<a name="z734_3" doxytag="NL3D::CPSRibbonLookAt::_VBMap"></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_1CPSRibbonLookAt.html#z734_0">CPSRibbonLookAt::TVBMap</a> NL3D::CPSRibbonLookAt::_VBMap<code> [static, 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__ribbon__look__at_8cpp-source.html#l00051">51</a> of file <a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.cpp</a>. +<p> +Referenced by <a class="el" href="ps__ribbon__look__at_8cpp-source.html#l00532">getVBnPB</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="ps__ribbon__look__at_8h-source.html">ps_ribbon_look_at.h</a><li><a class="el" href="ps__ribbon__look__at_8cpp-source.html">ps_ribbon_look_at.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> |