<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <HTML> <HEAD> <TITLE>nevrax.org : docs</TITLE> <LINK REL=stylesheet TYPE="text/css" HREF="/inc/css/nevrax.css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </HEAD> <BODY MARGINHEIGHT="0" MARGINWIDTH="0"> <!-- uplinks --> <TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> <TR> <TD WIDTH=16><IMG SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> <TD WIDTH=16><IMG SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> <TD><IMG width=6 height=14 SRC="/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF='/'><b>Home</B></FONT></A> </TD> <TD><IMG width=6 height=14 SRC="/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF='/'><b>nevrax.com</B></FONT></A> </TD> </TR> </TABLE> <!-- banner Nevrax --> <TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> <TR><TD BGCOLOR="#000000" BACKGROUND="/inc/img/black_banner.jpg"><A HREF=""><IMG SRC="/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> </TABLE> <!-- main table --> <TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> <TR> <TD WIDTH=16><IMG SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> <!------ Begin Box ------> <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> <TABLE cellspacing=0 cellpadding=1 border=0> <tr><td ALIGN=middle><a class='linkbox' href="/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="/news/" TITLE="News">News</a></td></tr> <tr><td ALIGN=middle><a class='linkbox' href="/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> <tr><td ALIGN=middle><a class='linkbox' href="/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="/docs/" TITLE="Documentation">Documentation</a></td></tr> <tr><td ALIGN=middle><a class='linkbox' href="/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="/cvs/" TITLE="CVS Web">CVS</a></td></tr> <tr><td ALIGN=middle><a class='linkbox' href="/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> <tr><td ALIGN=middle><a class='linkbox' href="/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="/GPL.php3" TITLE="License">License</a></td></tr> </TABLE> </TD></TR></TABLE></TD></TR></TABLE> <!------ End Box ------> </TD> <TD WIDTH=15><IMG SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> <TD ALIGN=left valign=top><IMG SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> <!-- title --> <TABLE background="/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> <A HREF="/docs/"><img src="/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> </td><td><IMG SRC="/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> </td></tr></table> <!-- block --> <TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="/inc/img/reddots.gif"></TD> <TD><B>Documentation</B></TD> <TD ALIGN=RIGHT> </td> </tr></table> <!-- Generated by Doxygen 1.2.14 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:/cgi-bin/nel-search.cgi" href="/cgi-bin/nel-search.cgi">Search</a> </center> <hr><h1>NL3D::CWaterRenderObs Class Reference</h1><code>#include <<a class="el" href="water__model_8h-source.html">water_model.h</a>></code> <p> <p>Inheritance diagram for NL3D::CWaterRenderObs: <p><center><img src="classNL3D_1_1CWaterRenderObs.gif" usemap="#NL3D::CWaterRenderObs_map" border="0"></center> <map name="NL3D::CWaterRenderObs_map"> <area href="classNL3D_1_1CTransformShapeRenderObs.html" alt="NL3D::CTransformShapeRenderObs" shape="rect" coords="0,224,216,248"> <area href="classNL3D_1_1CTransformRenderObs.html" alt="NL3D::CTransformRenderObs" shape="rect" coords="0,168,216,192"> <area href="classNL3D_1_1IBaseRenderObs.html" alt="NL3D::IBaseRenderObs" shape="rect" coords="0,112,216,136"> <area href="classNL3D_1_1IObs.html" alt="NL3D::IObs" shape="rect" coords="0,56,216,80"> <area href="classNLMISC_1_1CRefCount.html" alt="NLMISC::CRefCount" shape="rect" coords="0,0,216,24"> </map> <a href="classNL3D_1_1CWaterRenderObs-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CWaterRenderObs.html#a0">traverse</a> (<a class="el" href="classNL3D_1_1IObs.html">IObs</a> *caller)</td></tr> <tr><td> </td><td><font size=-1><em>setup lighting if lightable, render the instance and Don't <a class="el" href="classNL3D_1_1IObs.html#z620_0">traverseSons</a>().</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1IObs.html">IObs</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CWaterRenderObs.html#d0">creator</a> ()</td></tr> <tr><td colspan=2><br><h2>Private Methods</h2></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CWaterRenderObs.html#c0">setupMaterialNVertexShader</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *drv, <a class="el" href="classNL3D_1_1CWaterShape.html">CWaterShape</a> *shape, const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &obsPos, bool above, float maxDist, float zHeight)</td></tr> <tr><td> </td><td><font size=-1><em>Compute a quad in Water height field space that contains the useful heights This helps us to decide wether we should do a lookup in the height map.</em> <a href="#c0">More...</a><em></em></font><br><br></td></tr> </table> <hr><h2>Member Function Documentation</h2> <a name="d0" doxytag="NL3D::CWaterRenderObs::creator"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1IObs.html">IObs</a>* NL3D::CWaterRenderObs::creator </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline, static]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented from <a class="el" href="classNL3D_1_1CTransformShapeRenderObs.html#d0">NL3D::CTransformShapeRenderObs</a>. <p> Definition at line <a class="el" href="water__model_8h-source.html#l00090">90</a> of file <a class="el" href="water__model_8h-source.html">water_model.h</a>. <p> References <a class="el" href="mot_8cpp-source.html#l00584">NL3D::IObs::IObs</a>. </td> </tr> </table> <a name="c0" doxytag="NL3D::CWaterRenderObs::setupMaterialNVertexShader"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void NL3D::CWaterRenderObs::setupMaterialNVertexShader </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> * </td> <td class="mdname" nowrap> <em>drv</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classNL3D_1_1CWaterShape.html">CWaterShape</a> * </td> <td class="mdname" nowrap> <em>shape</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & </td> <td class="mdname" nowrap> <em>obsPos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>above</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>float </td> <td class="mdname" nowrap> <em>maxDist</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>float </td> <td class="mdname" nowrap> <em>zHeight</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [private]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Compute a quad in Water height field space that contains the useful heights This helps us to decide wether we should do a lookup in the height map. <p> <p> Definition at line <a class="el" href="water__model_8cpp-source.html#l00816">816</a> of file <a class="el" href="water__model_8cpp-source.html">water_model.cpp</a>. <p> References <a class="el" href="time__nl_8cpp-source.html#l00055">NLMISC::CTime::getLocalTime</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, <a class="el" href="vector__h_8h-source.html#l00060">NLMISC::CVectorH::set</a>, <a class="el" href="classNLMISC_1_1CRGBA.html#p7">NLMISC::CRGBA::White</a>, <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::z</a>. <p> Referenced by <a class="el" href="water__model_8cpp-source.html#l00364">traverse</a>. </td> </tr> </table> <a name="a0" doxytag="NL3D::CWaterRenderObs::traverse"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void NL3D::CWaterRenderObs::traverse </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IObs.html">IObs</a> * </td> <td class="mdname1" valign="top" nowrap> <em>caller</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> setup lighting if lightable, render the instance and Don't <a class="el" href="classNL3D_1_1IObs.html#z620_0">traverseSons</a>(). <p> <p> Reimplemented from <a class="el" href="classNL3D_1_1CTransformShapeRenderObs.html#a0">NL3D::CTransformShapeRenderObs</a>. <p> Definition at line <a class="el" href="water__model_8cpp-source.html#l00364">364</a> of file <a class="el" href="water__model_8cpp-source.html">water_model.cpp</a>. <p> References <a class="el" href="polygon_8cpp-source.html#l00056">NLMISC::CPolygon::clip</a>, <a class="el" href="base__render__obs_8h-source.html#l00066">NL3D::IBaseRenderObs::ClipObs</a>, <a class="el" href="polygon_8cpp-source.html#l01075">NLMISC::CPolygon2D::computeBorders</a>, <a class="el" href="water__model_8cpp-source.html#l00322">NL3D::ComputeUpMatrix</a>, <a class="el" href="plane_8h-source.html#l00052">NLMISC::CPlane::d</a>, <a class="el" href="water__model_8cpp-source.html#l00340">NL3D::DrawPoly2D</a>, <a class="el" href="matrix_8cpp-source.html#l00419">NLMISC::CMatrix::getI</a>, <a class="el" href="matrix_8cpp-source.html#l00427">NLMISC::CMatrix::getJ</a>, <a class="el" href="matrix_8cpp-source.html#l00435">NLMISC::CMatrix::getK</a>, <a class="el" href="matrix_8h-source.html#l00188">NLMISC::CMatrix::getPos</a>, <a class="el" href="water__pool__manager_8cpp-source.html#l00078">NL3D::GetWaterPoolManager</a>, <a class="el" href="hierarchical__timer_8h-source.html#l00054">H_AUTO</a>, <a class="el" href="base__render__obs_8h-source.html#l00065">NL3D::IBaseRenderObs::HrcObs</a>, <a class="el" href="matrix_8cpp-source.html#l01167">NLMISC::CMatrix::inverted</a>, <a class="el" href="opcode__register_8cpp-source.html#l00036">NLAISCRIPT::l</a>, <a class="el" href="plane_8cpp-source.html#l00036">NLMISC::CPlane::make</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, <a class="el" href="matrix_8cpp-source.html#l00267">NLMISC::CMatrix::setPos</a>, <a class="el" href="water__model_8cpp-source.html#l00816">setupMaterialNVertexShader</a>, <a class="el" href="water__model_8cpp-source.html#l00167">NL3D::SetupWaterVertex</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00681">t</a>, <a class="el" href="polygon_8h-source.html#l00161">NLMISC::CPolygon2D::TRasterVect</a>, <a class="el" href="mot_8h-source.html#l00540">NL3D::IObs::traverseSons</a>, <a class="el" href="polygon_8h-source.html#l00130">NLMISC::CPolygon2D::Vertices</a>, <a class="el" href="polygon_8h-source.html#l00059">NLMISC::CPolygon::Vertices</a>, <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::z</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="water__model_8h-source.html">water_model.h</a><li><a class="el" href="water__model_8cpp-source.html">water_model.cpp</a></ul> <!-- footer --> <BR><FONT Size=+5> </FONT> </TD> <TD WIDTH=15><IMG SRC=/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> </TR> </TABLE> </BODY> </HTML>