<!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: iCurve 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 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 Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <h1>iCurve Struct Reference<br> <small> [<a class="el" href="group__meshplugins.html">Mesh plugins</a>]</small> </h1><!-- doxytag: class="iCurve" --><!-- doxytag: inherits="iBase" -->This is the interface for a curve. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="bezier_8h-source.html">imesh/bezier.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for iCurve:</div> <div class="dynsection"> <p><center><img src="structiCurve__inherit__graph.png" border="0" usemap="#iCurve__inherit__map" alt="Inheritance graph"></center> <map name="iCurve__inherit__map"> <area shape="rect" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one..." alt="" coords="9,7,65,33"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="structiCurve-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 <br> <a class="el" href="structiMaterialWrapper.html">iMaterialWrapper</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structiCurve.html#84f282fd3c16d5f029b100c74d3e3062">GetMaterial</a> () const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the material wrapper. <a href="#84f282fd3c16d5f029b100c74d3e3062"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="structiCurve.html#34a1a09abaac1cac2340780a12d02730">GetVertex</a> (int idx) const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a vertex. <a href="#34a1a09abaac1cac2340780a12d02730"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="structiCurve.html#6db99d9123a2e9cd0d22587d280db1c2">GetVertexCount</a> () const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the number of vertices. <a href="#6db99d9123a2e9cd0d22587d280db1c2"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="structiObject.html">iObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structiCurve.html#0ad33cf538ff9c797fe5b3d142e8799d">QueryObject</a> ()=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the <a class="el" href="structiObject.html" title="This interface is an SCF interface for encapsulating csObject.">iObject</a> for this curve. <a href="#0ad33cf538ff9c797fe5b3d142e8799d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiCurve.html#da52ba5b489e2cbe8b8c88c610c90e95">SetControlPoint</a> (int idx, int control_id)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set a control point. <a href="#da52ba5b489e2cbe8b8c88c610c90e95"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiCurve.html#e2af40f781041ce789abdeaa51cf05d7">SetMaterial</a> (<a class="el" href="structiMaterialWrapper.html">iMaterialWrapper</a> *mat)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the material wrapper. <a href="#e2af40f781041ce789abdeaa51cf05d7"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiCurve.html#679bc94ae18719583f9c71926f0f1d5e">SetVertex</a> (int idx, int vt)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set a vertex. <a href="#679bc94ae18719583f9c71926f0f1d5e"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This is the interface for a curve. <p> Main creators of instances implementing this interface:<ul> <li><a class="el" href="structiBezierFactoryState.html#0ff86bee48e3b44c3d71fc9342327556" title="Create a new curve for this thing.">iBezierFactoryState::CreateCurve()</a></li></ul> <p> Main ways to get pointers to this interface:<ul> <li><a class="el" href="structiBezierFactoryState.html#b93cd093ea50a35e8d2b2e93b43f6fad" title="Get the curve.">iBezierFactoryState::GetCurve()</a> </li></ul> <p>Definition at line <a class="el" href="bezier_8h-source.html#l00050">50</a> of file <a class="el" href="bezier_8h-source.html">bezier.h</a>.</p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="84f282fd3c16d5f029b100c74d3e3062"></a><!-- doxytag: member="iCurve::GetMaterial" ref="84f282fd3c16d5f029b100c74d3e3062" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="structiMaterialWrapper.html">iMaterialWrapper</a>* iCurve::GetMaterial </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the material wrapper. <p> </div> </div><p> <a class="anchor" name="34a1a09abaac1cac2340780a12d02730"></a><!-- doxytag: member="iCurve::GetVertex" ref="34a1a09abaac1cac2340780a12d02730" args="(int idx) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int iCurve::GetVertex </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>idx</em> </td> <td> ) </td> <td width="100%"> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get a vertex. <p> </div> </div><p> <a class="anchor" name="6db99d9123a2e9cd0d22587d280db1c2"></a><!-- doxytag: member="iCurve::GetVertexCount" ref="6db99d9123a2e9cd0d22587d280db1c2" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int iCurve::GetVertexCount </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the number of vertices. <p> </div> </div><p> <a class="anchor" name="0ad33cf538ff9c797fe5b3d142e8799d"></a><!-- doxytag: member="iCurve::QueryObject" ref="0ad33cf538ff9c797fe5b3d142e8799d" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="structiObject.html">iObject</a>* iCurve::QueryObject </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the <a class="el" href="structiObject.html" title="This interface is an SCF interface for encapsulating csObject.">iObject</a> for this curve. <p> </div> </div><p> <a class="anchor" name="da52ba5b489e2cbe8b8c88c610c90e95"></a><!-- doxytag: member="iCurve::SetControlPoint" ref="da52ba5b489e2cbe8b8c88c610c90e95" args="(int idx, int control_id)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iCurve::SetControlPoint </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>idx</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>control_id</em></td><td> </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> Set a control point. <p> </div> </div><p> <a class="anchor" name="e2af40f781041ce789abdeaa51cf05d7"></a><!-- doxytag: member="iCurve::SetMaterial" ref="e2af40f781041ce789abdeaa51cf05d7" args="(iMaterialWrapper *mat)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iCurve::SetMaterial </td> <td>(</td> <td class="paramtype"><a class="el" href="structiMaterialWrapper.html">iMaterialWrapper</a> * </td> <td class="paramname"> <em>mat</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the material wrapper. <p> </div> </div><p> <a class="anchor" name="679bc94ae18719583f9c71926f0f1d5e"></a><!-- doxytag: member="iCurve::SetVertex" ref="679bc94ae18719583f9c71926f0f1d5e" args="(int idx, int vt)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iCurve::SetVertex </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>idx</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>vt</em></td><td> </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> Set a vertex. <p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>imesh/<a class="el" href="bezier_8h-source.html">bezier.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>