aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNL3D_1_1CPortal.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNL3D_1_1CPortal.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CPortal.html')
-rw-r--r--docs/doxygen/nel/classNL3D_1_1CPortal.html804
1 files changed, 804 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CPortal.html b/docs/doxygen/nel/classNL3D_1_1CPortal.html
new file mode 100644
index 00000000..daa977f2
--- /dev/null
+++ b/docs/doxygen/nel/classNL3D_1_1CPortal.html
@@ -0,0 +1,804 @@
+<!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>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</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>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</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>
+&nbsp;
+
+<!-- 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>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <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> &nbsp; </center>
+<hr><h1>NL3D::CPortal Class Reference</h1><a class="el" href="classNL3D_1_1CPortal.html">CPortal</a>.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="portal_8h-source.html">portal.h</a>&gt;</code>
+<p>
+<a href="classNL3D_1_1CPortal-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>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a0">CPortal</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a1">clipPyramid</a> (<a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;observer, std::vector&lt; <a class="el" href="classNLMISC_1_1CPlane.html">NLMISC::CPlane</a> &gt; &amp;pyramid)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Clip the view pyramid (all planes pass through observer point) against the portal.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a2">isInFront</a> (<a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;<a class="el" href="driver__opengl__extension__def_8h.html#a368">v</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return true if the vertex v is in front of the portal.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a3">resetClusterLinks</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Accessors --------- set all link to clusters to NULL.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a4">setCluster</a> (<a class="el" href="classNL3D_1_1CCluster.html">CCluster</a> *cluster)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>return false if more than 2 clusters added.</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#a7">uint8</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a5">getNbCluster</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>return the number of clusters linked to the portal.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CCluster.html">CCluster</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a6">getCluster</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> pos)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>return the cluster linked to the portal.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a7">setPoly</a> (const std::vector&lt; <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &gt; &amp;poly)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>return false if the polygon is not convex.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a8">getPoly</a> (std::vector&lt; <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &gt; &amp;dest) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get this cluster poly in local coordinates.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a9">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Serial.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a10">setWorldMatrix</a> (const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &amp;WM)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a11">setName</a> (std::string &amp;name)</td></tr>
+<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a12">getName</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a13">open</a> (bool opened)</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#a14">isOpened</a> ()</td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CCluster.html">CCluster</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#o0">_Clusters</a> [2]</td></tr>
+<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#o1">_Name</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#o2">_Opened</a></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#o3">_LocalPoly</a></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#o4">_Poly</a></td></tr>
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPortal.html#l0">CInstanceGroup</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Friend class.</em> <a href="#l0">More...</a><em></em></font><br><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<a class="el" href="classNL3D_1_1CPortal.html">CPortal</a>.
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Matthieu Besson , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2001 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8h-source.html#l00054">54</a> of file <a class="el" href="portal_8h-source.html">portal.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NL3D::CPortal::CPortal"></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::CPortal::CPortal </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8cpp-source.html#l00046">46</a> of file <a class="el" href="portal_8cpp-source.html">portal.cpp</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00106">_Clusters</a>, and <a class="el" href="portal_8h-source.html#l00109">_Opened</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a1" doxytag="NL3D::CPortal::clipPyramid"></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::CPortal::clipPyramid </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>observer</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>std::vector&lt; <a class="el" href="classNLMISC_1_1CPlane.html">NLMISC::CPlane</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pyramid</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Clip the view pyramid (all planes pass through observer point) against the portal.
+<p>
+<dl compact><dt><b>
+Returns: </b><dd>
+false if the pyramid is completly clipped </dl> </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NL3D::CPortal::getCluster"></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_1CCluster.html">CCluster</a>* NL3D::CPortal::getCluster </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>pos</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return the cluster linked to the portal.
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8h-source.html#l00083">83</a> of file <a class="el" href="portal_8h-source.html">portal.h</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00106">_Clusters</a>. </td>
+ </tr>
+</table>
+<a name="a12" doxytag="NL3D::CPortal::getName"></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::string NL3D::CPortal::getName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8h-source.html#l00099">99</a> of file <a class="el" href="portal_8h-source.html">portal.h</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00108">_Name</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NL3D::CPortal::getNbCluster"></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#a7">uint8</a> NL3D::CPortal::getNbCluster </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return the number of clusters linked to the portal.
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8cpp-source.html#l00124">124</a> of file <a class="el" href="portal_8cpp-source.html">portal.cpp</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00106">_Clusters</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NL3D::CPortal::getPoly"></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::CPortal::getPoly </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::vector&lt; <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>dest</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get this cluster poly in local coordinates.
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8cpp-source.html#l00177">177</a> of file <a class="el" href="portal_8cpp-source.html">portal.cpp</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00111">_LocalPoly</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NL3D::CPortal::isInFront"></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::CPortal::isInFront </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>v</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return true if the vertex v is in front of the portal.
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8cpp-source.html#l00091">91</a> of file <a class="el" href="portal_8cpp-source.html">portal.cpp</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00112">_Poly</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td>
+ </tr>
+</table>
+<a name="a14" doxytag="NL3D::CPortal::isOpened"></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::CPortal::isOpened </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8h-source.html#l00102">102</a> of file <a class="el" href="portal_8h-source.html">portal.h</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00109">_Opened</a>. </td>
+ </tr>
+</table>
+<a name="a13" doxytag="NL3D::CPortal::open"></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::CPortal::open </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>opened</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8h-source.html#l00101">101</a> of file <a class="el" href="portal_8h-source.html">portal.h</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00109">_Opened</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NL3D::CPortal::resetClusterLinks"></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::CPortal::resetClusterLinks </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Accessors --------- set all link to clusters to NULL.
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8cpp-source.html#l00102">102</a> of file <a class="el" href="portal_8cpp-source.html">portal.cpp</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00106">_Clusters</a>. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="NL3D::CPortal::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::CPortal::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>f</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Serial.
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8cpp-source.html#l00184">184</a> of file <a class="el" href="portal_8cpp-source.html">portal.cpp</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00111">_LocalPoly</a>, <a class="el" href="portal_8h-source.html#l00108">_Name</a>, <a class="el" href="portal_8h-source.html#l00112">_Poly</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, <a class="el" href="stream_8h-source.html#l00222">NLMISC::IStream::serial</a>, <a class="el" href="stream_8h-source.html#l00312">NLMISC::IStream::serialCont</a>, and <a class="el" href="stream_8cpp-source.html#l00253">NLMISC::IStream::serialVersion</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NL3D::CPortal::setCluster"></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::CPortal::setCluster </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CCluster.html">CCluster</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>cluster</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return false if more than 2 clusters added.
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8cpp-source.html#l00108">108</a> of file <a class="el" href="portal_8cpp-source.html">portal.cpp</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00106">_Clusters</a>. </td>
+ </tr>
+</table>
+<a name="a11" doxytag="NL3D::CPortal::setName"></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::CPortal::setName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>name</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8h-source.html#l00097">97</a> of file <a class="el" href="portal_8h-source.html">portal.h</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00108">_Name</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NL3D::CPortal::setPoly"></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::CPortal::setPoly </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::vector&lt; <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>poly</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return false if the polygon is not convex.
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8cpp-source.html#l00135">135</a> of file <a class="el" href="portal_8cpp-source.html">portal.cpp</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00111">_LocalPoly</a>, <a class="el" href="portal_8h-source.html#l00112">_Poly</a>, and <a class="el" href="portal_8cpp-source.html#l00043">PORTALPRECISION</a>. </td>
+ </tr>
+</table>
+<a name="a10" doxytag="NL3D::CPortal::setWorldMatrix"></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::CPortal::setWorldMatrix </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>WM</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8cpp-source.html#l00195">195</a> of file <a class="el" href="portal_8cpp-source.html">portal.cpp</a>.
+<p>
+References <a class="el" href="portal_8h-source.html#l00111">_LocalPoly</a>, and <a class="el" href="portal_8h-source.html#l00112">_Poly</a>. </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a name="l0" doxytag="NL3D::CPortal::CInstanceGroup"></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 CInstanceGroup<code> [friend]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Friend class.
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8h-source.html#l00115">115</a> of file <a class="el" href="portal_8h-source.html">portal.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o0" doxytag="NL3D::CPortal::_Clusters"></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_1CCluster.html">CCluster</a>* NL3D::CPortal::_Clusters[2]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8h-source.html#l00106">106</a> of file <a class="el" href="portal_8h-source.html">portal.h</a>.
+<p>
+Referenced by <a class="el" href="portal_8cpp-source.html#l00046">CPortal</a>, <a class="el" href="portal_8h-source.html#l00083">getCluster</a>, <a class="el" href="portal_8cpp-source.html#l00124">getNbCluster</a>, <a class="el" href="portal_8cpp-source.html#l00102">resetClusterLinks</a>, and <a class="el" href="portal_8cpp-source.html#l00108">setCluster</a>. </td>
+ </tr>
+</table>
+<a name="o3" doxytag="NL3D::CPortal::_LocalPoly"></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&lt;<a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&gt; NL3D::CPortal::_LocalPoly<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8h-source.html#l00111">111</a> of file <a class="el" href="portal_8h-source.html">portal.h</a>.
+<p>
+Referenced by <a class="el" href="portal_8cpp-source.html#l00177">getPoly</a>, <a class="el" href="portal_8cpp-source.html#l00184">serial</a>, <a class="el" href="portal_8cpp-source.html#l00135">setPoly</a>, and <a class="el" href="portal_8cpp-source.html#l00195">setWorldMatrix</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NL3D::CPortal::_Name"></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::string NL3D::CPortal::_Name<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8h-source.html#l00108">108</a> of file <a class="el" href="portal_8h-source.html">portal.h</a>.
+<p>
+Referenced by <a class="el" href="portal_8h-source.html#l00099">getName</a>, <a class="el" href="portal_8cpp-source.html#l00184">serial</a>, and <a class="el" href="portal_8h-source.html#l00097">setName</a>. </td>
+ </tr>
+</table>
+<a name="o2" doxytag="NL3D::CPortal::_Opened"></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::CPortal::_Opened<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8h-source.html#l00109">109</a> of file <a class="el" href="portal_8h-source.html">portal.h</a>.
+<p>
+Referenced by <a class="el" href="portal_8cpp-source.html#l00046">CPortal</a>, <a class="el" href="portal_8h-source.html#l00102">isOpened</a>, and <a class="el" href="portal_8h-source.html#l00101">open</a>. </td>
+ </tr>
+</table>
+<a name="o4" doxytag="NL3D::CPortal::_Poly"></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&lt;<a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&gt; NL3D::CPortal::_Poly<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="portal_8h-source.html#l00112">112</a> of file <a class="el" href="portal_8h-source.html">portal.h</a>.
+<p>
+Referenced by <a class="el" href="portal_8cpp-source.html#l00091">isInFront</a>, <a class="el" href="portal_8cpp-source.html#l00184">serial</a>, <a class="el" href="portal_8cpp-source.html#l00135">setPoly</a>, and <a class="el" href="portal_8cpp-source.html#l00195">setWorldMatrix</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="portal_8h-source.html">portal.h</a><li><a class="el" href="portal_8cpp-source.html">portal.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </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>