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

Revision 964, 23.0 KB checked in by igarcia, 18 years ago (diff)
Line 
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: FCDTMatrix 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>FCDTMatrix Class Reference<br>
25<small>
26[<a class="el" href="group___f_c_document.html">COLLADA Document Object Model.</a>]</small>
27</h1><!-- doxytag: class="FCDTMatrix" --><!-- doxytag: inherits="FCDTransform" -->A COLLADA matrix transformation. 
28<a href="#_details">More...</a>
29<p>
30<code>#include &lt;<a class="el" href="_f_c_d_transform_8h-source.html">FCDTransform.h</a>&gt;</code>
31<p>
32<p>Inheritance diagram for FCDTMatrix:
33<p><center><img src="class_f_c_d_t_matrix.png" usemap="#FCDTMatrix_map" border="0" alt=""></center>
34<map name="FCDTMatrix_map">
35<area href="class_f_c_d_transform.html" alt="FCDTransform" shape="rect" coords="0,112,95,136">
36<area href="class_f_c_d_object.html" alt="FCDObject" shape="rect" coords="0,56,95,80">
37<area href="class_f_u_object.html" alt="FUObject" shape="rect" coords="0,0,95,24">
38</map>
39<a href="class_f_c_d_t_matrix-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
40<tr><td></td></tr>
41<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
42<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_matrix.html#bfe3f4dfeab74692152c34d2af3e0999">FCDTMatrix</a> (<a class="el" href="class_f_c_document.html">FCDocument</a> *document, <a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *parent)</td></tr>
43
44<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor: do not use directly.  <a href="#bfe3f4dfeab74692152c34d2af3e0999"></a><br></td></tr>
45<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_matrix.html#f769e97b8d608e557232757533bb847f">~FCDTMatrix</a> ()</td></tr>
46
47<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor: do not use directly.  <a href="#f769e97b8d608e557232757533bb847f"></a><br></td></tr>
48<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_f_c_d_transform.html#13e561c5e53aeaf84dedf4661cdc8921">Type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_matrix.html#73abaf07dc65e188ceb14d49e27355ee">GetType</a> () const </td></tr>
49
50<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the transformation class type for the transformation.  <a href="#73abaf07dc65e188ceb14d49e27355ee"></a><br></td></tr>
51<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_c_d_t_matrix.html#2fde7b0fdc8aca17076cc1ab05bde87e">GetTransform</a> ()</td></tr>
52
53<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the matrix for the transformation.  <a href="#2fde7b0fdc8aca17076cc1ab05bde87e"></a><br></td></tr>
54<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="95bac9c9b8eee0c89545c8b871cfebed"></a><!-- doxytag: member="FCDTMatrix::GetTransform" ref="95bac9c9b8eee0c89545c8b871cfebed" args="() const " -->
55const <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_c_d_t_matrix.html#95bac9c9b8eee0c89545c8b871cfebed">GetTransform</a> () const </td></tr>
56
57<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
58<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_matrix.html#9ad2ef293251bedafb477ea7fa624021">SetTransform</a> (const <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> &amp;mx)</td></tr>
59
60<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the matrix for the transformation.  <a href="#9ad2ef293251bedafb477ea7fa624021"></a><br></td></tr>
61<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_matrix.html#26384eeccaa1205b0f88d0ad16134669">ToMatrix</a> () const </td></tr>
62
63<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts the transformation into a matrix.  <a href="#26384eeccaa1205b0f88d0ad16134669"></a><br></td></tr>
64<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_matrix.html#83615248752085427055cc40803fdf86">IsAnimated</a> () const </td></tr>
65
66<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves whether the transformation matrix is animated.  <a href="#83615248752085427055cc40803fdf86"></a><br></td></tr>
67<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_f_c_d_animated.html">FCDAnimated</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_matrix.html#cfe06a43e2a34428c0d1319767a55391">GetAnimated</a> ()</td></tr>
68
69<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the animated element for the transformation matrix.  <a href="#cfe06a43e2a34428c0d1319767a55391"></a><br></td></tr>
70<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_f_c_d_transform.html">FCDTransform</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_matrix.html#7ec7e8d49b538394f0b25ff148c9c02b">Clone</a> (<a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *newParent)</td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a copy of the matrix transformation.  <a href="#7ec7e8d49b538394f0b25ff148c9c02b"></a><br></td></tr>
73<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_f_u_status.html">FUStatus</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_matrix.html#7da6b586ba85e428295ae23d429435b4">LoadFromXML</a> (xmlNode *matrixNode)</td></tr>
74
75<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Reads in the matrix transformation from a given COLLADA XML tree node.  <a href="#7da6b586ba85e428295ae23d429435b4"></a><br></td></tr>
76<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual xmlNode *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_matrix.html#3dea48efa2732603cbae43766dea1526">WriteToXML</a> (xmlNode *parentNode) const </td></tr>
77
78<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Writes out the matrix transformation to the given COLLADA XML tree node.  <a href="#3dea48efa2732603cbae43766dea1526"></a><br></td></tr>
79</table>
80<hr><a name="_details"></a><h2>Detailed Description</h2>
81A COLLADA matrix transformation.
82<p>
83This transformation contains a matrix that should be multiplied to the local transformation matrix.
84<p>
85<hr><h2>Constructor &amp; Destructor Documentation</h2>
86<a class="anchor" name="bfe3f4dfeab74692152c34d2af3e0999"></a><!-- doxytag: member="FCDTMatrix::FCDTMatrix" ref="bfe3f4dfeab74692152c34d2af3e0999" args="(FCDocument *document, FCDSceneNode *parent)" --><p>
87<table class="mdTable" cellpadding="2" cellspacing="0">
88  <tr>
89    <td class="mdRow">
90      <table cellpadding="0" cellspacing="0" border="0">
91        <tr>
92          <td class="md" nowrap valign="top">FCDTMatrix::FCDTMatrix           </td>
93          <td class="md" valign="top">(&nbsp;</td>
94          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_document.html">FCDocument</a> *&nbsp;</td>
95          <td class="mdname" nowrap> <em>document</em>, </td>
96        </tr>
97        <tr>
98          <td class="md" nowrap align="right"></td>
99          <td class="md"></td>
100          <td class="md" nowrap><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *&nbsp;</td>
101          <td class="mdname" nowrap> <em>parent</em></td>
102        </tr>
103        <tr>
104          <td class="md"></td>
105          <td class="md">)&nbsp;</td>
106          <td class="md" colspan="2"></td>
107        </tr>
108      </table>
109    </td>
110  </tr>
111</table>
112<table cellspacing="5" cellpadding="0" border="0">
113  <tr>
114    <td>
115      &nbsp;
116    </td>
117    <td>
118
119<p>
120Constructor: do not use directly.
121<p>
122Instead, use the <a class="el" href="class_f_c_d_scene_node.html#822ee50114c3607ab632a4dd0b405aa1">FCDSceneNode::AddTransform</a> function with the transformation type: MATRIX. <dl compact><dt><b>Parameters:</b></dt><dd>
123  <table border="0" cellspacing="2" cellpadding="0">
124    <tr><td valign="top"></td><td valign="top"><em>document</em>&nbsp;</td><td>The COLLADA document that owns the transformation. </td></tr>
125    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>The visual scene node that contains the transformation. </td></tr>
126  </table>
127</dl>
128    </td>
129  </tr>
130</table>
131<a class="anchor" name="f769e97b8d608e557232757533bb847f"></a><!-- doxytag: member="FCDTMatrix::~FCDTMatrix" ref="f769e97b8d608e557232757533bb847f" args="()" --><p>
132<table class="mdTable" cellpadding="2" cellspacing="0">
133  <tr>
134    <td class="mdRow">
135      <table cellpadding="0" cellspacing="0" border="0">
136        <tr>
137          <td class="md" nowrap valign="top">virtual FCDTMatrix::~FCDTMatrix           </td>
138          <td class="md" valign="top">(&nbsp;</td>
139          <td class="mdname1" valign="top" nowrap>          </td>
140          <td class="md" valign="top">&nbsp;)&nbsp;</td>
141          <td class="md" nowrap><code> [virtual]</code></td>
142        </tr>
143      </table>
144    </td>
145  </tr>
146</table>
147<table cellspacing="5" cellpadding="0" border="0">
148  <tr>
149    <td>
150      &nbsp;
151    </td>
152    <td>
153
154<p>
155Destructor: do not use directly.
156<p>
157Instead, use the <a class="el" href="class_f_c_d_scene_node.html#c679529b68c59acb808ff8a14f4d9a33">FCDSceneNode::ReleaseTransform</a> function.     </td>
158  </tr>
159</table>
160<hr><h2>Member Function Documentation</h2>
161<a class="anchor" name="7ec7e8d49b538394f0b25ff148c9c02b"></a><!-- doxytag: member="FCDTMatrix::Clone" ref="7ec7e8d49b538394f0b25ff148c9c02b" args="(FCDSceneNode *newParent)" --><p>
162<table class="mdTable" cellpadding="2" cellspacing="0">
163  <tr>
164    <td class="mdRow">
165      <table cellpadding="0" cellspacing="0" border="0">
166        <tr>
167          <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_c_d_transform.html">FCDTransform</a>* FCDTMatrix::Clone           </td>
168          <td class="md" valign="top">(&nbsp;</td>
169          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *&nbsp;</td>
170          <td class="mdname1" valign="top" nowrap> <em>newParent</em>          </td>
171          <td class="md" valign="top">&nbsp;)&nbsp;</td>
172          <td class="md" nowrap><code> [virtual]</code></td>
173        </tr>
174      </table>
175    </td>
176  </tr>
177</table>
178<table cellspacing="5" cellpadding="0" border="0">
179  <tr>
180    <td>
181      &nbsp;
182    </td>
183    <td>
184
185<p>
186Creates a copy of the matrix transformation.
187<p>
188<dl compact><dt><b>Parameters:</b></dt><dd>
189  <table border="0" cellspacing="2" cellpadding="0">
190    <tr><td valign="top"></td><td valign="top"><em>newParent</em>&nbsp;</td><td>The visual scene node that will contain the clone. </td></tr>
191  </table>
192</dl>
193<dl compact><dt><b>Returns:</b></dt><dd>The cloned matrix transformation. </dd></dl>
194
195<p>
196Implements <a class="el" href="class_f_c_d_transform.html#036030bd68c7bf2ba7886b79aeb531f6">FCDTransform</a>.    </td>
197  </tr>
198</table>
199<a class="anchor" name="cfe06a43e2a34428c0d1319767a55391"></a><!-- doxytag: member="FCDTMatrix::GetAnimated" ref="cfe06a43e2a34428c0d1319767a55391" args="()" --><p>
200<table class="mdTable" cellpadding="2" cellspacing="0">
201  <tr>
202    <td class="mdRow">
203      <table cellpadding="0" cellspacing="0" border="0">
204        <tr>
205          <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_c_d_animated.html">FCDAnimated</a>* FCDTMatrix::GetAnimated           </td>
206          <td class="md" valign="top">(&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]</code></td>
210        </tr>
211      </table>
212    </td>
213  </tr>
214</table>
215<table cellspacing="5" cellpadding="0" border="0">
216  <tr>
217    <td>
218      &nbsp;
219    </td>
220    <td>
221
222<p>
223Retrieves the animated element for the transformation matrix.
224<p>
225<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_f_c_d_animated_matrix.html">FCDAnimatedMatrix</a> </dd></dl>
226<dl compact><dt><b>Returns:</b></dt><dd>The animated element. This pointer will be NULL if the transformation matrix is not animated. </dd></dl>
227
228<p>
229Implements <a class="el" href="class_f_c_d_transform.html#827134177675c23e823dcffdc1c1cdae">FCDTransform</a>.    </td>
230  </tr>
231</table>
232<a class="anchor" name="2fde7b0fdc8aca17076cc1ab05bde87e"></a><!-- doxytag: member="FCDTMatrix::GetTransform" ref="2fde7b0fdc8aca17076cc1ab05bde87e" args="()" --><p>
233<table class="mdTable" cellpadding="2" cellspacing="0">
234  <tr>
235    <td class="mdRow">
236      <table cellpadding="0" cellspacing="0" border="0">
237        <tr>
238          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>&amp; FCDTMatrix::GetTransform           </td>
239          <td class="md" valign="top">(&nbsp;</td>
240          <td class="mdname1" valign="top" nowrap>          </td>
241          <td class="md" valign="top">&nbsp;)&nbsp;</td>
242          <td class="md" nowrap><code> [inline]</code></td>
243        </tr>
244      </table>
245    </td>
246  </tr>
247</table>
248<table cellspacing="5" cellpadding="0" border="0">
249  <tr>
250    <td>
251      &nbsp;
252    </td>
253    <td>
254
255<p>
256Retrieves the matrix for the transformation.
257<p>
258All 16 values of the matrix may be animated. <dl compact><dt><b>Returns:</b></dt><dd>The transformation matrix. </dd></dl>
259    </td>
260  </tr>
261</table>
262<a class="anchor" name="73abaf07dc65e188ceb14d49e27355ee"></a><!-- doxytag: member="FCDTMatrix::GetType" ref="73abaf07dc65e188ceb14d49e27355ee" args="() const " --><p>
263<table class="mdTable" cellpadding="2" cellspacing="0">
264  <tr>
265    <td class="mdRow">
266      <table cellpadding="0" cellspacing="0" border="0">
267        <tr>
268          <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_c_d_transform.html#13e561c5e53aeaf84dedf4661cdc8921">Type</a> FCDTMatrix::GetType           </td>
269          <td class="md" valign="top">(&nbsp;</td>
270          <td class="mdname1" valign="top" nowrap>          </td>
271          <td class="md" valign="top">&nbsp;)&nbsp;</td>
272          <td class="md" nowrap> const<code> [inline, virtual]</code></td>
273        </tr>
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>
286Retrieves the transformation class type for the transformation.
287<p>
288<dl compact><dt><b>Returns:</b></dt><dd>The class type: MATRIX. </dd></dl>
289
290<p>
291Implements <a class="el" href="class_f_c_d_transform.html#f406aebcba6215ebc1358a3cf87ab29d">FCDTransform</a>.    </td>
292  </tr>
293</table>
294<a class="anchor" name="83615248752085427055cc40803fdf86"></a><!-- doxytag: member="FCDTMatrix::IsAnimated" ref="83615248752085427055cc40803fdf86" args="() const " --><p>
295<table class="mdTable" cellpadding="2" cellspacing="0">
296  <tr>
297    <td class="mdRow">
298      <table cellpadding="0" cellspacing="0" border="0">
299        <tr>
300          <td class="md" nowrap valign="top">virtual bool FCDTMatrix::IsAnimated           </td>
301          <td class="md" valign="top">(&nbsp;</td>
302          <td class="mdname1" valign="top" nowrap>          </td>
303          <td class="md" valign="top">&nbsp;)&nbsp;</td>
304          <td class="md" nowrap> const<code> [virtual]</code></td>
305        </tr>
306      </table>
307    </td>
308  </tr>
309</table>
310<table cellspacing="5" cellpadding="0" border="0">
311  <tr>
312    <td>
313      &nbsp;
314    </td>
315    <td>
316
317<p>
318Retrieves whether the transformation matrix is animated.
319<p>
320<dl compact><dt><b>Returns:</b></dt><dd>Whether the transformation matrix is animated. </dd></dl>
321
322<p>
323Implements <a class="el" href="class_f_c_d_transform.html#b12ac63fa2d46fbcf8c025971635cda4">FCDTransform</a>.    </td>
324  </tr>
325</table>
326<a class="anchor" name="7da6b586ba85e428295ae23d429435b4"></a><!-- doxytag: member="FCDTMatrix::LoadFromXML" ref="7da6b586ba85e428295ae23d429435b4" args="(xmlNode *matrixNode)" --><p>
327<table class="mdTable" cellpadding="2" cellspacing="0">
328  <tr>
329    <td class="mdRow">
330      <table cellpadding="0" cellspacing="0" border="0">
331        <tr>
332          <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_u_status.html">FUStatus</a> FCDTMatrix::LoadFromXML           </td>
333          <td class="md" valign="top">(&nbsp;</td>
334          <td class="md" nowrap valign="top">xmlNode *&nbsp;</td>
335          <td class="mdname1" valign="top" nowrap> <em>matrixNode</em>          </td>
336          <td class="md" valign="top">&nbsp;)&nbsp;</td>
337          <td class="md" nowrap><code> [virtual]</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>
351[INTERNAL] Reads in the matrix transformation from a given COLLADA XML tree node.
352<p>
353<dl compact><dt><b>Parameters:</b></dt><dd>
354  <table border="0" cellspacing="2" cellpadding="0">
355    <tr><td valign="top"></td><td valign="top"><em>matrixNode</em>&nbsp;</td><td>The COLLADA XML tree node. </td></tr>
356  </table>
357</dl>
358<dl compact><dt><b>Returns:</b></dt><dd>The status of the import. If the status is not successful, it may be dangerous to extract information from the transformation. </dd></dl>
359
360<p>
361Implements <a class="el" href="class_f_c_d_transform.html#b6ec75fc9ed1c6d4e03a781c251682fc">FCDTransform</a>.    </td>
362  </tr>
363</table>
364<a class="anchor" name="9ad2ef293251bedafb477ea7fa624021"></a><!-- doxytag: member="FCDTMatrix::SetTransform" ref="9ad2ef293251bedafb477ea7fa624021" args="(const FMMatrix44 &amp;mx)" --><p>
365<table class="mdTable" cellpadding="2" cellspacing="0">
366  <tr>
367    <td class="mdRow">
368      <table cellpadding="0" cellspacing="0" border="0">
369        <tr>
370          <td class="md" nowrap valign="top">void FCDTMatrix::SetTransform           </td>
371          <td class="md" valign="top">(&nbsp;</td>
372          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> &amp;&nbsp;</td>
373          <td class="mdname1" valign="top" nowrap> <em>mx</em>          </td>
374          <td class="md" valign="top">&nbsp;)&nbsp;</td>
375          <td class="md" nowrap><code> [inline]</code></td>
376        </tr>
377      </table>
378    </td>
379  </tr>
380</table>
381<table cellspacing="5" cellpadding="0" border="0">
382  <tr>
383    <td>
384      &nbsp;
385    </td>
386    <td>
387
388<p>
389Sets the matrix for the transformation.
390<p>
391<dl compact><dt><b>Parameters:</b></dt><dd>
392  <table border="0" cellspacing="2" cellpadding="0">
393    <tr><td valign="top"></td><td valign="top"><em>mx</em>&nbsp;</td><td>The transformation matrix. </td></tr>
394  </table>
395</dl>
396    </td>
397  </tr>
398</table>
399<a class="anchor" name="26384eeccaa1205b0f88d0ad16134669"></a><!-- doxytag: member="FCDTMatrix::ToMatrix" ref="26384eeccaa1205b0f88d0ad16134669" args="() const " --><p>
400<table class="mdTable" 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">virtual <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> FCDTMatrix::ToMatrix           </td>
406          <td class="md" valign="top">(&nbsp;</td>
407          <td class="mdname1" valign="top" nowrap>          </td>
408          <td class="md" valign="top">&nbsp;)&nbsp;</td>
409          <td class="md" nowrap> const<code> [inline, virtual]</code></td>
410        </tr>
411      </table>
412    </td>
413  </tr>
414</table>
415<table cellspacing="5" cellpadding="0" border="0">
416  <tr>
417    <td>
418      &nbsp;
419    </td>
420    <td>
421
422<p>
423Converts the transformation into a matrix.
424<p>
425For matrix transformations, that's simply the transformation matrix. <dl compact><dt><b>Returns:</b></dt><dd>The transformation matrix. </dd></dl>
426
427<p>
428Implements <a class="el" href="class_f_c_d_transform.html#fd7fc3c7dc012782ebb2886c5bc13d01">FCDTransform</a>.    </td>
429  </tr>
430</table>
431<a class="anchor" name="3dea48efa2732603cbae43766dea1526"></a><!-- doxytag: member="FCDTMatrix::WriteToXML" ref="3dea48efa2732603cbae43766dea1526" args="(xmlNode *parentNode) const " --><p>
432<table class="mdTable" cellpadding="2" cellspacing="0">
433  <tr>
434    <td class="mdRow">
435      <table cellpadding="0" cellspacing="0" border="0">
436        <tr>
437          <td class="md" nowrap valign="top">virtual xmlNode* FCDTMatrix::WriteToXML           </td>
438          <td class="md" valign="top">(&nbsp;</td>
439          <td class="md" nowrap valign="top">xmlNode *&nbsp;</td>
440          <td class="mdname1" valign="top" nowrap> <em>parentNode</em>          </td>
441          <td class="md" valign="top">&nbsp;)&nbsp;</td>
442          <td class="md" nowrap> const<code> [virtual]</code></td>
443        </tr>
444      </table>
445    </td>
446  </tr>
447</table>
448<table cellspacing="5" cellpadding="0" border="0">
449  <tr>
450    <td>
451      &nbsp;
452    </td>
453    <td>
454
455<p>
456[INTERNAL] Writes out the matrix transformation to the given COLLADA XML tree node.
457<p>
458<dl compact><dt><b>Parameters:</b></dt><dd>
459  <table border="0" cellspacing="2" cellpadding="0">
460    <tr><td valign="top"></td><td valign="top"><em>parentNode</em>&nbsp;</td><td>The COLLADA XML parent node in which to insert the transformation. </td></tr>
461  </table>
462</dl>
463<dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl>
464
465<p>
466Implements <a class="el" href="class_f_c_d_transform.html#cd254f154a32d1e313001ee4d693162a">FCDTransform</a>.    </td>
467  </tr>
468</table>
469<hr>The documentation for this class was generated from the following file:<ul>
470<li>FCDocument/<a class="el" href="_f_c_d_transform_8h-source.html">FCDTransform.h</a></ul>
471<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:44 2006 for FCollada by&nbsp;
472<a href="http://www.doxygen.org/index.html">
473<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
474</body>
475</html>
Note: See TracBrowser for help on using the repository browser.