diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/class_NL3D__CMesh.html | 876 |
1 files changed, 876 insertions, 0 deletions
diff --git a/docs/doxygen/nel/class_NL3D__CMesh.html b/docs/doxygen/nel/class_NL3D__CMesh.html new file mode 100644 index 00000000..1cdf5c29 --- /dev/null +++ b/docs/doxygen/nel/class_NL3D__CMesh.html @@ -0,0 +1,876 @@ +<!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 Mon Sep 10 00:19:51 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::CMesh Class Reference</h1>An instanciable mesh. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="mesh_h-source.html">mesh.h</a>></code> +<p> +Inheritance diagram for NL3D::CMesh<p><center><img src="class_NL3D__CMesh_inherit_graph.gif" border="0" usemap="#NL3D::CMesh_inherit_map" alt="Inheritance graph"></center> +<map name="NL3D::CMesh_inherit_map"> +<area href="class_NL3D__CMeshBase.html" shape="rect" coords="85,201,203,219"> +<area href="class_NL3D__IShape.html" shape="rect" coords="99,134,189,153"> +<area href="class_NLMISC__CRefCount.html" shape="rect" coords="0,67,131,86"> +<area href="class_NLMISC__IStreamable.html" shape="rect" coords="155,67,291,86"> +<area href="class_NLMISC__IClassable.html" shape="rect" coords="160,1,285,19"> +</map> +<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for NL3D::CMesh:<p><center><img src="class_NL3D__CMesh_coll_graph.gif" border="0" usemap="#NL3D::CMesh_coll_map" alt="Collaboration graph"></center> +<map name="NL3D::CMesh_coll_map"> +<area href="class_NL3D__CMeshBase.html" shape="rect" coords="4,4,121,23"> +<area href="class_NL3D__CMeshGeom.html" shape="rect" coords="0,58,125,76"> +</map> +<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_NL3D__CMesh-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> </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a0">CMesh</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a1">~CMesh</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>dtor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a2">CMesh</a> (const CMesh &mesh)</td></tr> +<tr><td nowrap align=right valign=top>CMesh& </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a3">operator=</a> (const CMesh &mesh)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a4">build</a> (<a class="el" href="class_NL3D__CMeshBase__CMeshBaseBuild.html">CMeshBase::CMeshBaseBuild</a> &mbase, <a class="el" href="class_NL3D__CMesh__CMeshBuild.html">CMeshBuild</a> &mbuild)</td></tr> +<tr><td> </td><td><font size=-1><em>Build a mesh, replacing old. WARNING: This has a side effect of deleting AnimatedMaterials.</em> <a href="#a4">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__CMesh.html#a5">build</a> (<a class="el" href="class_NL3D__CMeshBase__CMeshBaseBuild.html">CMeshBase::CMeshBaseBuild</a> &mbuild, <a class="el" href="class_NL3D__CMeshGeom.html">CMeshGeom</a> &meshGeom)</td></tr> +<tr><td> </td><td><font size=-1><em>Build a mesh from material info, and a builded MeshGeom. WARNING: This has a side effect of deleting AnimatedMaterials.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="class_NL3D__CTransformShape.html">CTransformShape</a>* </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a6">createInstance</a> (<a class="el" href="class_NL3D__CScene.html">CScene</a> &scene)</td></tr> +<tr><td> </td><td><font size=-1><em>Create a <a class="el" href="class_NL3D__CMeshInstance.html">CMeshInstance</a>, which contains materials.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a7">clip</a> (const std::vector<CPlane> &pyramid, const CMatrix &worldMatrix)</td></tr> +<tr><td> </td><td><font size=-1><em>clip this mesh in a driver.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a8">render</a> (<a class="el" href="class_NL3D__IDriver.html">IDriver</a> *drv, <a class="el" href="class_NL3D__CTransformShape.html">CTransformShape</a> *trans, bool opaquePass)</td></tr> +<tr><td> </td><td><font size=-1><em><a class="el" href="class_NL3D__CMesh.html#a8">render</a>() this mesh in a driver.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a9">serial</a> (<a class="el" href="class_NLMISC__IStream.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> +<tr><td> </td><td><font size=-1><em>serial this mesh.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a10">NLMISC_DECLARE_CLASS</a> (CMesh)</td></tr> +<tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a11">getNumTriangles</a> (float distance)</td></tr> +<tr><td> </td><td><font size=-1><em>get trinagle count.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a12">getAABBox</a> (<a class="el" href="class_NLMISC__CAABBox.html">NLMISC::CAABBox</a> &bbox) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get bbox.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="class_NLMISC__CAABBoxExt.html">NLMISC::CAABBoxExt</a>& </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a13">getBoundingBox</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the extended axis aligned bounding box of the mesh.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="class_NL3D__CVertexBuffer.html">CVertexBuffer</a>& </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a14">getVertexBuffer</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the vertex buffer used by the mesh.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a13">uint</a> </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a15">getNbMatrixBlock</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the number of matrix block.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a13">uint</a> </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a16">getNbRdrPass</a> (<a class="el" href="types_nl_h.html#a13">uint</a> matrixBlockIndex) const</td></tr> +<tr><td> </td><td><font size=-1><em>get the number of rendering pass for a given matrix block.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="class_NL3D__CPrimitiveBlock.html">CPrimitiveBlock</a>& </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a17">getRdrPassPrimitiveBlock</a> (<a class="el" href="types_nl_h.html#a13">uint</a> matrixBlockIndex, <a class="el" href="types_nl_h.html#a13">uint</a> renderingPassIndex) const</td></tr> +<tr><td> </td><td><font size=-1><em>get the primitive block associated with a rendering pass of a matrix block.</em> <a href="#a17">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a9">uint32</a> </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#a18">getRdrPassMaterial</a> (<a class="el" href="types_nl_h.html#a13">uint</a> matrixBlockIndex, <a class="el" href="types_nl_h.html#a13">uint</a> renderingPassIndex) const</td></tr> +<tr><td> </td><td><font size=-1><em>get the material ID associated with a rendering pass of a matrix block.</em> <a href="#a18">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CMeshGeom.html">CMeshGeom</a>* </td><td valign=bottom><a class="el" href="class_NL3D__CMesh.html#o0">_MeshGeom</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +An instanciable mesh. +<p> +Skinning support: support only palette skinning. <dl compact><dt> +<b>Author(s): </b><dd> + Lionel Berenguier , Nevrax France </dl><dl compact><dt> +<b>Date: </b><dd> + 2000 </dl> +<p> + +<p> +Definition at line <a class="el" href="mesh_h-source.html#l00070">70</a> of file <a class="el" href="mesh_h-source.html">mesh.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NL3D::CMesh::CMesh"></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> +NL3D::CMesh::CMesh ( + </b></td> + <td valign="bottom"><b> +) + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l00979">979</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CMesh::~CMesh"></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> +NL3D::CMesh::~CMesh ( + </b></td> + <td valign="bottom"><b> +) + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +dtor. +<p> + +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l00985">985</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CMesh::CMesh"></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> +NL3D::CMesh::CMesh ( + </b></td> + <td valign="bottom"><b> +const CMesh & <em>mesh</em> ) + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l00993">993</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a10" doxytag="NL3D::CMesh::NLMISC_DECLARE_CLASS"></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> +NL3D::CMesh::NLMISC_DECLARE_CLASS ( + </b></td> + <td valign="bottom"><b> +CMesh ) + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="a5" doxytag="NL3D::CMesh::build"></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::CMesh::build ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__CMeshBase__CMeshBaseBuild.html">CMeshBase::CMeshBaseBuild</a> & <em>mbuild</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CMeshGeom.html">CMeshGeom</a> & <em>meshGeom</em> ) + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build a mesh from material info, and a builded MeshGeom. WARNING: This has a side effect of deleting AnimatedMaterials. +<p> + +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01027">1027</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CMesh::build"></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::CMesh::build ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__CMeshBase__CMeshBaseBuild.html">CMeshBase::CMeshBaseBuild</a> & <em>mbuild</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CMesh__CMeshBuild.html">CMeshBuild</a> & <em>mbuild</em> ) + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build a mesh, replacing old. WARNING: This has a side effect of deleting AnimatedMaterials. +<p> + +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01016">1016</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NL3D::CMesh::clip"></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> +bool NL3D::CMesh::clip ( + </b></td> + <td valign="bottom"><b> +const std::vector< CPlane >& <em>pyramid</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CMatrix & <em>worldMatrix</em> )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +clip this mesh in a driver. +<p> + +<p> +Reimplemented from <a class="el" href="class_NL3D__IShape.html#a3">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01055">1055</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::CMesh::createInstance"></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__CTransformShape.html">CTransformShape</a> * NL3D::CMesh::createInstance ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__CScene.html">CScene</a> & <em>scene</em> )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Create a <a class="el" href="class_NL3D__CMeshInstance.html">CMeshInstance</a>, which contains materials. +<p> + +<p> +Reimplemented from <a class="el" href="class_NL3D__IShape.html#a2">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01038">1038</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NL3D::CMesh::getAABBox"></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::CMesh::getAABBox ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NLMISC__CAABBox.html">NLMISC::CAABBox</a> & <em>bbox</em> ) const<code> [inline, virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get bbox. +<p> + +<p> +Reimplemented from <a class="el" href="class_NL3D__IShape.html#a6">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="mesh_h-source.html#l00188">188</a> of file <a class="el" href="mesh_h-source.html">mesh.h</a>. </td> + </tr> +</table> +<a name="a13" doxytag="NL3D::CMesh::getBoundingBox"></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> +const <a class="el" href="class_NLMISC__CAABBoxExt.html">NLMISC::CAABBoxExt</a> & NL3D::CMesh::getBoundingBox ( + </b></td> + <td valign="bottom"><b> +) const + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the extended axis aligned bounding box of the mesh. +<p> + +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01096">1096</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a15" doxytag="NL3D::CMesh::getNbMatrixBlock"></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="types_nl_h.html#a13">uint</a> NL3D::CMesh::getNbMatrixBlock ( + </b></td> + <td valign="bottom"><b> +) const + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the number of matrix block. +<p> + +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01106">1106</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a16" doxytag="NL3D::CMesh::getNbRdrPass"></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="types_nl_h.html#a13">uint</a> NL3D::CMesh::getNbRdrPass ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a13">uint</a> <em>matrixBlockIndex</em> ) const + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the number of rendering pass for a given matrix block. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>matrixBlockIndex</em> + </td><td> + the index of the matrix block the rendering passes belong to </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01111">1111</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a11" doxytag="NL3D::CMesh::getNumTriangles"></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> +float NL3D::CMesh::getNumTriangles ( + </b></td> + <td valign="bottom"><b> +float <em>distance</em> )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get trinagle count. +<p> + +<p> +Reimplemented from <a class="el" href="class_NL3D__IShape.html#a8">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01126">1126</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a18" doxytag="NL3D::CMesh::getRdrPassMaterial"></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="types_nl_h.html#a9">uint32</a> NL3D::CMesh::getRdrPassMaterial ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a13">uint</a> <em>matrixBlockIndex</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a13">uint</a> <em>renderingPassIndex</em> ) const + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the material ID associated with a rendering pass of a matrix block. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>matrixBlockIndex</em> + </td><td> + the index of the matrix block the renderin pass belong to </td></tr> +<tr><td valign=top><em>renderingPassIndex</em> + </td><td> + the index of the rendering pass in the matrix block </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01121">1121</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a17" doxytag="NL3D::CMesh::getRdrPassPrimitiveBlock"></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> +const <a class="el" href="class_NL3D__CPrimitiveBlock.html">CPrimitiveBlock</a> & NL3D::CMesh::getRdrPassPrimitiveBlock ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a13">uint</a> <em>matrixBlockIndex</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a13">uint</a> <em>renderingPassIndex</em> ) const + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the primitive block associated with a rendering pass of a matrix block. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>matrixBlockIndex</em> + </td><td> + the index of the matrix block the renderin pass belong to </td></tr> +<tr><td valign=top><em>renderingPassIndex</em> + </td><td> + the index of the rendering pass in the matrix block </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01116">1116</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a14" doxytag="NL3D::CMesh::getVertexBuffer"></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> +const <a class="el" href="class_NL3D__CVertexBuffer.html">CVertexBuffer</a> & NL3D::CMesh::getVertexBuffer ( + </b></td> + <td valign="bottom"><b> +) const + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the vertex buffer used by the mesh. +<p> + +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01101">1101</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CMesh::operator="></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> +CMesh & NL3D::CMesh::operator= ( + </b></td> + <td valign="bottom"><b> +const CMesh & <em>mesh</em> ) + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01001">1001</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NL3D::CMesh::render"></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::CMesh::render ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__IDriver.html">IDriver</a> * <em>drv</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CTransformShape.html">CTransformShape</a> * <em>trans</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +bool <em>opaquePass</em> )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="class_NL3D__CMesh.html#a8">render</a>() this mesh in a driver. +<p> + +<p> +Reimplemented from <a class="el" href="class_NL3D__IShape.html#a4">NL3D::IShape</a>. +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01062">1062</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NL3D::CMesh::serial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::CMesh::serial ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NLMISC__IStream.html">NLMISC::IStream</a> & <em>f</em> ) throw (<a class="el" href="class_NLMISC__EStream.html">NLMISC::EStream</a>)<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serial this mesh. +<p> + +<p> +Reimplemented from <a class="el" href="class_NLMISC__IStreamable.html#a0">NLMISC::IStreamable</a>. +<p> +Definition at line <a class="el" href="mesh_cpp-source.html#l01069">1069</a> of file <a class="el" href="mesh_cpp-source.html">mesh.cpp</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o0" doxytag="NL3D::CMesh::_MeshGeom"></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__CMeshGeom.html">CMeshGeom</a> * NL3D::CMesh::_MeshGeom<code> [private]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="mesh_h-source.html#l00226">226</a> of file <a class="el" href="mesh_h-source.html">mesh.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="mesh_h-source.html">mesh.h</a><li><a class="el" href="mesh_cpp-source.html">mesh.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> |