Sophie

Sophie

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

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: iInstancingFactoryState 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>iInstancingFactoryState Struct Reference<br>
<small>
[<a class="el" href="group__meshplugins.html">Mesh plugins</a>]</small>
</h1><!-- doxytag: class="iInstancingFactoryState" --><!-- doxytag: inherits="iInstancingMeshCommonState" -->This interface describes the API for the instancing mesh factory.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="instmesh_8h-source.html">imesh/instmesh.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for iInstancingFactoryState:</div>
<div class="dynsection">
<p><center><img src="structiInstancingFactoryState__inherit__graph.png" border="0" usemap="#iInstancingFactoryState__inherit__map" alt="Inheritance graph"></center>
<map name="iInstancingFactoryState__inherit__map">
<area shape="rect" href="structiInstancingMeshCommonState.html" title="The common interface between instancing meshes and factories." alt="" coords="5,84,227,111"><area shape="rect" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one..." alt="" coords="88,7,144,33"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="structiInstancingFactoryState-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 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiInstancingFactoryState.html#22ea035568a6eb9150c9ea84bce06e73">AddTriangle</a> (const <a class="el" href="structcsTriangle.html">csTriangle</a> &amp;tri)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a triangle.  <a href="#22ea035568a6eb9150c9ea84bce06e73"></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="structiInstancingFactoryState.html#f0bbc5c39fcc8d0b6d5b1e27e5a88092">AddVertex</a> (const <a class="el" href="classcsVector3.html">csVector3</a> &amp;v, const <a class="el" href="classcsVector2.html">csVector2</a> &amp;uv, const <a class="el" href="classcsVector3.html">csVector3</a> &amp;normal, const <a class="el" href="classcsColor4.html">csColor4</a> &amp;color)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a vertex.  <a href="#f0bbc5c39fcc8d0b6d5b1e27e5a88092"></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="structiInstancingFactoryState.html#93b5c9faed12bd7a1625d3f5b79a2c0b">CalculateNormals</a> (bool compress=true)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Automatically calculate normals based on the current mesh.  <a href="#93b5c9faed12bd7a1625d3f5b79a2c0b"></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="structiInstancingFactoryState.html#4f5bf6a15aa585948c995dd09d2f2cc1">Compress</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compress the vertex table.  <a href="#4f5bf6a15aa585948c995dd09d2f2cc1"></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="structiInstancingFactoryState.html#ed96473fa1a7740d5fbcf582dc6893bd">GenerateBox</a> (const <a class="el" href="classcsBox3.html">csBox3</a> &amp;box)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Automatically generate a box.  <a href="#ed96473fa1a7740d5fbcf582dc6893bd"></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="structiInstancingFactoryState.html#20123b1d2d7604c43b1d77c3ef9249ae">GenerateQuad</a> (const <a class="el" href="classcsVector3.html">csVector3</a> &amp;v1, const <a class="el" href="classcsVector3.html">csVector3</a> &amp;v2, const <a class="el" href="classcsVector3.html">csVector3</a> &amp;v3, const <a class="el" href="classcsVector3.html">csVector3</a> &amp;v4)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Automatically generate a qad.  <a href="#20123b1d2d7604c43b1d77c3ef9249ae"></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="structiInstancingFactoryState.html#c1d94ee9ae430ff13aaa855799718fa8">GenerateSphere</a> (const <a class="el" href="classcsEllipsoid.html">csEllipsoid</a> &amp;sphere, int rim_vertices, bool cyl_mapping=false, bool toponly=false, bool reversed=false)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Automatically generate a sphere.  <a href="#c1d94ee9ae430ff13aaa855799718fa8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcsColor.html">csColor</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiInstancingFactoryState.html#bc3449ffdb52d45739186caf2109e6bd">GetColor</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the color.  <a href="#bc3449ffdb52d45739186caf2109e6bd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcsColor4.html">csColor4</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiInstancingFactoryState.html#18c692541aca6e22364189f39a7bfe68">GetColors</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the array of colors.  <a href="#18c692541aca6e22364189f39a7bfe68"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcsVector3.html">csVector3</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiInstancingFactoryState.html#fad2598d487551f967e84f94feced6a0">GetNormals</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the array of normals.  <a href="#fad2598d487551f967e84f94feced6a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcsVector2.html">csVector2</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiInstancingFactoryState.html#608581163016367d80c804d5836b270b">GetTexels</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the array of texels.  <a href="#608581163016367d80c804d5836b270b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiInstancingFactoryState.html#9cb094a15c93c107fbf12c483e18ca75">GetTriangleCount</a> () const =0</td></tr>

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

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the array of triangles.  <a href="#fc464a2a3fb21902d64679967928e1a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiInstancingFactoryState.html#210a4bba525eebb1c46e69a844eade3e">GetVertexCount</a> () const =0</td></tr>

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

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the array of vertices.  <a href="#1444eee3ecdfa31d5935218bbdfd3fc8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiInstancingFactoryState.html#ecf18d021b459dde1db086b7c91352d9">IsAutoNormals</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether normals were autogenerated or manual.  <a href="#ecf18d021b459dde1db086b7c91352d9"></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="structiInstancingFactoryState.html#8d50e88c3833ad47a13dcb0b8856ce3f">SetColor</a> (const <a class="el" href="classcsColor.html">csColor</a> &amp;col)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the color to use. Will be added to the lighting values.  <a href="#8d50e88c3833ad47a13dcb0b8856ce3f"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This interface describes the API for the instancing mesh factory. 
<p>
<a class="el" href="structiInstancingFactoryState.html" title="This interface describes the API for the instancing mesh factory.">iInstancingFactoryState</a> inherits from <a class="el" href="structiInstancingMeshCommonState.html" title="The common interface between instancing meshes and factories.">iInstancingMeshCommonState</a>. All methods from <a class="el" href="structiInstancingMeshCommonState.html" title="The common interface between instancing meshes and factories.">iInstancingMeshCommonState</a> as set on the factory will serve as defaults for mesh objects that are created from this factory AFTER the default value is set. So changing such a value on the factory will have no effect on meshes already created. The material wrapper is an exception to this rule. Setting that on the factory will have an effect immediatelly on all mesh objects created from that factory except for those mesh objects that have their own material set.<p>
Main creators of instances implementing this interface:<ul>
<li>Instmesh mesh object plugin (crystalspace.mesh.object.instmesh)</li><li><a class="el" href="structiMeshObjectType.html#3d291b628b55f77343dfbc948ee757a0" title="Create an instance of iMeshObjectFactory.">iMeshObjectType::NewFactory()</a></li></ul>
<p>
Main ways to get pointers to this interface:<ul>
<li><a class="el" href="group__scf.html#g2e8cf383ca5045f2b0c05374ff0107c3" title="Helper function around iBase::QueryInterface.">scfQueryInterface()</a> on <a class="el" href="structiMeshFactoryWrapper.html#f21ca8291b566e9cf3722ea3067b5c5e" title="Get the iMeshObjectFactory.">iMeshFactoryWrapper::GetMeshObjectFactory()</a></li></ul>
<p>
Main users of this interface:<ul>
<li>Instmesh Factory Loader plugin (crystalspace.mesh.loader.factory.instmesh) </li></ul>

<p>Definition at line <a class="el" href="instmesh_8h-source.html#l00153">153</a> of file <a class="el" href="instmesh_8h-source.html">instmesh.h</a>.</p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="22ea035568a6eb9150c9ea84bce06e73"></a><!-- doxytag: member="iInstancingFactoryState::AddTriangle" ref="22ea035568a6eb9150c9ea84bce06e73" args="(const csTriangle &amp;tri)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iInstancingFactoryState::AddTriangle           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structcsTriangle.html">csTriangle</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>tri</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add a triangle. 
<p>

</div>
</div><p>
<a class="anchor" name="f0bbc5c39fcc8d0b6d5b1e27e5a88092"></a><!-- doxytag: member="iInstancingFactoryState::AddVertex" ref="f0bbc5c39fcc8d0b6d5b1e27e5a88092" args="(const csVector3 &amp;v, const csVector2 &amp;uv, const csVector3 &amp;normal, const csColor4 &amp;color)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iInstancingFactoryState::AddVertex           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcsVector3.html">csVector3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcsVector2.html">csVector2</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>uv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcsVector3.html">csVector3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>normal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcsColor4.html">csColor4</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>color</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add a vertex. 
<p>

</div>
</div><p>
<a class="anchor" name="93b5c9faed12bd7a1625d3f5b79a2c0b"></a><!-- doxytag: member="iInstancingFactoryState::CalculateNormals" ref="93b5c9faed12bd7a1625d3f5b79a2c0b" args="(bool compress=true)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iInstancingFactoryState::CalculateNormals           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>compress</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Automatically calculate normals based on the current mesh. 
<p>
/param compress if true (default) then calculate the normals based on compressed vertices. 
</div>
</div><p>
<a class="anchor" name="4f5bf6a15aa585948c995dd09d2f2cc1"></a><!-- doxytag: member="iInstancingFactoryState::Compress" ref="4f5bf6a15aa585948c995dd09d2f2cc1" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iInstancingFactoryState::Compress           </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>
Compress the vertex table. 
<p>
This should be called after setting up the geometry. 
</div>
</div><p>
<a class="anchor" name="ed96473fa1a7740d5fbcf582dc6893bd"></a><!-- doxytag: member="iInstancingFactoryState::GenerateBox" ref="ed96473fa1a7740d5fbcf582dc6893bd" args="(const csBox3 &amp;box)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iInstancingFactoryState::GenerateBox           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcsBox3.html">csBox3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>box</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Automatically generate a box. 
<p>
This will set the number of vertices to eight and generate vertices, texels, and triangles. The colors and normals are not initialized here. 
</div>
</div><p>
<a class="anchor" name="20123b1d2d7604c43b1d77c3ef9249ae"></a><!-- doxytag: member="iInstancingFactoryState::GenerateQuad" ref="20123b1d2d7604c43b1d77c3ef9249ae" args="(const csVector3 &amp;v1, const csVector3 &amp;v2, const csVector3 &amp;v3, const csVector3 &amp;v4)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iInstancingFactoryState::GenerateQuad           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcsVector3.html">csVector3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcsVector3.html">csVector3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>v2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcsVector3.html">csVector3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>v3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcsVector3.html">csVector3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>v4</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Automatically generate a qad. 
<p>

</div>
</div><p>
<a class="anchor" name="c1d94ee9ae430ff13aaa855799718fa8"></a><!-- doxytag: member="iInstancingFactoryState::GenerateSphere" ref="c1d94ee9ae430ff13aaa855799718fa8" args="(const csEllipsoid &amp;sphere, int rim_vertices, bool cyl_mapping=false, bool toponly=false, bool reversed=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iInstancingFactoryState::GenerateSphere           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcsEllipsoid.html">csEllipsoid</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>sphere</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>rim_vertices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>cyl_mapping</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>toponly</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>reversed</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Automatically generate a sphere. 
<p>
This will set the apropriate number of vertices and generate vertices, texels, normals, and triangles. The colors are not initialized here. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sphere</em>&nbsp;</td><td>Properties of the ellipsoid to generate. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>rim_vertices</em>&nbsp;</td><td>Number of vertices on a rim. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cyl_mapping</em>&nbsp;</td><td>if true then use cylindrical texture mapping. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toponly</em>&nbsp;</td><td>if true then only generate the top half of the sphere. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>reversed</em>&nbsp;</td><td>if true then generate the sphere so it is visible from the inside. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="bc3449ffdb52d45739186caf2109e6bd"></a><!-- doxytag: member="iInstancingFactoryState::GetColor" ref="bc3449ffdb52d45739186caf2109e6bd" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classcsColor.html">csColor</a>&amp; iInstancingFactoryState::GetColor           </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>
Get the color. 
<p>

</div>
</div><p>
<a class="anchor" name="18c692541aca6e22364189f39a7bfe68"></a><!-- doxytag: member="iInstancingFactoryState::GetColors" ref="18c692541aca6e22364189f39a7bfe68" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classcsColor4.html">csColor4</a>* iInstancingFactoryState::GetColors           </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 array of colors. 
<p>

</div>
</div><p>
<a class="anchor" name="fad2598d487551f967e84f94feced6a0"></a><!-- doxytag: member="iInstancingFactoryState::GetNormals" ref="fad2598d487551f967e84f94feced6a0" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classcsVector3.html">csVector3</a>* iInstancingFactoryState::GetNormals           </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 array of normals. 
<p>

</div>
</div><p>
<a class="anchor" name="608581163016367d80c804d5836b270b"></a><!-- doxytag: member="iInstancingFactoryState::GetTexels" ref="608581163016367d80c804d5836b270b" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classcsVector2.html">csVector2</a>* iInstancingFactoryState::GetTexels           </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 array of texels. 
<p>

</div>
</div><p>
<a class="anchor" name="9cb094a15c93c107fbf12c483e18ca75"></a><!-- doxytag: member="iInstancingFactoryState::GetTriangleCount" ref="9cb094a15c93c107fbf12c483e18ca75" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual size_t iInstancingFactoryState::GetTriangleCount           </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>
Get the number of triangles for this mesh. 
<p>

</div>
</div><p>
<a class="anchor" name="fc464a2a3fb21902d64679967928e1a2"></a><!-- doxytag: member="iInstancingFactoryState::GetTriangles" ref="fc464a2a3fb21902d64679967928e1a2" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="structcsTriangle.html">csTriangle</a>* iInstancingFactoryState::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 array of triangles. 
<p>

</div>
</div><p>
<a class="anchor" name="210a4bba525eebb1c46e69a844eade3e"></a><!-- doxytag: member="iInstancingFactoryState::GetVertexCount" ref="210a4bba525eebb1c46e69a844eade3e" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual size_t iInstancingFactoryState::GetVertexCount           </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>
Get the number of vertices for this mesh. 
<p>

</div>
</div><p>
<a class="anchor" name="1444eee3ecdfa31d5935218bbdfd3fc8"></a><!-- doxytag: member="iInstancingFactoryState::GetVertices" ref="1444eee3ecdfa31d5935218bbdfd3fc8" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classcsVector3.html">csVector3</a>* iInstancingFactoryState::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 array of vertices. 
<p>

</div>
</div><p>
<a class="anchor" name="ecf18d021b459dde1db086b7c91352d9"></a><!-- doxytag: member="iInstancingFactoryState::IsAutoNormals" ref="ecf18d021b459dde1db086b7c91352d9" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool iInstancingFactoryState::IsAutoNormals           </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>
Returns whether normals were autogenerated or manual. 
<p>

</div>
</div><p>
<a class="anchor" name="8d50e88c3833ad47a13dcb0b8856ce3f"></a><!-- doxytag: member="iInstancingFactoryState::SetColor" ref="8d50e88c3833ad47a13dcb0b8856ce3f" args="(const csColor &amp;col)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iInstancingFactoryState::SetColor           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcsColor.html">csColor</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>col</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the color to use. Will be added to the lighting values. 
<p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>imesh/<a class="el" href="instmesh_8h-source.html">instmesh.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>