aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03724.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a03724.html')
-rw-r--r--docs/doxygen/nel/a03724.html3949
1 files changed, 3949 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03724.html b/docs/doxygen/nel/a03724.html
new file mode 100644
index 00000000..dc500468
--- /dev/null
+++ b/docs/doxygen/nel/a03724.html
@@ -0,0 +1,3949 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>NeL: NL3D::CWaterShape class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CWaterShape Class Reference</h1><code>#include &lt;<a class="el" href="a06742.html">water_shape.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CWaterShape:
+<p><center><img src="a03724.png" usemap="#NL3D::CWaterShape_map" border="0" alt=""></center>
+<map name="NL3D::CWaterShape_map">
+<area href="a02539.html" alt="NL3D::IShape" shape="rect" coords="70,112,201,136">
+<area href="a02209.html" alt="NLMISC::CRefCount" shape="rect" coords="0,56,131,80">
+<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="141,56,272,80">
+<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="141,0,272,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A water shape. On recent gfx boards with 4 texture stages, it uses the following : -A environment map computed from the hemisphere that is above the water. -A bump map used to perturbate the envmap (bump map 1). -A bump map used to perturbate the bump map 1 (bump map 0). This simulate local water motion -A color map whose both alpha and rgb are modulated with the envmap to get transparency and color of the water. These maps can be scaled, but not rotated. The bump maps can scroll at regular speed over time The envmap, when set to a <a class="el" href="a03488.html">CTextureBlend</a>, will automatically blend for all shape when CWaterPoolManager::setBlend is called. This may be used to simulate a night / day transition. The color / alpha map may have arbritrary orientation over the surface <dl compact><dt><b>Author:</b></dt><dd>Nicolas Vizerie <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00079">79</a> of file <a class="el" href="a06742.html">water_shape.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Lighmap</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_0">enableLightMapping</a> (bool enable=true)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_1">isLightMappingEnabled</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_2">computeBBox</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_3">envMapUpdate</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_4">updateHeightMapNormalizationFactors</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02156.html">NLMISC::CAABBox</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_5">_BBox</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">NLMISC::CSmartPtr</a>&lt; <a class="el" href="a03487.html">ITexture</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a> [2]</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">NLMISC::CSmartPtr</a>&lt; <a class="el" href="a03487.html">ITexture</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_7">_ColorMap</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_7"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03660.html">NLMISC::CVector2f</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_8">_ColorMapMatColumn0</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_8"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03660.html">NLMISC::CVector2f</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_9">_ColorMapMatColumn1</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_9"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03660.html">NLMISC::CVector2f</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_10">_ColorMapMatPos</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_10"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_11">_ComputeLightmap</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_11"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_12">_DefaultPos</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_12"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03548.html">CTrackDefaultQuat</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_13">_DefaultRotQuat</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_13"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_14">_DefaultScale</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_14"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">NLMISC::CSmartPtr</a>&lt; <a class="el" href="a03487.html">ITexture</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a> [2]</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_15"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_16">_HeightMapNormalizationFactor</a> [2]</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_16"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03660.html">NLMISC::CVector2f</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_17">_HeightMapScale</a> [2]</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_17"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03660.html">NLMISC::CVector2f</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_18">_HeightMapSpeed</a> [2]</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_18"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_19">_HeightMapTouch</a> [2]</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_19"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03101.html">NLMISC::CPolygon2D</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_20">_Poly</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_20"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_21">_TransitionRatio</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_21"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_22">_WaterPoolID</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_22"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_23">_WaveHeightFactor</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_23"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_24">initVertexProgram</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_24"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_25">setupVertexBuffer</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_25"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_26">_GridSizeTouched</a> = true</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_26"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a04558.html#a11">uint32</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_27">_IBDownUp</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_27"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a04558.html#a11">uint32</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_28">_IBUpDown</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_28"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_29">_MaxGridSize</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_29"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03692.html">CVertexBuffer</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_30">_VB</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_30"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::auto_ptr&lt; <a class="el" href="a03702.html">CVertexProgram</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_31">_VertexProgramBump1</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_31"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::auto_ptr&lt; <a class="el" href="a03702.html">CVertexProgram</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_32">_VertexProgramBump1Diffuse</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_32"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::auto_ptr&lt; <a class="el" href="a03702.html">CVertexProgram</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_33">_VertexProgramBump2</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_33"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::auto_ptr&lt; <a class="el" href="a03702.html">CVertexProgram</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_34">_VertexProgramBump2Diffuse</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_34"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::auto_ptr&lt; <a class="el" href="a03702.html">CVertexProgram</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_35">_VertexProgramNoBump</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_35"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::auto_ptr&lt; <a class="el" href="a03702.html">CVertexProgram</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_36">_VertexProgramNoBumpDiffuse</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_36"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_37">_XGridBorder</a> = 4</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_37"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_38">_XScreenGridSize</a> = 40</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_38"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_39">_YGridBorder</a> = 4</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_39"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_40">_YScreenGridSize</a> = 40</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_40"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_41">CWaterModel</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells this shape that it can replace its colormap by a lightmap during the zone lighting. <a href="#NL3D_1_1CWaterShapez1190_41"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Geometry setup</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03101.html">NLMISC::CPolygon2D</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_0">getShape</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the polygon used by this shape, in the object space <a href="#NL3D_1_1CWaterShapez1182_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_1">getShapeInWorldSpace</a> (<a class="el" href="a03100.html">NLMISC::CPolygon</a> &amp;poly) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the polygon this shape, in world space <a href="#NL3D_1_1CWaterShapez1182_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_2">getWaterPoolID</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the polygon used by this shape, in the object space <a href="#NL3D_1_1CWaterShapez1182_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_3">getWaveHeightFactor</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the factor that is applied to waves height when they are displayed. default is 1. <a href="#NL3D_1_1CWaterShapez1182_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_4">setShape</a> (const <a class="el" href="a03101.html">NLMISC::CPolygon2D</a> &amp;poly)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the polygon used by this shape, in the object space <a href="#NL3D_1_1CWaterShapez1182_4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_5">setWaterPoolID</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">all water shape that have the same weter id will share the same height map for wave propagations <a href="#NL3D_1_1CWaterShapez1182_5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_6">setWaveHeightFactor</a> (float f)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a factor that is applied to waves height when they are displayed. default is 1. <a href="#NL3D_1_1CWaterShapez1182_6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_7">getScreenXGridSize</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the polygon used by this shape, in the object space <a href="#NL3D_1_1CWaterShapez1182_7"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_8">getScreenYGridSize</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the polygon used by this shape, in the object space <a href="#NL3D_1_1CWaterShapez1182_8"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_9">getXGridBorder</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the polygon used by this shape, in the object space <a href="#NL3D_1_1CWaterShapez1182_9"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_10">getYGridBorder</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the polygon used by this shape, in the object space <a href="#NL3D_1_1CWaterShapez1182_10"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_11">setGridBorderSize</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a572">x</a>, <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a573">y</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set the size of borders. This is needed when water move is high, to avoid hole on the border of the screen <a href="#NL3D_1_1CWaterShapez1182_11"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1182_12">setScreenGridSize</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a572">x</a>, <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a573">y</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set the resolution for the grid that is used for tesselation <a href="#NL3D_1_1CWaterShapez1182_12"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapea0">clip</a> (const std::vector&lt; <a class="el" href="a03082.html">CPlane</a> &gt; &amp;pyramid, const <a class="el" href="a02851.html">CMatrix</a> &amp;worldMatrix)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">inherited from <a class="el" href="a02539.html">IShape</a> <a href="#NL3D_1_1CWaterShapea0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapea1">createInstance</a> (<a class="el" href="a03348.html">CScene</a> &amp;scene)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">inherited from <a class="el" href="a02539.html">IShape</a> <a href="#NL3D_1_1CWaterShapea1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapea2">flushTextures</a> (<a class="el" href="a02434.html">IDriver</a> &amp;driver, <a class="el" href="a04558.html#a15">uint</a> selectedTexture)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">inherited from ishape <a href="#NL3D_1_1CWaterShapea2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapea3">getAABBox</a> (<a class="el" href="a02156.html">NLMISC::CAABBox</a> &amp;bbox) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">inherited from <a class="el" href="a02539.html">IShape</a> <a href="#NL3D_1_1CWaterShapea3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02540.html#NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6">getClassName</a> ()=0</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea5">getDistMax</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapea6">getNumTriangles</a> (float distance)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">inherited from ishape <a href="#NL3D_1_1CWaterShapea6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypea8">getRefCount</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapea8">NLMISC_DECLARE_CLASS</a> (<a class="el" href="a03724.html">CWaterShape</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea8">profileSceneRender</a> (<a class="el" href="a03325.html">CRenderTrav</a> *rdrTrav, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool opaquePass)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapea10">render</a> (<a class="el" href="a02434.html">IDriver</a> *drv, <a class="el" href="a02537.html">CTransformShape</a> *trans, bool opaquePass)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">inherited from <a class="el" href="a02539.html">IShape</a>. Does nothing. A new traverseRender() was set for that <a href="#NL3D_1_1CWaterShapea10"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapea11">setDistMax</a> (float distMax)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Object</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1180_0">CWaterShape</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ctor <a href="#NL3D_1_1CWaterShapez1180_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1180_1">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">serial this shape <a href="#NL3D_1_1CWaterShapez1180_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1180_2">~CWaterShape</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dtor <a href="#NL3D_1_1CWaterShapez1180_2"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Texture setup</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03487.html">ITexture</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_0">getColorMap</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03487.html">ITexture</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_1">getColorMap</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_2">getColorMapMat</a> (<a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;column0, <a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;column1, <a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;pos)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03487.html">ITexture</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_3">getEnvMap</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03487.html">ITexture</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_4">getEnvMap</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03487.html">ITexture</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_5">getHeightMap</a> (<a class="el" href="a04558.html#a15">uint</a> k) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03487.html">ITexture</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_6">getHeightMap</a> (<a class="el" href="a04558.html#a15">uint</a> k)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03660.html">NLMISC::CVector2f</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_7">getHeightMapScale</a> (<a class="el" href="a04558.html#a15">uint</a> k) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03660.html">NLMISC::CVector2f</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_8">getHeightMapSpeed</a> (<a class="el" href="a04558.html#a15">uint</a> k) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_9">setColorMap</a> (<a class="el" href="a03487.html">ITexture</a> *map)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_10">setColorMapMat</a> (const <a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;column0, const <a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;column1, const <a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;pos)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_11">setEnvMap</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>, <a class="el" href="a03487.html">ITexture</a> *envMap)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_12">setHeightMap</a> (<a class="el" href="a04558.html#a15">uint</a> k, <a class="el" href="a03487.html">ITexture</a> *hm)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_13">setHeightMapScale</a> (<a class="el" href="a04558.html#a15">uint</a> k, const <a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;scale)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1184_14">setHeightMapSpeed</a> (<a class="el" href="a04558.html#a15">uint</a> k, const <a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;speed)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">access default tracks.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1188_0">getDefaultPos</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03548.html">CTrackDefaultQuat</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1188_1">getDefaultRotQuat</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03551.html">CTrackDefaultVector</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1188_2">getDefaultScale</a> ()</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">LOD</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1186_0">getTransitionRatio</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03724.html#NL3D_1_1CWaterShapez1186_1">setTransitionRatio</a> (float percent)</td></tr>
+
+<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">pinfo</a></td></tr>
+
+<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NullPtrInfo</a></td></tr>
+
+<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default to -1. <a href="#NL3D_1_1IShapep0"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>struct&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypen0">CPtrInfo</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CWaterShapez1180_0" doxytag="NL3D::CWaterShape::CWaterShape" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CWaterShape::CWaterShape </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+ctor
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00221">221</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00214">_HeightMapScale</a>, <a class="el" href="a06742.html#l00215">_HeightMapSpeed</a>, <a class="el" href="a06742.html#l00224">_HeightMapTouch</a>, <a class="el" href="a06677.html#l00110">NLMISC::CVector2f::set()</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable&lt; CQuat &gt;::setValue()</a>, <a class="el" href="a06556.html#l00162">NL3D::CTrackDefaultBlendable&lt; CVector &gt;::setValue()</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00221 : <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_22">_WaterPoolID</a>(0), <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_21">_TransitionRatio</a>(0.6f), <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_23">_WaveHeightFactor</a>(3), <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_11">_ComputeLightmap</a>(<span class="keyword">false</span>)
+00222 {
+00223 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_12">_DefaultPos</a>.setValue(NLMISC::CVector::Null);
+00224 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_14">_DefaultScale</a>.setValue(<a class="code" href="a03128.html">NLMISC::CVector</a>(1, 1, 1));
+00225 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_13">_DefaultRotQuat</a>.setValue(CQuat::Identity);
+00226
+00227 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a14">sint</a> k = 0; k &lt; 2; ++k)
+00228 {
+00229 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_17">_HeightMapScale</a>[k].<a class="code" href="a03660.html#NLMISC_1_1CVector2fz2067_6">set</a>(1, 1);
+00230 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_18">_HeightMapSpeed</a>[k].<a class="code" href="a03660.html#NLMISC_1_1CVector2fz2067_6">set</a>(0, 0);
+00231 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_19">_HeightMapTouch</a>[k] = <span class="keyword">true</span>;
+00232 }
+00233 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_8">_ColorMapMatColumn0</a>.<a class="code" href="a03660.html#NLMISC_1_1CVector2fz2067_6">set</a>(1, 0);
+00234 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_9">_ColorMapMatColumn1</a>.<a class="code" href="a03660.html#NLMISC_1_1CVector2fz2067_6">set</a>(0, 1);
+00235 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_10">_ColorMapMatPos</a>.<a class="code" href="a03660.html#NLMISC_1_1CVector2fz2067_6">set</a>(0, 0);
+00236 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1180_2" doxytag="NL3D::CWaterShape::~CWaterShape" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CWaterShape::~<a class="el" href="a03724.html">CWaterShape</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+dtor
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00240">240</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00210">_EnvMap</a>, <a class="el" href="a06739.html#l00078">NL3D::GetWaterPoolManager()</a>, and <a class="el" href="a06739.html#l00143">NL3D::CWaterPoolManager::unRegisterWaterShape()</a>.
+<p>
+<div class="fragment"><pre>00241 {
+00242 <span class="keywordflow">if</span> (
+00243 (<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[0] &amp;&amp; dynamic_cast&lt;CTextureBlend *&gt;((ITexture *) <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[0]))
+00244 || (<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[1] &amp;&amp; dynamic_cast&lt;CTextureBlend *&gt;((ITexture *) <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[1]))
+00245 )
+00246 {
+00247 <a class="code" href="a05363.html#a551">GetWaterPoolManager</a>().unRegisterWaterShape(<span class="keyword">this</span>);
+00248 }
+00249 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CWaterShapea0" doxytag="NL3D::CWaterShape::clip" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CWaterShape::clip </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::vector&lt; <a class="el" href="a03082.html">CPlane</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>pyramid</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a02851.html">CMatrix</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>worldMatrix</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+inherited from <a class="el" href="a02539.html">IShape</a>
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea0">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06741.html#l00507">507</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a05384.html#l00059">NLMISC::CAABBox::clipBack()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00508 {
+00509 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k &lt; pyramid.size(); ++k)
+00510 {
+00511 <span class="keywordflow">if</span> (! <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_5">_BBox</a>.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxz1906_0">clipBack</a>(pyramid[k] * worldMatrix)) <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00512 }
+00513 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00514 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_2" doxytag="NL3D::CWaterShape::computeBBox" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::computeBBox </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00410">410</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a05484.html#l00038">min</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05385.html#l00071">NLMISC::CAABBox::setMinMax()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a06191.html#l00126">NLMISC::CPolygon2D::Vertices</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00401">setShape()</a>.
+<p>
+<div class="fragment"><pre>00411 {
+00412 <a class="code" href="a04199.html#a6">nlassert</a>(<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_20">_Poly</a>.<a class="code" href="a03101.html#NLMISC_1_1CPolygon2Do0">Vertices</a>.size() != 0);
+00413 <a class="code" href="a03660.html">NLMISC::CVector2f</a> <a class="code" href="a04061.html#a0">min</a>, max;
+00414 <a class="code" href="a04061.html#a0">min</a> = max = <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_20">_Poly</a>.<a class="code" href="a03101.html#NLMISC_1_1CPolygon2Do0">Vertices</a>[0];
+00415 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 1; k &lt; <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_20">_Poly</a>.<a class="code" href="a03101.html#NLMISC_1_1CPolygon2Do0">Vertices</a>.size(); ++k)
+00416 {
+00417 <a class="code" href="a04061.html#a0">min</a>.minof(min, <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_20">_Poly</a>.<a class="code" href="a03101.html#NLMISC_1_1CPolygon2Do0">Vertices</a>[k]);
+00418 max.maxof(max, <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_20">_Poly</a>.<a class="code" href="a03101.html#NLMISC_1_1CPolygon2Do0">Vertices</a>[k]);
+00419 }
+00420 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_5">_BBox</a>.<a class="code" href="a02156.html#NLMISC_1_1CAABBoxz1902_3">setMinMax</a>(CVector(<a class="code" href="a04061.html#a0">min</a>.x, <a class="code" href="a04061.html#a0">min</a>.y, 0), CVector(max.x, max.y, 0));
+00421 <span class="comment">/* nlinfo("center x = %f, y = %f, z = %f", _BBox.getCenter().x, _BBox.getCenter().y, _BBox.getCenter().z);</span>
+00422 <span class="comment"> nlinfo("halsize x = %f, y = %f, z = %f", _BBox.getHalfSize().x, _BBox.getHalfSize().y, _BBox.getHalfSize().z); */</span>
+00423 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapea1" doxytag="NL3D::CWaterShape::createInstance" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02537.html">CTransformShape</a> * NL3D::CWaterShape::createInstance </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03348.html">CScene</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>scene</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+inherited from <a class="el" href="a02539.html">IShape</a>
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea1">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06741.html#l00327">327</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a05442.html#l00279">NL3D::CAnimatedValueQuat</a>, <a class="el" href="a05442.html#l00277">NL3D::CAnimatedValueVector</a>, <a class="el" href="a06348.html#l01004">NL3D::CScene::createModel()</a>, <a class="el" href="a06575.html#l00076">NL3D::ITransformable::getMatrix()</a>, <a class="el" href="a06742.html#l00136">getShape()</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable&lt; CQuat &gt;::getValue()</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable&lt; CVector &gt;::getValue()</a>, <a class="el" href="a06349.html#l00594">NL3D::CScene::getWaterCallback()</a>, <a class="el" href="a06738.html#l00064">NL3D::CWaterModel::init()</a>, <a class="el" href="a06571.html#l00072">NL3D::CTransformShape::Shape</a>, <a class="el" href="a06742.html#l00059">NL3D::WaterModelClassId</a>, and <a class="el" href="a03886.html#NL3D_1_1IWaterSurfaceAddedCallbacka0">NL3D::IWaterSurfaceAddedCallback::waterSurfaceAdded()</a>.
+<p>
+<div class="fragment"><pre>00328 {
+00329 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_41">CWaterModel</a> *wm = NLMISC::safe_cast&lt;CWaterModel *&gt;(scene.createModel(WaterModelClassId) );
+00330 wm-&gt;Shape = <span class="keyword">this</span>;
+00331 <span class="comment">// set default pos &amp; scale</span>
+00332 wm-&gt;ITransformable::setPos( ((CAnimatedValueVector&amp;)<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_12">_DefaultPos</a>.getValue()).Value );
+00333 wm-&gt;ITransformable::setScale( ((CAnimatedValueVector&amp;)<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_14">_DefaultScale</a>.getValue()).Value );
+00334 wm-&gt;ITransformable::setRotQuat( ((CAnimatedValueQuat&amp;)<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_13">_DefaultRotQuat</a>.getValue()).Value );
+00335 <span class="comment">//</span>
+00336 wm-&gt;init();
+00337 <span class="keywordflow">if</span> (scene.getWaterCallback())
+00338 {
+00339 scene.getWaterCallback()-&gt;waterSurfaceAdded(<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1182_0">getShape</a>(), wm-&gt;getMatrix());
+00340 }
+00341 <span class="keywordflow">return</span> wm;
+00342 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_0" doxytag="NL3D::CWaterShape::enableLightMapping" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::enableLightMapping </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> = true </td>
+ <td class="md" valign="top">&nbsp;)&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>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00196">196</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06742.html#l00223">_ComputeLightmap</a>.
+<p>
+<div class="fragment"><pre>00196 { <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_11">_ComputeLightmap</a> = enable; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_3" doxytag="NL3D::CWaterShape::envMapUpdate" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::envMapUpdate </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00568">568</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00210">_EnvMap</a>, <a class="el" href="a06739.html#l00078">NL3D::GetWaterPoolManager()</a>, <a class="el" href="a06739.html#l00190">NL3D::CWaterPoolManager::isWaterShapeObserver()</a>, <a class="el" href="a06739.html#l00135">NL3D::CWaterPoolManager::registerWaterShape()</a>, and <a class="el" href="a06739.html#l00143">NL3D::CWaterPoolManager::unRegisterWaterShape()</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l00831">NL3D::CWaterModel::setupMaterialNVertexShader()</a>.
+<p>
+<div class="fragment"><pre>00569 {
+00570 <span class="comment">// if the color map is a blend texture, we MUST be registered to the water pool manager, so that, the</span>
+00571 <span class="comment">// setBlend message will be routed to this texture.</span>
+00572 <span class="keywordflow">if</span> (
+00573 (<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[0] &amp;&amp; dynamic_cast&lt;CTextureBlend *&gt;((ITexture *) <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[0]))
+00574 || (<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[1] &amp;&amp; dynamic_cast&lt;CTextureBlend *&gt;((ITexture *) <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[1]))
+00575 )
+00576 {
+00577 <span class="keywordflow">if</span> (!<a class="code" href="a05363.html#a551">GetWaterPoolManager</a>().isWaterShapeObserver(<span class="keyword">this</span>))
+00578 {
+00579 <a class="code" href="a05363.html#a551">GetWaterPoolManager</a>().registerWaterShape(<span class="keyword">this</span>);
+00580 }
+00581 }
+00582 <span class="keywordflow">else</span>
+00583 {
+00584 <span class="keywordflow">if</span> (<a class="code" href="a05363.html#a551">GetWaterPoolManager</a>().isWaterShapeObserver(<span class="keyword">this</span>))
+00585 {
+00586 <a class="code" href="a05363.html#a551">GetWaterPoolManager</a>().unRegisterWaterShape(<span class="keyword">this</span>);
+00587 }
+00588 }
+00589 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapea2" doxytag="NL3D::CWaterShape::flushTextures" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::flushTextures </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>driver</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>selectedTexture</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+inherited from ishape
+<p>
+
+<p>
+Implements <a class="el" href="a02539.html#NL3D_1_1IShapea2">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06741.html#l00354">354</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00355 {
+00356 <span class="comment">// Test if bump maps are supported by driver before to flush them. </span>
+00357 <span class="comment">// TEMP : can't flush texture for water, because the upload format depends on the shader</span>
+00358 <span class="comment">// Only the driver can determine it.</span>
+00359 <span class="comment">// BumpMaps may be uploaded with unsigned or signed format</span>
+00360
+00361 <span class="comment">/*</span>
+00362 <span class="comment"> if (</span>
+00363 <span class="comment"> (driver.supportTextureShaders() &amp;&amp; driver.isTextureAddrModeSupported(CMaterial::OffsetTexture))</span>
+00364 <span class="comment"> || driver.supportEMBM()</span>
+00365 <span class="comment"> )</span>
+00366 <span class="comment"> {</span>
+00367 <span class="comment"> for (uint k = 0; k &lt; 2; ++k)</span>
+00368 <span class="comment"> {</span>
+00369 <span class="comment"> if (_BumpMap[k] != NULL)</span>
+00370 <span class="comment"> driver.setupTexture(*_BumpMap[k]);</span>
+00371 <span class="comment"> if (_EnvMap[k] != NULL)</span>
+00372 <span class="comment"> driver.setupTexture(*_EnvMap[k]); </span>
+00373 <span class="comment"> }</span>
+00374 <span class="comment"> }</span>
+00375 <span class="comment"> if (_ColorMap != NULL)</span>
+00376 <span class="comment"> driver.setupTexture(*_ColorMap);</span>
+00377 <span class="comment"> */</span>
+00378 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapea3" doxytag="NL3D::CWaterShape::getAABBox" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CWaterShape::getAABBox </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02156.html">NLMISC::CAABBox</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>bbox</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+inherited from <a class="el" href="a02539.html">IShape</a>
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02539.html#NL3D_1_1IShapea3">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06742.html#l00108">108</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+<div class="fragment"><pre>00108 { bbox = <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_5">_BBox</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6" doxytag="NL3D::CWaterShape::getClassName" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual std::string NLMISC::IClassable::getClassName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [pure virtual, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implemented in <a class="el" href="a02995.html#NLAIAGENT_1_1CNumericIndexz1699_0">NLAIAGENT::CNumericIndex</a>, <a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypez1764_0">NLAIC::IPointerGestion</a>, <a class="el" href="a02650.html#NLAIC_1_1CIdentTypez1766_0">NLAIC::CIdentType</a>, and <a class="el" href="a02241.html#CAutomataDescz1896_0">CAutomataDesc</a>.
+<p>
+Referenced by <a class="el" href="a05549.html#l00091">NLMISC::CClassRegistry::checkObject()</a>, and <a class="el" href="a06525.html#l00039">NL3D::GetTextureSize()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_0" doxytag="NL3D::CWaterShape::getColorMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a03487.html">ITexture</a>* NL3D::CWaterShape::getColorMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<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="a06742.html#l00173">173</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06742.html#l00212">_ColorMap</a>.
+<p>
+<div class="fragment"><pre>00173 { <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_7">_ColorMap</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_1" doxytag="NL3D::CWaterShape::getColorMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03487.html">ITexture</a>* NL3D::CWaterShape::getColorMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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="a06742.html#l00172">172</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06742.html#l00212">_ColorMap</a>.
+<p>
+Referenced by <a class="el" href="a06768.html#l02783">NL3D::CZoneLighter::isLightableShape()</a>, <a class="el" href="a06768.html#l02927">NL3D::CZoneLighter::lightWater()</a>, and <a class="el" href="a06737.html#l00831">NL3D::CWaterModel::setupMaterialNVertexShader()</a>.
+<p>
+<div class="fragment"><pre>00172 { <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_7">_ColorMap</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_2" doxytag="NL3D::CWaterShape::getColorMapMat" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::getColorMapMat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>column0</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>column1</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>pos</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>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00559">559</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06768.html#l02927">NL3D::CZoneLighter::lightWater()</a>.
+<p>
+<div class="fragment"><pre>00560 {
+00561 column0 = <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_8">_ColorMapMatColumn0</a>;
+00562 column1 = <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_9">_ColorMapMatColumn1</a>;
+00563 pos = <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_10">_ColorMapMatPos</a>;
+00564 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1188_0" doxytag="NL3D::CWaterShape::getDefaultPos" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03551.html">CTrackDefaultVector</a>* NL3D::CWaterShape::getDefaultPos </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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="a06742.html#l00187">187</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l00083">NL3D::CWaterModel::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00187 {<span class="keywordflow">return</span> &amp;<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_12">_DefaultPos</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1188_1" doxytag="NL3D::CWaterShape::getDefaultRotQuat" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03548.html">CTrackDefaultQuat</a>* NL3D::CWaterShape::getDefaultRotQuat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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="a06742.html#l00189">189</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l00083">NL3D::CWaterModel::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00189 {<span class="keywordflow">return</span> &amp;<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_13">_DefaultRotQuat</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1188_2" doxytag="NL3D::CWaterShape::getDefaultScale" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03551.html">CTrackDefaultVector</a>* NL3D::CWaterShape::getDefaultScale </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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="a06742.html#l00188">188</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l00083">NL3D::CWaterModel::getDefaultTrack()</a>.
+<p>
+<div class="fragment"><pre>00188 {<span class="keywordflow">return</span> &amp;<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_14">_DefaultScale</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1IShapea5" doxytag="NL3D::CWaterShape::getDistMax" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::IShape::getDistMax </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return the DistMax where the shape is no more displayed. Default is to return -1, meaning DistMax = infinite.
+<p>
+Definition at line <a class="el" href="a06377.html#l00112">112</a> of file <a class="el" href="a06377.html">shape.h</a>.
+<p>
+<div class="fragment"><pre>00112 {<span class="keywordflow">return</span> <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_3" doxytag="NL3D::CWaterShape::getEnvMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a03487.html">ITexture</a>* NL3D::CWaterShape::getEnvMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>index</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<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="a06742.html#l00155">155</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06742.html#l00210">_EnvMap</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00155 { <a class="code" href="a04199.html#a6">nlassert</a>(index &lt; 2); <span class="keywordflow">return</span> (<span class="keyword">const</span> ITexture *) <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[<a class="code" href="a04223.html#a566">index</a>];}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_4" doxytag="NL3D::CWaterShape::getEnvMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03487.html">ITexture</a>* NL3D::CWaterShape::getEnvMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>index</em> </td>
+ <td class="md" valign="top">&nbsp;)&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="a06742.html#l00154">154</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06742.html#l00210">_EnvMap</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00154 { <a class="code" href="a04199.html#a6">nlassert</a>(index &lt; 2); <span class="keywordflow">return</span> (ITexture *) <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[<a class="code" href="a04223.html#a566">index</a>];}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_5" doxytag="NL3D::CWaterShape::getHeightMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a03487.html">ITexture</a> * NL3D::CWaterShape::getHeightMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>k</em> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00449">449</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00211">_BumpMap</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00450 {
+00451 <a class="code" href="a04199.html#a6">nlassert</a>(k &lt; 2);
+00452 <span class="keywordflow">return</span> ((CTextureBump *) (ITexture *) <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[k] )-&gt;getHeightMap();
+00453 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_6" doxytag="NL3D::CWaterShape::getHeightMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03487.html">ITexture</a> * NL3D::CWaterShape::getHeightMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>k</em> </td>
+ <td class="md" valign="top">&nbsp;)&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="a06741.html#l00441">441</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00211">_BumpMap</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00442 {
+00443 <a class="code" href="a04199.html#a6">nlassert</a>(k &lt; 2);
+00444 <span class="keywordflow">return</span> ((CTextureBump *) (ITexture *) <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[k] )-&gt;getHeightMap();
+00445 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_7" doxytag="NL3D::CWaterShape::getHeightMapScale" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03660.html">NLMISC::CVector2f</a> NL3D::CWaterShape::getHeightMapScale </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>k</em> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00526">526</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00214">_HeightMapScale</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00527 {
+00528 <a class="code" href="a04199.html#a6">nlassert</a>(k &lt; 2);
+00529 <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_17">_HeightMapScale</a>[k];
+00530 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_8" doxytag="NL3D::CWaterShape::getHeightMapSpeed" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03660.html">NLMISC::CVector2f</a> NL3D::CWaterShape::getHeightMapSpeed </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>k</em> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00542">542</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00215">_HeightMapSpeed</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00543 {
+00544 <a class="code" href="a04199.html#a6">nlassert</a>(k &lt; 2);
+00545 <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_18">_HeightMapSpeed</a>[k];
+00546 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapea6" doxytag="NL3D::CWaterShape::getNumTriangles" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CWaterShape::getNumTriangles </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>distance</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+inherited from ishape
+<p>
+
+<p>
+Implements <a class="el" href="a02539.html#NL3D_1_1IShapez900_0">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06741.html#l00346">346</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+<div class="fragment"><pre>00347 {
+00348 <span class="comment">// TODO</span>
+00349 <span class="keywordflow">return</span> 0;
+00350 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypea8" doxytag="NL3D::CWaterShape::getRefCount" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a14">sint</a>&amp; NLMISC::CRefCount::getRefCount </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, inherited]</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="a06402.html#l00070">70</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
+<p>
+References <a class="el" href="a06402.html#l00079">NLMISC::CRefCount::crefs</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00071 {
+00072 <span class="keywordflow">return</span> <a class="code" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a>;
+00073 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_7" doxytag="NL3D::CWaterShape::getScreenXGridSize" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CWaterShape::getScreenXGridSize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the polygon used by this shape, in the object space
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00126">126</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06741.html#l00171">_XScreenGridSize</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00126 { <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_38">_XScreenGridSize</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_8" doxytag="NL3D::CWaterShape::getScreenYGridSize" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CWaterShape::getScreenYGridSize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the polygon used by this shape, in the object space
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00127">127</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06741.html#l00172">_YScreenGridSize</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00127 { <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_40">_YScreenGridSize</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_0" doxytag="NL3D::CWaterShape::getShape" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a03101.html">NLMISC::CPolygon2D</a>&amp; NL3D::CWaterShape::getShape </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the polygon used by this shape, in the object space
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00136">136</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00327">createInstance()</a>.
+<p>
+<div class="fragment"><pre>00136 { <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_20">_Poly</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_1" doxytag="NL3D::CWaterShape::getShapeInWorldSpace" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::getShapeInWorldSpace </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03100.html">NLMISC::CPolygon</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>poly</em> </td>
+ <td class="md" valign="top">&nbsp;)&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 the polygon this shape, in world space
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00609">609</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a05442.html#l00279">NL3D::CAnimatedValueQuat</a>, <a class="el" href="a05442.html#l00277">NL3D::CAnimatedValueVector</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable&lt; CQuat &gt;::getValue()</a>, <a class="el" href="a06556.html#l00169">NL3D::CTrackDefaultBlendable&lt; CVector &gt;::getValue()</a>, <a class="el" href="a05972.html#l00200">NLMISC::CMatrix::identity()</a>, <a class="el" href="a05972.html#l00618">NLMISC::CMatrix::rotate()</a>, <a class="el" href="a05972.html#l00644">NLMISC::CMatrix::scale()</a>, <a class="el" href="a05972.html#l00470">NLMISC::CMatrix::translate()</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a06191.html#l00126">NLMISC::CPolygon2D::Vertices</a>, and <a class="el" href="a06191.html#l00055">NLMISC::CPolygon::Vertices</a>.
+<p>
+Referenced by <a class="el" href="a06768.html#l02927">NL3D::CZoneLighter::lightWater()</a>.
+<p>
+<div class="fragment"><pre>00610 {
+00611 poly.<a class="code" href="a03100.html#NLMISC_1_1CPolygono0">Vertices</a>.resize(<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_20">_Poly</a>.<a class="code" href="a03101.html#NLMISC_1_1CPolygon2Do0">Vertices</a>.size());
+00612 <span class="comment">// compute the matrix of the object in world space, by using the default tracks</span>
+00613 <a class="code" href="a02851.html">NLMISC::CMatrix</a> objMat;
+00614 objMat.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1961_0">identity</a>();
+00615 objMat.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1965_7">translate</a>(((CAnimatedValueVector *) &amp;<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_12">_DefaultPos</a>.getValue())-&gt;Value);
+00616 objMat.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1965_1">rotate</a>(((CAnimatedValueQuat *) &amp;<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_13">_DefaultRotQuat</a>.getValue())-&gt;Value);
+00617 objMat.<a class="code" href="a02851.html#NLMISC_1_1CMatrixz1965_6">scale</a>(((CAnimatedValueVector *) &amp;<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_14">_DefaultScale</a>.getValue())-&gt;Value);
+00618
+00619 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k &lt; <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_20">_Poly</a>.<a class="code" href="a03101.html#NLMISC_1_1CPolygon2Do0">Vertices</a>.size(); ++k)
+00620 {
+00621 poly.<a class="code" href="a03100.html#NLMISC_1_1CPolygono0">Vertices</a>[k] = objMat * <a class="code" href="a03128.html">NLMISC::CVector</a>(<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_20">_Poly</a>.<a class="code" href="a03101.html#NLMISC_1_1CPolygon2Do0">Vertices</a>[k].x, <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_20">_Poly</a>.<a class="code" href="a03101.html#NLMISC_1_1CPolygon2Do0">Vertices</a>[k].y, 0);
+00622 }
+00623 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1186_0" doxytag="NL3D::CWaterShape::getTransitionRatio" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CWaterShape::getTransitionRatio </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<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="a06742.html#l00182">182</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06742.html#l00221">_TransitionRatio</a>.
+<p>
+<div class="fragment"><pre>00182 { <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_21">_TransitionRatio</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_2" doxytag="NL3D::CWaterShape::getWaterPoolID" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CWaterShape::getWaterPoolID </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the polygon used by this shape, in the object space
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00121">121</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06742.html#l00209">_WaterPoolID</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00121 { <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_22">_WaterPoolID</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_3" doxytag="NL3D::CWaterShape::getWaveHeightFactor" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CWaterShape::getWaveHeightFactor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the factor that is applied to waves height when they are displayed. default is 1.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00145">145</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06742.html#l00222">_WaveHeightFactor</a>.
+<p>
+<div class="fragment"><pre>00145 { <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_23">_WaveHeightFactor</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_9" doxytag="NL3D::CWaterShape::getXGridBorder" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CWaterShape::getXGridBorder </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the polygon used by this shape, in the object space
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00128">128</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06741.html#l00173">_XGridBorder</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00128 { <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_37">_XGridBorder</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_10" doxytag="NL3D::CWaterShape::getYGridBorder" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CWaterShape::getYGridBorder </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the polygon used by this shape, in the object space
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00129">129</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06741.html#l00174">_YGridBorder</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00129 { <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_39">_YGridBorder</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_24" doxytag="NL3D::CWaterShape::initVertexProgram" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::initVertexProgram </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [static, private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00253">253</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06741.html#l00181">_VertexProgramBump1</a>, <a class="el" href="a06741.html#l00183">_VertexProgramBump1Diffuse</a>, <a class="el" href="a06741.html#l00182">_VertexProgramBump2</a>, <a class="el" href="a06741.html#l00184">_VertexProgramBump2Diffuse</a>, <a class="el" href="a06741.html#l00185">_VertexProgramNoBump</a>, <a class="el" href="a06741.html#l00186">_VertexProgramNoBumpDiffuse</a>, and <a class="el" href="a06741.html#l00191">NL3D::BuildWaterVP()</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l00831">NL3D::CWaterModel::setupMaterialNVertexShader()</a>.
+<p>
+<div class="fragment"><pre>00254 {
+00255 <span class="keyword">static</span> <span class="keywordtype">bool</span> created = <span class="keyword">false</span>;
+00256 <span class="keywordflow">if</span> (!created)
+00257 {
+00258
+00259 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_31">_VertexProgramBump1</a> = std::auto_ptr&lt;CVertexProgram&gt;(<a class="code" href="a05363.html#a552">BuildWaterVP</a>(<span class="keyword">false</span>, <span class="keyword">true</span>, <span class="keyword">false</span>));
+00260 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_33">_VertexProgramBump2</a> = std::auto_ptr&lt;CVertexProgram&gt;(<a class="code" href="a05363.html#a552">BuildWaterVP</a>(<span class="keyword">false</span>, <span class="keyword">true</span>, <span class="keyword">true</span>));
+00261
+00262 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_32">_VertexProgramBump1Diffuse</a> = std::auto_ptr&lt;CVertexProgram&gt;(<a class="code" href="a05363.html#a552">BuildWaterVP</a>(<span class="keyword">true</span>, <span class="keyword">true</span>, <span class="keyword">false</span>));
+00263 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_34">_VertexProgramBump2Diffuse</a> = std::auto_ptr&lt;CVertexProgram&gt;(<a class="code" href="a05363.html#a552">BuildWaterVP</a>(<span class="keyword">true</span>, <span class="keyword">true</span>, <span class="keyword">true</span>));
+00264
+00265 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_35">_VertexProgramNoBump</a> = std::auto_ptr&lt;CVertexProgram&gt;(<a class="code" href="a05363.html#a552">BuildWaterVP</a>(<span class="keyword">false</span>, <span class="keyword">false</span>, <span class="keyword">false</span>));
+00266 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_36">_VertexProgramNoBumpDiffuse</a> = std::auto_ptr&lt;CVertexProgram&gt;(<a class="code" href="a05363.html#a552">BuildWaterVP</a>(<span class="keyword">true</span>, <span class="keyword">false</span>, <span class="keyword">false</span>));
+00267 created = <span class="keyword">true</span>;
+00268 }
+00269 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_1" doxytag="NL3D::CWaterShape::isLightMappingEnabled" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CWaterShape::isLightMappingEnabled </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00197">197</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06742.html#l00223">_ComputeLightmap</a>.
+<p>
+Referenced by <a class="el" href="a06768.html#l02783">NL3D::CZoneLighter::isLightableShape()</a>.
+<p>
+<div class="fragment"><pre>00197 { <span class="keywordflow">return</span> <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_11">_ComputeLightmap</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapea8" doxytag="NL3D::CWaterShape::NLMISC_DECLARE_CLASS" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CWaterShape::NLMISC_DECLARE_CLASS </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03724.html">CWaterShape</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1IShapea8" doxytag="NL3D::CWaterShape::profileSceneRender" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::IShape::profileSceneRender </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03325.html">CRenderTrav</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>rdrTrav</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>trans</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>opaquePass</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline, virtual, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Profiling. Called in RenderPass if Current Frame profiled. No-Op by default Informations must be added in rdrTrav-&gt;Scene
+<p>
+Reimplemented in <a class="el" href="a02857.html#NL3D_1_1CMeshz405_5">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz493_5">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz525_5">NL3D::CMeshMRMSkinned</a>, and <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz537_4">NL3D::CMeshMultiLod</a>.
+<p>
+Definition at line <a class="el" href="a06377.html#l00123">123</a> of file <a class="el" href="a06377.html">shape.h</a>.
+<p>
+<div class="fragment"><pre>00123 {}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapea10" doxytag="NL3D::CWaterShape::render" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CWaterShape::render </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02434.html">IDriver</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>drv</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>trans</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>opaquePass</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+inherited from <a class="el" href="a02539.html">IShape</a>. Does nothing. A new traverseRender() was set for that
+<p>
+
+<p>
+Implements <a class="el" href="a02539.html#NL3D_1_1IShapea9">NL3D::IShape</a>.
+<p>
+Definition at line <a class="el" href="a06742.html#l00105">105</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+<div class="fragment"><pre>00105 {}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1180_1" doxytag="NL3D::CWaterShape::serial" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+serial this shape
+<p>
+
+<p>
+Implements <a class="el" href="a02867.html#NL3D_1_1ITrackDefaulta6">NLMISC::IStreamable</a>.
+<p>
+Definition at line <a class="el" href="a06741.html#l00457">457</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00458 {
+00459 <a class="code" href="a04558.html#a14">sint</a> ver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(2);
+00460 <span class="comment">// serial 'shape' </span>
+00461 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Poly);
+00462 <span class="comment">// serial heightMap identifier</span>
+00463 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_WaterPoolID);
+00464 <span class="comment">//serial maps</span>
+00465 ITexture *map = NULL;
+00466 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>())
+00467 {
+00468 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(map); <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[0] = map;
+00469 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(map); <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[1] = map;
+00470 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(map); <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[0] = map;
+00471 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(map); <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[1] = map;
+00472 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(map); <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_7">_ColorMap</a> = map;
+00473 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_2">computeBBox</a>();
+00474 }
+00475 <span class="keywordflow">else</span>
+00476 {
+00477 map = <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[0]; f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(map);
+00478 map = _EnvMap[1]; f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(map);
+00479 map = <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[0]; f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(map);
+00480 map = _BumpMap[1]; f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(map);
+00481 map = <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_7">_ColorMap</a>; f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(map);
+00482 }
+00483
+00484 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_HeightMapScale[0], _HeightMapScale[1],
+00485 _HeightMapSpeed[0], _HeightMapSpeed[1]);
+00486
+00487 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_ColorMapMatColumn0, _ColorMapMatColumn1, _ColorMapMatPos);
+00488
+00489 <span class="comment">// serial default tracks</span>
+00490 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DefaultPos);
+00491 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DefaultScale);
+00492 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DefaultRotQuat);
+00493
+00494 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_TransitionRatio);
+00495
+00496 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_WaveHeightFactor);
+00497
+00498 <span class="keywordflow">if</span> (ver &gt;= 1)
+00499 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_ComputeLightmap);
+00500
+00501 <span class="keywordflow">if</span> (ver &gt;= 2)
+00502 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DistMax);
+00503 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_9" doxytag="NL3D::CWaterShape::setColorMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setColorMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03487.html">ITexture</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>map</em> </td>
+ <td class="md" valign="top">&nbsp;)&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="a06741.html#l00593">593</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00212">_ColorMap</a>.
+<p>
+<div class="fragment"><pre>00594 {
+00595 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_7">_ColorMap</a> = map;
+00596 <span class="comment">//colorMapUpdate();</span>
+00597 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_10" doxytag="NL3D::CWaterShape::setColorMapMat" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setColorMapMat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>column0</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>column1</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>pos</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>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00550">550</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+<div class="fragment"><pre>00551 {
+00552 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_8">_ColorMapMatColumn0</a> = column0;
+00553 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_9">_ColorMapMatColumn1</a> = column1;
+00554 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_10">_ColorMapMatPos</a> = pos;
+00555 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1IShapea11" doxytag="NL3D::CWaterShape::setDistMax" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::IShape::setDistMax </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>distMax</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setup the DistMax where the shape is no more displayed. Take effect only for the next created instances. setting &lt;0 means -1 and so means DistMax = infinite.
+<p>
+Definition at line <a class="el" href="a06376.html#l00066">66</a> of file <a class="el" href="a06376.html">shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05714.html#l00039">NL3D::CFlareShape::CFlareShape()</a>.
+<p>
+<div class="fragment"><pre>00067 {
+00068 <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>= distMax;
+00069 <span class="comment">// normalize infinite setup.</span>
+00070 <span class="keywordflow">if</span>(distMax&lt;0)
+00071 <a class="code" href="a02539.html#NL3D_1_1IShapep0">_DistMax</a>= -1;
+00072 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_11" doxytag="NL3D::CWaterShape::setEnvMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setEnvMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>index</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03487.html">ITexture</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>envMap</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>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00601">601</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00210">_EnvMap</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00602 {
+00603 <a class="code" href="a04199.html#a6">nlassert</a>(index &lt; 2);
+00604 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_15">_EnvMap</a>[<a class="code" href="a04223.html#a566">index</a>] = envMap;
+00605 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_11" doxytag="NL3D::CWaterShape::setGridBorderSize" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setGridBorderSize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>y</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+set the size of borders. This is needed when water move is high, to avoid hole on the border of the screen
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00392">392</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06741.html#l00180">_GridSizeTouched</a>, <a class="el" href="a06741.html#l00173">_XGridBorder</a>, <a class="el" href="a06741.html#l00174">_YGridBorder</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00393 {
+00394 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_37">_XGridBorder</a> = <a class="code" href="a04223.html#a572">x</a>;
+00395 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_39">_YGridBorder</a> = <a class="code" href="a04223.html#a573">y</a>;
+00396 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_26">_GridSizeTouched</a> = <span class="keyword">true</span>;
+00397 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_12" doxytag="NL3D::CWaterShape::setHeightMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setHeightMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>k</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03487.html">ITexture</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>hm</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>
+Set a height map, used to generate a bumpmap (useful if supported by hardware...) NB : not to be confused with the height map used to modify the geometry, it only modify texture
+<p>
+Definition at line <a class="el" href="a06741.html#l00427">427</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00211">_BumpMap</a>, <a class="el" href="a06742.html#l00224">_HeightMapTouch</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00428 {
+00429 <a class="code" href="a04199.html#a6">nlassert</a>(k &lt; 2);
+00430 <span class="keywordflow">if</span> (!<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[k])
+00431 {
+00432 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[k] = <span class="keyword">new</span> CTextureBump;
+00433 }
+00434 static_cast&lt;CTextureBump *&gt;( (ITexture *) <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[k])-&gt;forceNormalize(<span class="keyword">true</span>);
+00435 static_cast&lt;CTextureBump *&gt;( (ITexture *) <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[k])-&gt;setHeightMap(hm);
+00436 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_19">_HeightMapTouch</a>[k] = <span class="keyword">true</span>; <span class="comment">// must recompute normalization factor</span>
+00437 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_13" doxytag="NL3D::CWaterShape::setHeightMapScale" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setHeightMapScale </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>k</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>scale</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>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00518">518</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00214">_HeightMapScale</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00519 {
+00520 <a class="code" href="a04199.html#a6">nlassert</a>(k &lt; 2);
+00521 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_17">_HeightMapScale</a>[k] = scale;
+00522 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1184_14" doxytag="NL3D::CWaterShape::setHeightMapSpeed" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setHeightMapSpeed </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>k</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03660.html">NLMISC::CVector2f</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>speed</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>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00534">534</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00215">_HeightMapSpeed</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00535 {
+00536 <a class="code" href="a04199.html#a6">nlassert</a>(k &lt; 2);
+00537 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_18">_HeightMapSpeed</a>[k] = speed;
+00538 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_12" doxytag="NL3D::CWaterShape::setScreenGridSize" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setScreenGridSize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>y</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+set the resolution for the grid that is used for tesselation
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00382">382</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06741.html#l00180">_GridSizeTouched</a>, <a class="el" href="a06741.html#l00171">_XScreenGridSize</a>, <a class="el" href="a06741.html#l00172">_YScreenGridSize</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00383 {
+00384 <a class="code" href="a04199.html#a6">nlassert</a>(x &gt; 0 &amp;&amp; y &gt; 0);
+00385 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_38">_XScreenGridSize</a> = <a class="code" href="a04223.html#a572">x</a>;
+00386 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_40">_YScreenGridSize</a> = <a class="code" href="a04223.html#a573">y</a>;
+00387 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_26">_GridSizeTouched</a> = <span class="keyword">true</span>;
+00388 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_4" doxytag="NL3D::CWaterShape::setShape" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setShape </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03101.html">NLMISC::CPolygon2D</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>poly</em> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+get the polygon used by this shape, in the object space
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00401">401</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06741.html#l00410">computeBBox()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06191.html#l00126">NLMISC::CPolygon2D::Vertices</a>.
+<p>
+<div class="fragment"><pre>00402 {
+00403 <a class="code" href="a04199.html#a6">nlassert</a>(poly.<a class="code" href="a03101.html#NLMISC_1_1CPolygon2Do0">Vertices</a>.size() != 0); <span class="comment">// empty poly not allowed</span>
+00404 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_20">_Poly</a> = poly;
+00405 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_2">computeBBox</a>();
+00406 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1186_1" doxytag="NL3D::CWaterShape::setTransitionRatio" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setTransitionRatio </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>percent</em> </td>
+ <td class="md" valign="top">&nbsp;)&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="a06742.html#l00181">181</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06742.html#l00221">_TransitionRatio</a>.
+<p>
+<div class="fragment"><pre>00181 { <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_21">_TransitionRatio</a> = percent; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_25" doxytag="NL3D::CWaterShape::setupVertexBuffer" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setupVertexBuffer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [static, private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00274">274</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06741.html#l00180">_GridSizeTouched</a>, <a class="el" href="a06741.html#l00178">_IBDownUp</a>, <a class="el" href="a06741.html#l00177">_IBUpDown</a>, <a class="el" href="a06741.html#l00175">_MaxGridSize</a>, <a class="el" href="a06741.html#l00173">_XGridBorder</a>, <a class="el" href="a06741.html#l00171">_XScreenGridSize</a>, <a class="el" href="a06741.html#l00172">_YScreenGridSize</a>, <a class="el" href="a06710.html#l00338">NL3D::CVertexBuffer::addValueEx()</a>, <a class="el" href="a06710.html#l00271">NL3D::CVertexBuffer::clearValueEx()</a>, <a class="el" href="a06710.html#l00369">NL3D::CVertexBuffer::initEx()</a>, <a class="el" href="a06710.html#l00409">NL3D::CVertexBuffer::setNumVertices()</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05646.html#l00236">w</a>, <a class="el" href="a06742.html#l00054">NL3D::WATER_VB_DX</a>, <a class="el" href="a06742.html#l00053">NL3D::WATER_VB_POS</a>, and <a class="el" href="a05646.html#l00236">x</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l00437">NL3D::CWaterModel::traverseRender()</a>.
+<p>
+<div class="fragment"><pre>00275 {
+00276 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> rotLength = (<a class="code" href="a04558.html#a15">uint</a>) ::ceilf(::sqrtf((<span class="keywordtype">float</span>) ((<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_38">_XScreenGridSize</a> &gt;&gt; 1) * (<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_38">_XScreenGridSize</a> &gt;&gt; 1)
+00277 + (<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_40">_YScreenGridSize</a> &gt;&gt; 1) * (<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_40">_YScreenGridSize</a> &gt;&gt; 1))));
+00278 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_29">_MaxGridSize</a> = 2 * rotLength;
+00279 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a575">w</a> = <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_29">_MaxGridSize</a> + 2 * <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_37">_XGridBorder</a>;
+00280
+00281 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_30">_VB</a>.clearValueEx();
+00282 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_30">_VB</a>.addValueEx (WATER_VB_POS, CVertexBuffer::Float3);
+00283 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_30">_VB</a>.addValueEx (WATER_VB_DX, CVertexBuffer::Float2);
+00284
+00285 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_30">_VB</a>.initEx();
+00286 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_30">_VB</a>.setNumVertices((w + 1) * 2);
+00287
+00288
+00289
+00290 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a572">x</a>;
+00291
+00292 <span class="comment">// setup each index buffer</span>
+00293 <span class="comment">// We need 2 vb, because, each time 2 lines of the vertex buffer are filled, we start at the beginning again</span>
+00294 <span class="comment">// So we need 1 vb for triangle drawn up to down, and one other for triangle drawn down to top </span>
+00295
+00296 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_28">_IBUpDown</a>.resize(6 * w);
+00297 <span class="keywordflow">for</span> (<a class="code" href="a04223.html#a572">x</a> = 0; <a class="code" href="a04223.html#a572">x</a> &lt; <a class="code" href="a04223.html#a575">w</a>; ++<a class="code" href="a04223.html#a572">x</a>)
+00298 {
+00299 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_28">_IBUpDown</a> [ 6 * <a class="code" href="a04223.html#a572">x</a> ] = <a class="code" href="a04223.html#a572">x</a>;
+00300 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_28">_IBUpDown</a> [ 6 * <a class="code" href="a04223.html#a572">x</a> + 1 ] = <a class="code" href="a04223.html#a572">x</a> + 1 + (<a class="code" href="a04223.html#a575">w</a> + 1);
+00301 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_28">_IBUpDown</a> [ 6 * <a class="code" href="a04223.html#a572">x</a> + 2 ] = <a class="code" href="a04223.html#a572">x</a> + 1;
+00302
+00303 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_28">_IBUpDown</a> [ 6 * <a class="code" href="a04223.html#a572">x</a> + 3 ] = <a class="code" href="a04223.html#a572">x</a>;
+00304 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_28">_IBUpDown</a> [ 6 * <a class="code" href="a04223.html#a572">x</a> + 4 ] = <a class="code" href="a04223.html#a572">x</a> + 1 + (<a class="code" href="a04223.html#a575">w</a> + 1);
+00305 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_28">_IBUpDown</a> [ 6 * <a class="code" href="a04223.html#a572">x</a> + 5 ] = <a class="code" href="a04223.html#a572">x</a> + (<a class="code" href="a04223.html#a575">w</a> + 1);
+00306
+00307 }
+00308
+00309 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_27">_IBDownUp</a>.resize(6 * w);
+00310 <span class="keywordflow">for</span> (<a class="code" href="a04223.html#a572">x</a> = 0; <a class="code" href="a04223.html#a572">x</a> &lt; <a class="code" href="a04223.html#a575">w</a>; ++<a class="code" href="a04223.html#a572">x</a>)
+00311 {
+00312 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_27">_IBDownUp</a> [ 6 * <a class="code" href="a04223.html#a572">x</a> ] = <a class="code" href="a04223.html#a572">x</a>;
+00313 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_27">_IBDownUp</a> [ 6 * <a class="code" href="a04223.html#a572">x</a> + 1 ] = <a class="code" href="a04223.html#a572">x</a> + 1;
+00314 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_27">_IBDownUp</a> [ 6 * <a class="code" href="a04223.html#a572">x</a> + 2 ] = <a class="code" href="a04223.html#a572">x</a> + 1 + (<a class="code" href="a04223.html#a575">w</a> + 1);
+00315
+00316 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_27">_IBDownUp</a> [ 6 * <a class="code" href="a04223.html#a572">x</a> + 3 ] = <a class="code" href="a04223.html#a572">x</a>;
+00317 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_27">_IBDownUp</a> [ 6 * <a class="code" href="a04223.html#a572">x</a> + 4 ] = <a class="code" href="a04223.html#a572">x</a> + (<a class="code" href="a04223.html#a575">w</a> + 1);
+00318 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_27">_IBDownUp</a> [ 6 * <a class="code" href="a04223.html#a572">x</a> + 5 ] = <a class="code" href="a04223.html#a572">x</a> + 1 + (<a class="code" href="a04223.html#a575">w</a> + 1);
+00319
+00320 }
+00321
+00322 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_26">_GridSizeTouched</a> = <span class="keyword">false</span>;
+00323 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_5" doxytag="NL3D::CWaterShape::setWaterPoolID" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setWaterPoolID </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>id</em> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+all water shape that have the same weter id will share the same height map for wave propagations
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00120">120</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06742.html#l00209">_WaterPoolID</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00120 { <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_22">_WaterPoolID</a> = <span class="keywordtype">id</span>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1182_6" doxytag="NL3D::CWaterShape::setWaveHeightFactor" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::setWaveHeightFactor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&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>
+Set a factor that is applied to waves height when they are displayed. default is 1.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00142">142</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+References <a class="el" href="a06742.html#l00222">_WaveHeightFactor</a>.
+<p>
+<div class="fragment"><pre>00142 { <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_23">_WaveHeightFactor</a> = f; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1IShapez904_0" doxytag="NL3D::CWaterShape::supportMeshBlockRendering" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a02879.html">IMeshGeom</a>* NL3D::IShape::supportMeshBlockRendering </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02537.html">CTransformShape</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>trans</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>polygonCount</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [inline, virtual, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return !NULL if this shape can support MeshBlock rendering for a special instance. NB: Mesh Block render cannot occurs if the Mesh is Skinned/MeshMorphed. NB: Mesh Block render can occurs only in Opaque pass NB: Mesh block render can occurs only for <a class="el" href="a02858.html">CMeshBase</a> meshes. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>trans</em>&nbsp;</td><td>the instance to take into account (meshMultiLod may return NULL in blend transition). </td></tr>
+ <tr><td valign=top><em>polygonCount</em>&nbsp;</td><td>the number of polygons to render for the meshGeom returned </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>the meshgeom to render per block if OK, else NULL (default)</dd></dl>
+
+<p>
+Reimplemented in <a class="el" href="a02857.html#NL3D_1_1CMeshz409_0">NL3D::CMesh</a>, <a class="el" href="a02891.html#NL3D_1_1CMeshMRMz497_0">NL3D::CMeshMRM</a>, <a class="el" href="a02900.html#NL3D_1_1CMeshMRMSkinnedz529_0">NL3D::CMeshMRMSkinned</a>, and <a class="el" href="a02910.html#NL3D_1_1CMeshMultiLodz539_0">NL3D::CMeshMultiLod</a>.
+<p>
+Definition at line <a class="el" href="a06377.html#l00158">158</a> of file <a class="el" href="a06377.html">shape.h</a>.
+<p>
+<div class="fragment"><pre>00158 {<span class="keywordflow">return</span> NULL;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_4" doxytag="NL3D::CWaterShape::updateHeightMapNormalizationFactors" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CWaterShape::updateHeightMapNormalizationFactors </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00627">627</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+References <a class="el" href="a06742.html#l00211">_BumpMap</a>, <a class="el" href="a06742.html#l00225">_HeightMapNormalizationFactor</a>, <a class="el" href="a06742.html#l00224">_HeightMapTouch</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00628 {
+00629 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k &lt; 2; ++k)
+00630 {
+00631 <span class="keywordflow">if</span> (<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_19">_HeightMapTouch</a>[k])
+00632 {
+00633 <span class="keywordflow">if</span> (<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[k] != NULL)
+00634 {
+00635 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[k]-&gt;generate();
+00636 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_16">_HeightMapNormalizationFactor</a>[k] = NLMISC::safe_cast&lt;CTextureBump *&gt;((ITexture *)<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[k])-&gt;getNormalizationFactor();
+00637 <span class="keywordflow">if</span> (<a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[k]-&gt;getReleasable())
+00638 {
+00639 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_6">_BumpMap</a>[k]-&gt;release();
+00640 }
+00641 }
+00642 <span class="keywordflow">else</span>
+00643 {
+00644 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_16">_HeightMapNormalizationFactor</a>[k] = 1.f;
+00645 }
+00646 <a class="code" href="a03724.html#NL3D_1_1CWaterShapez1190_19">_HeightMapTouch</a>[k] = <span class="keyword">false</span>;
+00647 }
+00648 }
+00649 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1IShapez902_0" doxytag="NL3D::CWaterShape::useLightingLocalAttenuation" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual bool NL3D::IShape::useLightingLocalAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+tells if the shape wants LocalAttenuation for RealTime lighting. Default is false
+<p>
+Reimplemented in <a class="el" href="a02858.html#NL3D_1_1CMeshMultiLoda14">NL3D::CMeshBase</a>.
+<p>
+Definition at line <a class="el" href="a06377.html#l00142">142</a> of file <a class="el" href="a06377.html">shape.h</a>.
+<p>
+<div class="fragment"><pre>00142 {<span class="keywordflow">return</span> <span class="keyword">false</span>;}
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a class="anchor" name="NLGEORGES_1_1UTypen0" doxytag="NL3D::CWaterShape::CPtrInfo" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> friend struct CPtrInfo<code> [friend, inherited]</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="a06402.html#l00067">67</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_41" doxytag="NL3D::CWaterShape::CWaterModel" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> friend class <a class="el" href="a03721.html">CWaterModel</a><code> [friend]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00200">200</a> of file <a class="el" href="a06742.html">water_shape.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_5" doxytag="NL3D::CWaterShape::_BBox" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02156.html">NLMISC::CAABBox</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_5">NL3D::CWaterShape::_BBox</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00207">207</a> of file <a class="el" href="a06742.html">water_shape.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_6" doxytag="NL3D::CWaterShape::_BumpMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03408.html">NLMISC::CSmartPtr</a>&lt;<a class="el" href="a03487.html">ITexture</a>&gt; <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_6">NL3D::CWaterShape::_BumpMap</a>[2]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00211">211</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l01170">NL3D::CWaterModel::doSimpleRender()</a>, <a class="el" href="a06741.html#l00441">getHeightMap()</a>, <a class="el" href="a06741.html#l00427">setHeightMap()</a>, <a class="el" href="a06737.html#l00831">NL3D::CWaterModel::setupMaterialNVertexShader()</a>, and <a class="el" href="a06741.html#l00627">updateHeightMapNormalizationFactors()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_7" doxytag="NL3D::CWaterShape::_ColorMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03408.html">NLMISC::CSmartPtr</a>&lt;<a class="el" href="a03487.html">ITexture</a>&gt; <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_7">NL3D::CWaterShape::_ColorMap</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00212">212</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l01170">NL3D::CWaterModel::doSimpleRender()</a>, <a class="el" href="a06742.html#l00172">getColorMap()</a>, <a class="el" href="a06741.html#l00593">setColorMap()</a>, and <a class="el" href="a06737.html#l00831">NL3D::CWaterModel::setupMaterialNVertexShader()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_8" doxytag="NL3D::CWaterShape::_ColorMapMatColumn0" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03660.html">NLMISC::CVector2f</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_8">NL3D::CWaterShape::_ColorMapMatColumn0</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00216">216</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l01170">NL3D::CWaterModel::doSimpleRender()</a>, and <a class="el" href="a06737.html#l01339">NL3D::CWaterModel::updateDiffuseMapMatrix()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_9" doxytag="NL3D::CWaterShape::_ColorMapMatColumn1" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03660.html">NLMISC::CVector2f</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_9">NL3D::CWaterShape::_ColorMapMatColumn1</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00216">216</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l01170">NL3D::CWaterModel::doSimpleRender()</a>, and <a class="el" href="a06737.html#l01339">NL3D::CWaterModel::updateDiffuseMapMatrix()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_10" doxytag="NL3D::CWaterShape::_ColorMapMatPos" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03660.html">NLMISC::CVector2f</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_10">NL3D::CWaterShape::_ColorMapMatPos</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00216">216</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l01170">NL3D::CWaterModel::doSimpleRender()</a>, and <a class="el" href="a06737.html#l01339">NL3D::CWaterModel::updateDiffuseMapMatrix()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_11" doxytag="NL3D::CWaterShape::_ComputeLightmap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_11">NL3D::CWaterShape::_ComputeLightmap</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00223">223</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06742.html#l00196">enableLightMapping()</a>, and <a class="el" href="a06742.html#l00197">isLightMappingEnabled()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_12" doxytag="NL3D::CWaterShape::_DefaultPos" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03551.html">CTrackDefaultVector</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_12">NL3D::CWaterShape::_DefaultPos</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00218">218</a> of file <a class="el" href="a06742.html">water_shape.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_13" doxytag="NL3D::CWaterShape::_DefaultRotQuat" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03548.html">CTrackDefaultQuat</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_13">NL3D::CWaterShape::_DefaultRotQuat</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00220">220</a> of file <a class="el" href="a06742.html">water_shape.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_14" doxytag="NL3D::CWaterShape::_DefaultScale" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03551.html">CTrackDefaultVector</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_14">NL3D::CWaterShape::_DefaultScale</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00219">219</a> of file <a class="el" href="a06742.html">water_shape.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1IShapep0" doxytag="NL3D::CWaterShape::_DistMax" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float <a class="el" href="a02539.html#NL3D_1_1IShapep0">NL3D::IShape::_DistMax</a><code> [protected, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Default to -1.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06377.html#l00165">165</a> of file <a class="el" href="a06377.html">shape.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_15" doxytag="NL3D::CWaterShape::_EnvMap" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03408.html">NLMISC::CSmartPtr</a>&lt;<a class="el" href="a03487.html">ITexture</a>&gt; <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_15">NL3D::CWaterShape::_EnvMap</a>[2]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00210">210</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l01170">NL3D::CWaterModel::doSimpleRender()</a>, <a class="el" href="a06741.html#l00568">envMapUpdate()</a>, <a class="el" href="a06742.html#l00154">getEnvMap()</a>, <a class="el" href="a06741.html#l00601">setEnvMap()</a>, <a class="el" href="a06737.html#l00831">NL3D::CWaterModel::setupMaterialNVertexShader()</a>, and <a class="el" href="a06741.html#l00240">~CWaterShape()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_26" doxytag="NL3D::CWaterShape::_GridSizeTouched" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_26">NL3D::CWaterShape::_GridSizeTouched</a> = true<code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00180">180</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00392">setGridBorderSize()</a>, <a class="el" href="a06741.html#l00382">setScreenGridSize()</a>, <a class="el" href="a06741.html#l00274">setupVertexBuffer()</a>, and <a class="el" href="a06737.html#l00437">NL3D::CWaterModel::traverseRender()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_16" doxytag="NL3D::CWaterShape::_HeightMapNormalizationFactor" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_16">NL3D::CWaterShape::_HeightMapNormalizationFactor</a>[2]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00225">225</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00627">updateHeightMapNormalizationFactors()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_17" doxytag="NL3D::CWaterShape::_HeightMapScale" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03660.html">NLMISC::CVector2f</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_17">NL3D::CWaterShape::_HeightMapScale</a>[2]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00214">214</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00221">CWaterShape()</a>, <a class="el" href="a06737.html#l01170">NL3D::CWaterModel::doSimpleRender()</a>, <a class="el" href="a06741.html#l00526">getHeightMapScale()</a>, <a class="el" href="a06741.html#l00518">setHeightMapScale()</a>, and <a class="el" href="a06737.html#l00831">NL3D::CWaterModel::setupMaterialNVertexShader()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_18" doxytag="NL3D::CWaterShape::_HeightMapSpeed" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03660.html">NLMISC::CVector2f</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_18">NL3D::CWaterShape::_HeightMapSpeed</a>[2]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00215">215</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00221">CWaterShape()</a>, <a class="el" href="a06737.html#l01170">NL3D::CWaterModel::doSimpleRender()</a>, <a class="el" href="a06741.html#l00542">getHeightMapSpeed()</a>, <a class="el" href="a06741.html#l00534">setHeightMapSpeed()</a>, and <a class="el" href="a06737.html#l00831">NL3D::CWaterModel::setupMaterialNVertexShader()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_19" doxytag="NL3D::CWaterShape::_HeightMapTouch" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_19">NL3D::CWaterShape::_HeightMapTouch</a>[2]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00224">224</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00221">CWaterShape()</a>, <a class="el" href="a06741.html#l00427">setHeightMap()</a>, and <a class="el" href="a06741.html#l00627">updateHeightMapNormalizationFactors()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_27" doxytag="NL3D::CWaterShape::_IBDownUp" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt; <a class="el" href="a04558.html#a11">uint32</a> &gt; <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_27">NL3D::CWaterShape::_IBDownUp</a><code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00178">178</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00274">setupVertexBuffer()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_28" doxytag="NL3D::CWaterShape::_IBUpDown" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt; <a class="el" href="a04558.html#a11">uint32</a> &gt; <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_28">NL3D::CWaterShape::_IBUpDown</a><code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00177">177</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00274">setupVertexBuffer()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_29" doxytag="NL3D::CWaterShape::_MaxGridSize" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_29">NL3D::CWaterShape::_MaxGridSize</a><code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00175">175</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00274">setupVertexBuffer()</a>, and <a class="el" href="a06737.html#l00437">NL3D::CWaterModel::traverseRender()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_20" doxytag="NL3D::CWaterShape::_Poly" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03101.html">NLMISC::CPolygon2D</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_20">NL3D::CWaterShape::_Poly</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00208">208</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l01054">NL3D::CWaterModel::computeClippedPoly()</a>, <a class="el" href="a06737.html#l01026">NL3D::CWaterModel::computeSimpleClippedPoly()</a>, and <a class="el" href="a06737.html#l01170">NL3D::CWaterModel::doSimpleRender()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_21" doxytag="NL3D::CWaterShape::_TransitionRatio" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_21">NL3D::CWaterShape::_TransitionRatio</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00221">221</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l01054">NL3D::CWaterModel::computeClippedPoly()</a>, <a class="el" href="a06742.html#l00182">getTransitionRatio()</a>, <a class="el" href="a06742.html#l00181">setTransitionRatio()</a>, and <a class="el" href="a06737.html#l00437">NL3D::CWaterModel::traverseRender()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_30" doxytag="NL3D::CWaterShape::_VB" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03692.html">CVertexBuffer</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_30">NL3D::CWaterShape::_VB</a><code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00176">176</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l00437">NL3D::CWaterModel::traverseRender()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_31" doxytag="NL3D::CWaterShape::_VertexProgramBump1" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::auto_ptr&lt; <a class="el" href="a03702.html">CVertexProgram</a> &gt; <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_31">NL3D::CWaterShape::_VertexProgramBump1</a><code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00181">181</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00253">initVertexProgram()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_32" doxytag="NL3D::CWaterShape::_VertexProgramBump1Diffuse" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::auto_ptr&lt; <a class="el" href="a03702.html">CVertexProgram</a> &gt; <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_32">NL3D::CWaterShape::_VertexProgramBump1Diffuse</a><code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00183">183</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00253">initVertexProgram()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_33" doxytag="NL3D::CWaterShape::_VertexProgramBump2" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::auto_ptr&lt; <a class="el" href="a03702.html">CVertexProgram</a> &gt; <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_33">NL3D::CWaterShape::_VertexProgramBump2</a><code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00182">182</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00253">initVertexProgram()</a>, and <a class="el" href="a06737.html#l00831">NL3D::CWaterModel::setupMaterialNVertexShader()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_34" doxytag="NL3D::CWaterShape::_VertexProgramBump2Diffuse" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::auto_ptr&lt; <a class="el" href="a03702.html">CVertexProgram</a> &gt; <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_34">NL3D::CWaterShape::_VertexProgramBump2Diffuse</a><code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00184">184</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00253">initVertexProgram()</a>, and <a class="el" href="a06737.html#l00831">NL3D::CWaterModel::setupMaterialNVertexShader()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_35" doxytag="NL3D::CWaterShape::_VertexProgramNoBump" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::auto_ptr&lt; <a class="el" href="a03702.html">CVertexProgram</a> &gt; <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_35">NL3D::CWaterShape::_VertexProgramNoBump</a><code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00185">185</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00253">initVertexProgram()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_36" doxytag="NL3D::CWaterShape::_VertexProgramNoBumpDiffuse" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::auto_ptr&lt; <a class="el" href="a03702.html">CVertexProgram</a> &gt; <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_36">NL3D::CWaterShape::_VertexProgramNoBumpDiffuse</a><code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00186">186</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06741.html#l00253">initVertexProgram()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_22" doxytag="NL3D::CWaterShape::_WaterPoolID" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_22">NL3D::CWaterShape::_WaterPoolID</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00209">209</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l00127">NL3D::CWaterModel::getAttenuatedHeight()</a>, <a class="el" href="a06737.html#l00117">NL3D::CWaterModel::getHeight()</a>, <a class="el" href="a06737.html#l00100">NL3D::CWaterModel::getWaterHeightMapID()</a>, <a class="el" href="a06742.html#l00121">getWaterPoolID()</a>, <a class="el" href="a06742.html#l00120">setWaterPoolID()</a>, and <a class="el" href="a06737.html#l00437">NL3D::CWaterModel::traverseRender()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_23" doxytag="NL3D::CWaterShape::_WaveHeightFactor" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_23">NL3D::CWaterShape::_WaveHeightFactor</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06742.html#l00222">222</a> of file <a class="el" href="a06742.html">water_shape.h</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l00127">NL3D::CWaterModel::getAttenuatedHeight()</a>, <a class="el" href="a06737.html#l00117">NL3D::CWaterModel::getHeight()</a>, <a class="el" href="a06737.html#l00108">NL3D::CWaterModel::getHeightFactor()</a>, <a class="el" href="a06742.html#l00145">getWaveHeightFactor()</a>, <a class="el" href="a06737.html#l00831">NL3D::CWaterModel::setupMaterialNVertexShader()</a>, and <a class="el" href="a06742.html#l00142">setWaveHeightFactor()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_37" doxytag="NL3D::CWaterShape::_XGridBorder" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_37">NL3D::CWaterShape::_XGridBorder</a> = 4<code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00173">173</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06742.html#l00128">getXGridBorder()</a>, <a class="el" href="a06741.html#l00392">setGridBorderSize()</a>, <a class="el" href="a06741.html#l00274">setupVertexBuffer()</a>, and <a class="el" href="a06737.html#l00437">NL3D::CWaterModel::traverseRender()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_38" doxytag="NL3D::CWaterShape::_XScreenGridSize" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_38">NL3D::CWaterShape::_XScreenGridSize</a> = 40<code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00171">171</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06742.html#l00126">getScreenXGridSize()</a>, <a class="el" href="a06741.html#l00382">setScreenGridSize()</a>, and <a class="el" href="a06741.html#l00274">setupVertexBuffer()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_39" doxytag="NL3D::CWaterShape::_YGridBorder" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_39">NL3D::CWaterShape::_YGridBorder</a> = 4<code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00174">174</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06742.html#l00129">getYGridBorder()</a>, and <a class="el" href="a06741.html#l00392">setGridBorderSize()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CWaterShapez1190_40" doxytag="NL3D::CWaterShape::_YScreenGridSize" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03724.html#NL3D_1_1CWaterShapez1190_40">NL3D::CWaterShape::_YScreenGridSize</a> = 40<code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells this shape that it can replace its colormap by a lightmap during the zone lighting.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06741.html#l00172">172</a> of file <a class="el" href="a06741.html">water_shape.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06742.html#l00127">getScreenYGridSize()</a>, <a class="el" href="a06741.html#l00382">setScreenGridSize()</a>, and <a class="el" href="a06741.html#l00274">setupVertexBuffer()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypeo0" doxytag="NL3D::CWaterShape::crefs" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">NLMISC::CRefCount::crefs</a><code> [mutable, inherited]</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="a06402.html#l00079">79</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
+<p>
+Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, <a class="el" href="a06402.html#l00070">NLMISC::CRefCount::getRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypes0" doxytag="NL3D::CWaterShape::NullPtrInfo" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03320.html">CRefCount::CPtrInfo</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NLMISC::CRefCount::NullPtrInfo</a><code> [static, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypeo1" doxytag="NL3D::CWaterShape::pinfo" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CPtrInfo* <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">NLMISC::CRefCount::pinfo</a><code> [mutable, inherited]</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="a06402.html#l00080">80</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
+<p>
+Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a06742.html">water_shape.h</a><li><a class="el" href="a06741.html">water_shape.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:31:25 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>