<html> <head> <title>OgreRefApp::BallJoint class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.2.16 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>OgreRefApp::BallJoint Class Reference</h1>Implementation of ball joint. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreRefAppJointSubtypes_8h-source.html">OgreRefAppJointSubtypes.h</a>></code> <p> Inheritance diagram for OgreRefApp::BallJoint:<p><center><img src="classOgreRefApp_1_1BallJoint__inherit__graph.png" border="0" usemap="#OgreRefApp_1_1BallJoint__inherit__map" alt="Inheritance graph"></center> <map name="OgreRefApp_1_1BallJoint__inherit__map"> <area href="classOgreRefApp_1_1Joint.html" shape="rect" coords="19,36,136,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for OgreRefApp::BallJoint:<p><center><img src="classOgreRefApp_1_1BallJoint__coll__graph.png" border="0" usemap="#OgreRefApp_1_1BallJoint__coll__map" alt="Collaboration graph"></center> <map name="OgreRefApp_1_1BallJoint__coll__map"> <area href="classOgreRefApp_1_1Joint.html" shape="rect" coords="19,36,136,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgreRefApp_1_1BallJoint-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Types</h2></td></tr> <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJoints5">JointType</a> { <br> <a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJoints5OgreRefApp_1_1UniversalJoints0">JT_BALL</a>, <a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJoints5OgreRefApp_1_1UniversalJoints1">JT_SLIDER</a>, <a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJoints5OgreRefApp_1_1UniversalJoints2">JT_HINGE</a>, <a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJoints5OgreRefApp_1_1UniversalJoints3">JT_UNIVERSAL</a>, <br> <a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJoints5OgreRefApp_1_1UniversalJoints4">JT_HINGE2</a> <br> }</td></tr> <tr><td> </td><td><font size=-1><em>The type of joint.</em> <a href="#OgreRefApp_1_1UniversalJoints5">More...</a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1BallJointa0">BallJoint</a> (<a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJoints5">Joint::JointType</a> jtype, <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *obj1, <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *obj2)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1BallJointa1">~BallJoint</a> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1BallJointa2">setAnchorPosition</a> (const Vector3 &point)</td></tr> <tr><td> </td><td><font size=-1><em>Set the anchor point of this joint.</em> <a href="#OgreRefApp_1_1BallJointa2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1BallJointa3">setAxes</a> (const Vector3 &primaryAxis, const Vector3 &secondaryAxis=Vector3::ZERO)</td></tr> <tr><td> </td><td><font size=-1><em>Sets the axes for this joint.</em> <a href="#OgreRefApp_1_1BallJointa3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJoints5">JointType</a> </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJointa4">getType</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>Returns the type of this joint.</em> <a href="#OgreRefApp_1_1UniversalJointa4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual const Vector3 & </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJointa5">getAnchorPosition</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>Gets the anchor position of this joint.</em> <a href="#OgreRefApp_1_1UniversalJointa5"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual const std::pair< <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *,<br> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * > & </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJointa6">getAttachments</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>Gets the attached objects, a NULL means no object ie a static attachment.</em> <a href="#OgreRefApp_1_1UniversalJointa6"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual const std::pair< Vector3,<br> Vector3 > & </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJointa7">getAxes</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>Gets the axes of this joint.</em> <a href="#OgreRefApp_1_1UniversalJointa7"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJointb0">setAttachments</a> (<a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *obj1, <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *obj2)</td></tr> <tr><td> </td><td><font size=-1><em>Sets the objects attached to this joint.</em> <a href="#OgreRefApp_1_1UniversalJointb0"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJoints5">JointType</a> </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJointn0">mType</a></td></tr> <tr><td nowrap align=right valign=top>Vector3 </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJointn1">mAnchor</a></td></tr> <tr><td nowrap align=right valign=top>std::pair< <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *,<br> <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * > </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJointn2">mAttachedObjects</a></td></tr> <tr><td nowrap align=right valign=top>std::pair< Vector3, Vector3 > </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJointn3">mAxes</a></td></tr> <tr><td nowrap align=right valign=top>dJoint * </td><td valign=bottom><a class="el" href="classOgreRefApp_1_1BallJoint.html#OgreRefApp_1_1UniversalJointn4">mOdeJoint</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Implementation of ball joint. <p> <p> Definition at line <a class="el" href="OgreRefAppJointSubtypes_8h-source.html#l00034">34</a> of file <a class="el" href="OgreRefAppJointSubtypes_8h-source.html">OgreRefAppJointSubtypes.h</a>.<hr><h2>Member Enumeration Documentation</h2> <a name="OgreRefApp_1_1UniversalJoints5" doxytag="OgreRefApp::BallJoint::JointType"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum OgreRefApp::Joint::JointType<code> [inherited]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The type of joint. <p> <dl compact><dt><b> Enumeration values:</b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em><a name="OgreRefApp_1_1UniversalJoints5OgreRefApp_1_1UniversalJoints0" doxytag="JT_BALL"></a><em>JT_BALL</em></em> </td><td> <a class="el" href="classOgreRefApp_1_1Ball.html">Ball</a> & socket joint, has 3 degrees of freedom.</td></tr> <tr><td valign=top><em><a name="OgreRefApp_1_1UniversalJoints5OgreRefApp_1_1UniversalJoints1" doxytag="JT_SLIDER"></a><em>JT_SLIDER</em></em> </td><td> Sliding joint, 1 degree of freedom (in-out).</td></tr> <tr><td valign=top><em><a name="OgreRefApp_1_1UniversalJoints5OgreRefApp_1_1UniversalJoints2" doxytag="JT_HINGE"></a><em>JT_HINGE</em></em> </td><td> Hinge joint, 1 degree of freedom.</td></tr> <tr><td valign=top><em><a name="OgreRefApp_1_1UniversalJoints5OgreRefApp_1_1UniversalJoints3" doxytag="JT_UNIVERSAL"></a><em>JT_UNIVERSAL</em></em> </td><td> Universal joint, like a double-hinge, 2 degrees of freedom.</td></tr> <tr><td valign=top><em><a name="OgreRefApp_1_1UniversalJoints5OgreRefApp_1_1UniversalJoints4" doxytag="JT_HINGE2"></a><em>JT_HINGE2</em></em> </td><td> 2 hinges in series, like the axel of a car</td></tr> </table> </dl> <p> Definition at line <a class="el" href="OgreRefAppJoint_8h-source.html#l00046">46</a> of file <a class="el" href="OgreRefAppJoint_8h-source.html">OgreRefAppJoint.h</a>. </td> </tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="OgreRefApp_1_1BallJointa0" doxytag="OgreRefApp::BallJoint::BallJoint"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OgreRefApp::BallJoint::BallJoint </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJoints5">Joint::JointType</a> </td> <td class="mdname" nowrap> <em>jtype</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * </td> <td class="mdname" nowrap> <em>obj1</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * </td> <td class="mdname" nowrap> <em>obj2</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> <p> Definition at line <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00031">31</a> of file <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html">OgreRefAppJointSubtypes.cpp</a>. <p> References <a class="el" href="OgreRefAppJoint_8h-source.html#l00111">OgreRefApp::Joint::mOdeJoint</a>, and <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00051">OgreRefApp::Joint::setAttachments</a>(). </td> </tr> </table> <a name="OgreRefApp_1_1BallJointa1" doxytag="OgreRefApp::BallJoint::~BallJoint"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OgreRefApp::BallJoint::~BallJoint </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> <p> Definition at line <a class="el" href="OgreRefAppJointSubtypes_8h-source.html#l00038">38</a> of file <a class="el" href="OgreRefAppJointSubtypes_8h-source.html">OgreRefAppJointSubtypes.h</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="OgreRefApp_1_1UniversalJointa5" doxytag="OgreRefApp::BallJoint::getAnchorPosition"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const Vector3 & OgreRefApp::Joint::getAnchorPosition </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual, inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets the anchor position of this joint. <p> <p> Definition at line <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00046">46</a> of file <a class="el" href="OgreRefAppJoint_8cpp-source.html">OgreRefAppJoint.cpp</a>. <p> References <a class="el" href="OgreRefAppJoint_8h-source.html#l00106">OgreRefApp::Joint::mAnchor</a>. </td> </tr> </table> <a name="OgreRefApp_1_1UniversalJointa6" doxytag="OgreRefApp::BallJoint::getAttachments"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const std::pair< <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *, <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * > & OgreRefApp::Joint::getAttachments </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual, inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets the attached objects, a NULL means no object ie a static attachment. <p> <p> Definition at line <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00073">73</a> of file <a class="el" href="OgreRefAppJoint_8cpp-source.html">OgreRefAppJoint.cpp</a>. <p> References <a class="el" href="OgreRefAppJoint_8h-source.html#l00107">OgreRefApp::Joint::mAttachedObjects</a>. </td> </tr> </table> <a name="OgreRefApp_1_1UniversalJointa7" doxytag="OgreRefApp::BallJoint::getAxes"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const std::pair< Vector3, Vector3 > & OgreRefApp::Joint::getAxes </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual, inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets the axes of this joint. <p> <p> Definition at line <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00079">79</a> of file <a class="el" href="OgreRefAppJoint_8cpp-source.html">OgreRefAppJoint.cpp</a>. <p> References <a class="el" href="OgreRefAppJoint_8h-source.html#l00108">OgreRefApp::Joint::mAxes</a>. </td> </tr> </table> <a name="OgreRefApp_1_1UniversalJointa4" doxytag="OgreRefApp::BallJoint::getType"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJoints5">Joint::JointType</a> OgreRefApp::Joint::getType </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns the type of this joint. <p> <p> Definition at line <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00041">41</a> of file <a class="el" href="OgreRefAppJoint_8cpp-source.html">OgreRefAppJoint.cpp</a>. <p> References <a class="el" href="OgreRefAppJoint_8h-source.html#l00105">OgreRefApp::Joint::mType</a>. </td> </tr> </table> <a name="OgreRefApp_1_1BallJointa2" doxytag="OgreRefApp::BallJoint::setAnchorPosition"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void OgreRefApp::BallJoint::setAnchorPosition </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Vector3 & </td> <td class="mdname1" valign="top" nowrap> <em>point</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the anchor point of this joint. <p> <dl compact><dt><b> Remarks: </b><dd> Sets the location, in world space, of the anchor point of this joint, which can be the hinge point or just the origin of joint. </dl> <p> Implements <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1Jointa3">OgreRefApp::Joint</a>. <p> Definition at line <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00038">38</a> of file <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html">OgreRefAppJointSubtypes.cpp</a>. <p> References <a class="el" href="OgreRefAppJoint_8h-source.html#l00106">OgreRefApp::Joint::mAnchor</a>. </td> </tr> </table> <a name="OgreRefApp_1_1UniversalJointb0" doxytag="OgreRefApp::BallJoint::setAttachments"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void OgreRefApp::Joint::setAttachments </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * </td> <td class="mdname" nowrap> <em>obj1</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * </td> <td class="mdname" nowrap> <em>obj2</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected, inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the objects attached to this joint. <p> <dl compact><dt><b> Remarks: </b><dd> It appears that this has to be set before other joint params like anchor etc, otherwise the joint does not behave. Therefore it is internal and is called during construction. </dl> <p> Definition at line <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00051">51</a> of file <a class="el" href="OgreRefAppJoint_8cpp-source.html">OgreRefAppJoint.cpp</a>. <p> References <a class="el" href="OgreRefAppApplicationObject_8cpp-source.html#l00300">OgreRefApp::ApplicationObject::getOdeBody</a>(), <a class="el" href="OgreRefAppJoint_8h-source.html#l00107">OgreRefApp::Joint::mAttachedObjects</a>, and <a class="el" href="OgreRefAppJoint_8h-source.html#l00111">OgreRefApp::Joint::mOdeJoint</a>. <p> Referenced by <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00031">BallJoint</a>(), <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00110">OgreRefApp::Hinge2Joint::Hinge2Joint</a>(), <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00064">OgreRefApp::HingeJoint::HingeJoint</a>(), <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00047">OgreRefApp::SliderJoint::SliderJoint</a>(), and <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00086">OgreRefApp::UniversalJoint::UniversalJoint</a>(). </td> </tr> </table> <a name="OgreRefApp_1_1BallJointa3" doxytag="OgreRefApp::BallJoint::setAxes"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void OgreRefApp::BallJoint::setAxes </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Vector3 & </td> <td class="mdname" nowrap> <em>primaryAxis</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const Vector3 & </td> <td class="mdname" nowrap> <em>secondaryAxis</em> = Vector3::ZERO</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> Sets the axes for this joint. <p> <dl compact><dt><b> Remarks: </b><dd> Has no meaning for this type of joint, so does nothing. </dl> <p> Implements <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1Jointa6">OgreRefApp::Joint</a>. <p> Definition at line <a class="el" href="OgreRefAppJointSubtypes_8h-source.html#l00050">50</a> of file <a class="el" href="OgreRefAppJointSubtypes_8h-source.html">OgreRefAppJointSubtypes.h</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="OgreRefApp_1_1UniversalJointn1" doxytag="OgreRefApp::BallJoint::mAnchor"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Vector3 OgreRefApp::Joint::mAnchor<code> [protected, inherited]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreRefAppJoint_8h-source.html#l00106">106</a> of file <a class="el" href="OgreRefAppJoint_8h-source.html">OgreRefAppJoint.h</a>. <p> Referenced by <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00046">OgreRefApp::Joint::getAnchorPosition</a>(), <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00117">OgreRefApp::Hinge2Joint::setAnchorPosition</a>(), <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00093">OgreRefApp::UniversalJoint::setAnchorPosition</a>(), <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00071">OgreRefApp::HingeJoint::setAnchorPosition</a>(), and <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00038">setAnchorPosition</a>(). </td> </tr> </table> <a name="OgreRefApp_1_1UniversalJointn2" doxytag="OgreRefApp::BallJoint::mAttachedObjects"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> std::pair<<a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a>*, <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a>*> OgreRefApp::Joint::mAttachedObjects<code> [protected, inherited]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreRefAppJoint_8h-source.html#l00107">107</a> of file <a class="el" href="OgreRefAppJoint_8h-source.html">OgreRefAppJoint.h</a>. <p> Referenced by <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00073">OgreRefApp::Joint::getAttachments</a>(), and <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00051">OgreRefApp::Joint::setAttachments</a>(). </td> </tr> </table> <a name="OgreRefApp_1_1UniversalJointn3" doxytag="OgreRefApp::BallJoint::mAxes"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> std::pair<Vector3, Vector3> OgreRefApp::Joint::mAxes<code> [protected, inherited]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreRefAppJoint_8h-source.html#l00108">108</a> of file <a class="el" href="OgreRefAppJoint_8h-source.html">OgreRefAppJoint.h</a>. <p> Referenced by <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00079">OgreRefApp::Joint::getAxes</a>(), <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00031">OgreRefApp::Joint::Joint</a>(), <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00124">OgreRefApp::Hinge2Joint::setAxes</a>(), <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00100">OgreRefApp::UniversalJoint::setAxes</a>(), <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00078">OgreRefApp::HingeJoint::setAxes</a>(), and <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00055">OgreRefApp::SliderJoint::setAxes</a>(). </td> </tr> </table> <a name="OgreRefApp_1_1UniversalJointn4" doxytag="OgreRefApp::BallJoint::mOdeJoint"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> dJoint* OgreRefApp::Joint::mOdeJoint<code> [protected, inherited]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreRefAppJoint_8h-source.html#l00111">111</a> of file <a class="el" href="OgreRefAppJoint_8h-source.html">OgreRefAppJoint.h</a>. <p> Referenced by <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00031">BallJoint</a>(), <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00110">OgreRefApp::Hinge2Joint::Hinge2Joint</a>(), <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00064">OgreRefApp::HingeJoint::HingeJoint</a>(), <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00051">OgreRefApp::Joint::setAttachments</a>(), <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00047">OgreRefApp::SliderJoint::SliderJoint</a>(), and <a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html#l00086">OgreRefApp::UniversalJoint::UniversalJoint</a>(). </td> </tr> </table> <a name="OgreRefApp_1_1UniversalJointn0" doxytag="OgreRefApp::BallJoint::mType"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJoints5">JointType</a> OgreRefApp::Joint::mType<code> [protected, inherited]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreRefAppJoint_8h-source.html#l00105">105</a> of file <a class="el" href="OgreRefAppJoint_8h-source.html">OgreRefAppJoint.h</a>. <p> Referenced by <a class="el" href="OgreRefAppJoint_8cpp-source.html#l00041">OgreRefApp::Joint::getType</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="OgreRefAppJointSubtypes_8h-source.html">OgreRefAppJointSubtypes.h</a><li><a class="el" href="OgreRefAppJointSubtypes_8cpp-source.html">OgreRefAppJointSubtypes.cpp</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:21:41 2004 </p> </body> </html>