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/structNL3D_1_1CPatchInfo.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/structNL3D_1_1CPatchInfo.html')
-rw-r--r-- | docs/doxygen/nel/structNL3D_1_1CPatchInfo.html | 1053 |
1 files changed, 1053 insertions, 0 deletions
diff --git a/docs/doxygen/nel/structNL3D_1_1CPatchInfo.html b/docs/doxygen/nel/structNL3D_1_1CPatchInfo.html new file mode 100644 index 00000000..6df9a71c --- /dev/null +++ b/docs/doxygen/nel/structNL3D_1_1CPatchInfo.html @@ -0,0 +1,1053 @@ +<!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::CPatchInfo Struct Reference</h1>The struct for building a patch. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="src_23d_2zone_8h-source.html">zone.h</a>></code> +<p> +<a href="structNL3D_1_1CPatchInfo-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Patch geometry.</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z919_0">setCornerSmoothFlag</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> corner, bool smooth)</td></tr> +<tr><td> </td><td><font size=-1><em>setup NoiseSmooth flags: used for Noise geometry and lighting. NB: convention: corner0==A, corner1==B ...</em> <a href="#z919_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z919_1">getCornerSmoothFlag</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> corner) const</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CBezierPatch.html">CBezierPatch</a> </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z919_2">Patch</a></td></tr> +<tr><td> </td><td><font size=-1><em>The patch coordinates.</em> <a href="#z919_2">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> </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z919_3">OrderS</a></td></tr> +<tr><td> </td><td><font size=-1><em>Tile Order for the patch.</em> <a href="#z919_3">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> </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z919_4">OrderT</a></td></tr> +<tr><td> </td><td><font size=-1><em>Tile Order for the patch.</em> <a href="#z919_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z919_5">ErrorSize</a></td></tr> +<tr><td> </td><td><font size=-1><em>The Base Size*bumpiness of the patch (/2 at each subdivide). Set to 0, if you want <a class="el" href="classNL3D_1_1CZone.html">CZone</a> to compute it for you.</em> <a href="#z919_5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z919_6">BaseVertices</a> [4]</td></tr> +<tr><td> </td><td><font size=-1><em>The base corner vertices indices in the current zone. Used for patch connectivity.</em> <a href="#z919_6">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> </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z919_7">Flags</a></td></tr> +<tr><td> </td><td><font size=-1><em>"The don't smooth" flags.</em> <a href="#z919_7">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> </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z919_8">NoiseRotation</a></td></tr> +<tr><td> </td><td><font size=-1><em>The orientation of the NoiseMap. 0,1,2,3. This represent a CCW rotation of the NoiseMap.</em> <a href="#z919_8">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#a0">setSmoothFlag</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> edge, bool flag)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the smooth flag for the n-th edge.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#a1">getSmoothFlag</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> edge)</td></tr> +<tr><td> </td><td><font size=-1><em>Get the smooth flag for the n-th edge.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#a2">getNeighborTile</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> patchId, <a class="el" href="memory__common_8h.html#a15">uint</a> edge, <a class="el" href="memory__common_8h.html#a14">sint</a> position, <a class="el" href="memory__common_8h.html#a15">uint</a> &patchOut, <a class="el" href="memory__common_8h.html#a14">sint</a> &sOut, <a class="el" href="memory__common_8h.html#a14">sint</a> &tOut, const std::vector< CPatchInfo > &patchInfos) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get neighbor tile across a edge.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#a3">CPatchInfo</a> ()</td></tr> +<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#d0">transform</a> (std::vector< CPatchInfo > &patchInfo, <a class="el" href="classNL3D_1_1CZoneSymmetrisation.html">NL3D::CZoneSymmetrisation</a> &zoneSymmetry, const <a class="el" href="classNL3D_1_1CTileBank.html">NL3D::CTileBank</a> &bank, bool symmetry, <a class="el" href="memory__common_8h.html#a15">uint</a> rotate, float snapCell, float weldThreshold, const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &toOriginalSpace)</td></tr> +<tr><td> </td><td><font size=-1><em>Adjusts a <a class="el" href="structNL3D_1_1CPatchInfo.html">CPatchInfo</a> array to get a symmetrized / rotated zone with matching oriented tiles.</em> <a href="#d0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#d1">getTileSymmetryRotate</a> (const <a class="el" href="classNL3D_1_1CTileBank.html">NL3D::CTileBank</a> &bank, <a class="el" href="memory__common_8h.html#a15">uint</a> tile, bool &symmetry, <a class="el" href="memory__common_8h.html#a15">uint</a> &rotate)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#d2">transformTile</a> (const <a class="el" href="classNL3D_1_1CTileBank.html">NL3D::CTileBank</a> &bank, <a class="el" href="memory__common_8h.html#a15">uint</a> &tile, <a class="el" href="memory__common_8h.html#a15">uint</a> &tileRotation, bool symmetry, <a class="el" href="memory__common_8h.html#a15">uint</a> rotate, bool goofy)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#d3">transform256Case</a> (const <a class="el" href="classNL3D_1_1CTileBank.html">NL3D::CTileBank</a> &bank, <a class="el" href="memory__common_8h.html#a7">uint8</a> &case256, <a class="el" href="memory__common_8h.html#a15">uint</a> tileRotation, bool symmetry, <a class="el" href="memory__common_8h.html#a15">uint</a> rotate, bool goofy)</td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Patch texture.</div></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="classNL3D_1_1CTileElement.html">CTileElement</a> > </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z920_0">Tiles</a></td></tr> +<tr><td> </td><td><font size=-1><em>The Tiles for this patch.</em> <a href="#z920_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="classNL3D_1_1CTileColor.html">CTileColor</a> > </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z920_1">TileColors</a></td></tr> +<tr><td> </td><td><font size=-1><em>The Tile colors for this patch.</em> <a href="#z920_1">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#a7">uint8</a> > </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z920_2">Lumels</a></td></tr> +<tr><td> </td><td><font size=-1><em>The Tile lumels for this patch.</em> <a href="#z920_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="classNL3D_1_1CTileLightInfluence.html">CTileLightInfluence</a> > </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z920_3">TileLightInfluences</a></td></tr> +<tr><td> </td><td><font size=-1><em>There is (OrderS/2+1) * (OrderT/2+1) tiles light influence.</em> <a href="#z920_3">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Patch Binding.</div></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="structNL3D_1_1CPatchInfo_1_1CBindInfo.html">CBindInfo</a> </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#z921_0">BindEdges</a> [4]</td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="structNL3D_1_1CPatchInfo.html#o0">_CornerSmoothFlag</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +The struct for building a patch. +<p> +NB: Different from the one which is stored. <dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2000 </dl> +<p> + +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00085">85</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a3" doxytag="NL3D::CPatchInfo::CPatchInfo"></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::CPatchInfo::CPatchInfo </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00240">240</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. +<p> +References <a class="el" href="src_23d_2zone_8h-source.html#l00250">_CornerSmoothFlag</a>, <a class="el" href="src_23d_2zone_8h-source.html#l00123">ErrorSize</a>, and <a class="el" href="src_23d_2zone_8h-source.html#l00133">NoiseRotation</a>. +<p> +Referenced by <a class="el" href="3d_2zone_8cpp-source.html#l01669">transform</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="z919_1" doxytag="NL3D::CPatchInfo::getCornerSmoothFlag"></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::CPatchInfo::getCornerSmoothFlag </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>corner</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="3d_2zone_8cpp-source.html#l00066">66</a> of file <a class="el" href="3d_2zone_8cpp-source.html">3d/zone.cpp</a>. +<p> +References <a class="el" href="src_23d_2zone_8h-source.html#l00250">_CornerSmoothFlag</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CPatchInfo::getNeighborTile"></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::CPatchInfo::getNeighborTile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>patchId</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>edge</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a> </td> + <td class="mdname" nowrap> <em>position</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> & </td> + <td class="mdname" nowrap> <em>patchOut</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a> & </td> + <td class="mdname" nowrap> <em>sOut</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a> & </td> + <td class="mdname" nowrap> <em>tOut</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const std::vector< CPatchInfo > & </td> + <td class="mdname" nowrap> <em>patchInfos</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get neighbor tile across a edge. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>patchid</em> </td><td> +is the id of this patch </td></tr> +<tr><td valign=top><em>edge</em> </td><td> +is the edge shared with the neigbor </td></tr> +<tr><td valign=top><em>position</em> </td><td> +is the position over the edge in CCW across the patch. So if edge == 0, position is oriented like OT So if edge == 1, position is oriented like OS So if edge == 2, position is oriented like -OT So if edge == 3, position is oriented like -OS </td></tr> +<tr><td valign=top><em>patchOut</em> </td><td> +will be filled with the output patch id </td></tr> +<tr><td valign=top><em>sOut</em> </td><td> +will be filled with the output patch s coordinate </td></tr> +<tr><td valign=top><em>tOut</em> </td><td> +will be filled with the output patch t coordinate </td></tr> +<tr><td valign=top><em>patchInfos</em> </td><td> +is the vector of all patch info </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +false if no neighbor has been found or tile ratio is not the same than in this patch. </dl> </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CPatchInfo::getSmoothFlag"></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::CPatchInfo::getSmoothFlag </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>edge</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the smooth flag for the n-th edge. +<p> +Return false if this edge must by smoothed, true else. +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00191">191</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. +<p> +References <a class="el" href="src_23d_2zone_8h-source.html#l00129">Flags</a>. </td> + </tr> +</table> +<a name="d1" doxytag="NL3D::CPatchInfo::getTileSymmetryRotate"></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::CPatchInfo::getTileSymmetryRotate </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNL3D_1_1CTileBank.html">NL3D::CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>tile</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>symmetry</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> & </td> + <td class="mdname" nowrap> <em>rotate</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="3d_2zone_8cpp-source.html#l01517">1517</a> of file <a class="el" href="3d_2zone_8cpp-source.html">3d/zone.cpp</a>. +<p> +References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00241">type</a>. +<p> +Referenced by <a class="el" href="3d_2zone_8cpp-source.html#l01669">transform</a>. </td> + </tr> +</table> +<a name="z919_0" doxytag="NL3D::CPatchInfo::setCornerSmoothFlag"></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::CPatchInfo::setCornerSmoothFlag </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>corner</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>smooth</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup NoiseSmooth flags: used for Noise geometry and lighting. NB: convention: corner0==A, corner1==B ... +<p> + +<p> +Definition at line <a class="el" href="3d_2zone_8cpp-source.html#l00055">55</a> of file <a class="el" href="3d_2zone_8cpp-source.html">3d/zone.cpp</a>. +<p> +References <a class="el" href="src_23d_2zone_8h-source.html#l00250">_CornerSmoothFlag</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NL3D::CPatchInfo::setSmoothFlag"></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::CPatchInfo::setSmoothFlag </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>edge</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>flag</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the smooth flag for the n-th edge. +<p> +flag is false if this edge must by smoothed, true else. +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00179">179</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. +<p> +References <a class="el" href="src_23d_2zone_8h-source.html#l00129">Flags</a>. </td> + </tr> +</table> +<a name="d0" doxytag="NL3D::CPatchInfo::transform"></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::CPatchInfo::transform </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< CPatchInfo > & </td> + <td class="mdname" nowrap> <em>patchInfo</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CZoneSymmetrisation.html">NL3D::CZoneSymmetrisation</a> & </td> + <td class="mdname" nowrap> <em>zoneSymmetry</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNL3D_1_1CTileBank.html">NL3D::CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>symmetry</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>rotate</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>snapCell</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>weldThreshold</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> & </td> + <td class="mdname" nowrap> <em>toOriginalSpace</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Adjusts a <a class="el" href="structNL3D_1_1CPatchInfo.html">CPatchInfo</a> array to get a symmetrized / rotated zone with matching oriented tiles. +<p> +This method only adjuste tile and vertex color array, does'nt transform vertices. +<p> +Transform an array of patchInfo by a symmetry on OY axis followed by a 90° CCW rotation (0, 1, 2, 3). +<p> +The method doesn't transform vertices. If symmetry, the method invert 0-3 and 1-2 vertices indexes to get CCW oriented patches. It will fix bind informations. The method fixes tile and color vertex arrays. The method fixes tile rotation, 256 cases and tile transistions. +<p> +Return false if something wrong. +<p> +Definition at line <a class="el" href="3d_2zone_8cpp-source.html#l01669">1669</a> of file <a class="el" href="3d_2zone_8cpp-source.html">3d/zone.cpp</a>. +<p> +References <a class="el" href="zone__symmetrisation_8cpp-source.html#l00186">NL3D::CZoneSymmetrisation::build</a>, <a class="el" href="src_23d_2zone_8h-source.html#l00240">CPatchInfo</a>, <a class="el" href="zone__symmetrisation_8cpp-source.html#l00057">NL3D::CZoneSymmetrisation::getTileState</a>, <a class="el" href="3d_2zone_8cpp-source.html#l01517">getTileSymmetryRotate</a>, <a class="el" href="opcode__register_8cpp-source.html#l00036">NLAISCRIPT::l</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, <a class="el" href="3d_2zone_8cpp-source.html#l01643">transform256Case</a>, <a class="el" href="3d_2zone_8cpp-source.html#l01552">transformTile</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td> + </tr> +</table> +<a name="d3" doxytag="NL3D::CPatchInfo::transform256Case"></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::CPatchInfo::transform256Case </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNL3D_1_1CTileBank.html">NL3D::CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> & </td> + <td class="mdname" nowrap> <em>case256</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>tileRotation</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>symmetry</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>rotate</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>goofy</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="3d_2zone_8cpp-source.html#l01643">1643</a> of file <a class="el" href="3d_2zone_8cpp-source.html">3d/zone.cpp</a>. +<p> +Referenced by <a class="el" href="3d_2zone_8cpp-source.html#l01669">transform</a>. </td> + </tr> +</table> +<a name="d2" doxytag="NL3D::CPatchInfo::transformTile"></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::CPatchInfo::transformTile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNL3D_1_1CTileBank.html">NL3D::CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> & </td> + <td class="mdname" nowrap> <em>tile</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> & </td> + <td class="mdname" nowrap> <em>tileRotation</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>symmetry</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>rotate</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>goofy</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="3d_2zone_8cpp-source.html#l01552">1552</a> of file <a class="el" href="3d_2zone_8cpp-source.html">3d/zone.cpp</a>. +<p> +References <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00241">type</a>. +<p> +Referenced by <a class="el" href="3d_2zone_8cpp-source.html#l01669">transform</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o0" doxytag="NL3D::CPatchInfo::_CornerSmoothFlag"></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::CPatchInfo::_CornerSmoothFlag<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="src_23d_2zone_8h-source.html#l00250">250</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. +<p> +Referenced by <a class="el" href="src_23d_2zone_8h-source.html#l00240">CPatchInfo</a>, <a class="el" href="3d_2zone_8cpp-source.html#l00066">getCornerSmoothFlag</a>, and <a class="el" href="3d_2zone_8cpp-source.html#l00055">setCornerSmoothFlag</a>. </td> + </tr> +</table> +<a name="z919_6" doxytag="NL3D::CPatchInfo::BaseVertices"></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#a9">uint16</a> NL3D::CPatchInfo::BaseVertices[4] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The base corner vertices indices in the current zone. Used for patch connectivity. +<p> + +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00125">125</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. </td> + </tr> +</table> +<a name="z921_0" doxytag="NL3D::CPatchInfo::BindEdges"></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_1CPatchInfo_1_1CBindInfo.html">CBindInfo</a> NL3D::CPatchInfo::BindEdges[4] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00235">235</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. </td> + </tr> +</table> +<a name="z919_5" doxytag="NL3D::CPatchInfo::ErrorSize"></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::CPatchInfo::ErrorSize + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The Base Size*bumpiness of the patch (/2 at each subdivide). Set to 0, if you want <a class="el" href="classNL3D_1_1CZone.html">CZone</a> to compute it for you. +<p> + +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00123">123</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. +<p> +Referenced by <a class="el" href="src_23d_2zone_8h-source.html#l00240">CPatchInfo</a>. </td> + </tr> +</table> +<a name="z919_7" doxytag="NL3D::CPatchInfo::Flags"></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::CPatchInfo::Flags + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +"The don't smooth" flags. +<p> +For each edge of the patch (0~3), the flag means that this patch mustn't be smoothed with its neightbor. The n-th edge links the vertices "n" and "(n+1)%4". The flag for the n-th edge is (1<<n). +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00129">129</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. +<p> +Referenced by <a class="el" href="src_23d_2zone_8h-source.html#l00191">getSmoothFlag</a>, and <a class="el" href="src_23d_2zone_8h-source.html#l00179">setSmoothFlag</a>. </td> + </tr> +</table> +<a name="z920_2" doxytag="NL3D::CPatchInfo::Lumels"></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#a7">uint8</a>> NL3D::CPatchInfo::Lumels + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The Tile lumels for this patch. +<p> +There must be (OrderS*4+1)*(OrderT*4+1) tile lumels. Those are lumel value in tiles. There is 4x4 lumels by tiles plus last lumels. They are stored in line first order, from S=0 to 1, and T=0 to 1. +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00160">160</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. </td> + </tr> +</table> +<a name="z919_8" doxytag="NL3D::CPatchInfo::NoiseRotation"></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::CPatchInfo::NoiseRotation + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The orientation of the NoiseMap. 0,1,2,3. This represent a CCW rotation of the NoiseMap. +<p> + +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00133">133</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. +<p> +Referenced by <a class="el" href="src_23d_2zone_8h-source.html#l00240">CPatchInfo</a>. </td> + </tr> +</table> +<a name="z919_3" doxytag="NL3D::CPatchInfo::OrderS"></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::CPatchInfo::OrderS + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Tile Order for the patch. +<p> + +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00121">121</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. +<p> +Referenced by <a class="el" href="zone__symmetrisation_8cpp-source.html#l00466">NL3D::CZoneSymmetrisation::setOrientedTileState</a>, and <a class="el" href="zone__symmetrisation_8cpp-source.html#l00312">NL3D::CZoneSymmetrisation::setTileState</a>. </td> + </tr> +</table> +<a name="z919_4" doxytag="NL3D::CPatchInfo::OrderT"></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::CPatchInfo::OrderT + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Tile Order for the patch. +<p> + +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00121">121</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. +<p> +Referenced by <a class="el" href="zone__symmetrisation_8cpp-source.html#l00466">NL3D::CZoneSymmetrisation::setOrientedTileState</a>, and <a class="el" href="zone__symmetrisation_8cpp-source.html#l00312">NL3D::CZoneSymmetrisation::setTileState</a>. </td> + </tr> +</table> +<a name="z919_2" doxytag="NL3D::CPatchInfo::Patch"></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_1CBezierPatch.html">CBezierPatch</a> NL3D::CPatchInfo::Patch + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The patch coordinates. +<p> + +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00119">119</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. +<p> +Referenced by <a class="el" href="zone__symmetrisation_8cpp-source.html#l00466">NL3D::CZoneSymmetrisation::setOrientedTileState</a>, and <a class="el" href="zone__symmetrisation_8cpp-source.html#l00312">NL3D::CZoneSymmetrisation::setTileState</a>. </td> + </tr> +</table> +<a name="z920_1" doxytag="NL3D::CPatchInfo::TileColors"></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="classNL3D_1_1CTileColor.html">CTileColor</a>> NL3D::CPatchInfo::TileColors + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The Tile colors for this patch. +<p> +There must be (OrderS+1)*(OrderT+1) tile colors. Those are the colors at the corners of the tiles. They are stored in line first order, from S=0 to 1, and T=0 to 1. +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00154">154</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. </td> + </tr> +</table> +<a name="z920_3" doxytag="NL3D::CPatchInfo::TileLightInfluences"></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="classNL3D_1_1CTileLightInfluence.html">CTileLightInfluence</a>> NL3D::CPatchInfo::TileLightInfluences + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +There is (OrderS/2+1) * (OrderT/2+1) tiles light influence. +<p> +It indicates which static pointLight influence each corner of a TessBlock (block of 2*2 tiles). +<p> +If <a class="el" href="driver__opengl__extension__def_8h.html#a379">size</a>==0, suppose no light influence. but <a class="el" href="classNL3D_1_1CZone.html#a5">CZone::retrieve</a>() always return a <a class="el" href="driver__opengl__extension__def_8h.html#a379">size</a> == (OrderS/2+1) * (OrderT/2+1). +<p> +They are stored in line first order, from S=0 to 1, and T=0 to 1. +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00170">170</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. </td> + </tr> +</table> +<a name="z920_0" doxytag="NL3D::CPatchInfo::Tiles"></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="classNL3D_1_1CTileElement.html">CTileElement</a>> NL3D::CPatchInfo::Tiles + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The Tiles for this patch. +<p> +There must be OrderS*OrderT tiles. They are stored in line first order, from S=0 to 1, and T=0 to 1. +<p> +Definition at line <a class="el" href="src_23d_2zone_8h-source.html#l00148">148</a> of file <a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a>. +<p> +Referenced by <a class="el" href="zone__symmetrisation_8cpp-source.html#l00466">NL3D::CZoneSymmetrisation::setOrientedTileState</a>, and <a class="el" href="zone__symmetrisation_8cpp-source.html#l00312">NL3D::CZoneSymmetrisation::setTileState</a>. </td> + </tr> +</table> +<hr>The documentation for this struct was generated from the following files:<ul> +<li><a class="el" href="src_23d_2zone_8h-source.html">src/3d/zone.h</a><li><a class="el" href="3d_2zone_8cpp-source.html">3d/zone.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> |