| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
| <title>FTGL: FTMesh class Reference</title> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"> |
| </head><body> |
| <!-- Generated by Doxygen 1.3.6 --> |
| <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> |
| <h1>FTMesh Class Reference</h1><code>#include <<a class="el" href="FTVectoriser_8h-source.html">FTVectoriser.h</a>></code> |
| <p> |
| <hr><a name="_details"></a><h2>Detailed Description</h2> |
| FTMesh is a container of FTTesselation's that make up a polygon glyph. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTVectoriser_8h-source.html#l00080">80</a> of file <a class="el" href="FTVectoriser_8h-source.html">FTVectoriser.h</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> </td><td class="memItemRight" valign=bottom><a class="el" href="classFTMesh.html#a0">FTMesh</a> ()</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a0"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classFTMesh.html#a1">~FTMesh</a> ()</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a1"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classFTMesh.html#a2">AddPoint</a> (const <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> x, const <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> y, const <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> z)</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Add a point to the mesh. <a href="#a2"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classFTMesh.html#a3">Combine</a> (const <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> x, const <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> y, const <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> z)</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a combine point for the gluTesselator. <a href="#a3"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classFTMesh.html#a4">Begin</a> (GLenum meshType)</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Begin a new polygon. <a href="#a4"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classFTMesh.html#a5">End</a> ()</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">End a polygon. <a href="#a5"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classFTMesh.html#a6">Error</a> (GLenum e)</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Record a gluTesselation error. <a href="#a6"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="classFTMesh.html#a7">TesselationCount</a> () const </td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">The number of tesselations in the mesh. <a href="#a7"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classFTTesselation.html">FTTesselation</a> *const </td><td class="memItemRight" valign=bottom><a class="el" href="classFTMesh.html#a8">Tesselation</a> (unsigned int index) const </td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a tesselation by index. <a href="#a8"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classFTList.html">PointList</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classFTMesh.html#a9">TempPointList</a> () const </td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the temporary point list. <a href="#a9"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>GLenum </td><td class="memItemRight" valign=bottom><a class="el" href="classFTMesh.html#a10">Error</a> () const </td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the GL ERROR returned by the glu tesselator. <a href="#a10"></a><br><br></td></tr> |
| </table> |
| <hr><h2>Constructor & Destructor Documentation</h2> |
| <a class="anchor" name="a0" doxytag="FTMesh::FTMesh" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> FTMesh::FTMesh </td> |
| <td class="md" valign="top">( </td> |
| <td class="mdname1" valign="top" nowrap> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Default constructor. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTVectoriser_8cpp-source.html#l00051">51</a> of file <a class="el" href="FTVectoriser_8cpp-source.html">FTVectoriser.cpp</a>. |
| <p> |
| References <a class="el" href="FTVector_8h-source.html#l00104">FTVector< FT_VECTOR_ITEM_TYPE >::reserve()</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="a1" doxytag="FTMesh::~FTMesh" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> FTMesh::~<a class="el" href="classFTMesh.html">FTMesh</a> </td> |
| <td class="md" valign="top">( </td> |
| <td class="mdname1" valign="top" nowrap> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Destructor. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTVectoriser_8cpp-source.html#l00059">59</a> of file <a class="el" href="FTVectoriser_8cpp-source.html">FTVectoriser.cpp</a>. |
| <p> |
| References <a class="el" href="FTVector_8h-source.html#l00094">FTVector< FT_VECTOR_ITEM_TYPE >::clear()</a>, and <a class="el" href="FTVector_8h-source.html#l00049">FTVector< FT_VECTOR_ITEM_TYPE >::size()</a>. </td> |
| </tr> |
| </table> |
| <hr><h2>Member Function Documentation</h2> |
| <a class="anchor" name="a2" doxytag="FTMesh::AddPoint" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> void FTMesh::AddPoint </td> |
| <td class="md" valign="top">( </td> |
| <td class="md" nowrap valign="top">const <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> </td> |
| <td class="mdname" nowrap> <em>x</em>, </td> |
| </tr> |
| <tr> |
| <td class="md" nowrap align="right"></td> |
| <td></td> |
| <td class="md" nowrap>const <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> </td> |
| <td class="mdname" nowrap> <em>y</em>, </td> |
| </tr> |
| <tr> |
| <td class="md" nowrap align="right"></td> |
| <td></td> |
| <td class="md" nowrap>const <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> </td> |
| <td class="mdname" nowrap> <em>z</em></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td class="md">) </td> |
| <td class="md" colspan="2"></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Add a point to the mesh. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTVectoriser_8cpp-source.html#l00070">70</a> of file <a class="el" href="FTVectoriser_8cpp-source.html">FTVectoriser.cpp</a>. |
| <p> |
| References <a class="el" href="FTVectoriser_8h-source.html#l00043">FTTesselation::AddPoint()</a>, and <a class="el" href="FTGL_8h-source.html#l00005">FTGL_DOUBLE</a>. |
| <p> |
| Referenced by <a class="el" href="FTVectoriser_8cpp-source.html#l00025">ftglVertex()</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="a4" doxytag="FTMesh::Begin" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> void FTMesh::Begin </td> |
| <td class="md" valign="top">( </td> |
| <td class="md" nowrap valign="top">GLenum </td> |
| <td class="mdname1" valign="top" nowrap> <em>meshType</em> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Begin a new polygon. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTVectoriser_8cpp-source.html#l00083">83</a> of file <a class="el" href="FTVectoriser_8cpp-source.html">FTVectoriser.cpp</a>. |
| <p> |
| Referenced by <a class="el" href="FTVectoriser_8cpp-source.html#l00039">ftglBegin()</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="a3" doxytag="FTMesh::Combine" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> * FTMesh::Combine </td> |
| <td class="md" valign="top">( </td> |
| <td class="md" nowrap valign="top">const <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> </td> |
| <td class="mdname" nowrap> <em>x</em>, </td> |
| </tr> |
| <tr> |
| <td class="md" nowrap align="right"></td> |
| <td></td> |
| <td class="md" nowrap>const <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> </td> |
| <td class="mdname" nowrap> <em>y</em>, </td> |
| </tr> |
| <tr> |
| <td class="md" nowrap align="right"></td> |
| <td></td> |
| <td class="md" nowrap>const <a class="el" href="FTGL_8h.html#a4">FTGL_DOUBLE</a> </td> |
| <td class="mdname" nowrap> <em>z</em></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td class="md">) </td> |
| <td class="md" colspan="2"></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Create a combine point for the gluTesselator. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTVectoriser_8cpp-source.html#l00076">76</a> of file <a class="el" href="FTVectoriser_8cpp-source.html">FTVectoriser.cpp</a>. |
| <p> |
| References <a class="el" href="FTList_8h-source.html#l00082">FTList< FT_LIST_ITEM_TYPE >::back()</a>, <a class="el" href="FTGL_8h-source.html#l00005">FTGL_DOUBLE</a>, and <a class="el" href="FTList_8h-source.html#l00054">FTList< FT_LIST_ITEM_TYPE >::push_back()</a>. |
| <p> |
| Referenced by <a class="el" href="FTVectoriser_8cpp-source.html#l00032">ftglCombine()</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="a5" doxytag="FTMesh::End" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> void FTMesh::End </td> |
| <td class="md" valign="top">( </td> |
| <td class="mdname1" valign="top" nowrap> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| End a polygon. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTVectoriser_8cpp-source.html#l00089">89</a> of file <a class="el" href="FTVectoriser_8cpp-source.html">FTVectoriser.cpp</a>. |
| <p> |
| References <a class="el" href="FTVector_8h-source.html#l00112">FTVector< FT_VECTOR_ITEM_TYPE >::push_back()</a>. |
| <p> |
| Referenced by <a class="el" href="FTVectoriser_8cpp-source.html#l00045">ftglEnd()</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="a10" doxytag="FTMesh::Error" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> GLenum FTMesh::Error </td> |
| <td class="md" valign="top">( </td> |
| <td class="mdname1" valign="top" nowrap> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap> const<code> [inline]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Get the GL ERROR returned by the glu tesselator. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTVectoriser_8h-source.html#l00139">139</a> of file <a class="el" href="FTVectoriser_8h-source.html">FTVectoriser.h</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="a6" doxytag="FTMesh::Error" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> void FTMesh::Error </td> |
| <td class="md" valign="top">( </td> |
| <td class="md" nowrap valign="top">GLenum </td> |
| <td class="mdname1" valign="top" nowrap> <em>e</em> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap><code> [inline]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Record a gluTesselation error. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTVectoriser_8h-source.html#l00119">119</a> of file <a class="el" href="FTVectoriser_8h-source.html">FTVectoriser.h</a>. |
| <p> |
| Referenced by <a class="el" href="FTVectoriser_8cpp-source.html#l00019">ftglError()</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="a9" doxytag="FTMesh::TempPointList" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> const <a class="el" href="classFTList.html">PointList</a>& FTMesh::TempPointList </td> |
| <td class="md" valign="top">( </td> |
| <td class="mdname1" valign="top" nowrap> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap> const<code> [inline]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Return the temporary point list. |
| <p> |
| For testing only. |
| <p> |
| Definition at line <a class="el" href="FTVectoriser_8h-source.html#l00134">134</a> of file <a class="el" href="FTVectoriser_8h-source.html">FTVectoriser.h</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="a8" doxytag="FTMesh::Tesselation" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> const <a class="el" href="classFTTesselation.html">FTTesselation</a> *const FTMesh::Tesselation </td> |
| <td class="md" valign="top">( </td> |
| <td class="md" nowrap valign="top">unsigned int </td> |
| <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap> const</td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Get a tesselation by index. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTVectoriser_8cpp-source.html#l00095">95</a> of file <a class="el" href="FTVectoriser_8cpp-source.html">FTVectoriser.cpp</a>. |
| <p> |
| References <a class="el" href="FTVector_8h-source.html#l00049">FTVector< FT_VECTOR_ITEM_TYPE >::size()</a>. |
| <p> |
| Referenced by <a class="el" href="FTExtrdGlyph_8cpp-source.html#l00009">FTExtrdGlyph::FTExtrdGlyph()</a>, and <a class="el" href="FTPolyGlyph_8cpp-source.html#l00005">FTPolyGlyph::FTPolyGlyph()</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="a7" doxytag="FTMesh::TesselationCount" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> unsigned int FTMesh::TesselationCount </td> |
| <td class="md" valign="top">( </td> |
| <td class="mdname1" valign="top" nowrap> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap> const<code> [inline]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| The number of tesselations in the mesh. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTVectoriser_8h-source.html#l00124">124</a> of file <a class="el" href="FTVectoriser_8h-source.html">FTVectoriser.h</a>. |
| <p> |
| Referenced by <a class="el" href="FTExtrdGlyph_8cpp-source.html#l00009">FTExtrdGlyph::FTExtrdGlyph()</a>, and <a class="el" href="FTPolyGlyph_8cpp-source.html#l00005">FTPolyGlyph::FTPolyGlyph()</a>. </td> |
| </tr> |
| </table> |
| <hr>The documentation for this class was generated from the following files:<ul> |
| <li><a class="el" href="FTVectoriser_8h-source.html">FTVectoriser.h</a><li><a class="el" href="FTVectoriser_8cpp-source.html">FTVectoriser.cpp</a></ul> |
| <hr size="1"><address style="align: right;"><small>Generated on Sun Dec 5 22:24:07 2004 for FTGL by |
| <a href="http://www.doxygen.org/index.html"> |
| <img src="doxygen.png" alt="doxygen" align="middle" border=0 > |
| </a>1.3.6 </small></address> |
| </body> |
| </html> |