[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: FMQuaternion 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>FMQuaternion Class Reference<br> |
---|
| 25 | <small> |
---|
| 26 | [<a class="el" href="group___f_math.html">Mathematics Classes.</a>]</small> |
---|
| 27 | </h1><!-- doxytag: class="FMQuaternion" -->A quaternion. |
---|
| 28 | <a href="#_details">More...</a> |
---|
| 29 | <p> |
---|
| 30 | <code>#include <<a class="el" href="_f_m_quaternion_8h-source.html">FMQuaternion.h</a>></code> |
---|
| 31 | <p> |
---|
| 32 | <a href="class_f_m_quaternion-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 33 | <tr><td></td></tr> |
---|
| 34 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
| 35 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_quaternion.html#005eee578d5c2a7ed5f687e24adb4816">FMQuaternion</a> ()</td></tr> |
---|
| 36 | |
---|
| 37 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates an empty <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a>. <a href="#005eee578d5c2a7ed5f687e24adb4816"></a><br></td></tr> |
---|
| 38 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_quaternion.html#a919c71bc03cd277d9996b50e4ddefda">FMQuaternion</a> (float _x, float _y, float _z, float _w)</td></tr> |
---|
| 39 | |
---|
| 40 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates the <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> with the given component values. <a href="#a919c71bc03cd277d9996b50e4ddefda"></a><br></td></tr> |
---|
| 41 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_quaternion.html#9c5665bf329c191c9c662cf92ae18b6f">FMQuaternion</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &axis, float angle)</td></tr> |
---|
| 42 | |
---|
| 43 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates the <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> from a given axis and angle of rotation. <a href="#9c5665bf329c191c9c662cf92ae18b6f"></a><br></td></tr> |
---|
| 44 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_quaternion.html#0e7d1d7d85a8c7f1c70de0d01a44790e">operator float *</a> ()</td></tr> |
---|
| 45 | |
---|
| 46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get this <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> as an array of <code>floats</code>. <a href="#0e7d1d7d85a8c7f1c70de0d01a44790e"></a><br></td></tr> |
---|
| 47 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_quaternion.html#1bf6463628b0027b3a4da62f0e93ec17">operator const float *</a> () const </td></tr> |
---|
| 48 | |
---|
| 49 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get this <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> as an array of <code>floats</code>. <a href="#1bf6463628b0027b3a4da62f0e93ec17"></a><br></td></tr> |
---|
| 50 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_quaternion.html#fac9386b2d79c2d63aee70c4d89184ae">operator=</a> (const float *v)</td></tr> |
---|
| 51 | |
---|
| 52 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign this <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> to the given <code>float</code> array. <a href="#fac9386b2d79c2d63aee70c4d89184ae"></a><br></td></tr> |
---|
| 53 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_quaternion.html#99d45d31e24df4ff603a1cf14d4140be">operator *</a> (const <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> &q) const </td></tr> |
---|
| 54 | |
---|
| 55 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Applys quaternion multiplication of the given <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> with this <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> and returns the value. <a href="#99d45d31e24df4ff603a1cf14d4140be"></a><br></td></tr> |
---|
| 56 | <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> |
---|
| 57 | <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_quaternion.html#84fd94094a1ac9e3fc49d6d05ba933a5">EulerRotationQuaternion</a> (float _x, float _y, float _z)</td></tr> |
---|
| 58 | |
---|
| 59 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> representation of the Euler rotation angles. <a href="#84fd94094a1ac9e3fc49d6d05ba933a5"></a><br></td></tr> |
---|
| 60 | <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> |
---|
| 61 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="036c642a43fb84dc5544eb4ce0e0828d"></a><!-- doxytag: member="FMQuaternion::x" ref="036c642a43fb84dc5544eb4ce0e0828d" args="" --> |
---|
| 62 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_quaternion.html#036c642a43fb84dc5544eb4ce0e0828d">x</a></td></tr> |
---|
| 63 | |
---|
| 64 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The i component. <br></td></tr> |
---|
| 65 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="996bf6bcb013dbbbe8e255c35e085f81"></a><!-- doxytag: member="FMQuaternion::y" ref="996bf6bcb013dbbbe8e255c35e085f81" args="" --> |
---|
| 66 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_quaternion.html#996bf6bcb013dbbbe8e255c35e085f81">y</a></td></tr> |
---|
| 67 | |
---|
| 68 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The j component. <br></td></tr> |
---|
| 69 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="03d06578ec64cf8a4d2032c336153244"></a><!-- doxytag: member="FMQuaternion::z" ref="03d06578ec64cf8a4d2032c336153244" args="" --> |
---|
| 70 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_quaternion.html#03d06578ec64cf8a4d2032c336153244">z</a></td></tr> |
---|
| 71 | |
---|
| 72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The k component. <br></td></tr> |
---|
| 73 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c60123167417258df35a27db4d3e7646"></a><!-- doxytag: member="FMQuaternion::w" ref="c60123167417258df35a27db4d3e7646" args="" --> |
---|
| 74 | float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_quaternion.html#c60123167417258df35a27db4d3e7646">w</a></td></tr> |
---|
| 75 | |
---|
| 76 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The scalar component. <br></td></tr> |
---|
| 77 | </table> |
---|
| 78 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 79 | A quaternion. |
---|
| 80 | <p> |
---|
| 81 | Not used within <a class="el" href="namespace_f_collada.html">FCollada</a><p> |
---|
| 82 | [Glaforte 03-08-2006] VERY EXPERIMENTAL CODE: DON'T USE. |
---|
| 83 | <p> |
---|
| 84 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
| 85 | <a class="anchor" name="005eee578d5c2a7ed5f687e24adb4816"></a><!-- doxytag: member="FMQuaternion::FMQuaternion" ref="005eee578d5c2a7ed5f687e24adb4816" args="()" --><p> |
---|
| 86 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 87 | <tr> |
---|
| 88 | <td class="mdRow"> |
---|
| 89 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 90 | <tr> |
---|
| 91 | <td class="md" nowrap valign="top">FMQuaternion::FMQuaternion </td> |
---|
| 92 | <td class="md" valign="top">( </td> |
---|
| 93 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 94 | <td class="md" valign="top"> ) </td> |
---|
| 95 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 96 | </tr> |
---|
| 97 | </table> |
---|
| 98 | </td> |
---|
| 99 | </tr> |
---|
| 100 | </table> |
---|
| 101 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 102 | <tr> |
---|
| 103 | <td> |
---|
| 104 | |
---|
| 105 | </td> |
---|
| 106 | <td> |
---|
| 107 | |
---|
| 108 | <p> |
---|
| 109 | Creates an empty <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a>. |
---|
| 110 | <p> |
---|
| 111 | The default values are non deterministic. </td> |
---|
| 112 | </tr> |
---|
| 113 | </table> |
---|
| 114 | <a class="anchor" name="a919c71bc03cd277d9996b50e4ddefda"></a><!-- doxytag: member="FMQuaternion::FMQuaternion" ref="a919c71bc03cd277d9996b50e4ddefda" args="(float _x, float _y, float _z, float _w)" --><p> |
---|
| 115 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 116 | <tr> |
---|
| 117 | <td class="mdRow"> |
---|
| 118 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 119 | <tr> |
---|
| 120 | <td class="md" nowrap valign="top">FMQuaternion::FMQuaternion </td> |
---|
| 121 | <td class="md" valign="top">( </td> |
---|
| 122 | <td class="md" nowrap valign="top">float </td> |
---|
| 123 | <td class="mdname" nowrap> <em>_x</em>, </td> |
---|
| 124 | </tr> |
---|
| 125 | <tr> |
---|
| 126 | <td class="md" nowrap align="right"></td> |
---|
| 127 | <td class="md"></td> |
---|
| 128 | <td class="md" nowrap>float </td> |
---|
| 129 | <td class="mdname" nowrap> <em>_y</em>, </td> |
---|
| 130 | </tr> |
---|
| 131 | <tr> |
---|
| 132 | <td class="md" nowrap align="right"></td> |
---|
| 133 | <td class="md"></td> |
---|
| 134 | <td class="md" nowrap>float </td> |
---|
| 135 | <td class="mdname" nowrap> <em>_z</em>, </td> |
---|
| 136 | </tr> |
---|
| 137 | <tr> |
---|
| 138 | <td class="md" nowrap align="right"></td> |
---|
| 139 | <td class="md"></td> |
---|
| 140 | <td class="md" nowrap>float </td> |
---|
| 141 | <td class="mdname" nowrap> <em>_w</em></td> |
---|
| 142 | </tr> |
---|
| 143 | <tr> |
---|
| 144 | <td class="md"></td> |
---|
| 145 | <td class="md">) </td> |
---|
| 146 | <td class="md" colspan="2"><code> [inline]</code></td> |
---|
| 147 | </tr> |
---|
| 148 | </table> |
---|
| 149 | </td> |
---|
| 150 | </tr> |
---|
| 151 | </table> |
---|
| 152 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 153 | <tr> |
---|
| 154 | <td> |
---|
| 155 | |
---|
| 156 | </td> |
---|
| 157 | <td> |
---|
| 158 | |
---|
| 159 | <p> |
---|
| 160 | Creates the <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> with the given component values. |
---|
| 161 | <p> |
---|
| 162 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 163 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 164 | <tr><td valign="top"></td><td valign="top"><em>_x</em> </td><td>The i component. </td></tr> |
---|
| 165 | <tr><td valign="top"></td><td valign="top"><em>_y</em> </td><td>The j component. </td></tr> |
---|
| 166 | <tr><td valign="top"></td><td valign="top"><em>_z</em> </td><td>The k component. </td></tr> |
---|
| 167 | <tr><td valign="top"></td><td valign="top"><em>_w</em> </td><td>The scalar component. </td></tr> |
---|
| 168 | </table> |
---|
| 169 | </dl> |
---|
| 170 | </td> |
---|
| 171 | </tr> |
---|
| 172 | </table> |
---|
| 173 | <a class="anchor" name="9c5665bf329c191c9c662cf92ae18b6f"></a><!-- doxytag: member="FMQuaternion::FMQuaternion" ref="9c5665bf329c191c9c662cf92ae18b6f" args="(const FMVector3 &axis, float angle)" --><p> |
---|
| 174 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 175 | <tr> |
---|
| 176 | <td class="mdRow"> |
---|
| 177 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 178 | <tr> |
---|
| 179 | <td class="md" nowrap valign="top">FMQuaternion::FMQuaternion </td> |
---|
| 180 | <td class="md" valign="top">( </td> |
---|
| 181 | <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> & </td> |
---|
| 182 | <td class="mdname" nowrap> <em>axis</em>, </td> |
---|
| 183 | </tr> |
---|
| 184 | <tr> |
---|
| 185 | <td class="md" nowrap align="right"></td> |
---|
| 186 | <td class="md"></td> |
---|
| 187 | <td class="md" nowrap>float </td> |
---|
| 188 | <td class="mdname" nowrap> <em>angle</em></td> |
---|
| 189 | </tr> |
---|
| 190 | <tr> |
---|
| 191 | <td class="md"></td> |
---|
| 192 | <td class="md">) </td> |
---|
| 193 | <td class="md" colspan="2"></td> |
---|
| 194 | </tr> |
---|
| 195 | </table> |
---|
| 196 | </td> |
---|
| 197 | </tr> |
---|
| 198 | </table> |
---|
| 199 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 200 | <tr> |
---|
| 201 | <td> |
---|
| 202 | |
---|
| 203 | </td> |
---|
| 204 | <td> |
---|
| 205 | |
---|
| 206 | <p> |
---|
| 207 | Creates the <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> from a given axis and angle of rotation. |
---|
| 208 | <p> |
---|
| 209 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 210 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 211 | <tr><td valign="top"></td><td valign="top"><em>axis</em> </td><td>The axis of rotation. </td></tr> |
---|
| 212 | <tr><td valign="top"></td><td valign="top"><em>angle</em> </td><td>The angle of rotation in radians. </td></tr> |
---|
| 213 | </table> |
---|
| 214 | </dl> |
---|
| 215 | </td> |
---|
| 216 | </tr> |
---|
| 217 | </table> |
---|
| 218 | <hr><h2>Member Function Documentation</h2> |
---|
| 219 | <a class="anchor" name="84fd94094a1ac9e3fc49d6d05ba933a5"></a><!-- doxytag: member="FMQuaternion::EulerRotationQuaternion" ref="84fd94094a1ac9e3fc49d6d05ba933a5" args="(float _x, float _y, float _z)" --><p> |
---|
| 220 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 221 | <tr> |
---|
| 222 | <td class="mdRow"> |
---|
| 223 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 224 | <tr> |
---|
| 225 | <td class="md" nowrap valign="top">static <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> FMQuaternion::EulerRotationQuaternion </td> |
---|
| 226 | <td class="md" valign="top">( </td> |
---|
| 227 | <td class="md" nowrap valign="top">float </td> |
---|
| 228 | <td class="mdname" nowrap> <em>_x</em>, </td> |
---|
| 229 | </tr> |
---|
| 230 | <tr> |
---|
| 231 | <td class="md" nowrap align="right"></td> |
---|
| 232 | <td class="md"></td> |
---|
| 233 | <td class="md" nowrap>float </td> |
---|
| 234 | <td class="mdname" nowrap> <em>_y</em>, </td> |
---|
| 235 | </tr> |
---|
| 236 | <tr> |
---|
| 237 | <td class="md" nowrap align="right"></td> |
---|
| 238 | <td class="md"></td> |
---|
| 239 | <td class="md" nowrap>float </td> |
---|
| 240 | <td class="mdname" nowrap> <em>_z</em></td> |
---|
| 241 | </tr> |
---|
| 242 | <tr> |
---|
| 243 | <td class="md"></td> |
---|
| 244 | <td class="md">) </td> |
---|
| 245 | <td class="md" colspan="2"><code> [static]</code></td> |
---|
| 246 | </tr> |
---|
| 247 | </table> |
---|
| 248 | </td> |
---|
| 249 | </tr> |
---|
| 250 | </table> |
---|
| 251 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 252 | <tr> |
---|
| 253 | <td> |
---|
| 254 | |
---|
| 255 | </td> |
---|
| 256 | <td> |
---|
| 257 | |
---|
| 258 | <p> |
---|
| 259 | Get the <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> representation of the Euler rotation angles. |
---|
| 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>_x</em> </td><td>The rotation about the x-axis (roll), in radians. </td></tr> |
---|
| 264 | <tr><td valign="top"></td><td valign="top"><em>_y</em> </td><td>The rotation about the y-axis (pitch), in radians. </td></tr> |
---|
| 265 | <tr><td valign="top"></td><td valign="top"><em>_z</em> </td><td>The rotation about the z-axis (yaw), in radians. </td></tr> |
---|
| 266 | </table> |
---|
| 267 | </dl> |
---|
| 268 | </td> |
---|
| 269 | </tr> |
---|
| 270 | </table> |
---|
| 271 | <a class="anchor" name="99d45d31e24df4ff603a1cf14d4140be"></a><!-- doxytag: member="FMQuaternion::operator *" ref="99d45d31e24df4ff603a1cf14d4140be" args="(const FMQuaternion &q) const " --><p> |
---|
| 272 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 273 | <tr> |
---|
| 274 | <td class="mdRow"> |
---|
| 275 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 276 | <tr> |
---|
| 277 | <td class="md" nowrap valign="top"><a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> FMQuaternion::operator * </td> |
---|
| 278 | <td class="md" valign="top">( </td> |
---|
| 279 | <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> & </td> |
---|
| 280 | <td class="mdname1" valign="top" nowrap> <em>q</em> </td> |
---|
| 281 | <td class="md" valign="top"> ) </td> |
---|
| 282 | <td class="md" nowrap> const</td> |
---|
| 283 | </tr> |
---|
| 284 | </table> |
---|
| 285 | </td> |
---|
| 286 | </tr> |
---|
| 287 | </table> |
---|
| 288 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 289 | <tr> |
---|
| 290 | <td> |
---|
| 291 | |
---|
| 292 | </td> |
---|
| 293 | <td> |
---|
| 294 | |
---|
| 295 | <p> |
---|
| 296 | Applys quaternion multiplication of the given <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> with this <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> and returns the value. |
---|
| 297 | <p> |
---|
| 298 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 299 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 300 | <tr><td valign="top"></td><td valign="top"><em>q</em> </td><td>The <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> multiply with. </td></tr> |
---|
| 301 | </table> |
---|
| 302 | </dl> |
---|
| 303 | <dl compact><dt><b>Returns:</b></dt><dd>The resulting <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a>. </dd></dl> |
---|
| 304 | </td> |
---|
| 305 | </tr> |
---|
| 306 | </table> |
---|
| 307 | <a class="anchor" name="1bf6463628b0027b3a4da62f0e93ec17"></a><!-- doxytag: member="FMQuaternion::operator const float *" ref="1bf6463628b0027b3a4da62f0e93ec17" args="() const " --><p> |
---|
| 308 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 309 | <tr> |
---|
| 310 | <td class="mdRow"> |
---|
| 311 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 312 | <tr> |
---|
| 313 | <td class="md" nowrap valign="top">FMQuaternion::operator const float * </td> |
---|
| 314 | <td class="md" valign="top">( </td> |
---|
| 315 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 316 | <td class="md" valign="top"> ) </td> |
---|
| 317 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
| 318 | </tr> |
---|
| 319 | </table> |
---|
| 320 | </td> |
---|
| 321 | </tr> |
---|
| 322 | </table> |
---|
| 323 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 324 | <tr> |
---|
| 325 | <td> |
---|
| 326 | |
---|
| 327 | </td> |
---|
| 328 | <td> |
---|
| 329 | |
---|
| 330 | <p> |
---|
| 331 | Get this <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> as an array of <code>floats</code>. |
---|
| 332 | <p> |
---|
| 333 | <dl compact><dt><b>Returns:</b></dt><dd>The <code>float</code> array. </dd></dl> |
---|
| 334 | </td> |
---|
| 335 | </tr> |
---|
| 336 | </table> |
---|
| 337 | <a class="anchor" name="0e7d1d7d85a8c7f1c70de0d01a44790e"></a><!-- doxytag: member="FMQuaternion::operator float *" ref="0e7d1d7d85a8c7f1c70de0d01a44790e" args="()" --><p> |
---|
| 338 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 339 | <tr> |
---|
| 340 | <td class="mdRow"> |
---|
| 341 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 342 | <tr> |
---|
| 343 | <td class="md" nowrap valign="top">FMQuaternion::operator float * </td> |
---|
| 344 | <td class="md" valign="top">( </td> |
---|
| 345 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 346 | <td class="md" valign="top"> ) </td> |
---|
| 347 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 348 | </tr> |
---|
| 349 | </table> |
---|
| 350 | </td> |
---|
| 351 | </tr> |
---|
| 352 | </table> |
---|
| 353 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 354 | <tr> |
---|
| 355 | <td> |
---|
| 356 | |
---|
| 357 | </td> |
---|
| 358 | <td> |
---|
| 359 | |
---|
| 360 | <p> |
---|
| 361 | Get this <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> as an array of <code>floats</code>. |
---|
| 362 | <p> |
---|
| 363 | <dl compact><dt><b>Returns:</b></dt><dd>The <code>float</code> array. </dd></dl> |
---|
| 364 | </td> |
---|
| 365 | </tr> |
---|
| 366 | </table> |
---|
| 367 | <a class="anchor" name="fac9386b2d79c2d63aee70c4d89184ae"></a><!-- doxytag: member="FMQuaternion::operator=" ref="fac9386b2d79c2d63aee70c4d89184ae" args="(const float *v)" --><p> |
---|
| 368 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 369 | <tr> |
---|
| 370 | <td class="mdRow"> |
---|
| 371 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 372 | <tr> |
---|
| 373 | <td class="md" nowrap valign="top"><a class="el" href="class_f_m_quaternion.html">FMQuaternion</a>& FMQuaternion::operator= </td> |
---|
| 374 | <td class="md" valign="top">( </td> |
---|
| 375 | <td class="md" nowrap valign="top">const float * </td> |
---|
| 376 | <td class="mdname1" valign="top" nowrap> <em>v</em> </td> |
---|
| 377 | <td class="md" valign="top"> ) </td> |
---|
| 378 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 379 | </tr> |
---|
| 380 | </table> |
---|
| 381 | </td> |
---|
| 382 | </tr> |
---|
| 383 | </table> |
---|
| 384 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 385 | <tr> |
---|
| 386 | <td> |
---|
| 387 | |
---|
| 388 | </td> |
---|
| 389 | <td> |
---|
| 390 | |
---|
| 391 | <p> |
---|
| 392 | Assign this <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> to the given <code>float</code> array. |
---|
| 393 | <p> |
---|
| 394 | Assigns each coordinate of this <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a> to the elements in the <code>float</code> array. The first element to the i component, the second to the j, the third to the k, and the forth to the scalar. It returns this <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a>.<p> |
---|
| 395 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 396 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 397 | <tr><td valign="top"></td><td valign="top"><em>v</em> </td><td>The <code>float</code> array to assign with. </td></tr> |
---|
| 398 | </table> |
---|
| 399 | </dl> |
---|
| 400 | <dl compact><dt><b>Returns:</b></dt><dd>This <a class="el" href="class_f_m_quaternion.html">FMQuaternion</a>. </dd></dl> |
---|
| 401 | </td> |
---|
| 402 | </tr> |
---|
| 403 | </table> |
---|
| 404 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
| 405 | <li>FMath/<a class="el" href="_f_m_quaternion_8h-source.html">FMQuaternion.h</a></ul> |
---|
| 406 | <hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:44 2006 for FCollada by |
---|
| 407 | <a href="http://www.doxygen.org/index.html"> |
---|
| 408 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address> |
---|
| 409 | </body> |
---|
| 410 | </html> |
---|