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: FCDTTranslation 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 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 Pages</span></a></li> |
---|
16 | </ul></div> |
---|
17 | <div class="tabs"> |
---|
18 | <ul> |
---|
19 | <li><a href="classes.html"><span>Alphabetical List</span></a></li> |
---|
20 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
21 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
22 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
23 | </ul></div> |
---|
24 | <h1>FCDTTranslation 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="FCDTTranslation" --><!-- doxytag: inherits="FCDTransform" -->A COLLADA translation. |
---|
28 | <a href="#_details">More...</a> |
---|
29 | <p> |
---|
30 | <code>#include <<a class="el" href="_f_c_d_transform_8h-source.html">FCDTransform.h</a>></code> |
---|
31 | <p> |
---|
32 | <p>Inheritance diagram for FCDTTranslation: |
---|
33 | <p><center><img src="class_f_c_d_t_translation.png" usemap="#FCDTTranslation_map" border="0" alt=""></center> |
---|
34 | <map name="FCDTTranslation_map"> |
---|
35 | <area href="class_f_c_d_transform.html" alt="FCDTransform" shape="rect" coords="0,112,107,136"> |
---|
36 | <area href="class_f_c_d_object.html" alt="FCDObject" shape="rect" coords="0,56,107,80"> |
---|
37 | <area href="class_f_u_object.html" alt="FUObject" shape="rect" coords="0,0,107,24"> |
---|
38 | </map> |
---|
39 | <a href="class_f_c_d_t_translation-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#418dee555e3fbcc0866b141888ed4fb3">FCDTTranslation</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"> </td><td class="mdescRight">Constructor: do not use directly. <a href="#418dee555e3fbcc0866b141888ed4fb3"></a><br></td></tr> |
---|
45 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#e1d2b14225b7550fa76d1963e2ab845b">~FCDTTranslation</a> ()</td></tr> |
---|
46 | |
---|
47 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor: do not use directly. <a href="#e1d2b14225b7550fa76d1963e2ab845b"></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> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#d72589137729bcf5ea8b88f0ad2b2208">GetType</a> () const </td></tr> |
---|
49 | |
---|
50 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the transformation class type for the translation. <a href="#d72589137729bcf5ea8b88f0ad2b2208"></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> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#baac0bad48d81857fcdf810236e512b2">GetTranslation</a> ()</td></tr> |
---|
52 | |
---|
53 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the translation 3D displacement vector. <a href="#baac0bad48d81857fcdf810236e512b2"></a><br></td></tr> |
---|
54 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="77ee6688bbab061a2e1e34a8e373bb86"></a><!-- doxytag: member="FCDTTranslation::GetTranslation" ref="77ee6688bbab061a2e1e34a8e373bb86" args="() const " --> |
---|
55 | const <a class="el" href="class_f_m_vector3.html">FMVector3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#77ee6688bbab061a2e1e34a8e373bb86">GetTranslation</a> () const </td></tr> |
---|
56 | |
---|
57 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
58 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#5939f2f2de53b653e6d319999c707c89">SetTranslation</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &_translation)</td></tr> |
---|
59 | |
---|
60 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the translation 3D displacement vector. <a href="#5939f2f2de53b653e6d319999c707c89"></a><br></td></tr> |
---|
61 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#fbb217d569f2b3203f8af60333579b66">SetTranslation</a> (float x, float y, float z)</td></tr> |
---|
62 | |
---|
63 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the translation 3D displacement vector. <a href="#fbb217d569f2b3203f8af60333579b66"></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> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#2b269c7e2e7ecb67ea36fc5e95eb2784">ToMatrix</a> () const </td></tr> |
---|
65 | |
---|
66 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts the translation into a matrix. <a href="#2b269c7e2e7ecb67ea36fc5e95eb2784"></a><br></td></tr> |
---|
67 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#365aa6006b7f2b130580cae2cdbedd18">IsAnimated</a> () const </td></tr> |
---|
68 | |
---|
69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether this translation is affected by an animation. <a href="#365aa6006b7f2b130580cae2cdbedd18"></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> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#cc27524dabcbeba7e488485bdd728d1a">GetAnimated</a> ()</td></tr> |
---|
71 | |
---|
72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the animated element for the translation. <a href="#cc27524dabcbeba7e488485bdd728d1a"></a><br></td></tr> |
---|
73 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#2b3ed004d0a35a4e786b38caa00421a0">IsInverse</a> (const <a class="el" href="class_f_c_d_transform.html">FCDTransform</a> *transform) const </td></tr> |
---|
74 | |
---|
75 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether a given transform is the exact opposite of this translation. <a href="#2b3ed004d0a35a4e786b38caa00421a0"></a><br></td></tr> |
---|
76 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_f_c_d_transform.html">FCDTransform</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#10f9c7407139aafb5fb5c454032a120c">Clone</a> (<a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *newParent)</td></tr> |
---|
77 | |
---|
78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a copy of the translation. <a href="#10f9c7407139aafb5fb5c454032a120c"></a><br></td></tr> |
---|
79 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_f_u_status.html">FUStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#2616b828f332c1af16df36eff76c3647">LoadFromXML</a> (xmlNode *translationNode)</td></tr> |
---|
80 | |
---|
81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Reads in the translation from a given COLLADA XML tree node. <a href="#2616b828f332c1af16df36eff76c3647"></a><br></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_t_translation.html#994aad69ad61e8bce69e750c3f8d5e92">WriteToXML</a> (xmlNode *parentNode) const </td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Writes out the translation to the given COLLADA XML tree node. <a href="#994aad69ad61e8bce69e750c3f8d5e92"></a><br></td></tr> |
---|
85 | </table> |
---|
86 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
87 | A COLLADA translation. |
---|
88 | <p> |
---|
89 | A translation is a simple 3D displacement. |
---|
90 | <p> |
---|
91 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
92 | <a class="anchor" name="418dee555e3fbcc0866b141888ed4fb3"></a><!-- doxytag: member="FCDTTranslation::FCDTTranslation" ref="418dee555e3fbcc0866b141888ed4fb3" args="(FCDocument *document, FCDSceneNode *parent)" --><p> |
---|
93 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
94 | <tr> |
---|
95 | <td class="mdRow"> |
---|
96 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
97 | <tr> |
---|
98 | <td class="md" nowrap valign="top">FCDTTranslation::FCDTTranslation </td> |
---|
99 | <td class="md" valign="top">( </td> |
---|
100 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_document.html">FCDocument</a> * </td> |
---|
101 | <td class="mdname" nowrap> <em>document</em>, </td> |
---|
102 | </tr> |
---|
103 | <tr> |
---|
104 | <td class="md" nowrap align="right"></td> |
---|
105 | <td class="md"></td> |
---|
106 | <td class="md" nowrap><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> * </td> |
---|
107 | <td class="mdname" nowrap> <em>parent</em></td> |
---|
108 | </tr> |
---|
109 | <tr> |
---|
110 | <td class="md"></td> |
---|
111 | <td class="md">) </td> |
---|
112 | <td class="md" colspan="2"></td> |
---|
113 | </tr> |
---|
114 | </table> |
---|
115 | </td> |
---|
116 | </tr> |
---|
117 | </table> |
---|
118 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
119 | <tr> |
---|
120 | <td> |
---|
121 | |
---|
122 | </td> |
---|
123 | <td> |
---|
124 | |
---|
125 | <p> |
---|
126 | Constructor: do not use directly. |
---|
127 | <p> |
---|
128 | Instead, use the <a class="el" href="class_f_c_d_scene_node.html#822ee50114c3607ab632a4dd0b405aa1">FCDSceneNode::AddTransform</a> function with the TRANSLATION transformation type. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
129 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
130 | <tr><td valign="top"></td><td valign="top"><em>document</em> </td><td>The COLLADA document that owns the translation. </td></tr> |
---|
131 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The visual scene node that contains the translation. Set this pointer to NULL if the translation is not owned by a visual scene node. </td></tr> |
---|
132 | </table> |
---|
133 | </dl> |
---|
134 | </td> |
---|
135 | </tr> |
---|
136 | </table> |
---|
137 | <a class="anchor" name="e1d2b14225b7550fa76d1963e2ab845b"></a><!-- doxytag: member="FCDTTranslation::~FCDTTranslation" ref="e1d2b14225b7550fa76d1963e2ab845b" args="()" --><p> |
---|
138 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
139 | <tr> |
---|
140 | <td class="mdRow"> |
---|
141 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
142 | <tr> |
---|
143 | <td class="md" nowrap valign="top">virtual FCDTTranslation::~FCDTTranslation </td> |
---|
144 | <td class="md" valign="top">( </td> |
---|
145 | <td class="mdname1" valign="top" nowrap> </td> |
---|
146 | <td class="md" valign="top"> ) </td> |
---|
147 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
148 | </tr> |
---|
149 | </table> |
---|
150 | </td> |
---|
151 | </tr> |
---|
152 | </table> |
---|
153 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
154 | <tr> |
---|
155 | <td> |
---|
156 | |
---|
157 | </td> |
---|
158 | <td> |
---|
159 | |
---|
160 | <p> |
---|
161 | Destructor: do not use directly. |
---|
162 | <p> |
---|
163 | Instead, use the <a class="el" href="class_f_c_d_scene_node.html#c679529b68c59acb808ff8a14f4d9a33">FCDSceneNode::ReleaseTransform</a> function. </td> |
---|
164 | </tr> |
---|
165 | </table> |
---|
166 | <hr><h2>Member Function Documentation</h2> |
---|
167 | <a class="anchor" name="10f9c7407139aafb5fb5c454032a120c"></a><!-- doxytag: member="FCDTTranslation::Clone" ref="10f9c7407139aafb5fb5c454032a120c" args="(FCDSceneNode *newParent)" --><p> |
---|
168 | <table class="mdTable" 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">virtual <a class="el" href="class_f_c_d_transform.html">FCDTransform</a>* FCDTTranslation::Clone </td> |
---|
174 | <td class="md" valign="top">( </td> |
---|
175 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> * </td> |
---|
176 | <td class="mdname1" valign="top" nowrap> <em>newParent</em> </td> |
---|
177 | <td class="md" valign="top"> ) </td> |
---|
178 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
179 | </tr> |
---|
180 | </table> |
---|
181 | </td> |
---|
182 | </tr> |
---|
183 | </table> |
---|
184 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
185 | <tr> |
---|
186 | <td> |
---|
187 | |
---|
188 | </td> |
---|
189 | <td> |
---|
190 | |
---|
191 | <p> |
---|
192 | Creates a copy of the translation. |
---|
193 | <p> |
---|
194 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
195 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
196 | <tr><td valign="top"></td><td valign="top"><em>newParent</em> </td><td>The visual scene node that will contain the clone. </td></tr> |
---|
197 | </table> |
---|
198 | </dl> |
---|
199 | <dl compact><dt><b>Returns:</b></dt><dd>The cloned translation. </dd></dl> |
---|
200 | |
---|
201 | <p> |
---|
202 | Implements <a class="el" href="class_f_c_d_transform.html#036030bd68c7bf2ba7886b79aeb531f6">FCDTransform</a>. </td> |
---|
203 | </tr> |
---|
204 | </table> |
---|
205 | <a class="anchor" name="cc27524dabcbeba7e488485bdd728d1a"></a><!-- doxytag: member="FCDTTranslation::GetAnimated" ref="cc27524dabcbeba7e488485bdd728d1a" args="()" --><p> |
---|
206 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
207 | <tr> |
---|
208 | <td class="mdRow"> |
---|
209 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
210 | <tr> |
---|
211 | <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_c_d_animated.html">FCDAnimated</a>* FCDTTranslation::GetAnimated </td> |
---|
212 | <td class="md" valign="top">( </td> |
---|
213 | <td class="mdname1" valign="top" nowrap> </td> |
---|
214 | <td class="md" valign="top"> ) </td> |
---|
215 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
216 | </tr> |
---|
217 | </table> |
---|
218 | </td> |
---|
219 | </tr> |
---|
220 | </table> |
---|
221 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
222 | <tr> |
---|
223 | <td> |
---|
224 | |
---|
225 | </td> |
---|
226 | <td> |
---|
227 | |
---|
228 | <p> |
---|
229 | Retrieves the animated element for the translation. |
---|
230 | <p> |
---|
231 | <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_f_c_d_animated_point3.html">FCDAnimatedPoint3</a> </dd></dl> |
---|
232 | <dl compact><dt><b>Returns:</b></dt><dd>The animated element. This pointer will be NULL if the translation is not animated. </dd></dl> |
---|
233 | |
---|
234 | <p> |
---|
235 | Implements <a class="el" href="class_f_c_d_transform.html#827134177675c23e823dcffdc1c1cdae">FCDTransform</a>. </td> |
---|
236 | </tr> |
---|
237 | </table> |
---|
238 | <a class="anchor" name="baac0bad48d81857fcdf810236e512b2"></a><!-- doxytag: member="FCDTTranslation::GetTranslation" ref="baac0bad48d81857fcdf810236e512b2" args="()" --><p> |
---|
239 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
240 | <tr> |
---|
241 | <td class="mdRow"> |
---|
242 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
243 | <tr> |
---|
244 | <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>& FCDTTranslation::GetTranslation </td> |
---|
245 | <td class="md" valign="top">( </td> |
---|
246 | <td class="mdname1" valign="top" nowrap> </td> |
---|
247 | <td class="md" valign="top"> ) </td> |
---|
248 | <td class="md" nowrap><code> [inline]</code></td> |
---|
249 | </tr> |
---|
250 | </table> |
---|
251 | </td> |
---|
252 | </tr> |
---|
253 | </table> |
---|
254 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
255 | <tr> |
---|
256 | <td> |
---|
257 | |
---|
258 | </td> |
---|
259 | <td> |
---|
260 | |
---|
261 | <p> |
---|
262 | Retrieves the translation 3D displacement vector. |
---|
263 | <p> |
---|
264 | This displacement vector may be animated. <dl compact><dt><b>Returns:</b></dt><dd>The displacement vector. </dd></dl> |
---|
265 | </td> |
---|
266 | </tr> |
---|
267 | </table> |
---|
268 | <a class="anchor" name="d72589137729bcf5ea8b88f0ad2b2208"></a><!-- doxytag: member="FCDTTranslation::GetType" ref="d72589137729bcf5ea8b88f0ad2b2208" args="() const " --><p> |
---|
269 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
270 | <tr> |
---|
271 | <td class="mdRow"> |
---|
272 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
273 | <tr> |
---|
274 | <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_c_d_transform.html#13e561c5e53aeaf84dedf4661cdc8921">Type</a> FCDTTranslation::GetType </td> |
---|
275 | <td class="md" valign="top">( </td> |
---|
276 | <td class="mdname1" valign="top" nowrap> </td> |
---|
277 | <td class="md" valign="top"> ) </td> |
---|
278 | <td class="md" nowrap> const<code> [inline, virtual]</code></td> |
---|
279 | </tr> |
---|
280 | </table> |
---|
281 | </td> |
---|
282 | </tr> |
---|
283 | </table> |
---|
284 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
285 | <tr> |
---|
286 | <td> |
---|
287 | |
---|
288 | </td> |
---|
289 | <td> |
---|
290 | |
---|
291 | <p> |
---|
292 | Retrieves the transformation class type for the translation. |
---|
293 | <p> |
---|
294 | <dl compact><dt><b>Returns:</b></dt><dd>The transformation class type: TRANSLATION. </dd></dl> |
---|
295 | |
---|
296 | <p> |
---|
297 | Implements <a class="el" href="class_f_c_d_transform.html#f406aebcba6215ebc1358a3cf87ab29d">FCDTransform</a>. </td> |
---|
298 | </tr> |
---|
299 | </table> |
---|
300 | <a class="anchor" name="365aa6006b7f2b130580cae2cdbedd18"></a><!-- doxytag: member="FCDTTranslation::IsAnimated" ref="365aa6006b7f2b130580cae2cdbedd18" args="() const " --><p> |
---|
301 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
302 | <tr> |
---|
303 | <td class="mdRow"> |
---|
304 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
305 | <tr> |
---|
306 | <td class="md" nowrap valign="top">virtual bool FCDTTranslation::IsAnimated </td> |
---|
307 | <td class="md" valign="top">( </td> |
---|
308 | <td class="mdname1" valign="top" nowrap> </td> |
---|
309 | <td class="md" valign="top"> ) </td> |
---|
310 | <td class="md" nowrap> const<code> [virtual]</code></td> |
---|
311 | </tr> |
---|
312 | </table> |
---|
313 | </td> |
---|
314 | </tr> |
---|
315 | </table> |
---|
316 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
317 | <tr> |
---|
318 | <td> |
---|
319 | |
---|
320 | </td> |
---|
321 | <td> |
---|
322 | |
---|
323 | <p> |
---|
324 | Retrieves whether this translation is affected by an animation. |
---|
325 | <p> |
---|
326 | <dl compact><dt><b>Returns:</b></dt><dd>Whether the translation is animated. </dd></dl> |
---|
327 | |
---|
328 | <p> |
---|
329 | Implements <a class="el" href="class_f_c_d_transform.html#b12ac63fa2d46fbcf8c025971635cda4">FCDTransform</a>. </td> |
---|
330 | </tr> |
---|
331 | </table> |
---|
332 | <a class="anchor" name="2b3ed004d0a35a4e786b38caa00421a0"></a><!-- doxytag: member="FCDTTranslation::IsInverse" ref="2b3ed004d0a35a4e786b38caa00421a0" args="(const FCDTransform *transform) const " --><p> |
---|
333 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
334 | <tr> |
---|
335 | <td class="mdRow"> |
---|
336 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
337 | <tr> |
---|
338 | <td class="md" nowrap valign="top">virtual bool FCDTTranslation::IsInverse </td> |
---|
339 | <td class="md" valign="top">( </td> |
---|
340 | <td class="md" nowrap valign="top">const <a class="el" href="class_f_c_d_transform.html">FCDTransform</a> * </td> |
---|
341 | <td class="mdname1" valign="top" nowrap> <em>transform</em> </td> |
---|
342 | <td class="md" valign="top"> ) </td> |
---|
343 | <td class="md" nowrap> const<code> [virtual]</code></td> |
---|
344 | </tr> |
---|
345 | </table> |
---|
346 | </td> |
---|
347 | </tr> |
---|
348 | </table> |
---|
349 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
350 | <tr> |
---|
351 | <td> |
---|
352 | |
---|
353 | </td> |
---|
354 | <td> |
---|
355 | |
---|
356 | <p> |
---|
357 | Retrieves whether a given transform is the exact opposite of this translation. |
---|
358 | <p> |
---|
359 | The opposite of a translation has a displacement vector with all the components multiplied by -1. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
360 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
361 | <tr><td valign="top"></td><td valign="top"><em>transform</em> </td><td>A second transformation. </td></tr> |
---|
362 | </table> |
---|
363 | </dl> |
---|
364 | <dl compact><dt><b>Returns:</b></dt><dd>Whether the two transformations are opposites. </dd></dl> |
---|
365 | |
---|
366 | <p> |
---|
367 | Reimplemented from <a class="el" href="class_f_c_d_transform.html#9fa1a02a51f833f819248c2ff020507c">FCDTransform</a>. </td> |
---|
368 | </tr> |
---|
369 | </table> |
---|
370 | <a class="anchor" name="2616b828f332c1af16df36eff76c3647"></a><!-- doxytag: member="FCDTTranslation::LoadFromXML" ref="2616b828f332c1af16df36eff76c3647" args="(xmlNode *translationNode)" --><p> |
---|
371 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
372 | <tr> |
---|
373 | <td class="mdRow"> |
---|
374 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
375 | <tr> |
---|
376 | <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_u_status.html">FUStatus</a> FCDTTranslation::LoadFromXML </td> |
---|
377 | <td class="md" valign="top">( </td> |
---|
378 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
379 | <td class="mdname1" valign="top" nowrap> <em>translationNode</em> </td> |
---|
380 | <td class="md" valign="top"> ) </td> |
---|
381 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
382 | </tr> |
---|
383 | </table> |
---|
384 | </td> |
---|
385 | </tr> |
---|
386 | </table> |
---|
387 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
388 | <tr> |
---|
389 | <td> |
---|
390 | |
---|
391 | </td> |
---|
392 | <td> |
---|
393 | |
---|
394 | <p> |
---|
395 | [INTERNAL] Reads in the translation from a given COLLADA XML tree node. |
---|
396 | <p> |
---|
397 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
398 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
399 | <tr><td valign="top"></td><td valign="top"><em>translationNode</em> </td><td>The COLLADA XML tree node. </td></tr> |
---|
400 | </table> |
---|
401 | </dl> |
---|
402 | <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 translation. </dd></dl> |
---|
403 | |
---|
404 | <p> |
---|
405 | Implements <a class="el" href="class_f_c_d_transform.html#b6ec75fc9ed1c6d4e03a781c251682fc">FCDTransform</a>. </td> |
---|
406 | </tr> |
---|
407 | </table> |
---|
408 | <a class="anchor" name="fbb217d569f2b3203f8af60333579b66"></a><!-- doxytag: member="FCDTTranslation::SetTranslation" ref="fbb217d569f2b3203f8af60333579b66" args="(float x, float y, float z)" --><p> |
---|
409 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
410 | <tr> |
---|
411 | <td class="mdRow"> |
---|
412 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
413 | <tr> |
---|
414 | <td class="md" nowrap valign="top">void FCDTTranslation::SetTranslation </td> |
---|
415 | <td class="md" valign="top">( </td> |
---|
416 | <td class="md" nowrap valign="top">float </td> |
---|
417 | <td class="mdname" nowrap> <em>x</em>, </td> |
---|
418 | </tr> |
---|
419 | <tr> |
---|
420 | <td class="md" nowrap align="right"></td> |
---|
421 | <td class="md"></td> |
---|
422 | <td class="md" nowrap>float </td> |
---|
423 | <td class="mdname" nowrap> <em>y</em>, </td> |
---|
424 | </tr> |
---|
425 | <tr> |
---|
426 | <td class="md" nowrap align="right"></td> |
---|
427 | <td class="md"></td> |
---|
428 | <td class="md" nowrap>float </td> |
---|
429 | <td class="mdname" nowrap> <em>z</em></td> |
---|
430 | </tr> |
---|
431 | <tr> |
---|
432 | <td class="md"></td> |
---|
433 | <td class="md">) </td> |
---|
434 | <td class="md" colspan="2"><code> [inline]</code></td> |
---|
435 | </tr> |
---|
436 | </table> |
---|
437 | </td> |
---|
438 | </tr> |
---|
439 | </table> |
---|
440 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
441 | <tr> |
---|
442 | <td> |
---|
443 | |
---|
444 | </td> |
---|
445 | <td> |
---|
446 | |
---|
447 | <p> |
---|
448 | Sets the translation 3D displacement vector. |
---|
449 | <p> |
---|
450 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
451 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
452 | <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The x-component displacement. </td></tr> |
---|
453 | <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The y-component displacement. </td></tr> |
---|
454 | <tr><td valign="top"></td><td valign="top"><em>z</em> </td><td>The z-component displacement. </td></tr> |
---|
455 | </table> |
---|
456 | </dl> |
---|
457 | </td> |
---|
458 | </tr> |
---|
459 | </table> |
---|
460 | <a class="anchor" name="5939f2f2de53b653e6d319999c707c89"></a><!-- doxytag: member="FCDTTranslation::SetTranslation" ref="5939f2f2de53b653e6d319999c707c89" args="(const FMVector3 &_translation)" --><p> |
---|
461 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
462 | <tr> |
---|
463 | <td class="mdRow"> |
---|
464 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
465 | <tr> |
---|
466 | <td class="md" nowrap valign="top">void FCDTTranslation::SetTranslation </td> |
---|
467 | <td class="md" valign="top">( </td> |
---|
468 | <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> & </td> |
---|
469 | <td class="mdname1" valign="top" nowrap> <em>_translation</em> </td> |
---|
470 | <td class="md" valign="top"> ) </td> |
---|
471 | <td class="md" nowrap><code> [inline]</code></td> |
---|
472 | </tr> |
---|
473 | </table> |
---|
474 | </td> |
---|
475 | </tr> |
---|
476 | </table> |
---|
477 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
478 | <tr> |
---|
479 | <td> |
---|
480 | |
---|
481 | </td> |
---|
482 | <td> |
---|
483 | |
---|
484 | <p> |
---|
485 | Sets the translation 3D displacement vector. |
---|
486 | <p> |
---|
487 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
488 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
489 | <tr><td valign="top"></td><td valign="top"><em>_translation</em> </td><td>The displacement vector. </td></tr> |
---|
490 | </table> |
---|
491 | </dl> |
---|
492 | </td> |
---|
493 | </tr> |
---|
494 | </table> |
---|
495 | <a class="anchor" name="2b269c7e2e7ecb67ea36fc5e95eb2784"></a><!-- doxytag: member="FCDTTranslation::ToMatrix" ref="2b269c7e2e7ecb67ea36fc5e95eb2784" args="() const " --><p> |
---|
496 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
497 | <tr> |
---|
498 | <td class="mdRow"> |
---|
499 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
500 | <tr> |
---|
501 | <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> FCDTTranslation::ToMatrix </td> |
---|
502 | <td class="md" valign="top">( </td> |
---|
503 | <td class="mdname1" valign="top" nowrap> </td> |
---|
504 | <td class="md" valign="top"> ) </td> |
---|
505 | <td class="md" nowrap> const<code> [virtual]</code></td> |
---|
506 | </tr> |
---|
507 | </table> |
---|
508 | </td> |
---|
509 | </tr> |
---|
510 | </table> |
---|
511 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
512 | <tr> |
---|
513 | <td> |
---|
514 | |
---|
515 | </td> |
---|
516 | <td> |
---|
517 | |
---|
518 | <p> |
---|
519 | Converts the translation into a matrix. |
---|
520 | <p> |
---|
521 | <dl compact><dt><b>Returns:</b></dt><dd>A matrix equivalent of the translation. </dd></dl> |
---|
522 | |
---|
523 | <p> |
---|
524 | Implements <a class="el" href="class_f_c_d_transform.html#fd7fc3c7dc012782ebb2886c5bc13d01">FCDTransform</a>. </td> |
---|
525 | </tr> |
---|
526 | </table> |
---|
527 | <a class="anchor" name="994aad69ad61e8bce69e750c3f8d5e92"></a><!-- doxytag: member="FCDTTranslation::WriteToXML" ref="994aad69ad61e8bce69e750c3f8d5e92" args="(xmlNode *parentNode) const " --><p> |
---|
528 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
529 | <tr> |
---|
530 | <td class="mdRow"> |
---|
531 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
532 | <tr> |
---|
533 | <td class="md" nowrap valign="top">virtual xmlNode* FCDTTranslation::WriteToXML </td> |
---|
534 | <td class="md" valign="top">( </td> |
---|
535 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
536 | <td class="mdname1" valign="top" nowrap> <em>parentNode</em> </td> |
---|
537 | <td class="md" valign="top"> ) </td> |
---|
538 | <td class="md" nowrap> const<code> [virtual]</code></td> |
---|
539 | </tr> |
---|
540 | </table> |
---|
541 | </td> |
---|
542 | </tr> |
---|
543 | </table> |
---|
544 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
545 | <tr> |
---|
546 | <td> |
---|
547 | |
---|
548 | </td> |
---|
549 | <td> |
---|
550 | |
---|
551 | <p> |
---|
552 | [INTERNAL] Writes out the translation to the given COLLADA XML tree node. |
---|
553 | <p> |
---|
554 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
555 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
556 | <tr><td valign="top"></td><td valign="top"><em>parentNode</em> </td><td>The COLLADA XML parent node in which to insert the translation. </td></tr> |
---|
557 | </table> |
---|
558 | </dl> |
---|
559 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
560 | |
---|
561 | <p> |
---|
562 | Implements <a class="el" href="class_f_c_d_transform.html#cd254f154a32d1e313001ee4d693162a">FCDTransform</a>. </td> |
---|
563 | </tr> |
---|
564 | </table> |
---|
565 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
566 | <li>FCDocument/<a class="el" href="_f_c_d_transform_8h-source.html">FCDTransform.h</a></ul> |
---|
567 | <hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:44 2006 for FCollada by |
---|
568 | <a href="http://www.doxygen.org/index.html"> |
---|
569 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address> |
---|
570 | </body> |
---|
571 | </html> |
---|