diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CPSFace.html | 780 |
1 files changed, 780 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CPSFace.html b/docs/doxygen/nel/classNL3D_1_1CPSFace.html new file mode 100644 index 00000000..4695d4e8 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CPSFace.html @@ -0,0 +1,780 @@ +<!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::CPSFace Class Reference</h1>A face particle Unlike FaceLookAt, these particle can have an orientation in space. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="ps__face_8h-source.html">ps_face.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSFace: +<p><center><img src="classNL3D_1_1CPSFace.gif" usemap="#NL3D::CPSFace_map" border="0"></center> +<map name="NL3D::CPSFace_map"> +<area href="classNL3D_1_1CPSQuad.html" alt="NL3D::CPSQuad" shape="rect" coords="592,224,819,248"> +<area href="classNL3D_1_1CPSRotated3DPlaneParticle.html" alt="NL3D::CPSRotated3DPlaneParticle" shape="rect" coords="829,224,1056,248"> +<area href="structNL3D_1_1CPSHintParticleRotateTheSame.html" alt="NL3D::CPSHintParticleRotateTheSame" shape="rect" coords="1066,224,1293,248"> +<area href="classNL3D_1_1CPSParticle.html" alt="NL3D::CPSParticle" shape="rect" coords="0,168,227,192"> +<area href="classNL3D_1_1CPSColoredParticle.html" alt="NL3D::CPSColoredParticle" shape="rect" coords="237,168,464,192"> +<area href="classNL3D_1_1CPSTexturedParticle.html" alt="NL3D::CPSTexturedParticle" shape="rect" coords="474,168,701,192"> +<area href="classNL3D_1_1CPSMultiTexturedParticle.html" alt="NL3D::CPSMultiTexturedParticle" shape="rect" coords="711,168,938,192"> +<area href="classNL3D_1_1CPSSizedParticle.html" alt="NL3D::CPSSizedParticle" shape="rect" coords="948,168,1175,192"> +<area href="classNL3D_1_1CPSMaterial.html" alt="NL3D::CPSMaterial" shape="rect" coords="1185,168,1412,192"> +<area href="classNL3D_1_1CPSLocatedBindable.html" alt="NL3D::CPSLocatedBindable" shape="rect" coords="0,112,227,136"> +<area href="classNLMISC_1_1IStreamable.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,227,80"> +<area href="classNLMISC_1_1IClassable.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,227,24"> +</map> +<a href="classNL3D_1_1CPSFace-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> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFace.html#a0">CPSFace</a> (CSmartPtr< <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> > tex=NULL)</td></tr> +<tr><td> </td><td><font size=-1><em>======================================================================================.</em> <a href="#a0">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_1CPSFace.html#a1">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>======================================================================================.</em> <a href="#a1">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_1CPSFace.html#a2">NLMISC_DECLARE_CLASS</a> (CPSFace)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFace.html#a3">hintRotateTheSame</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> nbConfiguration, float minAngularVelocity=<a class="el" href="namespaceNLMISC.html#a7">NLMISC::Pi</a>, float maxAngularVelocity=<a class="el" href="namespaceNLMISC.html#a7">NLMISC::Pi</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>======================================================================================.</em> <a href="#a3">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_1CPSFace.html#a4">disableHintRotateTheSame</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>disable the hint 'hintRotateTheSame' The previous set scheme for roation is used.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFace.html#a5">checkHintRotateTheSame</a> (float &min, float &max) const</td></tr> +<tr><td> </td><td><font size=-1><em>check wether a call to hintRotateTheSame was performed.</em> <a href="#a5">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_1CPSFace.html#b0">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> realEllapsedTime)</td></tr> +<tr><td> </td><td><font size=-1><em>======================================================================================.</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_1CPSFace.html#b1">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>======================================================================================.</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_1CPSFace.html#b2">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>======================================================================================.</em> <a href="#b2">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_1CPSFace.html#b3">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>======================================================================================.</em> <a href="#b3">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_1CPSFace.html#b4">fillIndexesInPrecompBasis</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>======================================================================================.</em> <a href="#b4">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_1CPSFace.html#b5">getPlaneBasisOwner</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>if this is false, constant size will be used instead of a scheme deriver must return their owner there.</em> <a href="#b5">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>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFace.html#n0">_MinAngularVelocity</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFace.html#n1">_MaxAngularVelocity</a></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="structNL3D_1_1CPSFace_1_1CPlaneBasisPair.html">CPlaneBasisPair</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFace.html#n2">_PrecompBasis</a></td></tr> +<tr><td> </td><td><font size=-1><em>a set of precomp basis, before and after transfomation in world space, used if the hint 'RotateTheSame' has been called.</em> <a href="#n2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="memory__common_8h.html#a11">uint32</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFace.html#n3">_IndexInPrecompBasis</a></td></tr> +<tr><td> </td><td><font size=-1><em>this contain an index in _PrecompBasis for each particle.</em> <a href="#n3">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classNL3D_1_1CPSFace.html#l0">CPSFaceHelper</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A face particle Unlike FaceLookAt, these particle can have an orientation in space. +<p> +They are drawn with an angle bias of 45° in their local basis (for optimisation purpose) +<p> +^ y | 0 / \ / \ 3 1--> x \ / \ / 2 If all particle must rotate the same, but with a rotattionnal bias, a hint can be provided, so that there are batch of particle that share the same orientation. The users must give the number of various phase This is the fastest. Other cases need an attribute maker that produce a couple of vectors , giving the x & y direction of the local basis (plane particle) +<p> + +<p> +Definition at line <a class="el" href="ps__face_8h-source.html#l00060">60</a> of file <a class="el" href="ps__face_8h-source.html">ps_face.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NL3D::CPSFace::CPSFace"></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::CPSFace::CPSFace </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> = NULL </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> +======================================================================================. +<p> + +<p> +Definition at line <a class="el" href="ps__face_8cpp-source.html#l00205">205</a> of file <a class="el" href="ps__face_8cpp-source.html">ps_face.cpp</a>. +<p> +References <a class="el" href="ps__located_8h-source.html#l00984">NL3D::CPSLocatedBindable::_Name</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a5" doxytag="NL3D::CPSFace::checkHintRotateTheSame"></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::CPSFace::checkHintRotateTheSame </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float & </td> + <td class="mdname" nowrap> <em>min</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>max</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +check wether a call to hintRotateTheSame was performed. +<p> +<dl compact><dt><b> +Returns: </b><dd> +0 if the hint is disabled, the number of configurations else </dl><dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CPSFace.html#a3">hintRotateTheSame</a>(), CPSRotated3dPlaneParticle </dl> +<p> +Implements <a class="el" href="structNL3D_1_1CPSHintParticleRotateTheSame.html#a2">NL3D::CPSHintParticleRotateTheSame</a>. +<p> +Definition at line <a class="el" href="ps__face_8h-source.html#l00101">101</a> of file <a class="el" href="ps__face_8h-source.html">ps_face.h</a>. +<p> +References <a class="el" href="ps__face_8h-source.html#l00123">_MaxAngularVelocity</a>, <a class="el" href="ps__face_8h-source.html#l00122">_MinAngularVelocity</a>, <a class="el" href="ps__face_8h-source.html#l00132">_PrecompBasis</a>, and <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>. </td> + </tr> +</table> +<a name="b2" doxytag="NL3D::CPSFace::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::CPSFace::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> +======================================================================================. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSQuad.html#b6">NL3D::CPSQuad</a>. +<p> +Definition at line <a class="el" href="ps__face_8cpp-source.html#l00379">379</a> of file <a class="el" href="ps__face_8cpp-source.html">ps_face.cpp</a>. +<p> +References <a class="el" href="ps__face_8h-source.html#l00135">_IndexInPrecompBasis</a>, <a class="el" href="ps__located_8h-source.html#l00979">NL3D::CPSLocatedBindable::_Owner</a>, <a class="el" href="ps__face_8h-source.html#l00132">_PrecompBasis</a>, <a class="el" href="ps__particle__basic_8h-source.html#l00674">NL3D::CPSRotated3DPlaneParticle::deletePlaneBasisElement</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CPSFace::disableHintRotateTheSame"></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::CPSFace::disableHintRotateTheSame </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> +disable the hint 'hintRotateTheSame' The previous set scheme for roation is used. +<p> +<dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CPSFace.html#a3">hintRotateTheSame</a>(), CPSRotated3dPlaneParticle </dl> +<p> +Implements <a class="el" href="structNL3D_1_1CPSHintParticleRotateTheSame.html#a1">NL3D::CPSHintParticleRotateTheSame</a>. +<p> +Definition at line <a class="el" href="ps__face_8h-source.html#l00091">91</a> of file <a class="el" href="ps__face_8h-source.html">ps_face.h</a>. +<p> +References <a class="el" href="ps__face_8cpp-source.html#l00327">hintRotateTheSame</a>. </td> + </tr> +</table> +<a name="b4" doxytag="NL3D::CPSFace::fillIndexesInPrecompBasis"></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::CPSFace::fillIndexesInPrecompBasis </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +======================================================================================. +<p> + +<p> +Definition at line <a class="el" href="ps__face_8cpp-source.html#l00353">353</a> of file <a class="el" href="ps__face_8cpp-source.html">ps_face.cpp</a>. +<p> +References <a class="el" href="ps__face_8h-source.html#l00135">_IndexInPrecompBasis</a>, <a class="el" href="ps__located_8h-source.html#l00979">NL3D::CPSLocatedBindable::_Owner</a>, and <a class="el" href="ps__face_8h-source.html#l00132">_PrecompBasis</a>. +<p> +Referenced by <a class="el" href="ps__face_8cpp-source.html#l00327">hintRotateTheSame</a>. </td> + </tr> +</table> +<a name="b5" doxytag="NL3D::CPSFace::getPlaneBasisOwner"></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::CPSFace::getPlaneBasisOwner </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> +if this is false, constant size will be used instead of a scheme deriver must return their owner there. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1CPSRotated3DPlaneParticle.html#b0">NL3D::CPSRotated3DPlaneParticle</a>. +<p> +Definition at line <a class="el" href="ps__face_8h-source.html#l00119">119</a> of file <a class="el" href="ps__face_8h-source.html">ps_face.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::CPSFace::hintRotateTheSame"></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::CPSFace::hintRotateTheSame </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>nbConfiguration</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>minAngularVelocity</em> = <a class="el" href="namespaceNLMISC.html#a7">NLMISC::Pi</a>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>maxAngularVelocity</em> = <a class="el" href="namespaceNLMISC.html#a7">NLMISC::Pi</a></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> +======================================================================================. +<p> +Any previous set scheme for 3d rotation is kept. <dl compact><dt><b> +am: the number of rotation configuration we have. The more high it is, the slower it'll be</b><dd> + If this is too low, a lot of particles will have the same orientation If it is 0, then the hint is disabled </dl><dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>minAngularVelocity</em> </td><td> +: the maximum angular velocity for particle rotation </td></tr> +<tr><td valign=top><em>maxAngularVelocity</em> </td><td> +: the maximum angular velocity for particle rotation </td></tr> +</table> +</dl><dl compact><dt><b> +See also: </b><dd> +CPSRotated3dPlaneParticle </dl> +<p> +Implements <a class="el" href="structNL3D_1_1CPSHintParticleRotateTheSame.html#a0">NL3D::CPSHintParticleRotateTheSame</a>. +<p> +Definition at line <a class="el" href="ps__face_8cpp-source.html#l00327">327</a> of file <a class="el" href="ps__face_8cpp-source.html">ps_face.cpp</a>. +<p> +References <a class="el" href="ps__face_8h-source.html#l00123">_MaxAngularVelocity</a>, <a class="el" href="ps__face_8h-source.html#l00122">_MinAngularVelocity</a>, <a class="el" href="ps__face_8h-source.html#l00132">_PrecompBasis</a>, <a class="el" href="ps__face_8cpp-source.html#l00353">fillIndexesInPrecompBasis</a>, <a class="el" href="ps__face_8cpp-source.html#l00316">NL3D::MakeRandomUnitVect</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. +<p> +Referenced by <a class="el" href="ps__face_8h-source.html#l00091">disableHintRotateTheSame</a>. </td> + </tr> +</table> +<a name="b1" doxytag="NL3D::CPSFace::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::CPSFace::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> +======================================================================================. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSQuad.html#b5">NL3D::CPSQuad</a>. +<p> +Definition at line <a class="el" href="ps__face_8cpp-source.html#l00367">367</a> of file <a class="el" href="ps__face_8cpp-source.html">ps_face.cpp</a>. +<p> +References <a class="el" href="ps__face_8h-source.html#l00135">_IndexInPrecompBasis</a>, <a class="el" href="ps__located_8h-source.html#l00979">NL3D::CPSLocatedBindable::_Owner</a>, <a class="el" href="ps__face_8h-source.html#l00132">_PrecompBasis</a>, and <a class="el" href="ps__particle__basic_8h-source.html#l00670">NL3D::CPSRotated3DPlaneParticle::newPlaneBasisElement</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CPSFace::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::CPSFace::NLMISC_DECLARE_CLASS </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CPSFace </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="b3" doxytag="NL3D::CPSFace::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::CPSFace::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> +======================================================================================. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSQuad.html#b7">NL3D::CPSQuad</a>. +<p> +Definition at line <a class="el" href="ps__face_8cpp-source.html#l00391">391</a> of file <a class="el" href="ps__face_8cpp-source.html">ps_face.cpp</a>. +<p> +References <a class="el" href="ps__face_8h-source.html#l00135">_IndexInPrecompBasis</a>, <a class="el" href="ps__face_8h-source.html#l00132">_PrecompBasis</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="ps__particle__basic_8h-source.html#l00678">NL3D::CPSRotated3DPlaneParticle::resizePlaneBasis</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CPSFace::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::CPSFace::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> +======================================================================================. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSQuad.html#b10">NL3D::CPSQuad</a>. +<p> +Definition at line <a class="el" href="ps__face_8cpp-source.html#l00284">284</a> of file <a class="el" href="ps__face_8cpp-source.html">ps_face.cpp</a>. </td> + </tr> +</table> +<a name="b0" doxytag="NL3D::CPSFace::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::CPSFace::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>realEllapsedTime</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> +======================================================================================. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CPSParticle.html#a4">NL3D::CPSParticle</a>. +<p> +Definition at line <a class="el" href="ps__face_8cpp-source.html#l00211">211</a> of file <a class="el" href="ps__face_8cpp-source.html">ps_face.cpp</a>. +<p> +References <a class="el" href="ps__face_8h-source.html#l00135">_IndexInPrecompBasis</a>, <a class="el" href="ps__located_8h-source.html#l00979">NL3D::CPSLocatedBindable::_Owner</a>, <a class="el" href="ps__face_8h-source.html#l00132">_PrecompBasis</a>, <a class="el" href="ps__particle__basic_8cpp-source.html#l00081">NL3D::CPSParticle::computeSrcStep</a>, <a class="el" href="ps__quad_8cpp-source.html#l00227">NL3D::CPSQuad::hasOpaqueFaces</a>, <a class="el" href="ps__quad_8cpp-source.html#l00221">NL3D::CPSQuad::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__particle__basic_8cpp-source.html#l00054">NL3D::CPSParticle::showTool</a>, <a class="el" href="ps__face_8cpp-source.html#l00211">step</a>, <a class="el" href="animation__time_8h-source.html#l00044">NL3D::TAnimationTime</a>, <a class="el" href="ps__iterator_8h-source.html#l00149">NL3D::TIteratorVectStep1616</a>, and <a class="el" href="particle__system__process_8h-source.html#l00053">NL3D::TPSProcessPass</a>. +<p> +Referenced by <a class="el" href="ps__face_8cpp-source.html#l00211">step</a>. </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a name="l0" doxytag="NL3D::CPSFace::CPSFaceHelper"></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"> friend class CPSFaceHelper<code> [friend]</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__face_8h-source.html#l00111">111</a> of file <a class="el" href="ps__face_8h-source.html">ps_face.h</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="n3" doxytag="NL3D::CPSFace::_IndexInPrecompBasis"></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"> std::vector<<a class="el" href="memory__common_8h.html#a11">uint32</a>> NL3D::CPSFace::_IndexInPrecompBasis<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +this contain an index in _PrecompBasis for each particle. +<p> + +<p> +Definition at line <a class="el" href="ps__face_8h-source.html#l00135">135</a> of file <a class="el" href="ps__face_8h-source.html">ps_face.h</a>. +<p> +Referenced by <a class="el" href="ps__face_8cpp-source.html#l00379">deleteElement</a>, <a class="el" href="ps__face_8cpp-source.html#l00353">fillIndexesInPrecompBasis</a>, <a class="el" href="ps__face_8cpp-source.html#l00367">newElement</a>, <a class="el" href="ps__face_8cpp-source.html#l00391">resize</a>, and <a class="el" href="ps__face_8cpp-source.html#l00211">step</a>. </td> + </tr> +</table> +<a name="n1" doxytag="NL3D::CPSFace::_MaxAngularVelocity"></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"> float NL3D::CPSFace::_MaxAngularVelocity<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__face_8h-source.html#l00123">123</a> of file <a class="el" href="ps__face_8h-source.html">ps_face.h</a>. +<p> +Referenced by <a class="el" href="ps__face_8h-source.html#l00101">checkHintRotateTheSame</a>, and <a class="el" href="ps__face_8cpp-source.html#l00327">hintRotateTheSame</a>. </td> + </tr> +</table> +<a name="n0" doxytag="NL3D::CPSFace::_MinAngularVelocity"></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"> float NL3D::CPSFace::_MinAngularVelocity<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__face_8h-source.html#l00122">122</a> of file <a class="el" href="ps__face_8h-source.html">ps_face.h</a>. +<p> +Referenced by <a class="el" href="ps__face_8h-source.html#l00101">checkHintRotateTheSame</a>, and <a class="el" href="ps__face_8cpp-source.html#l00327">hintRotateTheSame</a>. </td> + </tr> +</table> +<a name="n2" doxytag="NL3D::CPSFace::_PrecompBasis"></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"> std::vector< <a class="el" href="structNL3D_1_1CPSFace_1_1CPlaneBasisPair.html">CPlaneBasisPair</a> > NL3D::CPSFace::_PrecompBasis<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +a set of precomp basis, before and after transfomation in world space, used if the hint 'RotateTheSame' has been called. +<p> + +<p> +Definition at line <a class="el" href="ps__face_8h-source.html#l00132">132</a> of file <a class="el" href="ps__face_8h-source.html">ps_face.h</a>. +<p> +Referenced by <a class="el" href="ps__face_8h-source.html#l00101">checkHintRotateTheSame</a>, <a class="el" href="ps__face_8cpp-source.html#l00379">deleteElement</a>, <a class="el" href="ps__face_8cpp-source.html#l00353">fillIndexesInPrecompBasis</a>, <a class="el" href="ps__face_8cpp-source.html#l00327">hintRotateTheSame</a>, <a class="el" href="ps__face_8cpp-source.html#l00367">newElement</a>, <a class="el" href="ps__face_8cpp-source.html#l00391">resize</a>, and <a class="el" href="ps__face_8cpp-source.html#l00211">step</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="ps__face_8h-source.html">ps_face.h</a><li><a class="el" href="ps__face_8cpp-source.html">ps_face.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> |