[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: FCDocument/FCDAnimated.h Source File</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><a href="classes.html"><span>Classes</span></a></li> |
---|
| 14 | <li id="current"><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="files.html"><span>File List</span></a></li> |
---|
| 20 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
| 21 | </ul></div> |
---|
| 22 | <h1>FCDocument/FCDAnimated.h</h1><a href="_f_c_d_animated_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> |
---|
| 23 | <a name="l00002"></a>00002 <span class="comment"> Copyright (C) 2005-2006 Feeling Software Inc.</span> |
---|
| 24 | <a name="l00003"></a>00003 <span class="comment"> MIT License: http://www.opensource.org/licenses/mit-license.php</span> |
---|
| 25 | <a name="l00004"></a>00004 <span class="comment">*/</span> |
---|
| 26 | <a name="l00005"></a>00005 <span class="comment">/*</span> |
---|
| 27 | <a name="l00006"></a>00006 <span class="comment"> Based on the FS Import classes:</span> |
---|
| 28 | <a name="l00007"></a>00007 <span class="comment"> Copyright (C) 2005-2006 Feeling Software Inc</span> |
---|
| 29 | <a name="l00008"></a>00008 <span class="comment"> Copyright (C) 2005-2006 Autodesk Media Entertainment</span> |
---|
| 30 | <a name="l00009"></a>00009 <span class="comment"> MIT License: http://www.opensource.org/licenses/mit-license.php</span> |
---|
| 31 | <a name="l00010"></a>00010 <span class="comment">*/</span> |
---|
| 32 | <a name="l00011"></a>00011 |
---|
| 33 | <a name="l00017"></a>00017 <span class="preprocessor">#ifndef _FCD_ANIMATED_H_</span> |
---|
| 34 | <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define _FCD_ANIMATED_H_</span> |
---|
| 35 | <a name="l00019"></a>00019 <span class="preprocessor"></span> |
---|
| 36 | <a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="_f_c_d_object_8h.html">FCDocument/FCDObject.h</a>"</span> |
---|
| 37 | <a name="l00021"></a>00021 |
---|
| 38 | <a name="l00022"></a>00022 <span class="keyword">class </span><a class="code" href="class_f_c_document.html">FCDocument</a>; |
---|
| 39 | <a name="l00023"></a>00023 <span class="keyword">class </span><a class="code" href="class_f_c_d_animated.html">FCDAnimated</a>; |
---|
| 40 | <a name="l00024"></a>00024 <span class="keyword">class </span><a class="code" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>; |
---|
| 41 | <a name="l00025"></a>00025 <span class="keyword">class </span><a class="code" href="class_f_c_d_animation_channel.html">FCDAnimationChannel</a>; |
---|
| 42 | <a name="l00026"></a><a class="code" href="_f_c_d_animated_8h.html#fe3f146698cc45f639a50a6bf06256c1">00026</a> <span class="keyword">class </span><a class="code" href="class_f_c_d_animation_multi_curve.html">FCDAnimationMultiCurve</a>; |
---|
| 43 | <a name="l00027"></a>00027 |
---|
| 44 | <a name="l00028"></a>00028 <span class="keyword">typedef</span> <a class="code" href="classvector.html">vector<float*></a> <a class="code" href="classvector.html">FloatPtrList</a>; |
---|
| 45 | <a name="l00029"></a><a class="code" href="_f_c_d_animated_8h.html#07538fbbbc9f4f6be1de9955a18e886a">00029</a> <span class="keyword">typedef</span> <a class="code" href="classvector.html">vector<FCDAnimationCurve*></a> <a class="code" href="classvector.html">FCDAnimationCurveList</a>; |
---|
| 46 | <a name="l00030"></a><a class="code" href="_f_c_d_animated_8h.html#137756c6280e82d7cd62034b3f04e11f">00030</a> <span class="keyword">typedef</span> <a class="code" href="classvector.html">vector<FCDAnimationChannel*></a> <a class="code" href="classvector.html">FCDAnimationChannelList</a>; |
---|
| 47 | <a name="l00031"></a><a class="code" href="_f_c_d_animated_8h.html#2c80e40a522a1d6884a190349e10341a">00031</a> <span class="keyword">typedef</span> <a class="code" href="classvector.html">vector<FCDAnimated*></a> <a class="code" href="classvector.html">FCDAnimatedList</a>; |
---|
| 48 | <a name="l00048"></a><a class="code" href="class_f_c_d_animated.html">00048</a> <span class="keyword">class </span>FCOLLADA_EXPORT <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a> : <span class="keyword">public</span> <a class="code" href="class_f_c_d_object.html">FCDObject</a> |
---|
| 49 | <a name="l00049"></a>00049 { |
---|
| 50 | <a name="l00050"></a>00050 <span class="keyword">private</span>: |
---|
| 51 | <a name="l00051"></a>00051 <a class="code" href="_f_u_object_type_8h.html#8124b8a8706cd10260f8cd5a7bd8e691">DeclareObjectType</a>; |
---|
| 52 | <a name="l00052"></a>00052 |
---|
| 53 | <a name="l00053"></a>00053 <span class="keyword">protected</span>: |
---|
| 54 | <a name="l00055"></a><a class="code" href="class_f_c_d_animated.html#fa9e0b280ba2cd7c18e8454eb296e453">00055</a> <a class="code" href="classvector.html">FloatPtrList</a> values; |
---|
| 55 | <a name="l00056"></a>00056 |
---|
| 56 | <a name="l00059"></a><a class="code" href="class_f_c_d_animated.html#02ab9175d25055cd2d10d924de312490">00059</a> <a class="code" href="classvector.html">StringList</a> qualifiers; |
---|
| 57 | <a name="l00060"></a>00060 |
---|
| 58 | <a name="l00064"></a><a class="code" href="class_f_c_d_animated.html#7dbb49196db655d7098fed36cfafa496">00064</a> <a class="code" href="classvector.html">FCDAnimationCurveList</a> curves; |
---|
| 59 | <a name="l00065"></a>00065 |
---|
| 60 | <a name="l00070"></a><a class="code" href="class_f_c_d_animated.html#27daa356d592abe62b5f84871bb6fefc">00070</a> int32 arrayElement; |
---|
| 61 | <a name="l00071"></a>00071 |
---|
| 62 | <a name="l00073"></a><a class="code" href="class_f_c_d_animated.html#bcac6b60719e84a42dd471fedc65dc61">00073</a> string pointer; |
---|
| 63 | <a name="l00074"></a>00074 |
---|
| 64 | <a name="l00075"></a>00075 <span class="keyword">public</span>: |
---|
| 65 | <a name="l00080"></a>00080 <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a>(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, size_t valueCount); |
---|
| 66 | <a name="l00081"></a>00081 |
---|
| 67 | <a name="l00083"></a>00083 <span class="keyword">virtual</span> ~<a class="code" href="class_f_c_d_animated.html">FCDAnimated</a>(); |
---|
| 68 | <a name="l00084"></a>00084 |
---|
| 69 | <a name="l00087"></a><a class="code" href="class_f_c_d_animated.html#b327a9cd5a07649b00105ee399926b86">00087</a> <span class="keyword">inline</span> size_t GetValueCount()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> values.size(); } |
---|
| 70 | <a name="l00088"></a>00088 |
---|
| 71 | <a name="l00093"></a><a class="code" href="class_f_c_d_animated.html#9340983fef0aa96c293cfffbdafb48a2">00093</a> <span class="keyword">inline</span> <a class="code" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>* GetCurve(size_t index) { <a class="code" href="_f_u_assert_8h.html#72b8444eb608787f1db6bf1d53e0310f">FUAssert</a>(index < GetValueCount(), <span class="keywordflow">return</span> NULL); <span class="keywordflow">return</span> curves.at(index); } |
---|
| 72 | <a name="l00094"></a><a class="code" href="class_f_c_d_animated.html#edd51068939c5534f12f925111500689">00094</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>* GetCurve(size_t index)<span class="keyword"> const </span>{ <a class="code" href="_f_u_assert_8h.html#72b8444eb608787f1db6bf1d53e0310f">FUAssert</a>(index < GetValueCount(), <span class="keywordflow">return</span> NULL); <span class="keywordflow">return</span> curves.at(index); } |
---|
| 73 | <a name="l00099"></a><a class="code" href="class_f_c_d_animated.html#eac03e9e4603e7bd07ef15763a6c9bd1">00099</a> <span class="keyword">inline</span> <a class="code" href="classvector.html">FCDAnimationCurveList</a>& GetCurves() { <span class="keywordflow">return</span> curves; } |
---|
| 74 | <a name="l00100"></a><a class="code" href="class_f_c_d_animated.html#e2902ab3810e252b0901f8af4e1b0241">00100</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classvector.html">FCDAnimationCurveList</a>& GetCurves()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> curves; } |
---|
| 75 | <a name="l00108"></a>00108 <span class="keywordtype">bool</span> SetCurve(size_t index, <a class="code" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>* curve); |
---|
| 76 | <a name="l00109"></a>00109 |
---|
| 77 | <a name="l00114"></a>00114 <span class="keywordtype">bool</span> RemoveCurve(size_t index); |
---|
| 78 | <a name="l00115"></a>00115 |
---|
| 79 | <a name="l00120"></a><a class="code" href="class_f_c_d_animated.html#b28462e611ad8d67a601c75b74b323c5">00120</a> <span class="keyword">inline</span> <span class="keywordtype">float</span>* GetValue(size_t index) { <a class="code" href="_f_u_assert_8h.html#72b8444eb608787f1db6bf1d53e0310f">FUAssert</a>(index < GetValueCount(), <span class="keywordflow">return</span> NULL); <span class="keywordflow">return</span> values.at(index); } |
---|
| 80 | <a name="l00121"></a><a class="code" href="class_f_c_d_animated.html#121b81d9b2f509c8b4c169d41173f4df">00121</a> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">float</span>* GetValue(size_t index)<span class="keyword"> const </span>{ <a class="code" href="_f_u_assert_8h.html#72b8444eb608787f1db6bf1d53e0310f">FUAssert</a>(index < GetValueCount(), <span class="keywordflow">return</span> NULL); <span class="keywordflow">return</span> values.at(index); } |
---|
| 81 | <a name="l00127"></a>00127 <span class="keyword">inline</span> <span class="keyword">const</span> string& GetQualifier(size_t index) <span class="keyword">const</span>; |
---|
| 82 | <a name="l00128"></a>00128 |
---|
| 83 | <a name="l00133"></a>00133 <span class="keywordtype">float</span>* FindValue(<span class="keyword">const</span> string& qualifier); |
---|
| 84 | <a name="l00134"></a>00134 <span class="keyword">const</span> <span class="keywordtype">float</span>* FindValue(<span class="keyword">const</span> string& qualifier) <span class="keyword">const</span>; |
---|
| 85 | <a name="l00141"></a><a class="code" href="class_f_c_d_animated.html#431e0ae388de3bacbd7c42499f9f1405">00141</a> <span class="keyword">inline</span> <a class="code" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>* FindCurve(<span class="keyword">const</span> <span class="keywordtype">char</span>* qualifier) { <span class="keywordflow">return</span> GetCurve(FindQualifier(qualifier)); } |
---|
| 86 | <a name="l00142"></a><a class="code" href="class_f_c_d_animated.html#6afd9b73c9c634dedbad7c3d80ad6208">00142</a> <span class="keyword">inline</span> <a class="code" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>* FindCurve(<span class="keyword">const</span> string& qualifier) { <span class="keywordflow">return</span> FindCurve(qualifier.c_str()); } |
---|
| 87 | <a name="l00143"></a><a class="code" href="class_f_c_d_animated.html#7e54c3e4ef1375e0bd7911f8a6779967">00143</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>* FindCurve(<span class="keyword">const</span> <span class="keywordtype">char</span>* qualifier)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> GetCurve(FindQualifier(qualifier)); } |
---|
| 88 | <a name="l00144"></a><a class="code" href="class_f_c_d_animated.html#30f8787222b867c5e954f233745f7063">00144</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>* FindCurve(<span class="keyword">const</span> string& qualifier)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> FindCurve(qualifier.c_str()); } |
---|
| 89 | <a name="l00151"></a><a class="code" href="class_f_c_d_animated.html#3b6f378a1057bff112715a70efcbc195">00151</a> <span class="keyword">inline</span> <a class="code" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>* FindCurve(<span class="keyword">const</span> <span class="keywordtype">float</span>* value) { <span class="keywordflow">return</span> GetCurve(FindValue(value)); } |
---|
| 90 | <a name="l00152"></a><a class="code" href="class_f_c_d_animated.html#010defa487b611547292e75e955e99d5">00152</a> <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>* FindCurve(<span class="keyword">const</span> <span class="keywordtype">float</span>* value)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> GetCurve(FindValue(value)); } |
---|
| 91 | <a name="l00158"></a>00158 size_t FindQualifier(<span class="keyword">const</span> <span class="keywordtype">char</span>* qualifier) <span class="keyword">const</span>; |
---|
| 92 | <a name="l00159"></a><a class="code" href="class_f_c_d_animated.html#20b8d0d83566ef04d79ade9cecf53bc5">00159</a> <span class="keyword">inline</span> size_t FindQualifier(<span class="keyword">const</span> string& qualifier)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> FindQualifier(qualifier.c_str()); } |
---|
| 93 | <a name="l00165"></a>00165 size_t FindValue(<span class="keyword">const</span> <span class="keywordtype">float</span>* value) <span class="keyword">const</span>; |
---|
| 94 | <a name="l00166"></a>00166 |
---|
| 95 | <a name="l00172"></a><a class="code" href="class_f_c_d_animated.html#3e5c36661a7ebbceeeece5a6a5ef24a8">00172</a> <span class="keyword">inline</span> int32 GetArrayElement()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> arrayElement; } |
---|
| 96 | <a name="l00173"></a>00173 |
---|
| 97 | <a name="l00179"></a><a class="code" href="class_f_c_d_animated.html#8c9c8b720246764d0e5d5c88a55c31ff">00179</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> SetArrayElement(int32 index) { arrayElement = index; } |
---|
| 98 | <a name="l00180"></a>00180 |
---|
| 99 | <a name="l00184"></a>00184 <span class="keywordtype">bool</span> HasCurve() <span class="keyword">const</span>; |
---|
| 100 | <a name="l00185"></a>00185 |
---|
| 101 | <a name="l00190"></a>00190 <a class="code" href="class_f_c_d_animation_multi_curve.html">FCDAnimationMultiCurve</a>* CreateMultiCurve() <span class="keyword">const</span>; |
---|
| 102 | <a name="l00191"></a>00191 |
---|
| 103 | <a name="l00199"></a>00199 <span class="keyword">static</span> <a class="code" href="class_f_c_d_animation_multi_curve.html">FCDAnimationMultiCurve</a>* CreateMultiCurve(<span class="keyword">const</span> <a class="code" href="classvector.html">FCDAnimatedList</a>& toMerge); |
---|
| 104 | <a name="l00200"></a>00200 |
---|
| 105 | <a name="l00205"></a>00205 <span class="keywordtype">void</span> Evaluate(<span class="keywordtype">float</span> time); |
---|
| 106 | <a name="l00206"></a>00206 |
---|
| 107 | <a name="l00212"></a>00212 <span class="keyword">static</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a>* Clone(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <span class="keyword">const</span> <span class="keywordtype">float</span>* animatedValue, <a class="code" href="classvector.html">FloatPtrList</a>& newAnimatedValues); |
---|
| 108 | <a name="l00213"></a>00213 |
---|
| 109 | <a name="l00217"></a>00217 <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a>* Clone(<a class="code" href="class_f_c_document.html">FCDocument</a>* document); |
---|
| 110 | <a name="l00218"></a>00218 |
---|
| 111 | <a name="l00222"></a><a class="code" href="class_f_c_d_animated.html#b39f2ef8c0575eca75a51214cf0467f6">00222</a> <span class="keyword">const</span> string& GetTargetPointer()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> pointer; } |
---|
| 112 | <a name="l00223"></a>00223 |
---|
| 113 | <a name="l00230"></a>00230 <span class="keywordtype">bool</span> Link(xmlNode* node); |
---|
| 114 | <a name="l00231"></a>00231 |
---|
| 115 | <a name="l00237"></a>00237 <span class="keywordtype">bool</span> ProcessChannels(<a class="code" href="classvector.html">FCDAnimationChannelList</a>& channels); |
---|
| 116 | <a name="l00238"></a>00238 }; |
---|
| 117 | <a name="l00239"></a>00239 |
---|
| 118 | <a name="l00244"></a><a class="code" href="class_f_c_d_animated_float.html">00244</a> <span class="keyword">class </span>FCOLLADA_EXPORT FCDAnimatedFloat : <span class="keyword">public</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a> |
---|
| 119 | <a name="l00245"></a>00245 { |
---|
| 120 | <a name="l00246"></a>00246 <span class="keyword">private</span>: |
---|
| 121 | <a name="l00247"></a>00247 <a class="code" href="_f_u_object_type_8h.html#8124b8a8706cd10260f8cd5a7bd8e691">DeclareObjectType</a>; |
---|
| 122 | <a name="l00248"></a>00248 |
---|
| 123 | <a name="l00249"></a>00249 <span class="comment">// Don't build directly, use the Create function instead</span> |
---|
| 124 | <a name="l00250"></a>00250 FCDAnimatedFloat(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <span class="keywordtype">float</span>* value, int32 arrayElement); |
---|
| 125 | <a name="l00251"></a>00251 |
---|
| 126 | <a name="l00252"></a>00252 <span class="keyword">public</span>: |
---|
| 127 | <a name="l00259"></a>00259 <span class="keyword">static</span> FCDAnimatedFloat* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <span class="keywordtype">float</span>* value, int32 arrayElement=-1); |
---|
| 128 | <a name="l00260"></a>00260 |
---|
| 129 | <a name="l00269"></a>00269 <span class="keyword">static</span> FCDAnimatedFloat* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, xmlNode* node, <span class="keywordtype">float</span>* value, int32 arrayElement=-1); |
---|
| 130 | <a name="l00270"></a>00270 |
---|
| 131 | <a name="l00276"></a>00276 <span class="keyword">static</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a>* <a class="code" href="class_f_c_d_animated.html#0d908c355cff169e03603bd9035d2ad1">Clone</a>(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <span class="keyword">const</span> <span class="keywordtype">float</span>* oldValue, <span class="keywordtype">float</span>* newValue); |
---|
| 132 | <a name="l00277"></a>00277 }; |
---|
| 133 | <a name="l00278"></a>00278 |
---|
| 134 | <a name="l00281"></a><a class="code" href="class_f_c_d_animated_point3.html">00281</a> <span class="keyword">class </span>FCOLLADA_EXPORT FCDAnimatedPoint3 : <span class="keyword">public</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a> |
---|
| 135 | <a name="l00282"></a>00282 { |
---|
| 136 | <a name="l00283"></a>00283 <span class="keyword">private</span>: |
---|
| 137 | <a name="l00284"></a>00284 <a class="code" href="_f_u_object_type_8h.html#8124b8a8706cd10260f8cd5a7bd8e691">DeclareObjectType</a>; |
---|
| 138 | <a name="l00285"></a>00285 |
---|
| 139 | <a name="l00286"></a>00286 <span class="comment">// Don't build directly, use the Create function instead</span> |
---|
| 140 | <a name="l00287"></a>00287 FCDAnimatedPoint3(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <a class="code" href="class_f_m_vector3.html">FMVector3</a>* value, int32 arrayElement); |
---|
| 141 | <a name="l00288"></a>00288 |
---|
| 142 | <a name="l00289"></a>00289 <span class="keyword">public</span>: |
---|
| 143 | <a name="l00296"></a>00296 <span class="keyword">static</span> FCDAnimatedPoint3* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <a class="code" href="class_f_m_vector3.html">FMVector3</a>* value, int32 arrayElement=-1); |
---|
| 144 | <a name="l00297"></a>00297 |
---|
| 145 | <a name="l00306"></a>00306 <span class="keyword">static</span> FCDAnimatedPoint3* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, xmlNode* node, <a class="code" href="class_f_m_vector3.html">FMVector3</a>* value, int32 arrayElement=-1); |
---|
| 146 | <a name="l00307"></a>00307 |
---|
| 147 | <a name="l00313"></a>00313 <span class="keyword">static</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a>* <a class="code" href="class_f_c_d_animated.html#0d908c355cff169e03603bd9035d2ad1">Clone</a>(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <span class="keyword">const</span> <a class="code" href="class_f_m_vector3.html">FMVector3</a>* oldValue, <a class="code" href="class_f_m_vector3.html">FMVector3</a>* newValue); |
---|
| 148 | <a name="l00314"></a>00314 }; |
---|
| 149 | <a name="l00315"></a>00315 |
---|
| 150 | <a name="l00318"></a><a class="code" href="class_f_c_d_animated_color.html">00318</a> <span class="keyword">class </span>FCOLLADA_EXPORT FCDAnimatedColor : <span class="keyword">public</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a> |
---|
| 151 | <a name="l00319"></a>00319 { |
---|
| 152 | <a name="l00320"></a>00320 <span class="keyword">private</span>: |
---|
| 153 | <a name="l00321"></a>00321 <a class="code" href="_f_u_object_type_8h.html#8124b8a8706cd10260f8cd5a7bd8e691">DeclareObjectType</a>; |
---|
| 154 | <a name="l00322"></a>00322 |
---|
| 155 | <a name="l00323"></a>00323 <span class="comment">// Don't build directly, use the Create function instead</span> |
---|
| 156 | <a name="l00324"></a>00324 FCDAnimatedColor(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <a class="code" href="class_f_m_vector3.html">FMVector3</a>* value, int32 arrayElement); |
---|
| 157 | <a name="l00325"></a>00325 |
---|
| 158 | <a name="l00326"></a>00326 <span class="keyword">public</span>: |
---|
| 159 | <a name="l00333"></a>00333 <span class="keyword">static</span> FCDAnimatedColor* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <a class="code" href="class_f_m_vector3.html">FMVector3</a>* value, int32 arrayElement=-1); |
---|
| 160 | <a name="l00334"></a>00334 |
---|
| 161 | <a name="l00343"></a>00343 <span class="keyword">static</span> FCDAnimatedColor* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, xmlNode* node, <a class="code" href="class_f_m_vector3.html">FMVector3</a>* value, int32 arrayElement=-1); |
---|
| 162 | <a name="l00344"></a>00344 |
---|
| 163 | <a name="l00350"></a>00350 <span class="keyword">static</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a>* <a class="code" href="class_f_c_d_animated.html#0d908c355cff169e03603bd9035d2ad1">Clone</a>(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <span class="keyword">const</span> <a class="code" href="class_f_m_vector3.html">FMVector3</a>* oldValue, <a class="code" href="class_f_m_vector3.html">FMVector3</a>* newValue); |
---|
| 164 | <a name="l00351"></a>00351 }; |
---|
| 165 | <a name="l00352"></a>00352 |
---|
| 166 | <a name="l00355"></a><a class="code" href="class_f_c_d_animated_angle.html">00355</a> <span class="keyword">class </span>FCOLLADA_EXPORT FCDAnimatedAngle : <span class="keyword">public</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a> |
---|
| 167 | <a name="l00356"></a>00356 { |
---|
| 168 | <a name="l00357"></a>00357 <span class="keyword">private</span>: |
---|
| 169 | <a name="l00358"></a>00358 <a class="code" href="_f_u_object_type_8h.html#8124b8a8706cd10260f8cd5a7bd8e691">DeclareObjectType</a>; |
---|
| 170 | <a name="l00359"></a>00359 |
---|
| 171 | <a name="l00360"></a>00360 <span class="comment">// Don't build directly, use the Create function instead</span> |
---|
| 172 | <a name="l00361"></a>00361 FCDAnimatedAngle(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <span class="keywordtype">float</span>* value, int32 arrayElement); |
---|
| 173 | <a name="l00362"></a>00362 |
---|
| 174 | <a name="l00363"></a>00363 <span class="keyword">public</span>: |
---|
| 175 | <a name="l00370"></a>00370 <span class="keyword">static</span> FCDAnimatedAngle* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <span class="keywordtype">float</span>* value, int32 arrayElement=-1); |
---|
| 176 | <a name="l00371"></a>00371 |
---|
| 177 | <a name="l00380"></a>00380 <span class="keyword">static</span> FCDAnimatedAngle* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, xmlNode* node, <span class="keywordtype">float</span>* value, int32 arrayElement=-1); |
---|
| 178 | <a name="l00381"></a>00381 |
---|
| 179 | <a name="l00387"></a>00387 <span class="keyword">static</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a>* <a class="code" href="class_f_c_d_animated.html#0d908c355cff169e03603bd9035d2ad1">Clone</a>(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <span class="keyword">const</span> <span class="keywordtype">float</span>* oldValue, <span class="keywordtype">float</span>* newValue); |
---|
| 180 | <a name="l00388"></a>00388 }; |
---|
| 181 | <a name="l00389"></a>00389 |
---|
| 182 | <a name="l00394"></a><a class="code" href="class_f_c_d_animated_angle_axis.html">00394</a> <span class="keyword">class </span>FCOLLADA_EXPORT FCDAnimatedAngleAxis : <span class="keyword">public</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a> |
---|
| 183 | <a name="l00395"></a>00395 { |
---|
| 184 | <a name="l00396"></a>00396 <span class="keyword">private</span>: |
---|
| 185 | <a name="l00397"></a>00397 <a class="code" href="_f_u_object_type_8h.html#8124b8a8706cd10260f8cd5a7bd8e691">DeclareObjectType</a>; |
---|
| 186 | <a name="l00398"></a>00398 |
---|
| 187 | <a name="l00399"></a>00399 <span class="comment">// Don't build directly, use the Create function instead</span> |
---|
| 188 | <a name="l00400"></a>00400 FCDAnimatedAngleAxis(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <a class="code" href="class_f_m_vector3.html">FMVector3</a>* axis, <span class="keywordtype">float</span>* angle, int32 arrayElement); |
---|
| 189 | <a name="l00401"></a>00401 |
---|
| 190 | <a name="l00402"></a>00402 <span class="keyword">public</span>: |
---|
| 191 | <a name="l00410"></a>00410 <span class="keyword">static</span> FCDAnimatedAngleAxis* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <a class="code" href="class_f_m_vector3.html">FMVector3</a>* value, <span class="keywordtype">float</span>* angle, int32 arrayElement=-1); |
---|
| 192 | <a name="l00411"></a>00411 |
---|
| 193 | <a name="l00421"></a>00421 <span class="keyword">static</span> FCDAnimatedAngleAxis* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, xmlNode* node, <a class="code" href="class_f_m_vector3.html">FMVector3</a>* axis, <span class="keywordtype">float</span>* angle, int32 arrayElement=-1); |
---|
| 194 | <a name="l00422"></a>00422 |
---|
| 195 | <a name="l00429"></a>00429 <span class="keyword">static</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a>* <a class="code" href="class_f_c_d_animated.html#0d908c355cff169e03603bd9035d2ad1">Clone</a>(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <span class="keyword">const</span> <span class="keywordtype">float</span>* oldAngle, <a class="code" href="class_f_m_vector3.html">FMVector3</a>* newAxis, <span class="keywordtype">float</span>* newAngle); |
---|
| 196 | <a name="l00430"></a>00430 }; |
---|
| 197 | <a name="l00431"></a>00431 |
---|
| 198 | <a name="l00435"></a><a class="code" href="class_f_c_d_animated_matrix.html">00435</a> <span class="keyword">class </span>FCOLLADA_EXPORT FCDAnimatedMatrix : <span class="keyword">public</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a> |
---|
| 199 | <a name="l00436"></a>00436 { |
---|
| 200 | <a name="l00437"></a>00437 <span class="keyword">private</span>: |
---|
| 201 | <a name="l00438"></a>00438 <a class="code" href="_f_u_object_type_8h.html#8124b8a8706cd10260f8cd5a7bd8e691">DeclareObjectType</a>; |
---|
| 202 | <a name="l00439"></a>00439 |
---|
| 203 | <a name="l00440"></a>00440 <span class="comment">// Don't build directly, use the Create function instead</span> |
---|
| 204 | <a name="l00441"></a>00441 FCDAnimatedMatrix(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>* value, int32 arrayElement); |
---|
| 205 | <a name="l00442"></a>00442 |
---|
| 206 | <a name="l00443"></a>00443 <span class="keyword">public</span>: |
---|
| 207 | <a name="l00450"></a>00450 <span class="keyword">static</span> FCDAnimatedMatrix* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>* value, int32 arrayElement=-1); |
---|
| 208 | <a name="l00451"></a>00451 |
---|
| 209 | <a name="l00460"></a>00460 <span class="keyword">static</span> FCDAnimatedMatrix* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, xmlNode* node, <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>* value, int32 arrayElement=-1); |
---|
| 210 | <a name="l00461"></a>00461 |
---|
| 211 | <a name="l00467"></a>00467 <span class="keyword">static</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a>* <a class="code" href="class_f_c_d_animated.html#0d908c355cff169e03603bd9035d2ad1">Clone</a>(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, <span class="keyword">const</span> <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>* oldMx, <a class="code" href="class_f_m_matrix44.html">FMMatrix44</a>* newMx); |
---|
| 212 | <a name="l00468"></a>00468 }; |
---|
| 213 | <a name="l00469"></a>00469 |
---|
| 214 | <a name="l00474"></a><a class="code" href="class_f_c_d_animated_custom.html">00474</a> <span class="keyword">class </span>FCOLLADA_EXPORT FCDAnimatedCustom : <span class="keyword">public</span> <a class="code" href="class_f_c_d_animated.html">FCDAnimated</a> |
---|
| 215 | <a name="l00475"></a>00475 { |
---|
| 216 | <a name="l00476"></a>00476 <span class="keyword">private</span>: |
---|
| 217 | <a name="l00477"></a>00477 <a class="code" href="_f_u_object_type_8h.html#8124b8a8706cd10260f8cd5a7bd8e691">DeclareObjectType</a>; |
---|
| 218 | <a name="l00478"></a>00478 <span class="keywordtype">float</span> dummy; |
---|
| 219 | <a name="l00479"></a>00479 |
---|
| 220 | <a name="l00480"></a>00480 <span class="comment">// Don't build directly, use the Create function instead</span> |
---|
| 221 | <a name="l00481"></a>00481 FCDAnimatedCustom(<a class="code" href="class_f_c_document.html">FCDocument</a>* document); |
---|
| 222 | <a name="l00482"></a>00482 |
---|
| 223 | <a name="l00483"></a>00483 <span class="keywordtype">bool</span> <a class="code" href="class_f_c_d_animated.html#07ca488d64d111a93a689527f107cf84">Link</a>(xmlNode* node); |
---|
| 224 | <a name="l00484"></a>00484 |
---|
| 225 | <a name="l00485"></a>00485 <span class="keyword">public</span>: |
---|
| 226 | <a name="l00489"></a>00489 <span class="keyword">static</span> FCDAnimatedCustom* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document); |
---|
| 227 | <a name="l00490"></a>00490 |
---|
| 228 | <a name="l00496"></a>00496 <span class="keyword">static</span> FCDAnimatedCustom* Create(<a class="code" href="class_f_c_document.html">FCDocument</a>* document, xmlNode* node); |
---|
| 229 | <a name="l00497"></a>00497 |
---|
| 230 | <a name="l00500"></a><a class="code" href="class_f_c_d_animated_custom.html#e2e70908717bea35adcb50162066ee97">00500</a> <span class="keyword">const</span> <span class="keywordtype">float</span>& GetDummy()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> dummy; } |
---|
| 231 | <a name="l00501"></a>00501 }; |
---|
| 232 | <a name="l00502"></a>00502 |
---|
| 233 | <a name="l00503"></a>00503 <span class="preprocessor">#endif // _FCD_ANIMATED_H_</span> |
---|
| 234 | <a name="l00504"></a>00504 <span class="preprocessor"></span> |
---|
| 235 | </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:38 2006 for FCollada by |
---|
| 236 | <a href="http://www.doxygen.org/index.html"> |
---|
| 237 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address> |
---|
| 238 | </body> |
---|
| 239 | </html> |
---|