[692] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <title>OgreRefApp::Hinge2Joint class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
| 4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
| 5 | </head> |
---|
| 6 | |
---|
| 7 | <body> |
---|
| 8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
| 9 | <div class="qindex"><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">Class 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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
| 10 | <h1>OgreRefApp::Hinge2Joint Class Reference</h1>Implementation of hinge2 joint. |
---|
| 11 | <a href="#_details">More...</a> |
---|
| 12 | <p> |
---|
| 13 | <code>#include <<a class="el" href="OgreRefAppJointSubtypes_8h-source.html">OgreRefAppJointSubtypes.h</a>></code> |
---|
| 14 | <p> |
---|
| 15 | <p>Inheritance diagram for OgreRefApp::Hinge2Joint: |
---|
| 16 | <p><center><img src="classOgreRefApp_1_1Hinge2Joint.png" usemap="#OgreRefApp::Hinge2Joint_map" border="0" alt=""></center> |
---|
| 17 | <map name="OgreRefApp::Hinge2Joint_map"> |
---|
| 18 | <area href="classOgreRefApp_1_1Joint.html" alt="OgreRefApp::Joint" shape="rect" coords="0,0,156,24"> |
---|
| 19 | </map> |
---|
| 20 | <a href="classOgreRefApp_1_1Hinge2Joint-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
| 21 | <tr><td></td></tr> |
---|
| 22 | <tr><td colspan=2><br><h2>Public Types</h2></td></tr> |
---|
| 23 | <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5">JointType</a> { <br> |
---|
| 24 | <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5OgreRefApp_1_1UniversalJointw0">JT_BALL</a>, |
---|
| 25 | <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5OgreRefApp_1_1UniversalJointw1">JT_SLIDER</a>, |
---|
| 26 | <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5OgreRefApp_1_1UniversalJointw2">JT_HINGE</a>, |
---|
| 27 | <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5OgreRefApp_1_1UniversalJointw3">JT_UNIVERSAL</a>, |
---|
| 28 | <br> |
---|
| 29 | <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5OgreRefApp_1_1UniversalJointw4">JT_HINGE2</a> |
---|
| 30 | <br> |
---|
| 31 | }</td></tr> |
---|
| 32 | |
---|
| 33 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The type of joint. <a href="#OgreRefApp_1_1UniversalJointw5">More...</a><br><br></td></tr> |
---|
| 34 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
| 35 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Hinge2Joint.html#OgreRefApp_1_1Hinge2Jointa0">Hinge2Joint</a> (<a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5">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> |
---|
| 36 | |
---|
| 37 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Hinge2Joint.html#OgreRefApp_1_1Hinge2Jointa1">~Hinge2Joint</a> ()</td></tr> |
---|
| 38 | |
---|
| 39 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Hinge2Joint.html#OgreRefApp_1_1Hinge2Jointa2">setAnchorPosition</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &point)</td></tr> |
---|
| 40 | |
---|
| 41 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the anchor point of this joint. <a href="#OgreRefApp_1_1Hinge2Jointa2"></a><br><br></td></tr> |
---|
| 42 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Hinge2Joint.html#OgreRefApp_1_1Hinge2Jointa3">setAxes</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &primaryAxis, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &secondaryAxis=<a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s0">Vector3::ZERO</a>)</td></tr> |
---|
| 43 | |
---|
| 44 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the axes for this joint. <a href="#OgreRefApp_1_1Hinge2Jointa3"></a><br><br></td></tr> |
---|
| 45 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5">JointType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointa4">getType</a> (void)</td></tr> |
---|
| 46 | |
---|
| 47 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the type of this joint. <a href="#OgreRefApp_1_1UniversalJointa4"></a><br><br></td></tr> |
---|
| 48 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointa5">getAnchorPosition</a> (void)</td></tr> |
---|
| 49 | |
---|
| 50 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the anchor position of this joint. <a href="#OgreRefApp_1_1UniversalJointa5"></a><br><br></td></tr> |
---|
| 51 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual const std::pair< <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *,<br> |
---|
| 52 | <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * > & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointa6">getAttachments</a> (void)</td></tr> |
---|
| 53 | |
---|
| 54 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the attached objects, a NULL means no object ie a static attachment. <a href="#OgreRefApp_1_1UniversalJointa6"></a><br><br></td></tr> |
---|
| 55 | <tr><td class="memItemLeft" nowrap align=right valign=top>virtual const std::pair< <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>,<br> |
---|
| 56 | <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> > & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointa7">getAxes</a> (void)</td></tr> |
---|
| 57 | |
---|
| 58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the axes of this joint. <a href="#OgreRefApp_1_1UniversalJointa7"></a><br><br></td></tr> |
---|
| 59 | <tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> |
---|
| 60 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Joint.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> |
---|
| 61 | |
---|
| 62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the objects attached to this joint. <a href="#OgreRefApp_1_1UniversalJointb0"></a><br><br></td></tr> |
---|
| 63 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
| 64 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5">JointType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointp0">mType</a></td></tr> |
---|
| 65 | |
---|
| 66 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Vector3.html">Vector3</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointp1">mAnchor</a></td></tr> |
---|
| 67 | |
---|
| 68 | <tr><td class="memItemLeft" nowrap align=right valign=top>std::pair< <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *,<br> |
---|
| 69 | <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointp2">mAttachedObjects</a></td></tr> |
---|
| 70 | |
---|
| 71 | <tr><td class="memItemLeft" nowrap align=right valign=top>std::pair< <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>, <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointp3">mAxes</a></td></tr> |
---|
| 72 | |
---|
| 73 | <tr><td class="memItemLeft" nowrap align=right valign=top>dJoint * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointp4">mOdeJoint</a></td></tr> |
---|
| 74 | |
---|
| 75 | </table> |
---|
| 76 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 77 | Implementation of hinge2 joint. |
---|
| 78 | <p> |
---|
| 79 | |
---|
| 80 | <p> |
---|
| 81 | Definition at line <a class="el" href="OgreRefAppJointSubtypes_8h-source.html#l00129">129</a> of file <a class="el" href="OgreRefAppJointSubtypes_8h-source.html">OgreRefAppJointSubtypes.h</a>.<hr><h2>Member Enumeration Documentation</h2> |
---|
| 82 | <a class="anchor" name="OgreRefApp_1_1UniversalJointw5" doxytag="OgreRefApp::Hinge2Joint::JointType" ></a><p> |
---|
| 83 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 84 | <tr> |
---|
| 85 | <td class="mdRow"> |
---|
| 86 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 87 | <tr> |
---|
| 88 | <td class="md" nowrap valign="top"> enum <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5">OgreRefApp::Joint::JointType</a><code> [inherited]</code> |
---|
| 89 | </table> |
---|
| 90 | </td> |
---|
| 91 | </tr> |
---|
| 92 | </table> |
---|
| 93 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 94 | <tr> |
---|
| 95 | <td> |
---|
| 96 | |
---|
| 97 | </td> |
---|
| 98 | <td> |
---|
| 99 | |
---|
| 100 | <p> |
---|
| 101 | The type of joint. |
---|
| 102 | <p> |
---|
| 103 | <dl compact><dt><b>Enumeration values: </b></dt><dd> |
---|
| 104 | <table border=0 cellspacing=2 cellpadding=0> |
---|
| 105 | <tr><td valign=top><em><a class="anchor" name="OgreRefApp_1_1UniversalJointw5OgreRefApp_1_1UniversalJointw0" doxytag="JT_BALL" ></a>JT_BALL</em> </td><td> |
---|
| 106 | <a class="el" href="classOgreRefApp_1_1Ball.html">Ball</a> & socket joint, has 3 degrees of freedom. </td></tr> |
---|
| 107 | <tr><td valign=top><em><a class="anchor" name="OgreRefApp_1_1UniversalJointw5OgreRefApp_1_1UniversalJointw1" doxytag="JT_SLIDER" ></a>JT_SLIDER</em> </td><td> |
---|
| 108 | Sliding joint, 1 degree of freedom (in-out). </td></tr> |
---|
| 109 | <tr><td valign=top><em><a class="anchor" name="OgreRefApp_1_1UniversalJointw5OgreRefApp_1_1UniversalJointw2" doxytag="JT_HINGE" ></a>JT_HINGE</em> </td><td> |
---|
| 110 | Hinge joint, 1 degree of freedom. </td></tr> |
---|
| 111 | <tr><td valign=top><em><a class="anchor" name="OgreRefApp_1_1UniversalJointw5OgreRefApp_1_1UniversalJointw3" doxytag="JT_UNIVERSAL" ></a>JT_UNIVERSAL</em> </td><td> |
---|
| 112 | Universal joint, like a double-hinge, 2 degrees of freedom. </td></tr> |
---|
| 113 | <tr><td valign=top><em><a class="anchor" name="OgreRefApp_1_1UniversalJointw5OgreRefApp_1_1UniversalJointw4" doxytag="JT_HINGE2" ></a>JT_HINGE2</em> </td><td> |
---|
| 114 | 2 hinges in series, like the axel of a car </td></tr> |
---|
| 115 | </table> |
---|
| 116 | </dl> |
---|
| 117 | |
---|
| 118 | <p> |
---|
| 119 | 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> |
---|
| 120 | </tr> |
---|
| 121 | </table> |
---|
| 122 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
| 123 | <a class="anchor" name="OgreRefApp_1_1Hinge2Jointa0" doxytag="OgreRefApp::Hinge2Joint::Hinge2Joint" ></a><p> |
---|
| 124 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 125 | <tr> |
---|
| 126 | <td class="mdRow"> |
---|
| 127 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 128 | <tr> |
---|
| 129 | <td class="md" nowrap valign="top"> OgreRefApp::Hinge2Joint::Hinge2Joint </td> |
---|
| 130 | <td class="md" valign="top">( </td> |
---|
| 131 | <td class="md" nowrap valign="top"><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5">Joint::JointType</a> </td> |
---|
| 132 | <td class="mdname" nowrap> <em>jtype</em>, </td> |
---|
| 133 | </tr> |
---|
| 134 | <tr> |
---|
| 135 | <td class="md" nowrap align="right"></td> |
---|
| 136 | <td></td> |
---|
| 137 | <td class="md" nowrap><a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * </td> |
---|
| 138 | <td class="mdname" nowrap> <em>obj1</em>, </td> |
---|
| 139 | </tr> |
---|
| 140 | <tr> |
---|
| 141 | <td class="md" nowrap align="right"></td> |
---|
| 142 | <td></td> |
---|
| 143 | <td class="md" nowrap><a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * </td> |
---|
| 144 | <td class="mdname" nowrap> <em>obj2</em></td> |
---|
| 145 | </tr> |
---|
| 146 | <tr> |
---|
| 147 | <td></td> |
---|
| 148 | <td class="md">) </td> |
---|
| 149 | <td class="md" colspan="2"></td> |
---|
| 150 | </tr> |
---|
| 151 | |
---|
| 152 | </table> |
---|
| 153 | </td> |
---|
| 154 | </tr> |
---|
| 155 | </table> |
---|
| 156 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 157 | <tr> |
---|
| 158 | <td> |
---|
| 159 | |
---|
| 160 | </td> |
---|
| 161 | <td> |
---|
| 162 | |
---|
| 163 | <p> |
---|
| 164 | </td> |
---|
| 165 | </tr> |
---|
| 166 | </table> |
---|
| 167 | <a class="anchor" name="OgreRefApp_1_1Hinge2Jointa1" doxytag="OgreRefApp::Hinge2Joint::~Hinge2Joint" ></a><p> |
---|
| 168 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 169 | <tr> |
---|
| 170 | <td class="mdRow"> |
---|
| 171 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 172 | <tr> |
---|
| 173 | <td class="md" nowrap valign="top"> OgreRefApp::Hinge2Joint::~<a class="el" href="classOgreRefApp_1_1Hinge2Joint.html">Hinge2Joint</a> </td> |
---|
| 174 | <td class="md" valign="top">( </td> |
---|
| 175 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 176 | <td class="md" valign="top"> ) </td> |
---|
| 177 | <td class="md" nowrap></td> |
---|
| 178 | </tr> |
---|
| 179 | |
---|
| 180 | </table> |
---|
| 181 | </td> |
---|
| 182 | </tr> |
---|
| 183 | </table> |
---|
| 184 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 185 | <tr> |
---|
| 186 | <td> |
---|
| 187 | |
---|
| 188 | </td> |
---|
| 189 | <td> |
---|
| 190 | |
---|
| 191 | <p> |
---|
| 192 | |
---|
| 193 | <p> |
---|
| 194 | Definition at line <a class="el" href="OgreRefAppJointSubtypes_8h-source.html#l00133">133</a> of file <a class="el" href="OgreRefAppJointSubtypes_8h-source.html">OgreRefAppJointSubtypes.h</a>. </td> |
---|
| 195 | </tr> |
---|
| 196 | </table> |
---|
| 197 | <hr><h2>Member Function Documentation</h2> |
---|
| 198 | <a class="anchor" name="OgreRefApp_1_1UniversalJointa5" doxytag="OgreRefApp::Hinge2Joint::getAnchorPosition" ></a><p> |
---|
| 199 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 200 | <tr> |
---|
| 201 | <td class="mdRow"> |
---|
| 202 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 203 | <tr> |
---|
| 204 | <td class="md" nowrap valign="top"> virtual const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>& OgreRefApp::Joint::getAnchorPosition </td> |
---|
| 205 | <td class="md" valign="top">( </td> |
---|
| 206 | <td class="md" nowrap valign="top">void </td> |
---|
| 207 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 208 | <td class="md" valign="top"> ) </td> |
---|
| 209 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 210 | </tr> |
---|
| 211 | |
---|
| 212 | </table> |
---|
| 213 | </td> |
---|
| 214 | </tr> |
---|
| 215 | </table> |
---|
| 216 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 217 | <tr> |
---|
| 218 | <td> |
---|
| 219 | |
---|
| 220 | </td> |
---|
| 221 | <td> |
---|
| 222 | |
---|
| 223 | <p> |
---|
| 224 | Gets the anchor position of this joint. |
---|
| 225 | <p> |
---|
| 226 | </td> |
---|
| 227 | </tr> |
---|
| 228 | </table> |
---|
| 229 | <a class="anchor" name="OgreRefApp_1_1UniversalJointa6" doxytag="OgreRefApp::Hinge2Joint::getAttachments" ></a><p> |
---|
| 230 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 231 | <tr> |
---|
| 232 | <td class="mdRow"> |
---|
| 233 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 234 | <tr> |
---|
| 235 | <td class="md" nowrap valign="top"> virtual 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> |
---|
| 236 | <td class="md" valign="top">( </td> |
---|
| 237 | <td class="md" nowrap valign="top">void </td> |
---|
| 238 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 239 | <td class="md" valign="top"> ) </td> |
---|
| 240 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 241 | </tr> |
---|
| 242 | |
---|
| 243 | </table> |
---|
| 244 | </td> |
---|
| 245 | </tr> |
---|
| 246 | </table> |
---|
| 247 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 248 | <tr> |
---|
| 249 | <td> |
---|
| 250 | |
---|
| 251 | </td> |
---|
| 252 | <td> |
---|
| 253 | |
---|
| 254 | <p> |
---|
| 255 | Gets the attached objects, a NULL means no object ie a static attachment. |
---|
| 256 | <p> |
---|
| 257 | </td> |
---|
| 258 | </tr> |
---|
| 259 | </table> |
---|
| 260 | <a class="anchor" name="OgreRefApp_1_1UniversalJointa7" doxytag="OgreRefApp::Hinge2Joint::getAxes" ></a><p> |
---|
| 261 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 262 | <tr> |
---|
| 263 | <td class="mdRow"> |
---|
| 264 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 265 | <tr> |
---|
| 266 | <td class="md" nowrap valign="top"> virtual const std::pair<<a class="el" href="classOgre_1_1Vector3.html">Vector3</a>, <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>>& OgreRefApp::Joint::getAxes </td> |
---|
| 267 | <td class="md" valign="top">( </td> |
---|
| 268 | <td class="md" nowrap valign="top">void </td> |
---|
| 269 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 270 | <td class="md" valign="top"> ) </td> |
---|
| 271 | <td class="md" nowrap><code> [virtual, inherited]</code></td> |
---|
| 272 | </tr> |
---|
| 273 | |
---|
| 274 | </table> |
---|
| 275 | </td> |
---|
| 276 | </tr> |
---|
| 277 | </table> |
---|
| 278 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 279 | <tr> |
---|
| 280 | <td> |
---|
| 281 | |
---|
| 282 | </td> |
---|
| 283 | <td> |
---|
| 284 | |
---|
| 285 | <p> |
---|
| 286 | Gets the axes of this joint. |
---|
| 287 | <p> |
---|
| 288 | </td> |
---|
| 289 | </tr> |
---|
| 290 | </table> |
---|
| 291 | <a class="anchor" name="OgreRefApp_1_1UniversalJointa4" doxytag="OgreRefApp::Hinge2Joint::getType" ></a><p> |
---|
| 292 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 293 | <tr> |
---|
| 294 | <td class="mdRow"> |
---|
| 295 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 296 | <tr> |
---|
| 297 | <td class="md" nowrap valign="top"> <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5">JointType</a> OgreRefApp::Joint::getType </td> |
---|
| 298 | <td class="md" valign="top">( </td> |
---|
| 299 | <td class="md" nowrap valign="top">void </td> |
---|
| 300 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 301 | <td class="md" valign="top"> ) </td> |
---|
| 302 | <td class="md" nowrap><code> [inherited]</code></td> |
---|
| 303 | </tr> |
---|
| 304 | |
---|
| 305 | </table> |
---|
| 306 | </td> |
---|
| 307 | </tr> |
---|
| 308 | </table> |
---|
| 309 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 310 | <tr> |
---|
| 311 | <td> |
---|
| 312 | |
---|
| 313 | </td> |
---|
| 314 | <td> |
---|
| 315 | |
---|
| 316 | <p> |
---|
| 317 | Returns the type of this joint. |
---|
| 318 | <p> |
---|
| 319 | </td> |
---|
| 320 | </tr> |
---|
| 321 | </table> |
---|
| 322 | <a class="anchor" name="OgreRefApp_1_1Hinge2Jointa2" doxytag="OgreRefApp::Hinge2Joint::setAnchorPosition" ></a><p> |
---|
| 323 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 324 | <tr> |
---|
| 325 | <td class="mdRow"> |
---|
| 326 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 327 | <tr> |
---|
| 328 | <td class="md" nowrap valign="top"> void OgreRefApp::Hinge2Joint::setAnchorPosition </td> |
---|
| 329 | <td class="md" valign="top">( </td> |
---|
| 330 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
| 331 | <td class="mdname1" valign="top" nowrap> <em>point</em> </td> |
---|
| 332 | <td class="md" valign="top"> ) </td> |
---|
| 333 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
| 334 | </tr> |
---|
| 335 | |
---|
| 336 | </table> |
---|
| 337 | </td> |
---|
| 338 | </tr> |
---|
| 339 | </table> |
---|
| 340 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 341 | <tr> |
---|
| 342 | <td> |
---|
| 343 | |
---|
| 344 | </td> |
---|
| 345 | <td> |
---|
| 346 | |
---|
| 347 | <p> |
---|
| 348 | Set the anchor point of this joint. |
---|
| 349 | <p> |
---|
| 350 | |
---|
| 351 | <p> |
---|
| 352 | Implements <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1Jointa3">OgreRefApp::Joint</a>. </td> |
---|
| 353 | </tr> |
---|
| 354 | </table> |
---|
| 355 | <a class="anchor" name="OgreRefApp_1_1UniversalJointb0" doxytag="OgreRefApp::Hinge2Joint::setAttachments" ></a><p> |
---|
| 356 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 357 | <tr> |
---|
| 358 | <td class="mdRow"> |
---|
| 359 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 360 | <tr> |
---|
| 361 | <td class="md" nowrap valign="top"> void OgreRefApp::Joint::setAttachments </td> |
---|
| 362 | <td class="md" valign="top">( </td> |
---|
| 363 | <td class="md" nowrap valign="top"><a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * </td> |
---|
| 364 | <td class="mdname" nowrap> <em>obj1</em>, </td> |
---|
| 365 | </tr> |
---|
| 366 | <tr> |
---|
| 367 | <td class="md" nowrap align="right"></td> |
---|
| 368 | <td></td> |
---|
| 369 | <td class="md" nowrap><a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * </td> |
---|
| 370 | <td class="mdname" nowrap> <em>obj2</em></td> |
---|
| 371 | </tr> |
---|
| 372 | <tr> |
---|
| 373 | <td></td> |
---|
| 374 | <td class="md">) </td> |
---|
| 375 | <td class="md" colspan="2"><code> [protected, inherited]</code></td> |
---|
| 376 | </tr> |
---|
| 377 | |
---|
| 378 | </table> |
---|
| 379 | </td> |
---|
| 380 | </tr> |
---|
| 381 | </table> |
---|
| 382 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 383 | <tr> |
---|
| 384 | <td> |
---|
| 385 | |
---|
| 386 | </td> |
---|
| 387 | <td> |
---|
| 388 | |
---|
| 389 | <p> |
---|
| 390 | Sets the objects attached to this joint. |
---|
| 391 | <p> |
---|
| 392 | <dl compact><dt><b>Remarks:</b></dt><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. </dd></dl> |
---|
| 393 | </td> |
---|
| 394 | </tr> |
---|
| 395 | </table> |
---|
| 396 | <a class="anchor" name="OgreRefApp_1_1Hinge2Jointa3" doxytag="OgreRefApp::Hinge2Joint::setAxes" ></a><p> |
---|
| 397 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 398 | <tr> |
---|
| 399 | <td class="mdRow"> |
---|
| 400 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 401 | <tr> |
---|
| 402 | <td class="md" nowrap valign="top"> void OgreRefApp::Hinge2Joint::setAxes </td> |
---|
| 403 | <td class="md" valign="top">( </td> |
---|
| 404 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
| 405 | <td class="mdname" nowrap> <em>primaryAxis</em>, </td> |
---|
| 406 | </tr> |
---|
| 407 | <tr> |
---|
| 408 | <td class="md" nowrap align="right"></td> |
---|
| 409 | <td></td> |
---|
| 410 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> & </td> |
---|
| 411 | <td class="mdname" nowrap> <em>secondaryAxis</em> = <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s0">Vector3::ZERO</a></td> |
---|
| 412 | </tr> |
---|
| 413 | <tr> |
---|
| 414 | <td></td> |
---|
| 415 | <td class="md">) </td> |
---|
| 416 | <td class="md" colspan="2"><code> [virtual]</code></td> |
---|
| 417 | </tr> |
---|
| 418 | |
---|
| 419 | </table> |
---|
| 420 | </td> |
---|
| 421 | </tr> |
---|
| 422 | </table> |
---|
| 423 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 424 | <tr> |
---|
| 425 | <td> |
---|
| 426 | |
---|
| 427 | </td> |
---|
| 428 | <td> |
---|
| 429 | |
---|
| 430 | <p> |
---|
| 431 | Sets the axes for this joint. |
---|
| 432 | <p> |
---|
| 433 | <dl compact><dt><b>Remarks:</b></dt><dd>The meaning of axes for a joint depends on it's type: <ul> |
---|
| 434 | <li> |
---|
| 435 | For JT_BALL, it has no meaning and you don't need to call it. </li> |
---|
| 436 | <li> |
---|
| 437 | For JT_SLIDER, only one is applicable and it's the axis along which the slide occurs. </li> |
---|
| 438 | <li> |
---|
| 439 | For JT_HINGE, only one is applicable and it's the hinge axis. </li> |
---|
| 440 | <li> |
---|
| 441 | For JT_UNIVERSAL, and JT_HINGE2 it's the 2 hinge axes. </li> |
---|
| 442 | </ul> |
---|
| 443 | </dd></dl> |
---|
| 444 | |
---|
| 445 | <p> |
---|
| 446 | Implements <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1Jointa6">OgreRefApp::Joint</a>. </td> |
---|
| 447 | </tr> |
---|
| 448 | </table> |
---|
| 449 | <hr><h2>Member Data Documentation</h2> |
---|
| 450 | <a class="anchor" name="OgreRefApp_1_1UniversalJointp1" doxytag="OgreRefApp::Hinge2Joint::mAnchor" ></a><p> |
---|
| 451 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 452 | <tr> |
---|
| 453 | <td class="mdRow"> |
---|
| 454 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 455 | <tr> |
---|
| 456 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointp1">OgreRefApp::Joint::mAnchor</a><code> [protected, inherited]</code> |
---|
| 457 | </table> |
---|
| 458 | </td> |
---|
| 459 | </tr> |
---|
| 460 | </table> |
---|
| 461 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 462 | <tr> |
---|
| 463 | <td> |
---|
| 464 | |
---|
| 465 | </td> |
---|
| 466 | <td> |
---|
| 467 | |
---|
| 468 | <p> |
---|
| 469 | |
---|
| 470 | <p> |
---|
| 471 | 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>. </td> |
---|
| 472 | </tr> |
---|
| 473 | </table> |
---|
| 474 | <a class="anchor" name="OgreRefApp_1_1UniversalJointp2" doxytag="OgreRefApp::Hinge2Joint::mAttachedObjects" ></a><p> |
---|
| 475 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 476 | <tr> |
---|
| 477 | <td class="mdRow"> |
---|
| 478 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 479 | <tr> |
---|
| 480 | <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>*> <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointp2">OgreRefApp::Joint::mAttachedObjects</a><code> [protected, inherited]</code> |
---|
| 481 | </table> |
---|
| 482 | </td> |
---|
| 483 | </tr> |
---|
| 484 | </table> |
---|
| 485 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 486 | <tr> |
---|
| 487 | <td> |
---|
| 488 | |
---|
| 489 | </td> |
---|
| 490 | <td> |
---|
| 491 | |
---|
| 492 | <p> |
---|
| 493 | |
---|
| 494 | <p> |
---|
| 495 | 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>. </td> |
---|
| 496 | </tr> |
---|
| 497 | </table> |
---|
| 498 | <a class="anchor" name="OgreRefApp_1_1UniversalJointp3" doxytag="OgreRefApp::Hinge2Joint::mAxes" ></a><p> |
---|
| 499 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 500 | <tr> |
---|
| 501 | <td class="mdRow"> |
---|
| 502 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 503 | <tr> |
---|
| 504 | <td class="md" nowrap valign="top"> std::pair<<a class="el" href="classOgre_1_1Vector3.html">Vector3</a>, <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>> <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointp3">OgreRefApp::Joint::mAxes</a><code> [protected, inherited]</code> |
---|
| 505 | </table> |
---|
| 506 | </td> |
---|
| 507 | </tr> |
---|
| 508 | </table> |
---|
| 509 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 510 | <tr> |
---|
| 511 | <td> |
---|
| 512 | |
---|
| 513 | </td> |
---|
| 514 | <td> |
---|
| 515 | |
---|
| 516 | <p> |
---|
| 517 | |
---|
| 518 | <p> |
---|
| 519 | 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>. </td> |
---|
| 520 | </tr> |
---|
| 521 | </table> |
---|
| 522 | <a class="anchor" name="OgreRefApp_1_1UniversalJointp4" doxytag="OgreRefApp::Hinge2Joint::mOdeJoint" ></a><p> |
---|
| 523 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 524 | <tr> |
---|
| 525 | <td class="mdRow"> |
---|
| 526 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 527 | <tr> |
---|
| 528 | <td class="md" nowrap valign="top"> dJoint* <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointp4">OgreRefApp::Joint::mOdeJoint</a><code> [protected, inherited]</code> |
---|
| 529 | </table> |
---|
| 530 | </td> |
---|
| 531 | </tr> |
---|
| 532 | </table> |
---|
| 533 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 534 | <tr> |
---|
| 535 | <td> |
---|
| 536 | |
---|
| 537 | </td> |
---|
| 538 | <td> |
---|
| 539 | |
---|
| 540 | <p> |
---|
| 541 | |
---|
| 542 | <p> |
---|
| 543 | 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>. </td> |
---|
| 544 | </tr> |
---|
| 545 | </table> |
---|
| 546 | <a class="anchor" name="OgreRefApp_1_1UniversalJointp0" doxytag="OgreRefApp::Hinge2Joint::mType" ></a><p> |
---|
| 547 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 548 | <tr> |
---|
| 549 | <td class="mdRow"> |
---|
| 550 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 551 | <tr> |
---|
| 552 | <td class="md" nowrap valign="top"> <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5">JointType</a> <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointp0">OgreRefApp::Joint::mType</a><code> [protected, inherited]</code> |
---|
| 553 | </table> |
---|
| 554 | </td> |
---|
| 555 | </tr> |
---|
| 556 | </table> |
---|
| 557 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 558 | <tr> |
---|
| 559 | <td> |
---|
| 560 | |
---|
| 561 | </td> |
---|
| 562 | <td> |
---|
| 563 | |
---|
| 564 | <p> |
---|
| 565 | |
---|
| 566 | <p> |
---|
| 567 | 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>. </td> |
---|
| 568 | </tr> |
---|
| 569 | </table> |
---|
| 570 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
| 571 | <li><a class="el" href="OgreRefAppJointSubtypes_8h-source.html">OgreRefAppJointSubtypes.h</a></ul> |
---|
| 572 | <hr> |
---|
| 573 | <p> |
---|
| 574 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
| 575 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
| 576 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
| 577 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
| 578 | <Work rdf:about=""> |
---|
| 579 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
| 580 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
| 581 | </Work> |
---|
| 582 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
| 583 | |
---|
| 584 | Last modified Sun Mar 12 14:55:08 2006 |
---|
| 585 | </p> |
---|
| 586 | </body> |
---|
| 587 | </html> |
---|