Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 3460

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Crystal Space 1.2.1: iPolygonMesh Struct Reference (Crystal Space 1.2.1 Public API Reference)</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="head">
 <tr height="59">
  <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td>
  <td class="head"><h2>Public API Reference</h2></td>
 </tr>
 <tr height="11">
  <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td>
 </tr>
</table>
<div class="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<h1>iPolygonMesh Struct Reference<br>
<small>
[<a class="el" href="group__geom__utils.html">Geometry utilities</a>]</small>
</h1><!-- doxytag: class="iPolygonMesh" --><!-- doxytag: inherits="iBase" -->This interface reprents a mesh of polygons.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="igeom_2polymesh_8h-source.html">igeom/polymesh.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for iPolygonMesh:</div>
<div class="dynsection">
<p><center><img src="structiPolygonMesh__inherit__graph.png" border="0" usemap="#iPolygonMesh__inherit__map" alt="Inheritance graph"></center>
<map name="iPolygonMesh__inherit__map">
<area shape="rect" href="classscfImplementation1.html" title="scfImplementation1\&lt; csPolygonMesh, iPolygonMesh \&gt;" alt="" coords="283,5,659,32"><area shape="rect" href="classscfImplementation1.html" title="scfImplementation1\&lt; csPolygonMeshBox, iPolygonMesh \&gt;" alt="" coords="269,56,672,83"><area shape="rect" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one..." alt="" coords="5,31,61,57"><area shape="rect" href="classcsPolygonMesh.html" title="A convenience polygon mesh implementation that you can feed with vertices and polygons..." alt="" coords="733,5,853,32"><area shape="rect" href="classcsPolygonMeshBox.html" title="A convenience polygon mesh implementation that represents a cube." alt="" coords="720,56,867,83"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="structiPolygonMesh-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="group__util.html#g1134b580f8da4de94ca6b1de4d37975e">uint32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiPolygonMesh.html#685ee356f1701b45565f3a12cfaf0b6a">GetChangeNumber</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">When this number changes you know the polygon mesh has changed (deformation has occured) since the last time you got another number from this function.  <a href="#685ee356f1701b45565f3a12cfaf0b6a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsFlags.html">csFlags</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiPolygonMesh.html#fc5c61c3f0335342dc62959f246ecda8">GetFlags</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get flags for this polygon mesh.  <a href="#fc5c61c3f0335342dc62959f246ecda8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiPolygonMesh.html#dfc28fe19255bfb7045b4d8aee62206d">GetPolygonCount</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of polygons for this mesh.  <a href="#dfc28fe19255bfb7045b4d8aee62206d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="structcsMeshedPolygon.html">csMeshedPolygon</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiPolygonMesh.html#62aaacb45736e574e493c3a6eb192581">GetPolygons</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the pointer to the array of polygons.  <a href="#62aaacb45736e574e493c3a6eb192581"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiPolygonMesh.html#5891bad390dae940403747cc9510dd8a">GetTriangleCount</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of triangles for this mesh.  <a href="#5891bad390dae940403747cc9510dd8a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="structcsTriangle.html">csTriangle</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiPolygonMesh.html#e546e20dc76cac4d92e2286c2c367e46">GetTriangles</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the triangle table for this mesh.  <a href="#e546e20dc76cac4d92e2286c2c367e46"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiPolygonMesh.html#b9be0881ef3c249e17fa5e7ec562aa18">GetVertexCount</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the number of vertices for this mesh.  <a href="#b9be0881ef3c249e17fa5e7ec562aa18"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsVector3.html">csVector3</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiPolygonMesh.html#929a4b77e97ee897bd6fee403aa01b32">GetVertices</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the pointer to the array of vertices.  <a href="#929a4b77e97ee897bd6fee403aa01b32"></a><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="structiPolygonMesh.html#c56830528370c368f0ba2d182d9ed33a">Lock</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lock the polygon mesh.  <a href="#c56830528370c368f0ba2d182d9ed33a"></a><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="structiPolygonMesh.html#0bc08c30ac522eddc363be6075cdb547">Unlock</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unlock the polygon mesh.  <a href="#0bc08c30ac522eddc363be6075cdb547"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This interface reprents a mesh of polygons. 
<p>
It is useful to communicate geometry information outside of the engine. One place where this will be useful is for communicating geometry information to the collision detection plugin.<br>
 All Crystal Space mesh objects (things, sprites, ...) should implement and/or embed an implementation of this interface.<p>
A polygon mesh has the concept of a vertex buffer and an array of polygons. A triangle mesh is also supported. A mesh object typically only implements either a polygon mesh or a triangle mesh. In that case requesting the other type of mesh will automatically generate the new format. <a class="el" href="structiPolygonMesh.html" title="This interface reprents a mesh of polygons.">iPolygonMesh</a> can use <a class="el" href="classcsPolygonMeshTools.html#197b28fbdf39c3ed8b0cd0ddce0a336e" title="Triangulate a mesh from the polygon mesh data in the iPolygonMesh.">csPolygonMeshTools::Triangulate()</a> and <a class="el" href="classcsPolygonMeshTools.html#b12b7ffff2bd17325172e44a013932ee" title="Take a polygon mesh that has a valid set of triangles and generate a polygon table...">csPolygonMeshTools::Polygonize()</a> to help with that.<p>
Main creators of instances implementing this interface:<ul>
<li>Almost all mesh objects have several implementations of this interface.</li></ul>
<p>
Main ways to get pointers to this interface:<ul>
<li><a class="el" href="structiObjectModel.html#c05db2d15b7eeb3d894d946ab8e524a8" title="Get a polygon mesh representing the basic geometry of the object.">iObjectModel::GetPolygonMeshBase()</a></li><li><a class="el" href="structiObjectModel.html#b02851d83412748cde4dfc60d510b455" title="Get a polygon mesh representing the geometry of the object.">iObjectModel::GetPolygonMeshColldet()</a></li><li><a class="el" href="structiObjectModel.html#5528fd7528ecc252ce64b3a660fe6f26" title="Get a polygon mesh specifically for visibility culling (to be used as an occluder)...">iObjectModel::GetPolygonMeshViscull()</a></li><li><a class="el" href="structiObjectModel.html#c7f54b7459f6ffa648951b76e832ddf8" title="Get a polygon mesh specifically for shadow casting (to be used by the shadow manager)...">iObjectModel::GetPolygonMeshShadows()</a></li></ul>
<p>
Main users of this interface:<ul>
<li>Collision detection plugins (<a class="el" href="structiCollideSystem.html" title="This is the Collide plug-in.">iCollideSystem</a>)</li><li>Visibility culler plugins (<a class="el" href="structiVisibilityCuller.html" title="This interface represents a visibility culling system.">iVisibilityCuller</a>)</li><li>Shadow stencil plugin</li></ul>
<p>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000085">Deprecated:</a></b></dt><dd><a class="el" href="structiPolygonMesh.html" title="This interface reprents a mesh of polygons.">iPolygonMesh</a> is deprecated; use <a class="el" href="structiTriangleMesh.html" title="This interface reprents a mesh of triangles.">iTriangleMesh</a> instead. </dd></dl>

<p>Definition at line <a class="el" href="igeom_2polymesh_8h-source.html#l00143">143</a> of file <a class="el" href="igeom_2polymesh_8h-source.html">polymesh.h</a>.</p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="685ee356f1701b45565f3a12cfaf0b6a"></a><!-- doxytag: member="iPolygonMesh::GetChangeNumber" ref="685ee356f1701b45565f3a12cfaf0b6a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__util.html#g1134b580f8da4de94ca6b1de4d37975e">uint32</a> iPolygonMesh::GetChangeNumber           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
When this number changes you know the polygon mesh has changed (deformation has occured) since the last time you got another number from this function. 
<p>

<p>Implemented in <a class="el" href="classcsPolygonMesh.html#da143e03b40eb0ee1d8485f1b1b56421">csPolygonMesh</a>, and <a class="el" href="classcsPolygonMeshBox.html#8beaf74ddb7c9858622eab82bb251bf3">csPolygonMeshBox</a>.</p>

</div>
</div><p>
<a class="anchor" name="fc5c61c3f0335342dc62959f246ecda8"></a><!-- doxytag: member="iPolygonMesh::GetFlags" ref="fc5c61c3f0335342dc62959f246ecda8" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classcsFlags.html">csFlags</a>&amp; iPolygonMesh::GetFlags           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get flags for this polygon mesh. 
<p>
This is zero or a combination of the following flags:<ul>
<li><a class="el" href="group__geom__utils.html#gg83e8bc15645f9d99ab91a152bb3dc8ce8e9aae34250cfee0c5bbdeee9c6737b8" title="The object is closed, if set.">CS_POLYMESH_CLOSED</a>: mesh is closed.</li><li><a class="el" href="group__geom__utils.html#gg83e8bc15645f9d99ab91a152bb3dc8cecf23a303139282162f48575477c27770" title="The object is not closed, if set.">CS_POLYMESH_NOTCLOSED</a>: mesh is not closed.</li><li><a class="el" href="group__geom__utils.html#gg83e8bc15645f9d99ab91a152bb3dc8ce40a5b15272940f6cbc9ca9581f3ed3ce" title="The object is convex, if set.">CS_POLYMESH_CONVEX</a>: mesh is convex.</li><li><a class="el" href="group__geom__utils.html#gg83e8bc15645f9d99ab91a152bb3dc8ced3c40a299420fbebed6542e771a7ded4" title="The object is not convex, if set.">CS_POLYMESH_NOTCONVEX</a>: mesh is not convex.</li><li><a class="el" href="group__geom__utils.html#gg83e8bc15645f9d99ab91a152bb3dc8ce3f90c752cbb5be9e8ef4871380eaab50" title="Set this flag if the polygon mesh is deformable.">CS_POLYMESH_DEFORMABLE</a>: mesh is deformable.</li><li><a class="el" href="group__geom__utils.html#gg83e8bc15645f9d99ab91a152bb3dc8cedc8fef75d8bcac18d711d1bafb503138" title="Set this flag if the native or desired format of the polygon mesh is a triangle mesh...">CS_POLYMESH_TRIANGLEMESH</a>: mesh prefers triangle mesh.</li></ul>
<p>
Note that if neither <a class="el" href="group__geom__utils.html#gg83e8bc15645f9d99ab91a152bb3dc8ce8e9aae34250cfee0c5bbdeee9c6737b8" title="The object is closed, if set.">CS_POLYMESH_CLOSED</a> nor <a class="el" href="group__geom__utils.html#gg83e8bc15645f9d99ab91a152bb3dc8cecf23a303139282162f48575477c27770" title="The object is not closed, if set.">CS_POLYMESH_NOTCLOSED</a> are set then the closed state is not known. Setting both is illegal. Note that if neither <a class="el" href="group__geom__utils.html#gg83e8bc15645f9d99ab91a152bb3dc8ce40a5b15272940f6cbc9ca9581f3ed3ce" title="The object is convex, if set.">CS_POLYMESH_CONVEX</a> nor <a class="el" href="group__geom__utils.html#gg83e8bc15645f9d99ab91a152bb3dc8ced3c40a299420fbebed6542e771a7ded4" title="The object is not convex, if set.">CS_POLYMESH_NOTCONVEX</a> are set then the convex state is not known. Setting both is illegal. 
<p>Implemented in <a class="el" href="classcsPolygonMesh.html#ee6c633b243c117b27981bb05426873a">csPolygonMesh</a>, and <a class="el" href="classcsPolygonMeshBox.html#3f000dfbf6d03e7bd8a076e77d88c644">csPolygonMeshBox</a>.</p>

</div>
</div><p>
<a class="anchor" name="dfc28fe19255bfb7045b4d8aee62206d"></a><!-- doxytag: member="iPolygonMesh::GetPolygonCount" ref="dfc28fe19255bfb7045b4d8aee62206d" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int iPolygonMesh::GetPolygonCount           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the number of polygons for this mesh. 
<p>

<p>Implemented in <a class="el" href="classcsPolygonMesh.html#e3650525813e3ec5af133066b0208835">csPolygonMesh</a>, and <a class="el" href="classcsPolygonMeshBox.html#272b6076d93fbb08dc94197265394e65">csPolygonMeshBox</a>.</p>

</div>
</div><p>
<a class="anchor" name="62aaacb45736e574e493c3a6eb192581"></a><!-- doxytag: member="iPolygonMesh::GetPolygons" ref="62aaacb45736e574e493c3a6eb192581" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structcsMeshedPolygon.html">csMeshedPolygon</a>* iPolygonMesh::GetPolygons           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the pointer to the array of polygons. 
<p>

<p>Implemented in <a class="el" href="classcsPolygonMesh.html#4a5295c0d0184088a987f4c8dcf06cc0">csPolygonMesh</a>, and <a class="el" href="classcsPolygonMeshBox.html#20a74c6a2533d0bad21679ef42a5bb6d">csPolygonMeshBox</a>.</p>

</div>
</div><p>
<a class="anchor" name="5891bad390dae940403747cc9510dd8a"></a><!-- doxytag: member="iPolygonMesh::GetTriangleCount" ref="5891bad390dae940403747cc9510dd8a" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int iPolygonMesh::GetTriangleCount           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the number of triangles for this mesh. 
<p>

<p>Implemented in <a class="el" href="classcsPolygonMesh.html#2aab442821fa410ad72a8ee5aebbab3c">csPolygonMesh</a>, and <a class="el" href="classcsPolygonMeshBox.html#34c27ad4a0e3c4b7a2be914a0d00dc6d">csPolygonMeshBox</a>.</p>

</div>
</div><p>
<a class="anchor" name="e546e20dc76cac4d92e2286c2c367e46"></a><!-- doxytag: member="iPolygonMesh::GetTriangles" ref="e546e20dc76cac4d92e2286c2c367e46" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structcsTriangle.html">csTriangle</a>* iPolygonMesh::GetTriangles           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the triangle table for this mesh. 
<p>

<p>Implemented in <a class="el" href="classcsPolygonMesh.html#892b5ca50be45f4615ff6d37afefc790">csPolygonMesh</a>, and <a class="el" href="classcsPolygonMeshBox.html#2a5c64e6458f9cf9e7cb394e44041b9a">csPolygonMeshBox</a>.</p>

</div>
</div><p>
<a class="anchor" name="b9be0881ef3c249e17fa5e7ec562aa18"></a><!-- doxytag: member="iPolygonMesh::GetVertexCount" ref="b9be0881ef3c249e17fa5e7ec562aa18" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int iPolygonMesh::GetVertexCount           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the number of vertices for this mesh. 
<p>

<p>Implemented in <a class="el" href="classcsPolygonMesh.html#0894b7678120a09f00f7099379d15b00">csPolygonMesh</a>, and <a class="el" href="classcsPolygonMeshBox.html#a0692b6d35eb91322dcfbcd326d3816c">csPolygonMeshBox</a>.</p>

<p>Referenced by <a class="el" href="csgeom_2trimesh_8h-source.html#l00301">csTriangleMeshPolyMesh::GetVertexCount()</a>.</p>

</div>
</div><p>
<a class="anchor" name="929a4b77e97ee897bd6fee403aa01b32"></a><!-- doxytag: member="iPolygonMesh::GetVertices" ref="929a4b77e97ee897bd6fee403aa01b32" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classcsVector3.html">csVector3</a>* iPolygonMesh::GetVertices           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the pointer to the array of vertices. 
<p>

<p>Implemented in <a class="el" href="classcsPolygonMesh.html#99b286223c069141bcc3848869302017">csPolygonMesh</a>, and <a class="el" href="classcsPolygonMeshBox.html#5f34a8140d05a9d586e1be29f19eb3d2">csPolygonMeshBox</a>.</p>

</div>
</div><p>
<a class="anchor" name="c56830528370c368f0ba2d182d9ed33a"></a><!-- doxytag: member="iPolygonMesh::Lock" ref="c56830528370c368f0ba2d182d9ed33a" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iPolygonMesh::Lock           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Lock the polygon mesh. 
<p>
This prevents the polygon and triangle data from being cleaned up. 
<p>Implemented in <a class="el" href="classcsPolygonMesh.html#362fba636662670eac393a9a0a14e1db">csPolygonMesh</a>, and <a class="el" href="classcsPolygonMeshBox.html#62f51c8a742f3b65c9316e55d0e73d61">csPolygonMeshBox</a>.</p>

</div>
</div><p>
<a class="anchor" name="0bc08c30ac522eddc363be6075cdb547"></a><!-- doxytag: member="iPolygonMesh::Unlock" ref="0bc08c30ac522eddc363be6075cdb547" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iPolygonMesh::Unlock           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Unlock the polygon mesh. 
<p>
This allows clean up again. 
<p>Implemented in <a class="el" href="classcsPolygonMesh.html#7f23e10a9b65f453b766fda9a2e9cffd">csPolygonMesh</a>, and <a class="el" href="classcsPolygonMeshBox.html#bde4f4372fe9c662a6f2b5f0628c2dfd">csPolygonMeshBox</a>.</p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>igeom/<a class="el" href="igeom_2polymesh_8h-source.html">polymesh.h</a></ul>
<hr size="1"><address><small>Generated for Crystal Space 1.2.1 by 
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 
</small></address> </div></body> </html>