source: NonGTP/FCollada/Documentation/class_f_m_matrix44.html @ 964

Revision 964, 32.9 KB checked in by igarcia, 18 years ago (diff)
RevLine 
[964]1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>FCollada: FMMatrix44 Class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.4.6-NO -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
14    <li><a href="files.html"><span>Files</span></a></li>
15    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16  </ul></div>
17<div class="tabs">
18  <ul>
19    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
20    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
21    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
22    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
23  </ul></div>
24<h1>FMMatrix44 Class Reference<br>
25<small>
26[<a class="el" href="group___f_math.html">Mathematics Classes.</a>]</small>
27</h1><!-- doxytag: class="FMMatrix44" -->A 4x4 matrix: use to represent 3D transformations. 
28<a href="#_details">More...</a>
29<p>
30<code>#include &lt;<a class="el" href="_f_m_matrix44_8h-source.html">FMMatrix44.h</a>&gt;</code>
31<p>
32<a href="class_f_m_matrix44-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
33<tr><td></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="class_f_m_matrix44.html#da7f9c617a9f990d868c984fcac85a6a">FMMatrix44</a> (const float *_m)</td></tr>
36
37<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> from the <code>float</code> array.  <a href="#da7f9c617a9f990d868c984fcac85a6a"></a><br></td></tr>
38<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#4be1466ca31038675d9b74f260529a91">FMMatrix44</a> ()</td></tr>
39
40<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an empty <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>.  <a href="#4be1466ca31038675d9b74f260529a91"></a><br></td></tr>
41<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#f14d21c32d852a9c6f70e198df360276">operator float *</a> ()</td></tr>
42
43<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> as an array of <code>floats</code>.  <a href="#f14d21c32d852a9c6f70e198df360276"></a><br></td></tr>
44<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#e57b4d31db4f88641f33bcb2550e9350">operator const float *</a> () const </td></tr>
45
46<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> as an array of <code>floats</code>.  <a href="#e57b4d31db4f88641f33bcb2550e9350"></a><br></td></tr>
47<tr><td class="memItemLeft" nowrap align="right" valign="top">float *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#9bba9e2b3c62346c507383dce1b5eb6b">operator[]</a> (int a)</td></tr>
48
49<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a specified row of <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> as an array of <code>floats</code>.  <a href="#9bba9e2b3c62346c507383dce1b5eb6b"></a><br></td></tr>
50<tr><td class="memItemLeft" nowrap align="right" valign="top">const float *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#ed52da10cf2d431c858fa93937d51657">operator[]</a> (int a) const </td></tr>
51
52<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a specified row of <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> as an array of <code>floats</code>.  <a href="#ed52da10cf2d431c858fa93937d51657"></a><br></td></tr>
53<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#5653beae7cef837b56107c31dfd97418">operator=</a> (const <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> &amp;copy)</td></tr>
54
55<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assign this FMMatrix44's elements to be the same as that of the given <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>.  <a href="#5653beae7cef837b56107c31dfd97418"></a><br></td></tr>
56<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#819cba3d3436d54f60b23063d9c183cb">Transposed</a> () const </td></tr>
57
58<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the transposed of this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>.  <a href="#819cba3d3436d54f60b23063d9c183cb"></a><br></td></tr>
59<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#7ca1ec95a49399822e76a02141c8ad6d">Inverted</a> () const </td></tr>
60
61<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the inversion of this <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>.  <a href="#7ca1ec95a49399822e76a02141c8ad6d"></a><br></td></tr>
62<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#9ad208a6758c2dd611cbf024c0fdbc68">Decompose</a> (<a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;Scale, <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;Rotation, <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;Translation, float &amp;inverted) const </td></tr>
63
64<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Decompose this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> into it's scale, rotation, and translation components; it also tells whether it is inverted.  <a href="#9ad208a6758c2dd611cbf024c0fdbc68"></a><br></td></tr>
65<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#392e17e091f3060b2334fd8d16154b02">TransformCoordinate</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;coordinate) const </td></tr>
66
67<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Transforms the given point by this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>.  <a href="#392e17e091f3060b2334fd8d16154b02"></a><br></td></tr>
68<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#0b29840a9c34c143dadbf9710dc58b8a">TransformVector</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;v) const </td></tr>
69
70<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Transforms the given vector by this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>.  <a href="#0b29840a9c34c143dadbf9710dc58b8a"></a><br></td></tr>
71<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#c3529193fe69b37ce338a5214bf2424d">GetTranslation</a> () const </td></tr>
72
73<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the translation component of this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>.  <a href="#c3529193fe69b37ce338a5214bf2424d"></a><br></td></tr>
74<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
75<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#7463cc0d3ae50cb1ae7c426ac65513fa">TranslationMatrix</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;translation)</td></tr>
76
77<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> representation of a 3D translation.  <a href="#7463cc0d3ae50cb1ae7c426ac65513fa"></a><br></td></tr>
78<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#bd675df50fb946d04422e171df161288">AxisRotationMatrix</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;axis, float angle)</td></tr>
79
80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> representation of a 3D rotation about a given axis by an angle.  <a href="#bd675df50fb946d04422e171df161288"></a><br></td></tr>
81<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
82<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="709b1f27940c291ea1482866d3a165d0"></a><!-- doxytag: member="FMMatrix44::m" ref="709b1f27940c291ea1482866d3a165d0" args="[4][4]" -->
83float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#709b1f27940c291ea1482866d3a165d0">m</a> [4][4]</td></tr>
84
85<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The matrix elements stored in a 2D array. <br></td></tr>
86<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
87<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6ec620d68ab61a95e3b4b5f7e7300468"></a><!-- doxytag: member="FMMatrix44::Identity" ref="6ec620d68ab61a95e3b4b5f7e7300468" args="" -->
88static <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_matrix44.html#6ec620d68ab61a95e3b4b5f7e7300468">Identity</a></td></tr>
89
90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The identity <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>. <br></td></tr>
91</table>
92<hr><a name="_details"></a><h2>Detailed Description</h2>
93A 4x4 matrix: use to represent 3D transformations.
94<p>
95<hr><h2>Constructor &amp; Destructor Documentation</h2>
96<a class="anchor" name="da7f9c617a9f990d868c984fcac85a6a"></a><!-- doxytag: member="FMMatrix44::FMMatrix44" ref="da7f9c617a9f990d868c984fcac85a6a" args="(const float *_m)" --><p>
97<table class="mdTable" cellpadding="2" cellspacing="0">
98  <tr>
99    <td class="mdRow">
100      <table cellpadding="0" cellspacing="0" border="0">
101        <tr>
102          <td class="md" nowrap valign="top">FMMatrix44::FMMatrix44           </td>
103          <td class="md" valign="top">(&nbsp;</td>
104          <td class="md" nowrap valign="top">const float *&nbsp;</td>
105          <td class="mdname1" valign="top" nowrap> <em>_m</em>          </td>
106          <td class="md" valign="top">&nbsp;)&nbsp;</td>
107          <td class="md" nowrap></td>
108        </tr>
109      </table>
110    </td>
111  </tr>
112</table>
113<table cellspacing="5" cellpadding="0" border="0">
114  <tr>
115    <td>
116      &nbsp;
117    </td>
118    <td>
119
120<p>
121Creates a <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> from the <code>float</code> array.
122<p>
123The float array stores the elements in the following order: m[0][0], m[1][0], m[2][0], m[3][0], m[0][1], m[1][1], m[2][1], m[3][1], m[0][2], m[1][2], m[2][2], m[3][2], m[0][3], m[1][3], m[2][3], m[3][3].<p>
124<dl compact><dt><b>Parameters:</b></dt><dd>
125  <table border="0" cellspacing="2" cellpadding="0">
126    <tr><td valign="top"></td><td valign="top"><em>_m</em>&nbsp;</td><td>The <code>float</code> array to create the matrix from. </td></tr>
127  </table>
128</dl>
129    </td>
130  </tr>
131</table>
132<a class="anchor" name="4be1466ca31038675d9b74f260529a91"></a><!-- doxytag: member="FMMatrix44::FMMatrix44" ref="4be1466ca31038675d9b74f260529a91" args="()" --><p>
133<table class="mdTable" cellpadding="2" cellspacing="0">
134  <tr>
135    <td class="mdRow">
136      <table cellpadding="0" cellspacing="0" border="0">
137        <tr>
138          <td class="md" nowrap valign="top">FMMatrix44::FMMatrix44           </td>
139          <td class="md" valign="top">(&nbsp;</td>
140          <td class="mdname1" valign="top" nowrap>          </td>
141          <td class="md" valign="top">&nbsp;)&nbsp;</td>
142          <td class="md" nowrap><code> [inline]</code></td>
143        </tr>
144      </table>
145    </td>
146  </tr>
147</table>
148<table cellspacing="5" cellpadding="0" border="0">
149  <tr>
150    <td>
151      &nbsp;
152    </td>
153    <td>
154
155<p>
156Creates an empty <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>.
157<p>
158The default values are non deterministic.     </td>
159  </tr>
160</table>
161<hr><h2>Member Function Documentation</h2>
162<a class="anchor" name="bd675df50fb946d04422e171df161288"></a><!-- doxytag: member="FMMatrix44::AxisRotationMatrix" ref="bd675df50fb946d04422e171df161288" args="(const FMVector3 &amp;axis, float angle)" --><p>
163<table class="mdTable" cellpadding="2" cellspacing="0">
164  <tr>
165    <td class="mdRow">
166      <table cellpadding="0" cellspacing="0" border="0">
167        <tr>
168          <td class="md" nowrap valign="top">static <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> FMMatrix44::AxisRotationMatrix           </td>
169          <td class="md" valign="top">(&nbsp;</td>
170          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
171          <td class="mdname" nowrap> <em>axis</em>, </td>
172        </tr>
173        <tr>
174          <td class="md" nowrap align="right"></td>
175          <td class="md"></td>
176          <td class="md" nowrap>float&nbsp;</td>
177          <td class="mdname" nowrap> <em>angle</em></td>
178        </tr>
179        <tr>
180          <td class="md"></td>
181          <td class="md">)&nbsp;</td>
182          <td class="md" colspan="2"><code> [static]</code></td>
183        </tr>
184      </table>
185    </td>
186  </tr>
187</table>
188<table cellspacing="5" cellpadding="0" border="0">
189  <tr>
190    <td>
191      &nbsp;
192    </td>
193    <td>
194
195<p>
196Gets the <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> representation of a 3D rotation about a given axis by an angle.
197<p>
198<dl compact><dt><b>Parameters:</b></dt><dd>
199  <table border="0" cellspacing="2" cellpadding="0">
200    <tr><td valign="top"></td><td valign="top"><em>axis</em>&nbsp;</td><td>The axis of rotation. </td></tr>
201    <tr><td valign="top"></td><td valign="top"><em>angle</em>&nbsp;</td><td>The angle of rotation in radians. </td></tr>
202  </table>
203</dl>
204<dl compact><dt><b>Returns:</b></dt><dd>The rotation <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>. </dd></dl>
205    </td>
206  </tr>
207</table>
208<a class="anchor" name="9ad208a6758c2dd611cbf024c0fdbc68"></a><!-- doxytag: member="FMMatrix44::Decompose" ref="9ad208a6758c2dd611cbf024c0fdbc68" args="(FMVector3 &amp;Scale, FMVector3 &amp;Rotation, FMVector3 &amp;Translation, float &amp;inverted) const " --><p>
209<table class="mdTable" cellpadding="2" cellspacing="0">
210  <tr>
211    <td class="mdRow">
212      <table cellpadding="0" cellspacing="0" border="0">
213        <tr>
214          <td class="md" nowrap valign="top">void FMMatrix44::Decompose           </td>
215          <td class="md" valign="top">(&nbsp;</td>
216          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
217          <td class="mdname" nowrap> <em>Scale</em>, </td>
218        </tr>
219        <tr>
220          <td class="md" nowrap align="right"></td>
221          <td class="md"></td>
222          <td class="md" nowrap><a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
223          <td class="mdname" nowrap> <em>Rotation</em>, </td>
224        </tr>
225        <tr>
226          <td class="md" nowrap align="right"></td>
227          <td class="md"></td>
228          <td class="md" nowrap><a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
229          <td class="mdname" nowrap> <em>Translation</em>, </td>
230        </tr>
231        <tr>
232          <td class="md" nowrap align="right"></td>
233          <td class="md"></td>
234          <td class="md" nowrap>float &amp;&nbsp;</td>
235          <td class="mdname" nowrap> <em>inverted</em></td>
236        </tr>
237        <tr>
238          <td class="md"></td>
239          <td class="md">)&nbsp;</td>
240          <td class="md" colspan="2"> const</td>
241        </tr>
242      </table>
243    </td>
244  </tr>
245</table>
246<table cellspacing="5" cellpadding="0" border="0">
247  <tr>
248    <td>
249      &nbsp;
250    </td>
251    <td>
252
253<p>
254Decompose this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> into it's scale, rotation, and translation components; it also tells whether it is inverted.
255<p>
256<dl compact><dt><b>Parameters:</b></dt><dd>
257  <table border="0" cellspacing="2" cellpadding="0">
258    <tr><td valign="top"></td><td valign="top"><em>Scale</em>&nbsp;</td><td>The FMVector to place the scale components to. </td></tr>
259    <tr><td valign="top"></td><td valign="top"><em>Rotation</em>&nbsp;</td><td>The FMVector to place the rotation components to. </td></tr>
260    <tr><td valign="top"></td><td valign="top"><em>Translation</em>&nbsp;</td><td>The FMVector to place the translation components to. </td></tr>
261    <tr><td valign="top"></td><td valign="top"><em>inverted</em>&nbsp;</td><td>The value corresponding to if it was inverted (-1.0f or 1.0f) </td></tr>
262  </table>
263</dl>
264    </td>
265  </tr>
266</table>
267<a class="anchor" name="c3529193fe69b37ce338a5214bf2424d"></a><!-- doxytag: member="FMMatrix44::GetTranslation" ref="c3529193fe69b37ce338a5214bf2424d" args="() const " --><p>
268<table class="mdTable" cellpadding="2" cellspacing="0">
269  <tr>
270    <td class="mdRow">
271      <table cellpadding="0" cellspacing="0" border="0">
272        <tr>
273          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> FMMatrix44::GetTranslation           </td>
274          <td class="md" valign="top">(&nbsp;</td>
275          <td class="mdname1" valign="top" nowrap>          </td>
276          <td class="md" valign="top">&nbsp;)&nbsp;</td>
277          <td class="md" nowrap> const</td>
278        </tr>
279      </table>
280    </td>
281  </tr>
282</table>
283<table cellspacing="5" cellpadding="0" border="0">
284  <tr>
285    <td>
286      &nbsp;
287    </td>
288    <td>
289
290<p>
291Gets the translation component of this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>.
292<p>
293<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector3.html">FMVector3</a> representation of the translation. </dd></dl>
294    </td>
295  </tr>
296</table>
297<a class="anchor" name="7ca1ec95a49399822e76a02141c8ad6d"></a><!-- doxytag: member="FMMatrix44::Inverted" ref="7ca1ec95a49399822e76a02141c8ad6d" args="() const " --><p>
298<table class="mdTable" cellpadding="2" cellspacing="0">
299  <tr>
300    <td class="mdRow">
301      <table cellpadding="0" cellspacing="0" border="0">
302        <tr>
303          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> FMMatrix44::Inverted           </td>
304          <td class="md" valign="top">(&nbsp;</td>
305          <td class="mdname1" valign="top" nowrap>          </td>
306          <td class="md" valign="top">&nbsp;)&nbsp;</td>
307          <td class="md" nowrap> const</td>
308        </tr>
309      </table>
310    </td>
311  </tr>
312</table>
313<table cellspacing="5" cellpadding="0" border="0">
314  <tr>
315    <td>
316      &nbsp;
317    </td>
318    <td>
319
320<p>
321Gets the inversion of this <a class="el" href="class_f_m_matrix33.html">FMMatrix33</a>.
322<p>
323<dl compact><dt><b>Returns:</b></dt><dd>The inversion of this FMMatrix. </dd></dl>
324    </td>
325  </tr>
326</table>
327<a class="anchor" name="e57b4d31db4f88641f33bcb2550e9350"></a><!-- doxytag: member="FMMatrix44::operator const float *" ref="e57b4d31db4f88641f33bcb2550e9350" args="() const " --><p>
328<table class="mdTable" cellpadding="2" cellspacing="0">
329  <tr>
330    <td class="mdRow">
331      <table cellpadding="0" cellspacing="0" border="0">
332        <tr>
333          <td class="md" nowrap valign="top">FMMatrix44::operator const float *           </td>
334          <td class="md" valign="top">(&nbsp;</td>
335          <td class="mdname1" valign="top" nowrap>          </td>
336          <td class="md" valign="top">&nbsp;)&nbsp;</td>
337          <td class="md" nowrap> const<code> [inline]</code></td>
338        </tr>
339      </table>
340    </td>
341  </tr>
342</table>
343<table cellspacing="5" cellpadding="0" border="0">
344  <tr>
345    <td>
346      &nbsp;
347    </td>
348    <td>
349
350<p>
351Get this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> as an array of <code>floats</code>.
352<p>
353The array contains the elements in the following order: m[0][0], m[0][1], m[0][2], m[0][3], m[1][0], m[1][1], m[1][2], m[1][3], m[2][0], m[2][1], m[2][2], m[0][3], m[3][0], m[3][1], m[3][2], m[3][3].<p>
354<dl compact><dt><b>Returns:</b></dt><dd>The <code>float</code> array. </dd></dl>
355    </td>
356  </tr>
357</table>
358<a class="anchor" name="f14d21c32d852a9c6f70e198df360276"></a><!-- doxytag: member="FMMatrix44::operator float *" ref="f14d21c32d852a9c6f70e198df360276" args="()" --><p>
359<table class="mdTable" 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">FMMatrix44::operator float *           </td>
365          <td class="md" valign="top">(&nbsp;</td>
366          <td class="mdname1" valign="top" nowrap>          </td>
367          <td class="md" valign="top">&nbsp;)&nbsp;</td>
368          <td class="md" nowrap><code> [inline]</code></td>
369        </tr>
370      </table>
371    </td>
372  </tr>
373</table>
374<table cellspacing="5" cellpadding="0" border="0">
375  <tr>
376    <td>
377      &nbsp;
378    </td>
379    <td>
380
381<p>
382Get this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> as an array of <code>floats</code>.
383<p>
384The array contains the elements in the following order: m[0][0], m[0][1], m[0][2], m[0][3], m[1][0], m[1][1], m[1][2], m[1][3], m[2][0], m[2][1], m[2][2], m[0][3], m[3][0], m[3][1], m[3][2], m[3][3].<p>
385<dl compact><dt><b>Returns:</b></dt><dd>The <code>float</code> array. </dd></dl>
386    </td>
387  </tr>
388</table>
389<a class="anchor" name="5653beae7cef837b56107c31dfd97418"></a><!-- doxytag: member="FMMatrix44::operator=" ref="5653beae7cef837b56107c31dfd97418" args="(const FMMatrix44 &amp;copy)" --><p>
390<table class="mdTable" cellpadding="2" cellspacing="0">
391  <tr>
392    <td class="mdRow">
393      <table cellpadding="0" cellspacing="0" border="0">
394        <tr>
395          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>&amp; FMMatrix44::operator=           </td>
396          <td class="md" valign="top">(&nbsp;</td>
397          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> &amp;&nbsp;</td>
398          <td class="mdname1" valign="top" nowrap> <em>copy</em>          </td>
399          <td class="md" valign="top">&nbsp;)&nbsp;</td>
400          <td class="md" nowrap></td>
401        </tr>
402      </table>
403    </td>
404  </tr>
405</table>
406<table cellspacing="5" cellpadding="0" border="0">
407  <tr>
408    <td>
409      &nbsp;
410    </td>
411    <td>
412
413<p>
414Assign this FMMatrix44's elements to be the same as that of the given <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>.
415<p>
416<dl compact><dt><b>Parameters:</b></dt><dd>
417  <table border="0" cellspacing="2" cellpadding="0">
418    <tr><td valign="top"></td><td valign="top"><em>copy</em>&nbsp;</td><td>The FMMatrix to copy elements from. </td></tr>
419  </table>
420</dl>
421<dl compact><dt><b>Returns:</b></dt><dd>This FMMatrix. </dd></dl>
422    </td>
423  </tr>
424</table>
425<a class="anchor" name="ed52da10cf2d431c858fa93937d51657"></a><!-- doxytag: member="FMMatrix44::operator[]" ref="ed52da10cf2d431c858fa93937d51657" args="(int a) const " --><p>
426<table class="mdTable" cellpadding="2" cellspacing="0">
427  <tr>
428    <td class="mdRow">
429      <table cellpadding="0" cellspacing="0" border="0">
430        <tr>
431          <td class="md" nowrap valign="top">const float* FMMatrix44::operator[]           </td>
432          <td class="md" valign="top">(&nbsp;</td>
433          <td class="md" nowrap valign="top">int&nbsp;</td>
434          <td class="mdname1" valign="top" nowrap> <em>a</em>          </td>
435          <td class="md" valign="top">&nbsp;)&nbsp;</td>
436          <td class="md" nowrap> const<code> [inline]</code></td>
437        </tr>
438      </table>
439    </td>
440  </tr>
441</table>
442<table cellspacing="5" cellpadding="0" border="0">
443  <tr>
444    <td>
445      &nbsp;
446    </td>
447    <td>
448
449<p>
450Get a specified row of <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> as an array of <code>floats</code>.
451<p>
452<dl compact><dt><b>Parameters:</b></dt><dd>
453  <table border="0" cellspacing="2" cellpadding="0">
454    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The row index, starting at 0, of the row to get. </td></tr>
455  </table>
456</dl>
457<dl compact><dt><b>Returns:</b></dt><dd>The <code>float</code> array of the elements in the specified row. </dd></dl>
458    </td>
459  </tr>
460</table>
461<a class="anchor" name="9bba9e2b3c62346c507383dce1b5eb6b"></a><!-- doxytag: member="FMMatrix44::operator[]" ref="9bba9e2b3c62346c507383dce1b5eb6b" args="(int a)" --><p>
462<table class="mdTable" cellpadding="2" cellspacing="0">
463  <tr>
464    <td class="mdRow">
465      <table cellpadding="0" cellspacing="0" border="0">
466        <tr>
467          <td class="md" nowrap valign="top">float* FMMatrix44::operator[]           </td>
468          <td class="md" valign="top">(&nbsp;</td>
469          <td class="md" nowrap valign="top">int&nbsp;</td>
470          <td class="mdname1" valign="top" nowrap> <em>a</em>          </td>
471          <td class="md" valign="top">&nbsp;)&nbsp;</td>
472          <td class="md" nowrap><code> [inline]</code></td>
473        </tr>
474      </table>
475    </td>
476  </tr>
477</table>
478<table cellspacing="5" cellpadding="0" border="0">
479  <tr>
480    <td>
481      &nbsp;
482    </td>
483    <td>
484
485<p>
486Get a specified row of <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> as an array of <code>floats</code>.
487<p>
488<dl compact><dt><b>Parameters:</b></dt><dd>
489  <table border="0" cellspacing="2" cellpadding="0">
490    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The row index, starting at 0, of the row to get. </td></tr>
491  </table>
492</dl>
493<dl compact><dt><b>Returns:</b></dt><dd>The <code>float</code> array of the elements in the specified row. </dd></dl>
494    </td>
495  </tr>
496</table>
497<a class="anchor" name="392e17e091f3060b2334fd8d16154b02"></a><!-- doxytag: member="FMMatrix44::TransformCoordinate" ref="392e17e091f3060b2334fd8d16154b02" args="(const FMVector3 &amp;coordinate) const " --><p>
498<table class="mdTable" cellpadding="2" cellspacing="0">
499  <tr>
500    <td class="mdRow">
501      <table cellpadding="0" cellspacing="0" border="0">
502        <tr>
503          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> FMMatrix44::TransformCoordinate           </td>
504          <td class="md" valign="top">(&nbsp;</td>
505          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
506          <td class="mdname1" valign="top" nowrap> <em>coordinate</em>          </td>
507          <td class="md" valign="top">&nbsp;)&nbsp;</td>
508          <td class="md" nowrap> const</td>
509        </tr>
510      </table>
511    </td>
512  </tr>
513</table>
514<table cellspacing="5" cellpadding="0" border="0">
515  <tr>
516    <td>
517      &nbsp;
518    </td>
519    <td>
520
521<p>
522Transforms the given point by this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>.
523<p>
524<dl compact><dt><b>Parameters:</b></dt><dd>
525  <table border="0" cellspacing="2" cellpadding="0">
526    <tr><td valign="top"></td><td valign="top"><em>coordinate</em>&nbsp;</td><td>The point to transform. </td></tr>
527  </table>
528</dl>
529<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector3.html">FMVector3</a> representation of the transformed point. </dd></dl>
530    </td>
531  </tr>
532</table>
533<a class="anchor" name="0b29840a9c34c143dadbf9710dc58b8a"></a><!-- doxytag: member="FMMatrix44::TransformVector" ref="0b29840a9c34c143dadbf9710dc58b8a" args="(const FMVector3 &amp;v) const " --><p>
534<table class="mdTable" cellpadding="2" cellspacing="0">
535  <tr>
536    <td class="mdRow">
537      <table cellpadding="0" cellspacing="0" border="0">
538        <tr>
539          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> FMMatrix44::TransformVector           </td>
540          <td class="md" valign="top">(&nbsp;</td>
541          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
542          <td class="mdname1" valign="top" nowrap> <em>v</em>          </td>
543          <td class="md" valign="top">&nbsp;)&nbsp;</td>
544          <td class="md" nowrap> const</td>
545        </tr>
546      </table>
547    </td>
548  </tr>
549</table>
550<table cellspacing="5" cellpadding="0" border="0">
551  <tr>
552    <td>
553      &nbsp;
554    </td>
555    <td>
556
557<p>
558Transforms the given vector by this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>.
559<p>
560<dl compact><dt><b>Parameters:</b></dt><dd>
561  <table border="0" cellspacing="2" cellpadding="0">
562    <tr><td valign="top"></td><td valign="top"><em>v</em>&nbsp;</td><td>The vector to transform. </td></tr>
563  </table>
564</dl>
565<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector3.html">FMVector3</a> representation of the transformed vector. </dd></dl>
566    </td>
567  </tr>
568</table>
569<a class="anchor" name="7463cc0d3ae50cb1ae7c426ac65513fa"></a><!-- doxytag: member="FMMatrix44::TranslationMatrix" ref="7463cc0d3ae50cb1ae7c426ac65513fa" args="(const FMVector3 &amp;translation)" --><p>
570<table class="mdTable" cellpadding="2" cellspacing="0">
571  <tr>
572    <td class="mdRow">
573      <table cellpadding="0" cellspacing="0" border="0">
574        <tr>
575          <td class="md" nowrap valign="top">static <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> FMMatrix44::TranslationMatrix           </td>
576          <td class="md" valign="top">(&nbsp;</td>
577          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
578          <td class="mdname1" valign="top" nowrap> <em>translation</em>          </td>
579          <td class="md" valign="top">&nbsp;)&nbsp;</td>
580          <td class="md" nowrap><code> [static]</code></td>
581        </tr>
582      </table>
583    </td>
584  </tr>
585</table>
586<table cellspacing="5" cellpadding="0" border="0">
587  <tr>
588    <td>
589      &nbsp;
590    </td>
591    <td>
592
593<p>
594Gets the <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> representation of a 3D translation.
595<p>
596The translation in the x, y and z directions correspond to the <em>x</em>, <em>y</em>, and <em>z</em> components of the <a class="el" href="class_f_m_vector3.html">FMVector3</a>.<p>
597<dl compact><dt><b>Parameters:</b></dt><dd>
598  <table border="0" cellspacing="2" cellpadding="0">
599    <tr><td valign="top"></td><td valign="top"><em>translation</em>&nbsp;</td><td>The <a class="el" href="class_f_m_vector3.html">FMVector3</a> to get the translation components from. </td></tr>
600  </table>
601</dl>
602<dl compact><dt><b>Returns:</b></dt><dd>The translation <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>. </dd></dl>
603    </td>
604  </tr>
605</table>
606<a class="anchor" name="819cba3d3436d54f60b23063d9c183cb"></a><!-- doxytag: member="FMMatrix44::Transposed" ref="819cba3d3436d54f60b23063d9c183cb" args="() const " --><p>
607<table class="mdTable" cellpadding="2" cellspacing="0">
608  <tr>
609    <td class="mdRow">
610      <table cellpadding="0" cellspacing="0" border="0">
611        <tr>
612          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> FMMatrix44::Transposed           </td>
613          <td class="md" valign="top">(&nbsp;</td>
614          <td class="mdname1" valign="top" nowrap>          </td>
615          <td class="md" valign="top">&nbsp;)&nbsp;</td>
616          <td class="md" nowrap> const</td>
617        </tr>
618      </table>
619    </td>
620  </tr>
621</table>
622<table cellspacing="5" cellpadding="0" border="0">
623  <tr>
624    <td>
625      &nbsp;
626    </td>
627    <td>
628
629<p>
630Gets the transposed of this <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>.
631<p>
632<dl compact><dt><b>Returns:</b></dt><dd>The transposed of this FMMatrix. </dd></dl>
633    </td>
634  </tr>
635</table>
636<hr>The documentation for this class was generated from the following file:<ul>
637<li>FMath/<a class="el" href="_f_m_matrix44_8h-source.html">FMMatrix44.h</a></ul>
638<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:44 2006 for FCollada by&nbsp;
639<a href="http://www.doxygen.org/index.html">
640<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
641</body>
642</html>
Note: See TracBrowser for help on using the repository browser.