Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > af7a4b7f1ee5a4a084c41b9005da5527 > files > 704

libfox1.1_46-devel-1.1.46-1mdk.i586.rpm

<html>
<head>
<link rel="stylesheet" href="page.css" type="text/css">
<title>fox-toolkit.org - Documentation</title>
</head>
<body bgcolor=#ffffff link=#990033 vlink=#990033 alink=#990033 text=#000000>
<font face='verdana,sans-serif' size=2 >

<!---- TOPIC TITLE WITH LOGO--->
<table border=0 cellpadding= cellspacing=2 width=100% ><tr><td><a href='http://www.fox-toolkit.org/doc.html'><img src='../art/foxlogo_small.jpg' border=0></a></td><td width=100% valign=bottom><font face='verdana,sans-serif' size=2 ><b>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a>
<br><img src='../art/line.gif' width=100% height=1></b></font></td></tr></table>
<p>
<!--- TOPIC TITLE WITH LOGO --->
<!-- Generated by Doxygen 1.3.3 -->
<h1>FX::FXGLShape Class Reference</h1>OpenGL Shape Object.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="FXGLShape_8h-source.html">FXGLShape.h</a>&gt;</code>
<p>
<p>Inheritance diagram for FX::FXGLShape:
<p><center><img src="classFX_1_1FXGLShape.png" usemap="#FX::FXGLShape_map" border="0" alt=""></center>
<map name="FX::FXGLShape_map">
<area href="classFX_1_1FXGLObject.html" alt="FX::FXGLObject" shape="rect" coords="310,56,455,80">
<area href="classFX_1_1FXObject.html" alt="FX::FXObject" shape="rect" coords="310,0,455,24">
<area href="classFX_1_1FXGLCone.html" alt="FX::FXGLCone" shape="rect" coords="0,168,145,192">
<area href="classFX_1_1FXGLCube.html" alt="FX::FXGLCube" shape="rect" coords="155,168,300,192">
<area href="classFX_1_1FXGLCylinder.html" alt="FX::FXGLCylinder" shape="rect" coords="310,168,455,192">
<area href="classFX_1_1FXGLSphere.html" alt="FX::FXGLSphere" shape="rect" coords="465,168,610,192">
<area href="classFX_1_1FXGLTriangleMesh.html" alt="FX::FXGLTriangleMesh" shape="rect" coords="620,168,765,192">
</map>
<a href="classFX_1_1FXGLShape-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>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a0">FXGLShape</a> (FXfloat x, FXfloat y, FXfloat z, FXuint opts)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a1">FXGLShape</a> (FXfloat x, FXfloat y, FXfloat z, FXuint opts, const FXMaterial &amp;front, const FXMaterial &amp;back)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a2">FXGLShape</a> (const <a class="el" href="classFX_1_1FXGLShape.html">FXGLShape</a> &amp;orig)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a3">bounds</a> (<a class="el" href="classFX_1_1FXRange.html">FXRange</a> &amp;box)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a4">draw</a> (<a class="el" href="classFX_1_1FXGLViewer.html">FXGLViewer</a> *viewer)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a5">hit</a> (<a class="el" href="classFX_1_1FXGLViewer.html">FXGLViewer</a> *viewer)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classFX_1_1FXGLObject.html">FXGLObject</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a6">copy</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual FXbool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a7">canDrag</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual FXbool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a8">canDelete</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual FXbool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a9">drag</a> (<a class="el" href="classFX_1_1FXGLViewer.html">FXGLViewer</a> *viewer, FXint fx, FXint fy, FXint tx, FXint ty)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a10">setTipText</a> (const <a class="el" href="classFX_1_1FXString.html">FXString</a> &amp;text)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classFX_1_1FXString.html">FXString</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a11">getTipText</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a12">setMaterial</a> (FXint side, const FXMaterial &amp;mtl)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a13">getMaterial</a> (FXint side, FXMaterial &amp;mtl) const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a14">save</a> (<a class="el" href="classFX_1_1FXStream.html">FXStream</a> &amp;store) const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFX_1_1FXGLShape.html#a15">load</a> (<a class="el" href="classFX_1_1FXStream.html">FXStream</a> &amp;store)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
OpenGL Shape Object. 
<p>
See also: <ul>
<li><a class="el" href="group__FXGLShape__0.html">Shape drawing options</a>. </li>
</ul>

<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="FX::FXGLShape::FXGLShape"></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"> FX::FXGLShape::FXGLShape </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">FXfloat&nbsp;</td>
          <td class="mdname" nowrap> <em>x</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXfloat&nbsp;</td>
          <td class="mdname" nowrap> <em>y</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXfloat&nbsp;</td>
          <td class="mdname" nowrap> <em>z</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXuint&nbsp;</td>
          <td class="mdname" nowrap> <em>opts</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Construct with specified origin and options. 
<p>
    </td>
  </tr>
</table>
<a name="a1" doxytag="FX::FXGLShape::FXGLShape"></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"> FX::FXGLShape::FXGLShape </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">FXfloat&nbsp;</td>
          <td class="mdname" nowrap> <em>x</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXfloat&nbsp;</td>
          <td class="mdname" nowrap> <em>y</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXfloat&nbsp;</td>
          <td class="mdname" nowrap> <em>z</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXuint&nbsp;</td>
          <td class="mdname" nowrap> <em>opts</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const FXMaterial &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>front</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const FXMaterial &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>back</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Construct with specified origin, options and front and back materials. 
<p>
    </td>
  </tr>
</table>
<a name="a2" doxytag="FX::FXGLShape::FXGLShape"></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"> FX::FXGLShape::FXGLShape </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classFX_1_1FXGLShape.html">FXGLShape</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>orig</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Copy constructor. 
<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a3" doxytag="FX::FXGLShape::bounds"></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"> virtual void FX::FXGLShape::bounds </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXRange.html">FXRange</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>box</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Called by the viewer to get bounds for this object. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXGLObject.html#a2">FX::FXGLObject</a>.    </td>
  </tr>
</table>
<a name="a4" doxytag="FX::FXGLShape::draw"></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"> virtual void FX::FXGLShape::draw </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXGLViewer.html">FXGLViewer</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>viewer</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Draw this object in a viewer. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXGLObject.html#a3">FX::FXGLObject</a>.    </td>
  </tr>
</table>
<a name="a5" doxytag="FX::FXGLShape::hit"></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"> virtual void FX::FXGLShape::hit </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXGLViewer.html">FXGLViewer</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>viewer</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Draw this object for hit-testing purposes. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXGLObject.html#a4">FX::FXGLObject</a>.    </td>
  </tr>
</table>
<a name="a6" doxytag="FX::FXGLShape::copy"></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"> virtual <a class="el" href="classFX_1_1FXGLObject.html">FXGLObject</a>* FX::FXGLShape::copy </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Copy this object. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXGLObject.html#a5">FX::FXGLObject</a>.
<p>
Reimplemented in <a class="el" href="classFX_1_1FXGLCone.html#a3">FX::FXGLCone</a>, <a class="el" href="classFX_1_1FXGLCube.html#a3">FX::FXGLCube</a>, <a class="el" href="classFX_1_1FXGLCylinder.html#a3">FX::FXGLCylinder</a>, <a class="el" href="classFX_1_1FXGLSphere.html#a3">FX::FXGLSphere</a>, and <a class="el" href="classFX_1_1FXGLTriangleMesh.html#a3">FX::FXGLTriangleMesh</a>.    </td>
  </tr>
</table>
<a name="a7" doxytag="FX::FXGLShape::canDrag"></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"> virtual FXbool FX::FXGLShape::canDrag </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return true if this object can be dragged around. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXGLObject.html#a7">FX::FXGLObject</a>.    </td>
  </tr>
</table>
<a name="a8" doxytag="FX::FXGLShape::canDelete"></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"> virtual FXbool FX::FXGLShape::canDelete </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return true if this object can be deleted from the scene. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXGLObject.html#a8">FX::FXGLObject</a>.    </td>
  </tr>
</table>
<a name="a9" doxytag="FX::FXGLShape::drag"></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"> virtual FXbool FX::FXGLShape::drag </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXGLViewer.html">FXGLViewer</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>viewer</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>fx</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>fy</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>tx</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>ty</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Drag this object from one position to another. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXGLObject.html#a9">FX::FXGLObject</a>.    </td>
  </tr>
</table>
<a name="a10" doxytag="FX::FXGLShape::setTipText"></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 FX::FXGLShape::setTipText </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classFX_1_1FXString.html">FXString</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>text</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the tool tip message for this object. 
<p>
    </td>
  </tr>
</table>
<a name="a11" doxytag="FX::FXGLShape::getTipText"></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="classFX_1_1FXString.html">FXString</a> FX::FXGLShape::getTipText </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the tool tip message for this object. 
<p>
    </td>
  </tr>
</table>
<a name="a12" doxytag="FX::FXGLShape::setMaterial"></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 FX::FXGLShape::setMaterial </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>side</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const FXMaterial &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>mtl</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the material for specified side (where side = 0 or 1). 
<p>
    </td>
  </tr>
</table>
<a name="a13" doxytag="FX::FXGLShape::getMaterial"></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 FX::FXGLShape::getMaterial </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">FXint&nbsp;</td>
          <td class="mdname" nowrap> <em>side</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>FXMaterial &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>mtl</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the material for specified side (where side = 0 or 1). 
<p>
    </td>
  </tr>
</table>
<a name="a14" doxytag="FX::FXGLShape::save"></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"> virtual void FX::FXGLShape::save </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXStream.html">FXStream</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>store</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Save shape to a stream. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXObject.html#a3">FX::FXObject</a>.
<p>
Reimplemented in <a class="el" href="classFX_1_1FXGLCone.html#a8">FX::FXGLCone</a>, <a class="el" href="classFX_1_1FXGLCube.html#a10">FX::FXGLCube</a>, <a class="el" href="classFX_1_1FXGLCylinder.html#a8">FX::FXGLCylinder</a>, <a class="el" href="classFX_1_1FXGLSphere.html#a10">FX::FXGLSphere</a>, and <a class="el" href="classFX_1_1FXGLTriangleMesh.html#a14">FX::FXGLTriangleMesh</a>.    </td>
  </tr>
</table>
<a name="a15" doxytag="FX::FXGLShape::load"></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"> virtual void FX::FXGLShape::load </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classFX_1_1FXStream.html">FXStream</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>store</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Load shape from a stream. 
<p>

<p>
Reimplemented from <a class="el" href="classFX_1_1FXObject.html#a4">FX::FXObject</a>.
<p>
Reimplemented in <a class="el" href="classFX_1_1FXGLCone.html#a9">FX::FXGLCone</a>, <a class="el" href="classFX_1_1FXGLCube.html#a11">FX::FXGLCube</a>, <a class="el" href="classFX_1_1FXGLCylinder.html#a9">FX::FXGLCylinder</a>, <a class="el" href="classFX_1_1FXGLSphere.html#a11">FX::FXGLSphere</a>, and <a class="el" href="classFX_1_1FXGLTriangleMesh.html#a15">FX::FXGLTriangleMesh</a>.    </td>
  </tr>
</table>
</font>

<!--- COPYRIGHT -->
<p>
<table width=100% cellpadding=0 cellspacing=0><tr><td width=100% valign=top id=HEADLINE align=right>
<img src='../art/line.gif' width=100% height=1><font size=-1>
Copyright &copy; 1997-2004 Jeroen van der Zijp</font>
</td></tr></table>
</p>
<!--- COPYRIGHT -->
</body>
</html>