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

Revision 964, 25.1 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: FCDTScale 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>FCDTScale 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="FCDTScale" --><!-- doxytag: inherits="FCDTransform" -->A COLLADA non-uniform scale. 
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 FCDTScale:
33<p><center><img src="class_f_c_d_t_scale.png" usemap="#FCDTScale_map" border="0" alt=""></center>
34<map name="FCDTScale_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_scale-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_scale.html#ef81961b008c48c0278c74be54b9a8da">FCDTScale</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="#ef81961b008c48c0278c74be54b9a8da"></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_scale.html#3c0b284d878fde7c12d1b259912bc9fb">~FCDTScale</a> ()</td></tr>
46
47<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor: do not use directly.  <a href="#3c0b284d878fde7c12d1b259912bc9fb"></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_scale.html#69a9e36fcc1a3ba516a3a0f47c37db61">GetType</a> () const </td></tr>
49
50<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the transformation class type for the non-uniform scale.  <a href="#69a9e36fcc1a3ba516a3a0f47c37db61"></a><br></td></tr>
51<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_scale.html#9c46eecf23f102b7c1d5508494d4eac7">GetScale</a> ()</td></tr>
52
53<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the factors of the non-uniform scale.  <a href="#9c46eecf23f102b7c1d5508494d4eac7"></a><br></td></tr>
54<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba6fb425e9a782044dced64f8fc57421"></a><!-- doxytag: member="FCDTScale::GetScale" ref="ba6fb425e9a782044dced64f8fc57421" args="() const " -->
55const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_scale.html#ba6fb425e9a782044dced64f8fc57421">GetScale</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_scale.html#4fb83f56790d88afeaf43dea90b710e7">SetScale</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;_scale)</td></tr>
59
60<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the factors of the non-uniform scale.  <a href="#4fb83f56790d88afeaf43dea90b710e7"></a><br></td></tr>
61<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_scale.html#4354c67b84bca84d5f73ed0e34d8ac29">SetScale</a> (float x, float y, float z)</td></tr>
62
63<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the factors of the non-uniform scale.  <a href="#4354c67b84bca84d5f73ed0e34d8ac29"></a><br></td></tr>
64<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_scale.html#e7376a51b0260fce9d1daa89ea6005d3">ToMatrix</a> () const </td></tr>
65
66<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts the non-uniform scale into a matrix.  <a href="#e7376a51b0260fce9d1daa89ea6005d3"></a><br></td></tr>
67<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_scale.html#db6b8a74970cd14e0cdeb9785cbd41d2">IsAnimated</a> () const </td></tr>
68
69<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves whether the factors of the non-uniform scale are animated.  <a href="#db6b8a74970cd14e0cdeb9785cbd41d2"></a><br></td></tr>
70<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_scale.html#e230e09ce7ce4fc0f68c61434ac91ce4">GetAnimated</a> ()</td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the animated element for the non-uniform scale factors.  <a href="#e230e09ce7ce4fc0f68c61434ac91ce4"></a><br></td></tr>
73<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_scale.html#7773ef71964474d39c9150febe6a2806">Clone</a> (<a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *newParent)</td></tr>
74
75<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a copy of the non-uniform scale.  <a href="#7773ef71964474d39c9150febe6a2806"></a><br></td></tr>
76<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_scale.html#3a8d09070bd48451f22ea7a81f798d4c">LoadFromXML</a> (xmlNode *scaleNode)</td></tr>
77
78<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Reads in the non-uniform scale from a given COLLADA XML tree node.  <a href="#3a8d09070bd48451f22ea7a81f798d4c"></a><br></td></tr>
79<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_scale.html#cfbe7a5e7ee23a7f085af342646a0c9e">WriteToXML</a> (xmlNode *parentNode) const </td></tr>
80
81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Writes out the non-uniform scale to the given COLLADA XML tree node.  <a href="#cfbe7a5e7ee23a7f085af342646a0c9e"></a><br></td></tr>
82</table>
83<hr><a name="_details"></a><h2>Detailed Description</h2>
84A COLLADA non-uniform scale.
85<p>
86A non-uniform scale contains three scale factors.
87<p>
88<hr><h2>Constructor &amp; Destructor Documentation</h2>
89<a class="anchor" name="ef81961b008c48c0278c74be54b9a8da"></a><!-- doxytag: member="FCDTScale::FCDTScale" ref="ef81961b008c48c0278c74be54b9a8da" args="(FCDocument *document, FCDSceneNode *parent)" --><p>
90<table class="mdTable" cellpadding="2" cellspacing="0">
91  <tr>
92    <td class="mdRow">
93      <table cellpadding="0" cellspacing="0" border="0">
94        <tr>
95          <td class="md" nowrap valign="top">FCDTScale::FCDTScale           </td>
96          <td class="md" valign="top">(&nbsp;</td>
97          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_document.html">FCDocument</a> *&nbsp;</td>
98          <td class="mdname" nowrap> <em>document</em>, </td>
99        </tr>
100        <tr>
101          <td class="md" nowrap align="right"></td>
102          <td class="md"></td>
103          <td class="md" nowrap><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *&nbsp;</td>
104          <td class="mdname" nowrap> <em>parent</em></td>
105        </tr>
106        <tr>
107          <td class="md"></td>
108          <td class="md">)&nbsp;</td>
109          <td class="md" colspan="2"></td>
110        </tr>
111      </table>
112    </td>
113  </tr>
114</table>
115<table cellspacing="5" cellpadding="0" border="0">
116  <tr>
117    <td>
118      &nbsp;
119    </td>
120    <td>
121
122<p>
123Constructor: do not use directly.
124<p>
125Instead, use the <a class="el" href="class_f_c_d_scene_node.html#822ee50114c3607ab632a4dd0b405aa1">FCDSceneNode::AddTransform</a> function with the SCALE transformation type. <dl compact><dt><b>Parameters:</b></dt><dd>
126  <table border="0" cellspacing="2" cellpadding="0">
127    <tr><td valign="top"></td><td valign="top"><em>document</em>&nbsp;</td><td>The COLLADA document that owns the non-uniform scale. </td></tr>
128    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>The visual scene node that contains the non-uniform scale. Set this pointer to NULL if the non-uniform scale is not owned by a visual scene node. </td></tr>
129  </table>
130</dl>
131    </td>
132  </tr>
133</table>
134<a class="anchor" name="3c0b284d878fde7c12d1b259912bc9fb"></a><!-- doxytag: member="FCDTScale::~FCDTScale" ref="3c0b284d878fde7c12d1b259912bc9fb" args="()" --><p>
135<table class="mdTable" cellpadding="2" cellspacing="0">
136  <tr>
137    <td class="mdRow">
138      <table cellpadding="0" cellspacing="0" border="0">
139        <tr>
140          <td class="md" nowrap valign="top">virtual FCDTScale::~FCDTScale           </td>
141          <td class="md" valign="top">(&nbsp;</td>
142          <td class="mdname1" valign="top" nowrap>          </td>
143          <td class="md" valign="top">&nbsp;)&nbsp;</td>
144          <td class="md" nowrap><code> [virtual]</code></td>
145        </tr>
146      </table>
147    </td>
148  </tr>
149</table>
150<table cellspacing="5" cellpadding="0" border="0">
151  <tr>
152    <td>
153      &nbsp;
154    </td>
155    <td>
156
157<p>
158Destructor: do not use directly.
159<p>
160Instead, use the <a class="el" href="class_f_c_d_scene_node.html#c679529b68c59acb808ff8a14f4d9a33">FCDSceneNode::ReleaseTransform</a> function.     </td>
161  </tr>
162</table>
163<hr><h2>Member Function Documentation</h2>
164<a class="anchor" name="7773ef71964474d39c9150febe6a2806"></a><!-- doxytag: member="FCDTScale::Clone" ref="7773ef71964474d39c9150febe6a2806" args="(FCDSceneNode *newParent)" --><p>
165<table class="mdTable" cellpadding="2" cellspacing="0">
166  <tr>
167    <td class="mdRow">
168      <table cellpadding="0" cellspacing="0" border="0">
169        <tr>
170          <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_c_d_transform.html">FCDTransform</a>* FCDTScale::Clone           </td>
171          <td class="md" valign="top">(&nbsp;</td>
172          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *&nbsp;</td>
173          <td class="mdname1" valign="top" nowrap> <em>newParent</em>          </td>
174          <td class="md" valign="top">&nbsp;)&nbsp;</td>
175          <td class="md" nowrap><code> [virtual]</code></td>
176        </tr>
177      </table>
178    </td>
179  </tr>
180</table>
181<table cellspacing="5" cellpadding="0" border="0">
182  <tr>
183    <td>
184      &nbsp;
185    </td>
186    <td>
187
188<p>
189Creates a copy of the non-uniform scale.
190<p>
191<dl compact><dt><b>Parameters:</b></dt><dd>
192  <table border="0" cellspacing="2" cellpadding="0">
193    <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>
194  </table>
195</dl>
196<dl compact><dt><b>Returns:</b></dt><dd>The cloned non-uniform scale. </dd></dl>
197
198<p>
199Implements <a class="el" href="class_f_c_d_transform.html#036030bd68c7bf2ba7886b79aeb531f6">FCDTransform</a>.    </td>
200  </tr>
201</table>
202<a class="anchor" name="e230e09ce7ce4fc0f68c61434ac91ce4"></a><!-- doxytag: member="FCDTScale::GetAnimated" ref="e230e09ce7ce4fc0f68c61434ac91ce4" args="()" --><p>
203<table class="mdTable" cellpadding="2" cellspacing="0">
204  <tr>
205    <td class="mdRow">
206      <table cellpadding="0" cellspacing="0" border="0">
207        <tr>
208          <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_c_d_animated.html">FCDAnimated</a>* FCDTScale::GetAnimated           </td>
209          <td class="md" valign="top">(&nbsp;</td>
210          <td class="mdname1" valign="top" nowrap>          </td>
211          <td class="md" valign="top">&nbsp;)&nbsp;</td>
212          <td class="md" nowrap><code> [virtual]</code></td>
213        </tr>
214      </table>
215    </td>
216  </tr>
217</table>
218<table cellspacing="5" cellpadding="0" border="0">
219  <tr>
220    <td>
221      &nbsp;
222    </td>
223    <td>
224
225<p>
226Retrieves the animated element for the non-uniform scale factors.
227<p>
228<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_f_c_d_animated_point3.html">FCDAnimatedPoint3</a> </dd></dl>
229<dl compact><dt><b>Returns:</b></dt><dd>The animated element. This pointer will be NULL if the scale factors are not animated. </dd></dl>
230
231<p>
232Implements <a class="el" href="class_f_c_d_transform.html#827134177675c23e823dcffdc1c1cdae">FCDTransform</a>.    </td>
233  </tr>
234</table>
235<a class="anchor" name="9c46eecf23f102b7c1d5508494d4eac7"></a><!-- doxytag: member="FCDTScale::GetScale" ref="9c46eecf23f102b7c1d5508494d4eac7" args="()" --><p>
236<table class="mdTable" cellpadding="2" cellspacing="0">
237  <tr>
238    <td class="mdRow">
239      <table cellpadding="0" cellspacing="0" border="0">
240        <tr>
241          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&amp; FCDTScale::GetScale           </td>
242          <td class="md" valign="top">(&nbsp;</td>
243          <td class="mdname1" valign="top" nowrap>          </td>
244          <td class="md" valign="top">&nbsp;)&nbsp;</td>
245          <td class="md" nowrap><code> [inline]</code></td>
246        </tr>
247      </table>
248    </td>
249  </tr>
250</table>
251<table cellspacing="5" cellpadding="0" border="0">
252  <tr>
253    <td>
254      &nbsp;
255    </td>
256    <td>
257
258<p>
259Retrieves the factors of the non-uniform scale.
260<p>
261These factors may be animated. <dl compact><dt><b>Returns:</b></dt><dd>The scale factors. </dd></dl>
262    </td>
263  </tr>
264</table>
265<a class="anchor" name="69a9e36fcc1a3ba516a3a0f47c37db61"></a><!-- doxytag: member="FCDTScale::GetType" ref="69a9e36fcc1a3ba516a3a0f47c37db61" args="() const " --><p>
266<table class="mdTable" cellpadding="2" cellspacing="0">
267  <tr>
268    <td class="mdRow">
269      <table cellpadding="0" cellspacing="0" border="0">
270        <tr>
271          <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_c_d_transform.html#13e561c5e53aeaf84dedf4661cdc8921">Type</a> FCDTScale::GetType           </td>
272          <td class="md" valign="top">(&nbsp;</td>
273          <td class="mdname1" valign="top" nowrap>          </td>
274          <td class="md" valign="top">&nbsp;)&nbsp;</td>
275          <td class="md" nowrap> const<code> [inline, virtual]</code></td>
276        </tr>
277      </table>
278    </td>
279  </tr>
280</table>
281<table cellspacing="5" cellpadding="0" border="0">
282  <tr>
283    <td>
284      &nbsp;
285    </td>
286    <td>
287
288<p>
289Retrieves the transformation class type for the non-uniform scale.
290<p>
291<dl compact><dt><b>Returns:</b></dt><dd>The class type: SCALE. </dd></dl>
292
293<p>
294Implements <a class="el" href="class_f_c_d_transform.html#f406aebcba6215ebc1358a3cf87ab29d">FCDTransform</a>.    </td>
295  </tr>
296</table>
297<a class="anchor" name="db6b8a74970cd14e0cdeb9785cbd41d2"></a><!-- doxytag: member="FCDTScale::IsAnimated" ref="db6b8a74970cd14e0cdeb9785cbd41d2" 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">virtual bool FCDTScale::IsAnimated           </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<code> [virtual]</code></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>
321Retrieves whether the factors of the non-uniform scale are animated.
322<p>
323<dl compact><dt><b>Returns:</b></dt><dd>Whether the scale factors are animated. </dd></dl>
324
325<p>
326Implements <a class="el" href="class_f_c_d_transform.html#b12ac63fa2d46fbcf8c025971635cda4">FCDTransform</a>.    </td>
327  </tr>
328</table>
329<a class="anchor" name="3a8d09070bd48451f22ea7a81f798d4c"></a><!-- doxytag: member="FCDTScale::LoadFromXML" ref="3a8d09070bd48451f22ea7a81f798d4c" args="(xmlNode *scaleNode)" --><p>
330<table class="mdTable" cellpadding="2" cellspacing="0">
331  <tr>
332    <td class="mdRow">
333      <table cellpadding="0" cellspacing="0" border="0">
334        <tr>
335          <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_u_status.html">FUStatus</a> FCDTScale::LoadFromXML           </td>
336          <td class="md" valign="top">(&nbsp;</td>
337          <td class="md" nowrap valign="top">xmlNode *&nbsp;</td>
338          <td class="mdname1" valign="top" nowrap> <em>scaleNode</em>          </td>
339          <td class="md" valign="top">&nbsp;)&nbsp;</td>
340          <td class="md" nowrap><code> [virtual]</code></td>
341        </tr>
342      </table>
343    </td>
344  </tr>
345</table>
346<table cellspacing="5" cellpadding="0" border="0">
347  <tr>
348    <td>
349      &nbsp;
350    </td>
351    <td>
352
353<p>
354[INTERNAL] Reads in the non-uniform scale from a given COLLADA XML tree node.
355<p>
356<dl compact><dt><b>Parameters:</b></dt><dd>
357  <table border="0" cellspacing="2" cellpadding="0">
358    <tr><td valign="top"></td><td valign="top"><em>scaleNode</em>&nbsp;</td><td>The COLLADA XML tree node. </td></tr>
359  </table>
360</dl>
361<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>
362
363<p>
364Implements <a class="el" href="class_f_c_d_transform.html#b6ec75fc9ed1c6d4e03a781c251682fc">FCDTransform</a>.    </td>
365  </tr>
366</table>
367<a class="anchor" name="4354c67b84bca84d5f73ed0e34d8ac29"></a><!-- doxytag: member="FCDTScale::SetScale" ref="4354c67b84bca84d5f73ed0e34d8ac29" args="(float x, float y, float z)" --><p>
368<table class="mdTable" cellpadding="2" cellspacing="0">
369  <tr>
370    <td class="mdRow">
371      <table cellpadding="0" cellspacing="0" border="0">
372        <tr>
373          <td class="md" nowrap valign="top">void FCDTScale::SetScale           </td>
374          <td class="md" valign="top">(&nbsp;</td>
375          <td class="md" nowrap valign="top">float&nbsp;</td>
376          <td class="mdname" nowrap> <em>x</em>, </td>
377        </tr>
378        <tr>
379          <td class="md" nowrap align="right"></td>
380          <td class="md"></td>
381          <td class="md" nowrap>float&nbsp;</td>
382          <td class="mdname" nowrap> <em>y</em>, </td>
383        </tr>
384        <tr>
385          <td class="md" nowrap align="right"></td>
386          <td class="md"></td>
387          <td class="md" nowrap>float&nbsp;</td>
388          <td class="mdname" nowrap> <em>z</em></td>
389        </tr>
390        <tr>
391          <td class="md"></td>
392          <td class="md">)&nbsp;</td>
393          <td class="md" colspan="2"><code> [inline]</code></td>
394        </tr>
395      </table>
396    </td>
397  </tr>
398</table>
399<table cellspacing="5" cellpadding="0" border="0">
400  <tr>
401    <td>
402      &nbsp;
403    </td>
404    <td>
405
406<p>
407Sets the factors of the non-uniform scale.
408<p>
409<dl compact><dt><b>Parameters:</b></dt><dd>
410  <table border="0" cellspacing="2" cellpadding="0">
411    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>The x-component scale factor. </td></tr>
412    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>The y-component scale factor. </td></tr>
413    <tr><td valign="top"></td><td valign="top"><em>z</em>&nbsp;</td><td>The z-component scale factor. </td></tr>
414  </table>
415</dl>
416    </td>
417  </tr>
418</table>
419<a class="anchor" name="4fb83f56790d88afeaf43dea90b710e7"></a><!-- doxytag: member="FCDTScale::SetScale" ref="4fb83f56790d88afeaf43dea90b710e7" args="(const FMVector3 &amp;_scale)" --><p>
420<table class="mdTable" cellpadding="2" cellspacing="0">
421  <tr>
422    <td class="mdRow">
423      <table cellpadding="0" cellspacing="0" border="0">
424        <tr>
425          <td class="md" nowrap valign="top">void FCDTScale::SetScale           </td>
426          <td class="md" valign="top">(&nbsp;</td>
427          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
428          <td class="mdname1" valign="top" nowrap> <em>_scale</em>          </td>
429          <td class="md" valign="top">&nbsp;)&nbsp;</td>
430          <td class="md" nowrap><code> [inline]</code></td>
431        </tr>
432      </table>
433    </td>
434  </tr>
435</table>
436<table cellspacing="5" cellpadding="0" border="0">
437  <tr>
438    <td>
439      &nbsp;
440    </td>
441    <td>
442
443<p>
444Sets the factors of the non-uniform scale.
445<p>
446<dl compact><dt><b>Parameters:</b></dt><dd>
447  <table border="0" cellspacing="2" cellpadding="0">
448    <tr><td valign="top"></td><td valign="top"><em>_scale</em>&nbsp;</td><td>The scale factors. </td></tr>
449  </table>
450</dl>
451    </td>
452  </tr>
453</table>
454<a class="anchor" name="e7376a51b0260fce9d1daa89ea6005d3"></a><!-- doxytag: member="FCDTScale::ToMatrix" ref="e7376a51b0260fce9d1daa89ea6005d3" args="() const " --><p>
455<table class="mdTable" cellpadding="2" cellspacing="0">
456  <tr>
457    <td class="mdRow">
458      <table cellpadding="0" cellspacing="0" border="0">
459        <tr>
460          <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> FCDTScale::ToMatrix           </td>
461          <td class="md" valign="top">(&nbsp;</td>
462          <td class="mdname1" valign="top" nowrap>          </td>
463          <td class="md" valign="top">&nbsp;)&nbsp;</td>
464          <td class="md" nowrap> const<code> [virtual]</code></td>
465        </tr>
466      </table>
467    </td>
468  </tr>
469</table>
470<table cellspacing="5" cellpadding="0" border="0">
471  <tr>
472    <td>
473      &nbsp;
474    </td>
475    <td>
476
477<p>
478Converts the non-uniform scale into a matrix.
479<p>
480<dl compact><dt><b>Returns:</b></dt><dd>A matrix equivalent of the non-uniform scale. </dd></dl>
481
482<p>
483Implements <a class="el" href="class_f_c_d_transform.html#fd7fc3c7dc012782ebb2886c5bc13d01">FCDTransform</a>.    </td>
484  </tr>
485</table>
486<a class="anchor" name="cfbe7a5e7ee23a7f085af342646a0c9e"></a><!-- doxytag: member="FCDTScale::WriteToXML" ref="cfbe7a5e7ee23a7f085af342646a0c9e" args="(xmlNode *parentNode) const " --><p>
487<table class="mdTable" cellpadding="2" cellspacing="0">
488  <tr>
489    <td class="mdRow">
490      <table cellpadding="0" cellspacing="0" border="0">
491        <tr>
492          <td class="md" nowrap valign="top">virtual xmlNode* FCDTScale::WriteToXML           </td>
493          <td class="md" valign="top">(&nbsp;</td>
494          <td class="md" nowrap valign="top">xmlNode *&nbsp;</td>
495          <td class="mdname1" valign="top" nowrap> <em>parentNode</em>          </td>
496          <td class="md" valign="top">&nbsp;)&nbsp;</td>
497          <td class="md" nowrap> const<code> [virtual]</code></td>
498        </tr>
499      </table>
500    </td>
501  </tr>
502</table>
503<table cellspacing="5" cellpadding="0" border="0">
504  <tr>
505    <td>
506      &nbsp;
507    </td>
508    <td>
509
510<p>
511[INTERNAL] Writes out the non-uniform scale to the given COLLADA XML tree node.
512<p>
513<dl compact><dt><b>Parameters:</b></dt><dd>
514  <table border="0" cellspacing="2" cellpadding="0">
515    <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>
516  </table>
517</dl>
518<dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl>
519
520<p>
521Implements <a class="el" href="class_f_c_d_transform.html#cd254f154a32d1e313001ee4d693162a">FCDTransform</a>.    </td>
522  </tr>
523</table>
524<hr>The documentation for this class was generated from the following file:<ul>
525<li>FCDocument/<a class="el" href="_f_c_d_transform_8h-source.html">FCDTransform.h</a></ul>
526<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:44 2006 for FCollada by&nbsp;
527<a href="http://www.doxygen.org/index.html">
528<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
529</body>
530</html>
Note: See TracBrowser for help on using the repository browser.