<!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>libQGLViewer: WorldConstraint class Reference</title> <link href="qglviewer.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.3 --> <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">Compound List</a> | <a class="qindex" href="functions.html">All functions</a> | <a class="qindex" doxygen="_cgi:http://www-imagis.imag.fr/cgi-bin/DOXYGEN/search.cgi" href="http://www-imagis.imag.fr/cgi-bin/DOXYGEN/search.cgi">Search</a></div> <h1>WorldConstraint Class Reference</h1>A translation/rotation <a class="el" href="classqglviewer_1_1Constraint.html">Constraint</a> defined with respect to the world coordinate system. <a href="#_details">More...</a> <p> Inherits <a class="el" href="classqglviewer_1_1AxisPlaneConstraint.html">AxisPlaneConstraint</a>. <p> <a href="classqglviewer_1_1WorldConstraint-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 </td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1WorldConstraint.html#a0">~WorldConstraint</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1WorldConstraint.html#a1">constrainTranslation</a> (<a class="el" href="classqglviewer_1_1Vec.html">Vec</a> &, <a class="el" href="classqglviewer_1_1Frame.html">Frame</a> *const)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1WorldConstraint.html#a2">constrainRotation</a> (<a class="el" href="classqglviewer_1_1Quaternion.html">Quaternion</a> &, <a class="el" href="classqglviewer_1_1Frame.html">Frame</a> *const)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A translation/rotation <a class="el" href="classqglviewer_1_1Constraint.html">Constraint</a> defined with respect to the world coordinate system. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="qglviewer::WorldConstraint::~WorldConstraint"></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="classqglviewer_1_1WorldConstraint.html">WorldConstraint</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><code> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Virtual empty destructor. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a2" doxytag="qglviewer::WorldConstraint::constrainRotation"></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 constrainRotation </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classqglviewer_1_1Quaternion.html">Quaternion</a> & </td> <td class="mdname" nowrap> <em>rot</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classqglviewer_1_1Frame.html">Frame</a> * </td> <td class="mdname" nowrap> <em>const</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Constrain the rotation <code>trans</code> with a plane or an axis direction defined with respect to the current <em>world</em> coordinate system. <p> Implements <a class="el" href="classqglviewer_1_1AxisPlaneConstraint.html#z31_0">AxisPlaneConstraint</a>. </td> </tr> </table> <a name="a1" doxytag="qglviewer::WorldConstraint::constrainTranslation"></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 constrainTranslation </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classqglviewer_1_1Vec.html">Vec</a> & </td> <td class="mdname" nowrap> <em>trans</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classqglviewer_1_1Frame.html">Frame</a> * </td> <td class="mdname" nowrap> <em>const</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Constrain the translation <code>trans</code> with a plane or an axis direction defined with respect to the current <em>world</em> coordinate system. <p> Implements <a class="el" href="classqglviewer_1_1AxisPlaneConstraint.html#z29_0">AxisPlaneConstraint</a>. </td> </tr> </table> <hr size="1"><address style="align: right;"><small>Generated on Wed Feb 11 17:22:08 2004 for libQGLViewer by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.3 </small></address> </body> </html>