<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>The Gnome Chemistry Utils: gcu::GLDocument Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</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> <div class="navpath"><a class="el" href="namespacegcu.html">gcu</a>::<a class="el" href="classgcu_1_1GLDocument.html">GLDocument</a> </div> </div> <div class="contents"> <h1>gcu::GLDocument Class Reference</h1><!-- doxytag: class="gcu::GLDocument" --><!-- doxytag: inherits="gcu::Document" --> <p><code>#include <<a class="el" href="gldocument_8h_source.html">gcu/gldocument.h</a>></code></p> <div class="dynheader"> Inheritance diagram for gcu::GLDocument:</div> <div class="dynsection"> <div class="center"> <img src="classgcu_1_1GLDocument.gif" usemap="#gcu::GLDocument_map" alt=""/> <map id="gcu::GLDocument_map" name="gcu::GLDocument_map"> <area href="classgcu_1_1Document.html" alt="gcu::Document" shape="rect" coords="61,56,174,80"/> <area href="classgcu_1_1Object.html" alt="gcu::Object" shape="rect" coords="0,0,113,24"/> <area href="classgcu_1_1DialogOwner.html" alt="gcu::DialogOwner" shape="rect" coords="123,0,236,24"/> <area href="classgcu_1_1Chem3dDoc.html" alt="gcu::Chem3dDoc" shape="rect" coords="0,168,113,192"/> <area href="classgcu_1_1CrystalDoc.html" alt="gcu::CrystalDoc" shape="rect" coords="123,168,236,192"/> </map> </div> </div> <p><a href="classgcu_1_1GLDocument-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1GLDocument.html#aac6c6302a58a55b36bf63bbe2b823bf5">GLDocument</a> (<a class="el" href="classgcu_1_1Application.html">Application</a> *App)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1GLDocument.html#ac8e7103e63fdc67f686d3f7a336e6ff1">~GLDocument</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcu_1_1GLDocument.html#a3157e47c92cd1df3a901f39c48914cad">Draw</a> (<a class="el" href="classgcu_1_1Matrix.html">Matrix</a> const &m) const =0</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>This class is a base class for documents representing 3d objects. </p> <p>Definition at line <a class="el" href="gldocument_8h_source.html#l00042">42</a> of file <a class="el" href="gldocument_8h_source.html">gldocument.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="aac6c6302a58a55b36bf63bbe2b823bf5"></a><!-- doxytag: member="gcu::GLDocument::GLDocument" ref="aac6c6302a58a55b36bf63bbe2b823bf5" args="(Application *App)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gcu::GLDocument::GLDocument </td> <td>(</td> <td class="paramtype"><a class="el" href="classgcu_1_1Application.html">Application</a> * </td> <td class="paramname"> <em>App</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>App</em> </td><td>the application owning the new document.</td></tr> </table> </dd> </dl> <p>Default constructor. </p> </div> </div> <a class="anchor" id="ac8e7103e63fdc67f686d3f7a336e6ff1"></a><!-- doxytag: member="gcu::GLDocument::~GLDocument" ref="ac8e7103e63fdc67f686d3f7a336e6ff1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual gcu::GLDocument::~GLDocument </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default destructor. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a3157e47c92cd1df3a901f39c48914cad"></a><!-- doxytag: member="gcu::GLDocument::Draw" ref="a3157e47c92cd1df3a901f39c48914cad" args="(Matrix const &m) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void gcu::GLDocument::Draw </td> <td>(</td> <td class="paramtype"><a class="el" href="classgcu_1_1Matrix.html">Matrix</a> const & </td> <td class="paramname"> <em>m</em></td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>m</em> </td><td>the <a class="el" href="classgcu_1_1Matrix.html">Matrix</a> giving the current model orientation</td></tr> </table> </dd> </dl> <p>Called by <a class="el" href="classgcu_1_1GLView.html#a72670ec6651e59723ece3cb6762f1acb">GLView::Update</a> to render the model. </p> <p>Implemented in <a class="el" href="classgcu_1_1Chem3dDoc.html#af05ba220e27dd4d471783f802ca30134">gcu::Chem3dDoc</a>, and <a class="el" href="classgcu_1_1CrystalDoc.html#a92a10b612f4a270d4dd8baf5595c694b">gcu::CrystalDoc</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="gldocument_8h_source.html">gldocument.h</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 6 18:33:55 2009 for The Gnome Chemistry Utils by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>