diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/class_NL3D__CDRU.html | 1006 |
1 files changed, 1006 insertions, 0 deletions
diff --git a/docs/doxygen/nel/class_NL3D__CDRU.html b/docs/doxygen/nel/class_NL3D__CDRU.html new file mode 100644 index 00000000..ba739474 --- /dev/null +++ b/docs/doxygen/nel/class_NL3D__CDRU.html @@ -0,0 +1,1006 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.2 on Fri May 4 22:26:39 2001 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CDRU Class Reference</h1>The driver Utilities class of static. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="dru_h-source.html">dru.h</a>></code> +<p> +<a href="class_NL3D__CDRU-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__IDriver.html">IDriver</a>* </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d0">createGlDriver</a> () throw (EDru)</td></tr> +<tr><td> </td><td><font size=-1><em>Portable Function which create a GL Driver (using gl dll...).</em> <a href="#d0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d1">drawBitmap</a> (float x, float y, float width, float height, class <a class="el" href="class_NL3D__ITexture.html">ITexture</a>& texture, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver, <a class="el" href="class_NL3D__CViewport.html">CViewport</a> viewport=<a class="el" href="class_NL3D__CViewport.html">CViewport</a>(), bool blend=true)</td></tr> +<tr><td> </td><td><font size=-1><em>Draw a bitmap 2D. Warning: this is slow...</em> <a href="#d1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d2">drawLine</a> (float x0, float y0, float x1, float y1, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver, CRGBA col= CRGBA(255,255,255,255), <a class="el" href="class_NL3D__CViewport.html">CViewport</a> viewport=<a class="el" href="class_NL3D__CViewport.html">CViewport</a>())</td></tr> +<tr><td> </td><td><font size=-1><em>Draw a line in 2D. Warning: this is slow...</em> <a href="#d2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d3">drawTriangle</a> (float x0, float y0, float x1, float y1, float x2, float y2, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver, CRGBA col, <a class="el" href="class_NL3D__CViewport.html">CViewport</a> viewport)</td></tr> +<tr><td> </td><td><font size=-1><em>Draw a Triangle in 2D. Warning: this is slow...</em> <a href="#d3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d4">drawQuad</a> (float x0, float y0, float x1, float y1, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver, CRGBA col, <a class="el" href="class_NL3D__CViewport.html">CViewport</a> viewport)</td></tr> +<tr><td> </td><td><font size=-1><em>Draw a Quad in 2D. Warning: this is slow...</em> <a href="#d4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d5">drawQuad</a> (float x0, float y0, float x1, float y1, CRGBA col0, CRGBA col1, CRGBA col2, CRGBA col3, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver, <a class="el" href="class_NL3D__CViewport.html">CViewport</a> viewport)</td></tr> +<tr><td> </td><td><font size=-1><em>Draw a color Quad in 2D.</em> <a href="#d5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d6">drawQuad</a> (float xcenter, float ycenter, float radius, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver, CRGBA col, <a class="el" href="class_NL3D__CViewport.html">CViewport</a> viewport)</td></tr> +<tr><td> </td><td><font size=-1><em>Draw a Quad in 2D. Warning: this is slow...</em> <a href="#d6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d7">drawWiredQuad</a> (float x0, float y0, float x1, float y1, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver, CRGBA col, <a class="el" href="class_NL3D__CViewport.html">CViewport</a> viewport)</td></tr> +<tr><td> </td><td><font size=-1><em>Draw a Quad in 2D. Warning: this is slow...</em> <a href="#d7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d8">drawWiredQuad</a> (float xcenter, float ycenter, float radius, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver, CRGBA col, <a class="el" href="class_NL3D__CViewport.html">CViewport</a> viewport)</td></tr> +<tr><td> </td><td><font size=-1><em>Draw a Quad in 2D. Warning: this is slow...</em> <a href="#d8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d9">drawTrianglesUnlit</a> (const <a class="el" href="class_NLMISC__CTriangleUV.html">NLMISC::CTriangleUV</a> *trilist, <a class="el" href="types_nl_h.html#a12">sint</a> ntris, <a class="el" href="class_NL3D__CMaterial.html">CMaterial</a> &mat, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver)</td></tr> +<tr><td> </td><td><font size=-1><em>Draw the triangles, with Vertex and 1 UV. "mat" should not be a lighted material since no normal is computed.</em> <a href="#d9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d10">drawTrianglesUnlit</a> (const std::vector<<a class="el" href="class_NLMISC__CTriangleUV.html">NLMISC::CTriangleUV</a>> &trilist, <a class="el" href="class_NL3D__CMaterial.html">CMaterial</a> &mat, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver)</td></tr> +<tr><td> </td><td><font size=-1><em>Draw the triangles, with Vertex and 1 UV. "mat" should not be a lighted material since no normal is computed.</em> <a href="#d10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d11">drawLinesUnlit</a> (const <a class="el" href="class_NLMISC__CLine.html">NLMISC::CLine</a> *linelist, <a class="el" href="types_nl_h.html#a12">sint</a> nlines, <a class="el" href="class_NL3D__CMaterial.html">CMaterial</a> &mat, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver)</td></tr> +<tr><td> </td><td><font size=-1><em>Draw the Lines, with Vertex only. "mat" should not be a lighted material since no normal is computed.</em> <a href="#d11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d12">drawLinesUnlit</a> (const std::vector<<a class="el" href="class_NLMISC__CLine.html">NLMISC::CLine</a>> &linelist, <a class="el" href="class_NL3D__CMaterial.html">CMaterial</a> &mat, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver)</td></tr> +<tr><td> </td><td><font size=-1><em>Draw the Lines, with Vertex only. "mat" should not be a lighted material since no normal is computed.</em> <a href="#d12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CDRU.html#d13">drawLine</a> (const CVector &a, const CVector &b, CRGBA color, <a class="el" href="class_NL3D__IDriver.html">IDriver</a>& driver)</td></tr> +<tr><td> </td><td><font size=-1><em>Draw one line in 3D only, with a specific color.</em> <a href="#d13">More...</a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +The driver Utilities class of static. +<p> + +<p> + +<p> +Definition at line <a class="el" href="dru_h-source.html#l00087">87</a> of file <a class="el" href="dru_h-source.html">dru.h</a>.<hr><h2>Member Function Documentation</h2> +<a name="d0" doxytag="NL3D::CDRU::createGlDriver"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> * NL3D::CDRU::createGlDriver ( + </b></td> + <td valign="bottom"><b> +) throw (<a class="el" href="class_NL3D__EDru.html">EDru</a>)<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Portable Function which create a GL Driver (using gl dll...). +<p> + +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00057">57</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d1" doxytag="NL3D::CDRU::drawBitmap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawBitmap ( + </b></td> + <td valign="bottom"><b> +float <em>x</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>width</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>height</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +class <a class="el" href="class_NL3D__ITexture.html">ITexture</a> & <em>texture</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CViewport.html">CViewport</a> <em>viewport</em> = <a class="el" href="class_NL3D__CViewport.html">CViewport</a>(), + </b></td> + </tr> + <tr> + <td></td> + <td><b> +bool <em>blend</em> = true )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw a bitmap 2D. Warning: this is slow... +<p> + +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00130">130</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d13" doxytag="NL3D::CDRU::drawLine"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawLine ( + </b></td> + <td valign="bottom"><b> +const CVector & <em>a</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CVector & <em>b</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +CRGBA <em>color</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em> )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw one line in 3D only, with a specific color. +<p> + +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00393">393</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d2" doxytag="NL3D::CDRU::drawLine"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawLine ( + </b></td> + <td valign="bottom"><b> +float <em>x0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>x1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +CRGBA <em>col</em> = CRGBA(255,255,255,255), + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CViewport.html">CViewport</a> <em>viewport</em> = <a class="el" href="class_NL3D__CViewport.html">CViewport</a>() )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw a line in 2D. Warning: this is slow... +<p> + +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00166">166</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d12" doxytag="NL3D::CDRU::drawLinesUnlit"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawLinesUnlit ( + </b></td> + <td valign="bottom"><b> +const std::vector< <a class="el" href="class_NLMISC__CLine.html">NLMISC::CLine</a> >& <em>linelist</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CMaterial.html">CMaterial</a> & <em>mat</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em> )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw the Lines, with Vertex only. "mat" should not be a lighted material since no normal is computed. +<p> + +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00386">386</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d11" doxytag="NL3D::CDRU::drawLinesUnlit"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawLinesUnlit ( + </b></td> + <td valign="bottom"><b> +const <a class="el" href="class_NLMISC__CLine.html">NLMISC::CLine</a> * <em>linelist</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a12">sint</a> <em>nlines</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CMaterial.html">CMaterial</a> & <em>mat</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em> )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw the Lines, with Vertex only. "mat" should not be a lighted material since no normal is computed. +<p> + +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00366">366</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d6" doxytag="NL3D::CDRU::drawQuad"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawQuad ( + </b></td> + <td valign="bottom"><b> +float <em>xcenter</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>ycenter</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>radius</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +CRGBA <em>col</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CViewport.html">CViewport</a> <em>viewport</em> )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw a Quad in 2D. Warning: this is slow... +<p> + +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00267">267</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d5" doxytag="NL3D::CDRU::drawQuad"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawQuad ( + </b></td> + <td valign="bottom"><b> +float <em>x0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>x1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +CRGBA <em>col0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +CRGBA <em>col1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +CRGBA <em>col2</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +CRGBA <em>col3</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CViewport.html">CViewport</a> <em>viewport</em> )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw a color Quad in 2D. +<p> +Warning: this is slow...<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>x0</em> + </td><td> + is the x coordinate of the lower left corner. </td></tr> +<tr><td valign=top><em>y0</em> + </td><td> + is the y coordinate of the lower left corner. </td></tr> +<tr><td valign=top><em>x1</em> + </td><td> + is the x coordinate of the upper right corner. </td></tr> +<tr><td valign=top><em>y1</em> + </td><td> + is the y coordinate of the upper right corner. </td></tr> +<tr><td valign=top><em>col0</em> + </td><td> + is the color of the lower left corner. </td></tr> +<tr><td valign=top><em>col0</em> + </td><td> + is the color of the lower right corner. </td></tr> +<tr><td valign=top><em>col0</em> + </td><td> + is the color of the upper right corner. </td></tr> +<tr><td valign=top><em>col0</em> + </td><td> + is the color of the upper left corner. </td></tr> +<tr><td valign=top><em>driver</em> + </td><td> + is the driver to use to render the quad. </td></tr> +<tr><td valign=top><em>viewport</em> + </td><td> + is the viewport to use to render the quad. </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00413">413</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d4" doxytag="NL3D::CDRU::drawQuad"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawQuad ( + </b></td> + <td valign="bottom"><b> +float <em>x0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>x1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +CRGBA <em>col</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CViewport.html">CViewport</a> <em>viewport</em> )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw a Quad in 2D. Warning: this is slow... +<p> + +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00232">232</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d3" doxytag="NL3D::CDRU::drawTriangle"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawTriangle ( + </b></td> + <td valign="bottom"><b> +float <em>x0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>x1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>x2</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y2</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +CRGBA <em>col</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CViewport.html">CViewport</a> <em>viewport</em> )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw a Triangle in 2D. Warning: this is slow... +<p> + +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00198">198</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d10" doxytag="NL3D::CDRU::drawTrianglesUnlit"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawTrianglesUnlit ( + </b></td> + <td valign="bottom"><b> +const std::vector< <a class="el" href="class_NLMISC__CTriangleUV.html">NLMISC::CTriangleUV</a> >& <em>trilist</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CMaterial.html">CMaterial</a> & <em>mat</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em> )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw the triangles, with Vertex and 1 UV. "mat" should not be a lighted material since no normal is computed. +<p> + +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00356">356</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d9" doxytag="NL3D::CDRU::drawTrianglesUnlit"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawTrianglesUnlit ( + </b></td> + <td valign="bottom"><b> +const <a class="el" href="class_NLMISC__CTriangleUV.html">NLMISC::CTriangleUV</a> * <em>trilist</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a12">sint</a> <em>ntris</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CMaterial.html">CMaterial</a> & <em>mat</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em> )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw the triangles, with Vertex and 1 UV. "mat" should not be a lighted material since no normal is computed. +<p> +Since no vertex sharing is performed, their use may be slower than direct use of VBuffer/PBlock etc... Also, A VBuffer and a PBlock is created, and copies are made from the list of primitives to the driver... +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00330">330</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d8" doxytag="NL3D::CDRU::drawWiredQuad"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawWiredQuad ( + </b></td> + <td valign="bottom"><b> +float <em>xcenter</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>ycenter</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>radius</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +CRGBA <em>col</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CViewport.html">CViewport</a> <em>viewport</em> )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw a Quad in 2D. Warning: this is slow... +<p> + +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00316">316</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<a name="d7" doxytag="NL3D::CDRU::drawWiredQuad"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CDRU::drawWiredQuad ( + </b></td> + <td valign="bottom"><b> +float <em>x0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>x1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> & <em>driver</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +CRGBA <em>col</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CViewport.html">CViewport</a> <em>viewport</em> )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Draw a Quad in 2D. Warning: this is slow... +<p> + +<p> +Definition at line <a class="el" href="dru_cpp-source.html#l00302">302</a> of file <a class="el" href="dru_cpp-source.html">dru.cpp</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="dru_h-source.html">dru.h</a><li><a class="el" href="dru_cpp-source.html">dru.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |