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: FCDAnimated 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>FCDAnimated 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="FCDAnimated" --><!-- doxytag: inherits="FCDObject" -->An animated element. |
---|
28 | <a href="#_details">More...</a> |
---|
29 | <p> |
---|
30 | <code>#include <<a class="el" href="_f_c_d_animated_8h-source.html">FCDAnimated.h</a>></code> |
---|
31 | <p> |
---|
32 | <p>Inheritance diagram for FCDAnimated: |
---|
33 | <p><center><img src="class_f_c_d_animated.png" usemap="#FCDAnimated_map" border="0" alt=""></center> |
---|
34 | <map name="FCDAnimated_map"> |
---|
35 | <area href="class_f_c_d_object.html" alt="FCDObject" shape="rect" coords="471,56,618,80"> |
---|
36 | <area href="class_f_u_object.html" alt="FUObject" shape="rect" coords="471,0,618,24"> |
---|
37 | <area href="class_f_c_d_animated_angle.html" alt="FCDAnimatedAngle" shape="rect" coords="0,168,147,192"> |
---|
38 | <area href="class_f_c_d_animated_angle_axis.html" alt="FCDAnimatedAngleAxis" shape="rect" coords="157,168,304,192"> |
---|
39 | <area href="class_f_c_d_animated_color.html" alt="FCDAnimatedColor" shape="rect" coords="314,168,461,192"> |
---|
40 | <area href="class_f_c_d_animated_custom.html" alt="FCDAnimatedCustom" shape="rect" coords="471,168,618,192"> |
---|
41 | <area href="class_f_c_d_animated_float.html" alt="FCDAnimatedFloat" shape="rect" coords="628,168,775,192"> |
---|
42 | <area href="class_f_c_d_animated_matrix.html" alt="FCDAnimatedMatrix" shape="rect" coords="785,168,932,192"> |
---|
43 | <area href="class_f_c_d_animated_point3.html" alt="FCDAnimatedPoint3" shape="rect" coords="942,168,1089,192"> |
---|
44 | </map> |
---|
45 | <a href="class_f_c_d_animated-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
46 | <tr><td></td></tr> |
---|
47 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
48 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#8356ef8bc47bf879e35ccc69366a9379">FCDAnimated</a> (<a class="el" href="class_f_c_document.html">FCDocument</a> *document, size_t valueCount)</td></tr> |
---|
49 | |
---|
50 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#8356ef8bc47bf879e35ccc69366a9379"></a><br></td></tr> |
---|
51 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a32151098be86b4d81f3f2c4b7f5d904"></a><!-- doxytag: member="FCDAnimated::~FCDAnimated" ref="a32151098be86b4d81f3f2c4b7f5d904" args="()" --> |
---|
52 | virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#a32151098be86b4d81f3f2c4b7f5d904">~FCDAnimated</a> ()</td></tr> |
---|
53 | |
---|
54 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr> |
---|
55 | <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#b327a9cd5a07649b00105ee399926b86">GetValueCount</a> () const </td></tr> |
---|
56 | |
---|
57 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the number of values contained within this animated element. <a href="#b327a9cd5a07649b00105ee399926b86"></a><br></td></tr> |
---|
58 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#9340983fef0aa96c293cfffbdafb48a2">GetCurve</a> (size_t index)</td></tr> |
---|
59 | |
---|
60 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the animation curve affecting the value of an animated element. <a href="#9340983fef0aa96c293cfffbdafb48a2"></a><br></td></tr> |
---|
61 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="edd51068939c5534f12f925111500689"></a><!-- doxytag: member="FCDAnimated::GetCurve" ref="edd51068939c5534f12f925111500689" args="(size_t index) const " --> |
---|
62 | const <a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#edd51068939c5534f12f925111500689">GetCurve</a> (size_t index) const </td></tr> |
---|
63 | |
---|
64 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
65 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">FCDAnimationCurveList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#eac03e9e4603e7bd07ef15763a6c9bd1">GetCurves</a> ()</td></tr> |
---|
66 | |
---|
67 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the list of the curves affecting the values of an animated element. <a href="#eac03e9e4603e7bd07ef15763a6c9bd1"></a><br></td></tr> |
---|
68 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e2902ab3810e252b0901f8af4e1b0241"></a><!-- doxytag: member="FCDAnimated::GetCurves" ref="e2902ab3810e252b0901f8af4e1b0241" args="() const " --> |
---|
69 | const <a class="el" href="classvector.html">FCDAnimationCurveList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#e2902ab3810e252b0901f8af4e1b0241">GetCurves</a> () const </td></tr> |
---|
70 | |
---|
71 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
72 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#b752369d25f8f4085e952e6f5f62c714">SetCurve</a> (size_t index, <a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a> *curve)</td></tr> |
---|
73 | |
---|
74 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assigns a curve to a value of the animated element. <a href="#b752369d25f8f4085e952e6f5f62c714"></a><br></td></tr> |
---|
75 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#ca4a4bcb2f4a4e4300dd3a49a97d210b">RemoveCurve</a> (size_t index)</td></tr> |
---|
76 | |
---|
77 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes the curve affecting a value of the animated element. <a href="#ca4a4bcb2f4a4e4300dd3a49a97d210b"></a><br></td></tr> |
---|
78 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#b28462e611ad8d67a601c75b74b323c5">GetValue</a> (size_t index)</td></tr> |
---|
79 | |
---|
80 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the value of an animated element. <a href="#b28462e611ad8d67a601c75b74b323c5"></a><br></td></tr> |
---|
81 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="121b81d9b2f509c8b4c169d41173f4df"></a><!-- doxytag: member="FCDAnimated::GetValue" ref="121b81d9b2f509c8b4c169d41173f4df" args="(size_t index) const " --> |
---|
82 | const float * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#121b81d9b2f509c8b4c169d41173f4df">GetValue</a> (size_t index) const </td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
85 | <tr><td class="memItemLeft" nowrap align="right" valign="top">const string & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#ac21c80a949083cfbdfa4b6daba6603a">GetQualifier</a> (size_t index) const </td></tr> |
---|
86 | |
---|
87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the qualifier of the value of an animated element. <a href="#ac21c80a949083cfbdfa4b6daba6603a"></a><br></td></tr> |
---|
88 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#ba4e4f31506ad8f6d97103005455705c">FindValue</a> (const string &qualifier)</td></tr> |
---|
89 | |
---|
90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves an animated value given a valid qualifier. <a href="#ba4e4f31506ad8f6d97103005455705c"></a><br></td></tr> |
---|
91 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5333c210fd89e66ef2bf18956cb56429"></a><!-- doxytag: member="FCDAnimated::FindValue" ref="5333c210fd89e66ef2bf18956cb56429" args="(const string &qualifier) const " --> |
---|
92 | const float * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#5333c210fd89e66ef2bf18956cb56429">FindValue</a> (const string &qualifier) const </td></tr> |
---|
93 | |
---|
94 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
95 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#431e0ae388de3bacbd7c42499f9f1405">FindCurve</a> (const char *qualifier)</td></tr> |
---|
96 | |
---|
97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves an animation curve given a valid qualifier. <a href="#431e0ae388de3bacbd7c42499f9f1405"></a><br></td></tr> |
---|
98 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6afd9b73c9c634dedbad7c3d80ad6208"></a><!-- doxytag: member="FCDAnimated::FindCurve" ref="6afd9b73c9c634dedbad7c3d80ad6208" args="(const string &qualifier)" --> |
---|
99 | <a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#6afd9b73c9c634dedbad7c3d80ad6208">FindCurve</a> (const string &qualifier)</td></tr> |
---|
100 | |
---|
101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7e54c3e4ef1375e0bd7911f8a6779967"></a><!-- doxytag: member="FCDAnimated::FindCurve" ref="7e54c3e4ef1375e0bd7911f8a6779967" args="(const char *qualifier) const " --> |
---|
103 | const <a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#7e54c3e4ef1375e0bd7911f8a6779967">FindCurve</a> (const char *qualifier) const </td></tr> |
---|
104 | |
---|
105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
106 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30f8787222b867c5e954f233745f7063"></a><!-- doxytag: member="FCDAnimated::FindCurve" ref="30f8787222b867c5e954f233745f7063" args="(const string &qualifier) const " --> |
---|
107 | const <a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#30f8787222b867c5e954f233745f7063">FindCurve</a> (const string &qualifier) const </td></tr> |
---|
108 | |
---|
109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
110 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#3b6f378a1057bff112715a70efcbc195">FindCurve</a> (const float *value)</td></tr> |
---|
111 | |
---|
112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves an animation curve given a value pointer. <a href="#3b6f378a1057bff112715a70efcbc195"></a><br></td></tr> |
---|
113 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="010defa487b611547292e75e955e99d5"></a><!-- doxytag: member="FCDAnimated::FindCurve" ref="010defa487b611547292e75e955e99d5" args="(const float *value) const " --> |
---|
114 | const <a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#010defa487b611547292e75e955e99d5">FindCurve</a> (const float *value) const </td></tr> |
---|
115 | |
---|
116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
117 | <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#bc95fade652f7cb561363a2f572a6783">FindQualifier</a> (const char *qualifier) const </td></tr> |
---|
118 | |
---|
119 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the value index for a given qualifier. <a href="#bc95fade652f7cb561363a2f572a6783"></a><br></td></tr> |
---|
120 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="20b8d0d83566ef04d79ade9cecf53bc5"></a><!-- doxytag: member="FCDAnimated::FindQualifier" ref="20b8d0d83566ef04d79ade9cecf53bc5" args="(const string &qualifier) const " --> |
---|
121 | size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#20b8d0d83566ef04d79ade9cecf53bc5">FindQualifier</a> (const string &qualifier) const </td></tr> |
---|
122 | |
---|
123 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
124 | <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#596cb5706f21ec11a38a21cd08d0b593">FindValue</a> (const float *value) const </td></tr> |
---|
125 | |
---|
126 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the value index for a given value pointer. <a href="#596cb5706f21ec11a38a21cd08d0b593"></a><br></td></tr> |
---|
127 | <tr><td class="memItemLeft" nowrap align="right" valign="top">int32 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#3e5c36661a7ebbceeeece5a6a5ef24a8">GetArrayElement</a> () const </td></tr> |
---|
128 | |
---|
129 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the array index for an animated element. <a href="#3e5c36661a7ebbceeeece5a6a5ef24a8"></a><br></td></tr> |
---|
130 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#8c9c8b720246764d0e5d5c88a55c31ff">SetArrayElement</a> (int32 index)</td></tr> |
---|
131 | |
---|
132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the array index for an animated element. <a href="#8c9c8b720246764d0e5d5c88a55c31ff"></a><br></td></tr> |
---|
133 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#2e475c6ce1890734b8b9bc5226b79b6a">HasCurve</a> () const </td></tr> |
---|
134 | |
---|
135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether this animated element has any animation curves affecting its values. <a href="#2e475c6ce1890734b8b9bc5226b79b6a"></a><br></td></tr> |
---|
136 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_animation_multi_curve.html">FCDAnimationMultiCurve</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#6569ea2afa62222130f4da496afd9b6a">CreateMultiCurve</a> () const </td></tr> |
---|
137 | |
---|
138 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates one multi-dimensional animation curve from this animated element. <a href="#6569ea2afa62222130f4da496afd9b6a"></a><br></td></tr> |
---|
139 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#1bd0b6deb59cc5343aba007c9f5eae0c">Evaluate</a> (float time)</td></tr> |
---|
140 | |
---|
141 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates the animated element at a given time. <a href="#1bd0b6deb59cc5343aba007c9f5eae0c"></a><br></td></tr> |
---|
142 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><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_animated.html#bb98429fc11a64e1a6dc265bed6e3d98">Clone</a> (<a class="el" href="class_f_c_document.html">FCDocument</a> *document)</td></tr> |
---|
143 | |
---|
144 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Clones an animated element. <a href="#bb98429fc11a64e1a6dc265bed6e3d98"></a><br></td></tr> |
---|
145 | <tr><td class="memItemLeft" nowrap align="right" valign="top">const string & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#b39f2ef8c0575eca75a51214cf0467f6">GetTargetPointer</a> () const </td></tr> |
---|
146 | |
---|
147 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Retrieves the target pointer that prefixes the fully-qualified target for the element. <a href="#b39f2ef8c0575eca75a51214cf0467f6"></a><br></td></tr> |
---|
148 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#07ca488d64d111a93a689527f107cf84">Link</a> (xmlNode *node)</td></tr> |
---|
149 | |
---|
150 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Links this animated element with a given XML tree node. <a href="#07ca488d64d111a93a689527f107cf84"></a><br></td></tr> |
---|
151 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#db5d67651c131bab64c4714f0c605ce9">ProcessChannels</a> (<a class="el" href="classvector.html">FCDAnimationChannelList</a> &channels)</td></tr> |
---|
152 | |
---|
153 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Links the animated element with the imported animation curves. <a href="#db5d67651c131bab64c4714f0c605ce9"></a><br></td></tr> |
---|
154 | <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> |
---|
155 | <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_f_c_d_animation_multi_curve.html">FCDAnimationMultiCurve</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#6917ca6b86aa6786d4990df54871ce49">CreateMultiCurve</a> (const <a class="el" href="classvector.html">FCDAnimatedList</a> &toMerge)</td></tr> |
---|
156 | |
---|
157 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates one multi-dimensional animation curve from a list of animated element. <a href="#6917ca6b86aa6786d4990df54871ce49"></a><br></td></tr> |
---|
158 | <tr><td class="memItemLeft" nowrap align="right" valign="top">static <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_animated.html#0d908c355cff169e03603bd9035d2ad1">Clone</a> (<a class="el" href="class_f_c_document.html">FCDocument</a> *document, const float *animatedValue, <a class="el" href="classvector.html">FloatPtrList</a> &newAnimatedValues)</td></tr> |
---|
159 | |
---|
160 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Clones an animated element. <a href="#0d908c355cff169e03603bd9035d2ad1"></a><br></td></tr> |
---|
161 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
162 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fa9e0b280ba2cd7c18e8454eb296e453"></a><!-- doxytag: member="FCDAnimated::values" ref="fa9e0b280ba2cd7c18e8454eb296e453" args="" --> |
---|
163 | <a class="el" href="classvector.html">FloatPtrList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#fa9e0b280ba2cd7c18e8454eb296e453">values</a></td></tr> |
---|
164 | |
---|
165 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The list of value pointers. <br></td></tr> |
---|
166 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">StringList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#02ab9175d25055cd2d10d924de312490">qualifiers</a></td></tr> |
---|
167 | |
---|
168 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The list of target qualifiers. <a href="#02ab9175d25055cd2d10d924de312490"></a><br></td></tr> |
---|
169 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">FCDAnimationCurveList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#7dbb49196db655d7098fed36cfafa496">curves</a></td></tr> |
---|
170 | |
---|
171 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The list of animation curves. <a href="#7dbb49196db655d7098fed36cfafa496"></a><br></td></tr> |
---|
172 | <tr><td class="memItemLeft" nowrap align="right" valign="top">int32 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#27daa356d592abe62b5f84871bb6fefc">arrayElement</a></td></tr> |
---|
173 | |
---|
174 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The array index for animated element that belong to a list of animated elements. <a href="#27daa356d592abe62b5f84871bb6fefc"></a><br></td></tr> |
---|
175 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bcac6b60719e84a42dd471fedc65dc61"></a><!-- doxytag: member="FCDAnimated::pointer" ref="bcac6b60719e84a42dd471fedc65dc61" args="" --> |
---|
176 | string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_animated.html#bcac6b60719e84a42dd471fedc65dc61">pointer</a></td></tr> |
---|
177 | |
---|
178 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] The target pointer prefix. <br></td></tr> |
---|
179 | </table> |
---|
180 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
181 | An animated element. |
---|
182 | <p> |
---|
183 | An animated element encapsulates a set of floating-point values that are marked as animated.<p> |
---|
184 | For this purpose, an animated element holds a list of floating-point values, their animation curves and their COLLADA qualifiers for the generation of COLLADA targets. For animated list elements, an animated element holds an array index.<p> |
---|
185 | There are many classes built on top of this class. They represent the different element types that may be animated, such as 3D points, colors and matrices. |
---|
186 | <p> |
---|
187 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
188 | <a class="anchor" name="8356ef8bc47bf879e35ccc69366a9379"></a><!-- doxytag: member="FCDAnimated::FCDAnimated" ref="8356ef8bc47bf879e35ccc69366a9379" args="(FCDocument *document, size_t valueCount)" --><p> |
---|
189 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
190 | <tr> |
---|
191 | <td class="mdRow"> |
---|
192 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
193 | <tr> |
---|
194 | <td class="md" nowrap valign="top">FCDAnimated::FCDAnimated </td> |
---|
195 | <td class="md" valign="top">( </td> |
---|
196 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_document.html">FCDocument</a> * </td> |
---|
197 | <td class="mdname" nowrap> <em>document</em>, </td> |
---|
198 | </tr> |
---|
199 | <tr> |
---|
200 | <td class="md" nowrap align="right"></td> |
---|
201 | <td class="md"></td> |
---|
202 | <td class="md" nowrap>size_t </td> |
---|
203 | <td class="mdname" nowrap> <em>valueCount</em></td> |
---|
204 | </tr> |
---|
205 | <tr> |
---|
206 | <td class="md"></td> |
---|
207 | <td class="md">) </td> |
---|
208 | <td class="md" colspan="2"></td> |
---|
209 | </tr> |
---|
210 | </table> |
---|
211 | </td> |
---|
212 | </tr> |
---|
213 | </table> |
---|
214 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
215 | <tr> |
---|
216 | <td> |
---|
217 | |
---|
218 | </td> |
---|
219 | <td> |
---|
220 | |
---|
221 | <p> |
---|
222 | Constructor. |
---|
223 | <p> |
---|
224 | In most cases, it is preferable to create objects of the up-classes. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
225 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
226 | <tr><td valign="top"></td><td valign="top"><em>document</em> </td><td>The COLLADA document that owns this animated element. </td></tr> |
---|
227 | <tr><td valign="top"></td><td valign="top"><em>valueCount</em> </td><td>The number of values inside the animated element. </td></tr> |
---|
228 | </table> |
---|
229 | </dl> |
---|
230 | </td> |
---|
231 | </tr> |
---|
232 | </table> |
---|
233 | <hr><h2>Member Function Documentation</h2> |
---|
234 | <a class="anchor" name="bb98429fc11a64e1a6dc265bed6e3d98"></a><!-- doxytag: member="FCDAnimated::Clone" ref="bb98429fc11a64e1a6dc265bed6e3d98" args="(FCDocument *document)" --><p> |
---|
235 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
236 | <tr> |
---|
237 | <td class="mdRow"> |
---|
238 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
239 | <tr> |
---|
240 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_animated.html">FCDAnimated</a>* FCDAnimated::Clone </td> |
---|
241 | <td class="md" valign="top">( </td> |
---|
242 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_document.html">FCDocument</a> * </td> |
---|
243 | <td class="mdname1" valign="top" nowrap> <em>document</em> </td> |
---|
244 | <td class="md" valign="top"> ) </td> |
---|
245 | <td class="md" nowrap></td> |
---|
246 | </tr> |
---|
247 | </table> |
---|
248 | </td> |
---|
249 | </tr> |
---|
250 | </table> |
---|
251 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
252 | <tr> |
---|
253 | <td> |
---|
254 | |
---|
255 | </td> |
---|
256 | <td> |
---|
257 | |
---|
258 | <p> |
---|
259 | [INTERNAL] Clones an animated element. |
---|
260 | <p> |
---|
261 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
262 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
263 | <tr><td valign="top"></td><td valign="top"><em>document</em> </td><td>The COLLADA document that owns the cloned animated element. </td></tr> |
---|
264 | </table> |
---|
265 | </dl> |
---|
266 | <dl compact><dt><b>Returns:</b></dt><dd>The cloned animated element. </dd></dl> |
---|
267 | </td> |
---|
268 | </tr> |
---|
269 | </table> |
---|
270 | <a class="anchor" name="0d908c355cff169e03603bd9035d2ad1"></a><!-- doxytag: member="FCDAnimated::Clone" ref="0d908c355cff169e03603bd9035d2ad1" args="(FCDocument *document, const float *animatedValue, FloatPtrList &newAnimatedValues)" --><p> |
---|
271 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
272 | <tr> |
---|
273 | <td class="mdRow"> |
---|
274 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
275 | <tr> |
---|
276 | <td class="md" nowrap valign="top">static <a class="el" href="class_f_c_d_animated.html">FCDAnimated</a>* FCDAnimated::Clone </td> |
---|
277 | <td class="md" valign="top">( </td> |
---|
278 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_document.html">FCDocument</a> * </td> |
---|
279 | <td class="mdname" nowrap> <em>document</em>, </td> |
---|
280 | </tr> |
---|
281 | <tr> |
---|
282 | <td class="md" nowrap align="right"></td> |
---|
283 | <td class="md"></td> |
---|
284 | <td class="md" nowrap>const float * </td> |
---|
285 | <td class="mdname" nowrap> <em>animatedValue</em>, </td> |
---|
286 | </tr> |
---|
287 | <tr> |
---|
288 | <td class="md" nowrap align="right"></td> |
---|
289 | <td class="md"></td> |
---|
290 | <td class="md" nowrap><a class="el" href="classvector.html">FloatPtrList</a> & </td> |
---|
291 | <td class="mdname" nowrap> <em>newAnimatedValues</em></td> |
---|
292 | </tr> |
---|
293 | <tr> |
---|
294 | <td class="md"></td> |
---|
295 | <td class="md">) </td> |
---|
296 | <td class="md" colspan="2"><code> [static]</code></td> |
---|
297 | </tr> |
---|
298 | </table> |
---|
299 | </td> |
---|
300 | </tr> |
---|
301 | </table> |
---|
302 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
303 | <tr> |
---|
304 | <td> |
---|
305 | |
---|
306 | </td> |
---|
307 | <td> |
---|
308 | |
---|
309 | <p> |
---|
310 | [INTERNAL] Clones an animated element. |
---|
311 | <p> |
---|
312 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
313 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
314 | <tr><td valign="top"></td><td valign="top"><em>document</em> </td><td>The COLLADA document that owns the cloned animated element. </td></tr> |
---|
315 | <tr><td valign="top"></td><td valign="top"><em>animatedValue</em> </td><td>One animated value contained within the original animated element. </td></tr> |
---|
316 | <tr><td valign="top"></td><td valign="top"><em>newAnimatedValues</em> </td><td>The list of value pointers to be contained by the cloned animated element. </td></tr> |
---|
317 | </table> |
---|
318 | </dl> |
---|
319 | <dl compact><dt><b>Returns:</b></dt><dd>The cloned animated element. </dd></dl> |
---|
320 | </td> |
---|
321 | </tr> |
---|
322 | </table> |
---|
323 | <a class="anchor" name="6917ca6b86aa6786d4990df54871ce49"></a><!-- doxytag: member="FCDAnimated::CreateMultiCurve" ref="6917ca6b86aa6786d4990df54871ce49" args="(const FCDAnimatedList &toMerge)" --><p> |
---|
324 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
325 | <tr> |
---|
326 | <td class="mdRow"> |
---|
327 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
328 | <tr> |
---|
329 | <td class="md" nowrap valign="top">static <a class="el" href="class_f_c_d_animation_multi_curve.html">FCDAnimationMultiCurve</a>* FCDAnimated::CreateMultiCurve </td> |
---|
330 | <td class="md" valign="top">( </td> |
---|
331 | <td class="md" nowrap valign="top">const <a class="el" href="classvector.html">FCDAnimatedList</a> & </td> |
---|
332 | <td class="mdname1" valign="top" nowrap> <em>toMerge</em> </td> |
---|
333 | <td class="md" valign="top"> ) </td> |
---|
334 | <td class="md" nowrap><code> [static]</code></td> |
---|
335 | </tr> |
---|
336 | </table> |
---|
337 | </td> |
---|
338 | </tr> |
---|
339 | </table> |
---|
340 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
341 | <tr> |
---|
342 | <td> |
---|
343 | |
---|
344 | </td> |
---|
345 | <td> |
---|
346 | |
---|
347 | <p> |
---|
348 | Creates one multi-dimensional animation curve from a list of animated element. |
---|
349 | <p> |
---|
350 | This function is useful is your application does not handle animations per-values. For example, we use this function is ColladaMax for animated scale values, where one scale value is two rotations for the scale rotation pivot and one 3D point for the scale factors. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
351 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
352 | <tr><td valign="top"></td><td valign="top"><em>toMerge</em> </td><td>The list of animated elements to merge </td></tr> |
---|
353 | </table> |
---|
354 | </dl> |
---|
355 | <dl compact><dt><b>Returns:</b></dt><dd>The multi-dimensional animation curve. </dd></dl> |
---|
356 | </td> |
---|
357 | </tr> |
---|
358 | </table> |
---|
359 | <a class="anchor" name="6569ea2afa62222130f4da496afd9b6a"></a><!-- doxytag: member="FCDAnimated::CreateMultiCurve" ref="6569ea2afa62222130f4da496afd9b6a" args="() const " --><p> |
---|
360 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
361 | <tr> |
---|
362 | <td class="mdRow"> |
---|
363 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
364 | <tr> |
---|
365 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_animation_multi_curve.html">FCDAnimationMultiCurve</a>* FCDAnimated::CreateMultiCurve </td> |
---|
366 | <td class="md" valign="top">( </td> |
---|
367 | <td class="mdname1" valign="top" nowrap> </td> |
---|
368 | <td class="md" valign="top"> ) </td> |
---|
369 | <td class="md" nowrap> const</td> |
---|
370 | </tr> |
---|
371 | </table> |
---|
372 | </td> |
---|
373 | </tr> |
---|
374 | </table> |
---|
375 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
376 | <tr> |
---|
377 | <td> |
---|
378 | |
---|
379 | </td> |
---|
380 | <td> |
---|
381 | |
---|
382 | <p> |
---|
383 | Creates one multi-dimensional animation curve from this animated element. |
---|
384 | <p> |
---|
385 | This function is useful is your application does not handle animations per-values, but instead needs one animation per-element. <dl compact><dt><b>Returns:</b></dt><dd>The multi-dimensional animation curve. </dd></dl> |
---|
386 | </td> |
---|
387 | </tr> |
---|
388 | </table> |
---|
389 | <a class="anchor" name="1bd0b6deb59cc5343aba007c9f5eae0c"></a><!-- doxytag: member="FCDAnimated::Evaluate" ref="1bd0b6deb59cc5343aba007c9f5eae0c" args="(float time)" --><p> |
---|
390 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
391 | <tr> |
---|
392 | <td class="mdRow"> |
---|
393 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
394 | <tr> |
---|
395 | <td class="md" nowrap valign="top">void FCDAnimated::Evaluate </td> |
---|
396 | <td class="md" valign="top">( </td> |
---|
397 | <td class="md" nowrap valign="top">float </td> |
---|
398 | <td class="mdname1" valign="top" nowrap> <em>time</em> </td> |
---|
399 | <td class="md" valign="top"> ) </td> |
---|
400 | <td class="md" nowrap></td> |
---|
401 | </tr> |
---|
402 | </table> |
---|
403 | </td> |
---|
404 | </tr> |
---|
405 | </table> |
---|
406 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
407 | <tr> |
---|
408 | <td> |
---|
409 | |
---|
410 | </td> |
---|
411 | <td> |
---|
412 | |
---|
413 | <p> |
---|
414 | Evaluates the animated element at a given time. |
---|
415 | <p> |
---|
416 | This function directly and <b>permanently</b> modifies the values of the animated element according to the curves affecting them. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
417 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
418 | <tr><td valign="top"></td><td valign="top"><em>time</em> </td><td>The evaluation time. </td></tr> |
---|
419 | </table> |
---|
420 | </dl> |
---|
421 | </td> |
---|
422 | </tr> |
---|
423 | </table> |
---|
424 | <a class="anchor" name="3b6f378a1057bff112715a70efcbc195"></a><!-- doxytag: member="FCDAnimated::FindCurve" ref="3b6f378a1057bff112715a70efcbc195" args="(const float *value)" --><p> |
---|
425 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
426 | <tr> |
---|
427 | <td class="mdRow"> |
---|
428 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
429 | <tr> |
---|
430 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>* FCDAnimated::FindCurve </td> |
---|
431 | <td class="md" valign="top">( </td> |
---|
432 | <td class="md" nowrap valign="top">const float * </td> |
---|
433 | <td class="mdname1" valign="top" nowrap> <em>value</em> </td> |
---|
434 | <td class="md" valign="top"> ) </td> |
---|
435 | <td class="md" nowrap><code> [inline]</code></td> |
---|
436 | </tr> |
---|
437 | </table> |
---|
438 | </td> |
---|
439 | </tr> |
---|
440 | </table> |
---|
441 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
442 | <tr> |
---|
443 | <td> |
---|
444 | |
---|
445 | </td> |
---|
446 | <td> |
---|
447 | |
---|
448 | <p> |
---|
449 | Retrieves an animation curve given a value pointer. |
---|
450 | <p> |
---|
451 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
452 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
453 | <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>A value pointer contained within the animated element. </td></tr> |
---|
454 | </table> |
---|
455 | </dl> |
---|
456 | <dl compact><dt><b>Returns:</b></dt><dd>The animation curve for this qualifier. This pointer will be NULL if the value pointer is not contained by this animated element or if the value is not animated. </dd></dl> |
---|
457 | </td> |
---|
458 | </tr> |
---|
459 | </table> |
---|
460 | <a class="anchor" name="431e0ae388de3bacbd7c42499f9f1405"></a><!-- doxytag: member="FCDAnimated::FindCurve" ref="431e0ae388de3bacbd7c42499f9f1405" args="(const char *qualifier)" --><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"><a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>* FCDAnimated::FindCurve </td> |
---|
467 | <td class="md" valign="top">( </td> |
---|
468 | <td class="md" nowrap valign="top">const char * </td> |
---|
469 | <td class="mdname1" valign="top" nowrap> <em>qualifier</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 | Retrieves an animation curve given a valid qualifier. |
---|
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>qualifier</em> </td><td>A valid qualifier. </td></tr> |
---|
490 | </table> |
---|
491 | </dl> |
---|
492 | <dl compact><dt><b>Returns:</b></dt><dd>The animation curve for this qualifier. This pointer will be NULL if the given qualifier is not used within this animated element or if the value for the given qualifier is not animated. </dd></dl> |
---|
493 | </td> |
---|
494 | </tr> |
---|
495 | </table> |
---|
496 | <a class="anchor" name="bc95fade652f7cb561363a2f572a6783"></a><!-- doxytag: member="FCDAnimated::FindQualifier" ref="bc95fade652f7cb561363a2f572a6783" args="(const char *qualifier) const " --><p> |
---|
497 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
498 | <tr> |
---|
499 | <td class="mdRow"> |
---|
500 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
501 | <tr> |
---|
502 | <td class="md" nowrap valign="top">size_t FCDAnimated::FindQualifier </td> |
---|
503 | <td class="md" valign="top">( </td> |
---|
504 | <td class="md" nowrap valign="top">const char * </td> |
---|
505 | <td class="mdname1" valign="top" nowrap> <em>qualifier</em> </td> |
---|
506 | <td class="md" valign="top"> ) </td> |
---|
507 | <td class="md" nowrap> const</td> |
---|
508 | </tr> |
---|
509 | </table> |
---|
510 | </td> |
---|
511 | </tr> |
---|
512 | </table> |
---|
513 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
514 | <tr> |
---|
515 | <td> |
---|
516 | |
---|
517 | </td> |
---|
518 | <td> |
---|
519 | |
---|
520 | <p> |
---|
521 | Retrieves the value index for a given qualifier. |
---|
522 | <p> |
---|
523 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
524 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
525 | <tr><td valign="top"></td><td valign="top"><em>qualifier</em> </td><td>A valid qualifier. </td></tr> |
---|
526 | </table> |
---|
527 | </dl> |
---|
528 | <dl compact><dt><b>Returns:</b></dt><dd>The value index. This value will be -1 to indicate that the qualifier does not belong to this animated element. </dd></dl> |
---|
529 | </td> |
---|
530 | </tr> |
---|
531 | </table> |
---|
532 | <a class="anchor" name="596cb5706f21ec11a38a21cd08d0b593"></a><!-- doxytag: member="FCDAnimated::FindValue" ref="596cb5706f21ec11a38a21cd08d0b593" args="(const float *value) const " --><p> |
---|
533 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
534 | <tr> |
---|
535 | <td class="mdRow"> |
---|
536 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
537 | <tr> |
---|
538 | <td class="md" nowrap valign="top">size_t FCDAnimated::FindValue </td> |
---|
539 | <td class="md" valign="top">( </td> |
---|
540 | <td class="md" nowrap valign="top">const float * </td> |
---|
541 | <td class="mdname1" valign="top" nowrap> <em>value</em> </td> |
---|
542 | <td class="md" valign="top"> ) </td> |
---|
543 | <td class="md" nowrap> const</td> |
---|
544 | </tr> |
---|
545 | </table> |
---|
546 | </td> |
---|
547 | </tr> |
---|
548 | </table> |
---|
549 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
550 | <tr> |
---|
551 | <td> |
---|
552 | |
---|
553 | </td> |
---|
554 | <td> |
---|
555 | |
---|
556 | <p> |
---|
557 | Retrieves the value index for a given value pointer. |
---|
558 | <p> |
---|
559 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
560 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
561 | <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>A value pointer contained within the animated element. </td></tr> |
---|
562 | </table> |
---|
563 | </dl> |
---|
564 | <dl compact><dt><b>Returns:</b></dt><dd>The value index. This value will be -1 to indicate that the value pointer is not contained by this animated element. </dd></dl> |
---|
565 | </td> |
---|
566 | </tr> |
---|
567 | </table> |
---|
568 | <a class="anchor" name="ba4e4f31506ad8f6d97103005455705c"></a><!-- doxytag: member="FCDAnimated::FindValue" ref="ba4e4f31506ad8f6d97103005455705c" args="(const string &qualifier)" --><p> |
---|
569 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
570 | <tr> |
---|
571 | <td class="mdRow"> |
---|
572 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
573 | <tr> |
---|
574 | <td class="md" nowrap valign="top">float* FCDAnimated::FindValue </td> |
---|
575 | <td class="md" valign="top">( </td> |
---|
576 | <td class="md" nowrap valign="top">const string & </td> |
---|
577 | <td class="mdname1" valign="top" nowrap> <em>qualifier</em> </td> |
---|
578 | <td class="md" valign="top"> ) </td> |
---|
579 | <td class="md" nowrap></td> |
---|
580 | </tr> |
---|
581 | </table> |
---|
582 | </td> |
---|
583 | </tr> |
---|
584 | </table> |
---|
585 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
586 | <tr> |
---|
587 | <td> |
---|
588 | |
---|
589 | </td> |
---|
590 | <td> |
---|
591 | |
---|
592 | <p> |
---|
593 | Retrieves an animated value given a valid qualifier. |
---|
594 | <p> |
---|
595 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
596 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
597 | <tr><td valign="top"></td><td valign="top"><em>qualifier</em> </td><td>A valid qualifier. </td></tr> |
---|
598 | </table> |
---|
599 | </dl> |
---|
600 | <dl compact><dt><b>Returns:</b></dt><dd>The animated value for this qualifier. This pointer will be NULL if the given qualifier is not used within this animated element. </dd></dl> |
---|
601 | </td> |
---|
602 | </tr> |
---|
603 | </table> |
---|
604 | <a class="anchor" name="3e5c36661a7ebbceeeece5a6a5ef24a8"></a><!-- doxytag: member="FCDAnimated::GetArrayElement" ref="3e5c36661a7ebbceeeece5a6a5ef24a8" args="() const " --><p> |
---|
605 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
606 | <tr> |
---|
607 | <td class="mdRow"> |
---|
608 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
609 | <tr> |
---|
610 | <td class="md" nowrap valign="top">int32 FCDAnimated::GetArrayElement </td> |
---|
611 | <td class="md" valign="top">( </td> |
---|
612 | <td class="mdname1" valign="top" nowrap> </td> |
---|
613 | <td class="md" valign="top"> ) </td> |
---|
614 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
615 | </tr> |
---|
616 | </table> |
---|
617 | </td> |
---|
618 | </tr> |
---|
619 | </table> |
---|
620 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
621 | <tr> |
---|
622 | <td> |
---|
623 | |
---|
624 | </td> |
---|
625 | <td> |
---|
626 | |
---|
627 | <p> |
---|
628 | Retrieves the array index for an animated element. |
---|
629 | <p> |
---|
630 | This value is used only for animated elements that belong to a list of animated elements within the COLLADA document. <dl compact><dt><b>Returns:</b></dt><dd>The array index. This value will be -1 to indicate that the animated element does not belong to a list. </dd></dl> |
---|
631 | </td> |
---|
632 | </tr> |
---|
633 | </table> |
---|
634 | <a class="anchor" name="9340983fef0aa96c293cfffbdafb48a2"></a><!-- doxytag: member="FCDAnimated::GetCurve" ref="9340983fef0aa96c293cfffbdafb48a2" args="(size_t index)" --><p> |
---|
635 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
636 | <tr> |
---|
637 | <td class="mdRow"> |
---|
638 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
639 | <tr> |
---|
640 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a>* FCDAnimated::GetCurve </td> |
---|
641 | <td class="md" valign="top">( </td> |
---|
642 | <td class="md" nowrap valign="top">size_t </td> |
---|
643 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
644 | <td class="md" valign="top"> ) </td> |
---|
645 | <td class="md" nowrap><code> [inline]</code></td> |
---|
646 | </tr> |
---|
647 | </table> |
---|
648 | </td> |
---|
649 | </tr> |
---|
650 | </table> |
---|
651 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
652 | <tr> |
---|
653 | <td> |
---|
654 | |
---|
655 | </td> |
---|
656 | <td> |
---|
657 | |
---|
658 | <p> |
---|
659 | Retrieves the animation curve affecting the value of an animated element. |
---|
660 | <p> |
---|
661 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
662 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
663 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The value index. </td></tr> |
---|
664 | </table> |
---|
665 | </dl> |
---|
666 | <dl compact><dt><b>Returns:</b></dt><dd>The curve affecting the value at the given index. This pointer will be NULL if the index is out-of-bounds or if the value is not animated. </dd></dl> |
---|
667 | </td> |
---|
668 | </tr> |
---|
669 | </table> |
---|
670 | <a class="anchor" name="eac03e9e4603e7bd07ef15763a6c9bd1"></a><!-- doxytag: member="FCDAnimated::GetCurves" ref="eac03e9e4603e7bd07ef15763a6c9bd1" args="()" --><p> |
---|
671 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
672 | <tr> |
---|
673 | <td class="mdRow"> |
---|
674 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
675 | <tr> |
---|
676 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">FCDAnimationCurveList</a>& FCDAnimated::GetCurves </td> |
---|
677 | <td class="md" valign="top">( </td> |
---|
678 | <td class="mdname1" valign="top" nowrap> </td> |
---|
679 | <td class="md" valign="top"> ) </td> |
---|
680 | <td class="md" nowrap><code> [inline]</code></td> |
---|
681 | </tr> |
---|
682 | </table> |
---|
683 | </td> |
---|
684 | </tr> |
---|
685 | </table> |
---|
686 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
687 | <tr> |
---|
688 | <td> |
---|
689 | |
---|
690 | </td> |
---|
691 | <td> |
---|
692 | |
---|
693 | <p> |
---|
694 | Retrieves the list of the curves affecting the values of an animated element. |
---|
695 | <p> |
---|
696 | This list may contain the NULL pointer, where a value is not animated. <dl compact><dt><b>Returns:</b></dt><dd>The list of animation curves. </dd></dl> |
---|
697 | </td> |
---|
698 | </tr> |
---|
699 | </table> |
---|
700 | <a class="anchor" name="ac21c80a949083cfbdfa4b6daba6603a"></a><!-- doxytag: member="FCDAnimated::GetQualifier" ref="ac21c80a949083cfbdfa4b6daba6603a" args="(size_t index) const " --><p> |
---|
701 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
702 | <tr> |
---|
703 | <td class="mdRow"> |
---|
704 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
705 | <tr> |
---|
706 | <td class="md" nowrap valign="top">const string& FCDAnimated::GetQualifier </td> |
---|
707 | <td class="md" valign="top">( </td> |
---|
708 | <td class="md" nowrap valign="top">size_t </td> |
---|
709 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
710 | <td class="md" valign="top"> ) </td> |
---|
711 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
712 | </tr> |
---|
713 | </table> |
---|
714 | </td> |
---|
715 | </tr> |
---|
716 | </table> |
---|
717 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
718 | <tr> |
---|
719 | <td> |
---|
720 | |
---|
721 | </td> |
---|
722 | <td> |
---|
723 | |
---|
724 | <p> |
---|
725 | Retrieves the qualifier of the value of an animated element. |
---|
726 | <p> |
---|
727 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
728 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
729 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The value index. </td></tr> |
---|
730 | </table> |
---|
731 | </dl> |
---|
732 | <dl compact><dt><b>Returns:</b></dt><dd>The qualifier for the value. The value returned will be an empty string when the index is out-of-bounds. </dd></dl> |
---|
733 | </td> |
---|
734 | </tr> |
---|
735 | </table> |
---|
736 | <a class="anchor" name="b39f2ef8c0575eca75a51214cf0467f6"></a><!-- doxytag: member="FCDAnimated::GetTargetPointer" ref="b39f2ef8c0575eca75a51214cf0467f6" args="() const " --><p> |
---|
737 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
738 | <tr> |
---|
739 | <td class="mdRow"> |
---|
740 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
741 | <tr> |
---|
742 | <td class="md" nowrap valign="top">const string& FCDAnimated::GetTargetPointer </td> |
---|
743 | <td class="md" valign="top">( </td> |
---|
744 | <td class="mdname1" valign="top" nowrap> </td> |
---|
745 | <td class="md" valign="top"> ) </td> |
---|
746 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
747 | </tr> |
---|
748 | </table> |
---|
749 | </td> |
---|
750 | </tr> |
---|
751 | </table> |
---|
752 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
753 | <tr> |
---|
754 | <td> |
---|
755 | |
---|
756 | </td> |
---|
757 | <td> |
---|
758 | |
---|
759 | <p> |
---|
760 | [INTERNAL] Retrieves the target pointer that prefixes the fully-qualified target for the element. |
---|
761 | <p> |
---|
762 | <dl compact><dt><b>Returns:</b></dt><dd>The target pointer prefix. </dd></dl> |
---|
763 | </td> |
---|
764 | </tr> |
---|
765 | </table> |
---|
766 | <a class="anchor" name="b28462e611ad8d67a601c75b74b323c5"></a><!-- doxytag: member="FCDAnimated::GetValue" ref="b28462e611ad8d67a601c75b74b323c5" args="(size_t index)" --><p> |
---|
767 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
768 | <tr> |
---|
769 | <td class="mdRow"> |
---|
770 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
771 | <tr> |
---|
772 | <td class="md" nowrap valign="top">float* FCDAnimated::GetValue </td> |
---|
773 | <td class="md" valign="top">( </td> |
---|
774 | <td class="md" nowrap valign="top">size_t </td> |
---|
775 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
776 | <td class="md" valign="top"> ) </td> |
---|
777 | <td class="md" nowrap><code> [inline]</code></td> |
---|
778 | </tr> |
---|
779 | </table> |
---|
780 | </td> |
---|
781 | </tr> |
---|
782 | </table> |
---|
783 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
784 | <tr> |
---|
785 | <td> |
---|
786 | |
---|
787 | </td> |
---|
788 | <td> |
---|
789 | |
---|
790 | <p> |
---|
791 | Retrieves the value of an animated element. |
---|
792 | <p> |
---|
793 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
794 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
795 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The value index. </td></tr> |
---|
796 | </table> |
---|
797 | </dl> |
---|
798 | <dl compact><dt><b>Returns:</b></dt><dd>The value at the given index. This pointer will be NULL if the index is out-of-boudns. </dd></dl> |
---|
799 | </td> |
---|
800 | </tr> |
---|
801 | </table> |
---|
802 | <a class="anchor" name="b327a9cd5a07649b00105ee399926b86"></a><!-- doxytag: member="FCDAnimated::GetValueCount" ref="b327a9cd5a07649b00105ee399926b86" args="() const " --><p> |
---|
803 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
804 | <tr> |
---|
805 | <td class="mdRow"> |
---|
806 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
807 | <tr> |
---|
808 | <td class="md" nowrap valign="top">size_t FCDAnimated::GetValueCount </td> |
---|
809 | <td class="md" valign="top">( </td> |
---|
810 | <td class="mdname1" valign="top" nowrap> </td> |
---|
811 | <td class="md" valign="top"> ) </td> |
---|
812 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
813 | </tr> |
---|
814 | </table> |
---|
815 | </td> |
---|
816 | </tr> |
---|
817 | </table> |
---|
818 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
819 | <tr> |
---|
820 | <td> |
---|
821 | |
---|
822 | </td> |
---|
823 | <td> |
---|
824 | |
---|
825 | <p> |
---|
826 | Retrieves the number of values contained within this animated element. |
---|
827 | <p> |
---|
828 | <dl compact><dt><b>Returns:</b></dt><dd>The number of values. </dd></dl> |
---|
829 | </td> |
---|
830 | </tr> |
---|
831 | </table> |
---|
832 | <a class="anchor" name="2e475c6ce1890734b8b9bc5226b79b6a"></a><!-- doxytag: member="FCDAnimated::HasCurve" ref="2e475c6ce1890734b8b9bc5226b79b6a" args="() const " --><p> |
---|
833 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
834 | <tr> |
---|
835 | <td class="mdRow"> |
---|
836 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
837 | <tr> |
---|
838 | <td class="md" nowrap valign="top">bool FCDAnimated::HasCurve </td> |
---|
839 | <td class="md" valign="top">( </td> |
---|
840 | <td class="mdname1" valign="top" nowrap> </td> |
---|
841 | <td class="md" valign="top"> ) </td> |
---|
842 | <td class="md" nowrap> const</td> |
---|
843 | </tr> |
---|
844 | </table> |
---|
845 | </td> |
---|
846 | </tr> |
---|
847 | </table> |
---|
848 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
849 | <tr> |
---|
850 | <td> |
---|
851 | |
---|
852 | </td> |
---|
853 | <td> |
---|
854 | |
---|
855 | <p> |
---|
856 | Retrieves whether this animated element has any animation curves affecting its values. |
---|
857 | <p> |
---|
858 | <dl compact><dt><b>Returns:</b></dt><dd>Whether any curves affect this animated element. </dd></dl> |
---|
859 | </td> |
---|
860 | </tr> |
---|
861 | </table> |
---|
862 | <a class="anchor" name="07ca488d64d111a93a689527f107cf84"></a><!-- doxytag: member="FCDAnimated::Link" ref="07ca488d64d111a93a689527f107cf84" args="(xmlNode *node)" --><p> |
---|
863 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
864 | <tr> |
---|
865 | <td class="mdRow"> |
---|
866 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
867 | <tr> |
---|
868 | <td class="md" nowrap valign="top">bool FCDAnimated::Link </td> |
---|
869 | <td class="md" valign="top">( </td> |
---|
870 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
871 | <td class="mdname1" valign="top" nowrap> <em>node</em> </td> |
---|
872 | <td class="md" valign="top"> ) </td> |
---|
873 | <td class="md" nowrap></td> |
---|
874 | </tr> |
---|
875 | </table> |
---|
876 | </td> |
---|
877 | </tr> |
---|
878 | </table> |
---|
879 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
880 | <tr> |
---|
881 | <td> |
---|
882 | |
---|
883 | </td> |
---|
884 | <td> |
---|
885 | |
---|
886 | <p> |
---|
887 | [INTERNAL] Links this animated element with a given XML tree node. |
---|
888 | <p> |
---|
889 | This function is solely used within the import of a COLLADA document. The floating-point values held within the XML tree node will be linked with the list of floating-point value pointers held by the animated entity. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
890 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
891 | <tr><td valign="top"></td><td valign="top"><em>node</em> </td><td>The XML tree node. </td></tr> |
---|
892 | </table> |
---|
893 | </dl> |
---|
894 | <dl compact><dt><b>Returns:</b></dt><dd>Whether there was any linkage done. </dd></dl> |
---|
895 | </td> |
---|
896 | </tr> |
---|
897 | </table> |
---|
898 | <a class="anchor" name="db5d67651c131bab64c4714f0c605ce9"></a><!-- doxytag: member="FCDAnimated::ProcessChannels" ref="db5d67651c131bab64c4714f0c605ce9" args="(FCDAnimationChannelList &channels)" --><p> |
---|
899 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
900 | <tr> |
---|
901 | <td class="mdRow"> |
---|
902 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
903 | <tr> |
---|
904 | <td class="md" nowrap valign="top">bool FCDAnimated::ProcessChannels </td> |
---|
905 | <td class="md" valign="top">( </td> |
---|
906 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">FCDAnimationChannelList</a> & </td> |
---|
907 | <td class="mdname1" valign="top" nowrap> <em>channels</em> </td> |
---|
908 | <td class="md" valign="top"> ) </td> |
---|
909 | <td class="md" nowrap></td> |
---|
910 | </tr> |
---|
911 | </table> |
---|
912 | </td> |
---|
913 | </tr> |
---|
914 | </table> |
---|
915 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
916 | <tr> |
---|
917 | <td> |
---|
918 | |
---|
919 | </td> |
---|
920 | <td> |
---|
921 | |
---|
922 | <p> |
---|
923 | [INTERNAL] Links the animated element with the imported animation curves. |
---|
924 | <p> |
---|
925 | This compares the animation channel targets with the animated element target and qualifiers to assign curves unto the value pointers. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
926 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
927 | <tr><td valign="top"></td><td valign="top"><em>channels</em> </td><td>A list of animation channels with the correct target pointer. </td></tr> |
---|
928 | </table> |
---|
929 | </dl> |
---|
930 | <dl compact><dt><b>Returns:</b></dt><dd>Whether any animation curves were assigned to the animation element. </dd></dl> |
---|
931 | </td> |
---|
932 | </tr> |
---|
933 | </table> |
---|
934 | <a class="anchor" name="ca4a4bcb2f4a4e4300dd3a49a97d210b"></a><!-- doxytag: member="FCDAnimated::RemoveCurve" ref="ca4a4bcb2f4a4e4300dd3a49a97d210b" args="(size_t index)" --><p> |
---|
935 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
936 | <tr> |
---|
937 | <td class="mdRow"> |
---|
938 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
939 | <tr> |
---|
940 | <td class="md" nowrap valign="top">bool FCDAnimated::RemoveCurve </td> |
---|
941 | <td class="md" valign="top">( </td> |
---|
942 | <td class="md" nowrap valign="top">size_t </td> |
---|
943 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
944 | <td class="md" valign="top"> ) </td> |
---|
945 | <td class="md" nowrap></td> |
---|
946 | </tr> |
---|
947 | </table> |
---|
948 | </td> |
---|
949 | </tr> |
---|
950 | </table> |
---|
951 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
952 | <tr> |
---|
953 | <td> |
---|
954 | |
---|
955 | </td> |
---|
956 | <td> |
---|
957 | |
---|
958 | <p> |
---|
959 | Removes the curve affecting a value of the animated element. |
---|
960 | <p> |
---|
961 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
962 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
963 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The value index. </td></tr> |
---|
964 | </table> |
---|
965 | </dl> |
---|
966 | <dl compact><dt><b>Returns:</b></dt><dd>Whether a curve was successfully removed. Will return false if there was no curve to release or the index is out-of-bounds. </dd></dl> |
---|
967 | </td> |
---|
968 | </tr> |
---|
969 | </table> |
---|
970 | <a class="anchor" name="8c9c8b720246764d0e5d5c88a55c31ff"></a><!-- doxytag: member="FCDAnimated::SetArrayElement" ref="8c9c8b720246764d0e5d5c88a55c31ff" args="(int32 index)" --><p> |
---|
971 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
972 | <tr> |
---|
973 | <td class="mdRow"> |
---|
974 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
975 | <tr> |
---|
976 | <td class="md" nowrap valign="top">void FCDAnimated::SetArrayElement </td> |
---|
977 | <td class="md" valign="top">( </td> |
---|
978 | <td class="md" nowrap valign="top">int32 </td> |
---|
979 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
980 | <td class="md" valign="top"> ) </td> |
---|
981 | <td class="md" nowrap><code> [inline]</code></td> |
---|
982 | </tr> |
---|
983 | </table> |
---|
984 | </td> |
---|
985 | </tr> |
---|
986 | </table> |
---|
987 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
988 | <tr> |
---|
989 | <td> |
---|
990 | |
---|
991 | </td> |
---|
992 | <td> |
---|
993 | |
---|
994 | <p> |
---|
995 | Sets the array index for an animated element. |
---|
996 | <p> |
---|
997 | This value is used only for animated elements that belong to a list of animated elements within the COLLADA document. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
998 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
999 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The array index. This value should be -1 to indicate that the animated element does not belong to a list. </td></tr> |
---|
1000 | </table> |
---|
1001 | </dl> |
---|
1002 | </td> |
---|
1003 | </tr> |
---|
1004 | </table> |
---|
1005 | <a class="anchor" name="b752369d25f8f4085e952e6f5f62c714"></a><!-- doxytag: member="FCDAnimated::SetCurve" ref="b752369d25f8f4085e952e6f5f62c714" args="(size_t index, FCDAnimationCurve *curve)" --><p> |
---|
1006 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1007 | <tr> |
---|
1008 | <td class="mdRow"> |
---|
1009 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1010 | <tr> |
---|
1011 | <td class="md" nowrap valign="top">bool FCDAnimated::SetCurve </td> |
---|
1012 | <td class="md" valign="top">( </td> |
---|
1013 | <td class="md" nowrap valign="top">size_t </td> |
---|
1014 | <td class="mdname" nowrap> <em>index</em>, </td> |
---|
1015 | </tr> |
---|
1016 | <tr> |
---|
1017 | <td class="md" nowrap align="right"></td> |
---|
1018 | <td class="md"></td> |
---|
1019 | <td class="md" nowrap><a class="el" href="class_f_c_d_animation_curve.html">FCDAnimationCurve</a> * </td> |
---|
1020 | <td class="mdname" nowrap> <em>curve</em></td> |
---|
1021 | </tr> |
---|
1022 | <tr> |
---|
1023 | <td class="md"></td> |
---|
1024 | <td class="md">) </td> |
---|
1025 | <td class="md" colspan="2"></td> |
---|
1026 | </tr> |
---|
1027 | </table> |
---|
1028 | </td> |
---|
1029 | </tr> |
---|
1030 | </table> |
---|
1031 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1032 | <tr> |
---|
1033 | <td> |
---|
1034 | |
---|
1035 | </td> |
---|
1036 | <td> |
---|
1037 | |
---|
1038 | <p> |
---|
1039 | Assigns a curve to a value of the animated element. |
---|
1040 | <p> |
---|
1041 | The previously assigned curve will be deleted. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1042 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1043 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The value index. </td></tr> |
---|
1044 | <tr><td valign="top"></td><td valign="top"><em>curve</em> </td><td>The new curve that will affect the value at the given index. </td></tr> |
---|
1045 | </table> |
---|
1046 | </dl> |
---|
1047 | <dl compact><dt><b>Returns:</b></dt><dd>Whether the curve was successfully assigned. Will return false if the index is out-of-bounds. </dd></dl> |
---|
1048 | </td> |
---|
1049 | </tr> |
---|
1050 | </table> |
---|
1051 | <hr><h2>Member Data Documentation</h2> |
---|
1052 | <a class="anchor" name="27daa356d592abe62b5f84871bb6fefc"></a><!-- doxytag: member="FCDAnimated::arrayElement" ref="27daa356d592abe62b5f84871bb6fefc" args="" --><p> |
---|
1053 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1054 | <tr> |
---|
1055 | <td class="mdRow"> |
---|
1056 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1057 | <tr> |
---|
1058 | <td class="md" nowrap valign="top">int32 <a class="el" href="class_f_c_d_animated.html#27daa356d592abe62b5f84871bb6fefc">FCDAnimated::arrayElement</a><code> [protected]</code> </td> |
---|
1059 | </tr> |
---|
1060 | </table> |
---|
1061 | </td> |
---|
1062 | </tr> |
---|
1063 | </table> |
---|
1064 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1065 | <tr> |
---|
1066 | <td> |
---|
1067 | |
---|
1068 | </td> |
---|
1069 | <td> |
---|
1070 | |
---|
1071 | <p> |
---|
1072 | The array index for animated element that belong to a list of animated elements. |
---|
1073 | <p> |
---|
1074 | This value may be -1 to indicate that the element does not belong to a list. Otherwise, the index should always be unsigned. </td> |
---|
1075 | </tr> |
---|
1076 | </table> |
---|
1077 | <a class="anchor" name="7dbb49196db655d7098fed36cfafa496"></a><!-- doxytag: member="FCDAnimated::curves" ref="7dbb49196db655d7098fed36cfafa496" args="" --><p> |
---|
1078 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1079 | <tr> |
---|
1080 | <td class="mdRow"> |
---|
1081 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1082 | <tr> |
---|
1083 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">FCDAnimationCurveList</a> <a class="el" href="class_f_c_d_animated.html#7dbb49196db655d7098fed36cfafa496">FCDAnimated::curves</a><code> [protected]</code> </td> |
---|
1084 | </tr> |
---|
1085 | </table> |
---|
1086 | </td> |
---|
1087 | </tr> |
---|
1088 | </table> |
---|
1089 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1090 | <tr> |
---|
1091 | <td> |
---|
1092 | |
---|
1093 | </td> |
---|
1094 | <td> |
---|
1095 | |
---|
1096 | <p> |
---|
1097 | The list of animation curves. |
---|
1098 | <p> |
---|
1099 | There is always one curve for one value pointer, although that curve may be the NULL pointer to indicate a non-animated value. </td> |
---|
1100 | </tr> |
---|
1101 | </table> |
---|
1102 | <a class="anchor" name="02ab9175d25055cd2d10d924de312490"></a><!-- doxytag: member="FCDAnimated::qualifiers" ref="02ab9175d25055cd2d10d924de312490" args="" --><p> |
---|
1103 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1104 | <tr> |
---|
1105 | <td class="mdRow"> |
---|
1106 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1107 | <tr> |
---|
1108 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">StringList</a> <a class="el" href="class_f_c_d_animated.html#02ab9175d25055cd2d10d924de312490">FCDAnimated::qualifiers</a><code> [protected]</code> </td> |
---|
1109 | </tr> |
---|
1110 | </table> |
---|
1111 | </td> |
---|
1112 | </tr> |
---|
1113 | </table> |
---|
1114 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1115 | <tr> |
---|
1116 | <td> |
---|
1117 | |
---|
1118 | </td> |
---|
1119 | <td> |
---|
1120 | |
---|
1121 | <p> |
---|
1122 | The list of target qualifiers. |
---|
1123 | <p> |
---|
1124 | There is always one qualifier for one value pointer. </td> |
---|
1125 | </tr> |
---|
1126 | </table> |
---|
1127 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
1128 | <li>FCDocument/<a class="el" href="_f_c_d_animated_8h-source.html">FCDAnimated.h</a></ul> |
---|
1129 | <hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:40 2006 for FCollada by |
---|
1130 | <a href="http://www.doxygen.org/index.html"> |
---|
1131 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address> |
---|
1132 | </body> |
---|
1133 | </html> |
---|