source: OGRE/trunk/ogrenew/Docs/api/html/classOgreRefApp_1_1SliderJoint.html @ 657

Revision 657, 28.5 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>OgreRefApp::SliderJoint 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>OgreRefApp::SliderJoint Class Reference</h1>Implementation of slider joint. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreRefAppJointSubtypes_8h-source.html">OgreRefAppJointSubtypes.h</a>&gt;</code>
14<p>
15<p>Inheritance diagram for OgreRefApp::SliderJoint:
16<p><center><img src="classOgreRefApp_1_1SliderJoint.png" usemap="#OgreRefApp::SliderJoint_map" border="0" alt=""></center>
17<map name="OgreRefApp::SliderJoint_map">
18<area href="classOgreRefApp_1_1Joint.html" alt="OgreRefApp::Joint" shape="rect" coords="0,0,149,24">
19</map>
20<a href="classOgreRefApp_1_1SliderJoint-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 &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5">JointType</a> { <br>
24&nbsp;&nbsp;<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&nbsp;&nbsp;<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">&nbsp;</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>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1SliderJoint.html#OgreRefApp_1_1SliderJointa0">SliderJoint</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>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1SliderJoint.html#OgreRefApp_1_1SliderJointa1">~SliderJoint</a> ()</td></tr>
38
39<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1SliderJoint.html#OgreRefApp_1_1SliderJointa2">setAnchorPosition</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;point)</td></tr>
40
41<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the anchor point of this joint.  <a href="#OgreRefApp_1_1SliderJointa2"></a><br><br></td></tr>
42<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgreRefApp_1_1SliderJoint.html#OgreRefApp_1_1SliderJointa3">setAxes</a> (const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;primaryAxis, const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;secondaryAxis=<a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s0">Vector3::ZERO</a>)</td></tr>
43
44<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the axes for this joint.  <a href="#OgreRefApp_1_1SliderJointa3"></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>&nbsp;</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">&nbsp;</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> &amp;&nbsp;</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">&nbsp;</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&lt; <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *,<br>
52 <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * &gt; &amp;&nbsp;</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">&nbsp;</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&lt; <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>,<br>
56 <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &gt; &amp;&nbsp;</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">&nbsp;</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&nbsp;</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">&nbsp;</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>&nbsp;</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>&nbsp;</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&lt; <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *,<br>
69 <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> * &gt;&nbsp;</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&lt; <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>, <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &gt;&nbsp;</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 *&nbsp;</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>
77Implementation of slider joint.
78<p>
79
80<p>
81Definition at line <a class="el" href="OgreRefAppJointSubtypes_8h-source.html#l00055">55</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::SliderJoint::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      &nbsp;
97    </td>
98    <td>
99
100<p>
101The 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>&nbsp;</td><td>
106<a class="el" href="classOgreRefApp_1_1Ball.html">Ball</a> &amp; 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>&nbsp;</td><td>
108Sliding 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>&nbsp;</td><td>
110Hinge 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>&nbsp;</td><td>
112Universal 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>&nbsp;</td><td>
1142 hinges in series, like the axel of a car </td></tr>
115</table>
116</dl>
117
118<p>
119Definition 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 &amp; Destructor Documentation</h2>
123<a class="anchor" name="OgreRefApp_1_1SliderJointa0" doxytag="OgreRefApp::SliderJoint::SliderJoint" ></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::SliderJoint::SliderJoint </td>
130          <td class="md" valign="top">(&nbsp;</td>
131          <td class="md" nowrap valign="top"><a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointw5">Joint::JointType</a>&nbsp;</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> *&nbsp;</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> *&nbsp;</td>
144          <td class="mdname" nowrap> <em>obj2</em></td>
145        </tr>
146        <tr>
147          <td></td>
148          <td class="md">)&nbsp;</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      &nbsp;
160    </td>
161    <td>
162
163<p>
164    </td>
165  </tr>
166</table>
167<a class="anchor" name="OgreRefApp_1_1SliderJointa1" doxytag="OgreRefApp::SliderJoint::~SliderJoint" ></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::SliderJoint::~<a class="el" href="classOgreRefApp_1_1SliderJoint.html">SliderJoint</a> </td>
174          <td class="md" valign="top">(&nbsp;</td>
175          <td class="mdname1" valign="top" nowrap>          </td>
176          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
188    </td>
189    <td>
190
191<p>
192
193<p>
194Definition at line <a class="el" href="OgreRefAppJointSubtypes_8h-source.html#l00059">59</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::SliderJoint::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>&amp; OgreRefApp::Joint::getAnchorPosition </td>
205          <td class="md" valign="top">(&nbsp;</td>
206          <td class="md" nowrap valign="top">void&nbsp;</td>
207          <td class="mdname1" valign="top" nowrap>          </td>
208          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
220    </td>
221    <td>
222
223<p>
224Gets the anchor position of this joint.
225<p>
226    </td>
227  </tr>
228</table>
229<a class="anchor" name="OgreRefApp_1_1UniversalJointa6" doxytag="OgreRefApp::SliderJoint::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&lt;<a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a>*, <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a>*&gt;&amp; OgreRefApp::Joint::getAttachments </td>
236          <td class="md" valign="top">(&nbsp;</td>
237          <td class="md" nowrap valign="top">void&nbsp;</td>
238          <td class="mdname1" valign="top" nowrap>          </td>
239          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
251    </td>
252    <td>
253
254<p>
255Gets 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::SliderJoint::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&lt;<a class="el" href="classOgre_1_1Vector3.html">Vector3</a>, <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&gt;&amp; OgreRefApp::Joint::getAxes </td>
267          <td class="md" valign="top">(&nbsp;</td>
268          <td class="md" nowrap valign="top">void&nbsp;</td>
269          <td class="mdname1" valign="top" nowrap>          </td>
270          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
282    </td>
283    <td>
284
285<p>
286Gets the axes of this joint.
287<p>
288    </td>
289  </tr>
290</table>
291<a class="anchor" name="OgreRefApp_1_1UniversalJointa4" doxytag="OgreRefApp::SliderJoint::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">(&nbsp;</td>
299          <td class="md" nowrap valign="top">void&nbsp;</td>
300          <td class="mdname1" valign="top" nowrap>          </td>
301          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
313    </td>
314    <td>
315
316<p>
317Returns the type of this joint.
318<p>
319    </td>
320  </tr>
321</table>
322<a class="anchor" name="OgreRefApp_1_1SliderJointa2" doxytag="OgreRefApp::SliderJoint::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::SliderJoint::setAnchorPosition </td>
329          <td class="md" valign="top">(&nbsp;</td>
330          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
331          <td class="mdname1" valign="top" nowrap> <em>point</em>          </td>
332          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
344    </td>
345    <td>
346
347<p>
348Set the anchor point of this joint.
349<p>
350<dl compact><dt><b>Remarks:</b></dt><dd>Has no meaning for a slider, thus unimplemented. </dd></dl>
351
352<p>
353Implements <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1Jointa3">OgreRefApp::Joint</a>.
354<p>
355Definition at line <a class="el" href="OgreRefAppJointSubtypes_8h-source.html#l00064">64</a> of file <a class="el" href="OgreRefAppJointSubtypes_8h-source.html">OgreRefAppJointSubtypes.h</a>.    </td>
356  </tr>
357</table>
358<a class="anchor" name="OgreRefApp_1_1UniversalJointb0" doxytag="OgreRefApp::SliderJoint::setAttachments" ></a><p>
359<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
360  <tr>
361    <td class="mdRow">
362      <table cellpadding="0" cellspacing="0" border="0">
363        <tr>
364          <td class="md" nowrap valign="top"> void OgreRefApp::Joint::setAttachments </td>
365          <td class="md" valign="top">(&nbsp;</td>
366          <td class="md" nowrap valign="top"><a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *&nbsp;</td>
367          <td class="mdname" nowrap> <em>obj1</em>, </td>
368        </tr>
369        <tr>
370          <td class="md" nowrap align="right"></td>
371          <td></td>
372          <td class="md" nowrap><a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a> *&nbsp;</td>
373          <td class="mdname" nowrap> <em>obj2</em></td>
374        </tr>
375        <tr>
376          <td></td>
377          <td class="md">)&nbsp;</td>
378          <td class="md" colspan="2"><code> [protected, inherited]</code></td>
379        </tr>
380
381      </table>
382    </td>
383  </tr>
384</table>
385<table cellspacing=5 cellpadding=0 border=0>
386  <tr>
387    <td>
388      &nbsp;
389    </td>
390    <td>
391
392<p>
393Sets the objects attached to this joint.
394<p>
395<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>
396    </td>
397  </tr>
398</table>
399<a class="anchor" name="OgreRefApp_1_1SliderJointa3" doxytag="OgreRefApp::SliderJoint::setAxes" ></a><p>
400<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
401  <tr>
402    <td class="mdRow">
403      <table cellpadding="0" cellspacing="0" border="0">
404        <tr>
405          <td class="md" nowrap valign="top"> void OgreRefApp::SliderJoint::setAxes </td>
406          <td class="md" valign="top">(&nbsp;</td>
407          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
408          <td class="mdname" nowrap> <em>primaryAxis</em>, </td>
409        </tr>
410        <tr>
411          <td class="md" nowrap align="right"></td>
412          <td></td>
413          <td class="md" nowrap>const <a class="el" href="classOgre_1_1Vector3.html">Vector3</a> &amp;&nbsp;</td>
414          <td class="mdname" nowrap> <em>secondaryAxis</em> = <a class="el" href="classOgre_1_1Vector3.html#Ogre_1_1Vector3s0">Vector3::ZERO</a></td>
415        </tr>
416        <tr>
417          <td></td>
418          <td class="md">)&nbsp;</td>
419          <td class="md" colspan="2"><code> [virtual]</code></td>
420        </tr>
421
422      </table>
423    </td>
424  </tr>
425</table>
426<table cellspacing=5 cellpadding=0 border=0>
427  <tr>
428    <td>
429      &nbsp;
430    </td>
431    <td>
432
433<p>
434Sets the axes for this joint.
435<p>
436<dl compact><dt><b>Remarks:</b></dt><dd>The meaning of axes for a joint depends on it's type: <ul>
437<li>
438For JT_BALL, it has no meaning and you don't need to call it. </li>
439<li>
440For JT_SLIDER, only one is applicable and it's the axis along which the slide occurs.  </li>
441<li>
442For JT_HINGE, only one is applicable and it's the hinge axis.  </li>
443<li>
444For JT_UNIVERSAL, and JT_HINGE2 it's the 2 hinge axes. </li>
445</ul>
446</dd></dl>
447
448<p>
449Implements <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1Jointa6">OgreRefApp::Joint</a>.    </td>
450  </tr>
451</table>
452<hr><h2>Member Data Documentation</h2>
453<a class="anchor" name="OgreRefApp_1_1UniversalJointp1" doxytag="OgreRefApp::SliderJoint::mAnchor" ></a><p>
454<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
455  <tr>
456    <td class="mdRow">
457      <table cellpadding="0" cellspacing="0" border="0">
458        <tr>
459          <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>
460      </table>
461    </td>
462  </tr>
463</table>
464<table cellspacing=5 cellpadding=0 border=0>
465  <tr>
466    <td>
467      &nbsp;
468    </td>
469    <td>
470
471<p>
472
473<p>
474Definition 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>
475  </tr>
476</table>
477<a class="anchor" name="OgreRefApp_1_1UniversalJointp2" doxytag="OgreRefApp::SliderJoint::mAttachedObjects" ></a><p>
478<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
479  <tr>
480    <td class="mdRow">
481      <table cellpadding="0" cellspacing="0" border="0">
482        <tr>
483          <td class="md" nowrap valign="top"> std::pair&lt;<a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a>*, <a class="el" href="classOgreRefApp_1_1ApplicationObject.html">ApplicationObject</a>*&gt; <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointp2">OgreRefApp::Joint::mAttachedObjects</a><code> [protected, inherited]</code>
484      </table>
485    </td>
486  </tr>
487</table>
488<table cellspacing=5 cellpadding=0 border=0>
489  <tr>
490    <td>
491      &nbsp;
492    </td>
493    <td>
494
495<p>
496
497<p>
498Definition 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>
499  </tr>
500</table>
501<a class="anchor" name="OgreRefApp_1_1UniversalJointp3" doxytag="OgreRefApp::SliderJoint::mAxes" ></a><p>
502<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
503  <tr>
504    <td class="mdRow">
505      <table cellpadding="0" cellspacing="0" border="0">
506        <tr>
507          <td class="md" nowrap valign="top"> std::pair&lt;<a class="el" href="classOgre_1_1Vector3.html">Vector3</a>, <a class="el" href="classOgre_1_1Vector3.html">Vector3</a>&gt; <a class="el" href="classOgreRefApp_1_1Joint.html#OgreRefApp_1_1UniversalJointp3">OgreRefApp::Joint::mAxes</a><code> [protected, inherited]</code>
508      </table>
509    </td>
510  </tr>
511</table>
512<table cellspacing=5 cellpadding=0 border=0>
513  <tr>
514    <td>
515      &nbsp;
516    </td>
517    <td>
518
519<p>
520
521<p>
522Definition 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>
523  </tr>
524</table>
525<a class="anchor" name="OgreRefApp_1_1UniversalJointp4" doxytag="OgreRefApp::SliderJoint::mOdeJoint" ></a><p>
526<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
527  <tr>
528    <td class="mdRow">
529      <table cellpadding="0" cellspacing="0" border="0">
530        <tr>
531          <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>
532      </table>
533    </td>
534  </tr>
535</table>
536<table cellspacing=5 cellpadding=0 border=0>
537  <tr>
538    <td>
539      &nbsp;
540    </td>
541    <td>
542
543<p>
544
545<p>
546Definition 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>
547  </tr>
548</table>
549<a class="anchor" name="OgreRefApp_1_1UniversalJointp0" doxytag="OgreRefApp::SliderJoint::mType" ></a><p>
550<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
551  <tr>
552    <td class="mdRow">
553      <table cellpadding="0" cellspacing="0" border="0">
554        <tr>
555          <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>
556      </table>
557    </td>
558  </tr>
559</table>
560<table cellspacing=5 cellpadding=0 border=0>
561  <tr>
562    <td>
563      &nbsp;
564    </td>
565    <td>
566
567<p>
568
569<p>
570Definition 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>
571  </tr>
572</table>
573<hr>The documentation for this class was generated from the following file:<ul>
574<li><a class="el" href="OgreRefAppJointSubtypes_8h-source.html">OgreRefAppJointSubtypes.h</a></ul>
575<hr>
576<p>
577Copyright &copy; 2000-2005 by The OGRE Team<br />
578<!--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/>
579This 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/>
580                <!--/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#">
581                <Work rdf:about="">
582                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
583        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
584                </Work>
585                <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> -->
586
587Last modified Sun Feb 12 13:11:56 2006
588</p>
589</body>
590</html>
Note: See TracBrowser for help on using the repository browser.