Changeset 50 in flair-dev for trunk/doc/Flair/_quaternion_8h_source.html


Ignore:
Timestamp:
May 31, 2017, 3:54:26 PM (4 years ago)
Author:
Sanahuja Guillaume
Message:

doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/Flair/_quaternion_8h_source.html

    r47 r50  
    116116<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#define QUATERNION_H</span></div>
    117117<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div>
    118 <div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div>
    119 <div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">namespace </span>core {</div>
    120 <div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">class </span>Euler;</div>
    121 <div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">class </span>Vector3D;</div>
    122 <div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">class </span>RotationMatrix;</div>
    123 <div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
    124 <div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_quaternion.html">   25</a></span>&#160;<span class="keyword">class </span><a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> {</div>
    125 <div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">public</span>:</div>
    126 <div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html#a35151d7d2158d0a4714a66d2d426cf9c">Quaternion</a>(<span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a5394aa98e53d17253efd3c5eaca11fb2">q0</a> = 1, <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#aaaea36fb6b8a1ae444f879e509cb4db5">q1</a> = 0, <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a47c497424771521c976143ef07bc7da1">q2</a> = 0, <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#aabf0e55b55e7c66716494c5d7f343e70">q3</a> = 0);</div>
    127 <div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div>
    128 <div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html#a7aa88aa352e17590e0f9b454357fdbfc">~Quaternion</a>();</div>
    129 <div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
    130 <div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a6931ec913f61c9708ef5970e63f8b0b5">GetNorm</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
    131 <div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
    132 <div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#aa540ffe227bbacd124c77f95d8c720b3">Normalize</a>(<span class="keywordtype">void</span>);</div>
    133 <div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div>
    134 <div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a6a9b3279a79620aea9a3f9ab67eec245">GetLogarithm</a>(<a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;logarithm);</div>
    135 <div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
    136 <div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a6a9b3279a79620aea9a3f9ab67eec245">GetLogarithm</a>(<span class="keywordtype">void</span>);</div>
    137 <div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
    138 <div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#ae3cf1c1892b4d1c70ca055e42709f9df">Conjugate</a>(<span class="keywordtype">void</span>);</div>
    139 <div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
    140 <div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="classflair_1_1core_1_1_quaternion.html#ab7b4f5b1f7419f6179f4fccc49e4e173">GetConjugate</a>(<span class="keywordtype">void</span>);</div>
    141 <div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
    142 <div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="classflair_1_1core_1_1_quaternion.html#ac13bf2f238a45ec6d20f1c1d137f1d39">GetDerivative</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;angularSpeed) <span class="keyword">const</span>;</div>
    143 <div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
    144 <div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a6daa4315e90e3567ab3cc82346deae86">Derivate</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;angularSpeed);</div>
    145 <div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
    146 <div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#ad98cdabf355956519d718aac330174ef">ToEuler</a>(<a class="code" href="classflair_1_1core_1_1_euler.html">Euler</a> &amp;euler) <span class="keyword">const</span>;</div>
    147 <div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div>
    148 <div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;  <a class="code" href="classflair_1_1core_1_1_euler.html">Euler</a> <a class="code" href="classflair_1_1core_1_1_quaternion.html#ad98cdabf355956519d718aac330174ef">ToEuler</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
    149 <div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
    150 <div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a29d40f4afe4fa2f79a08a09619a4fc1a">ToRotationMatrix</a>(<a class="code" href="classflair_1_1core_1_1_rotation_matrix.html">RotationMatrix</a> &amp;matrix) <span class="keyword">const</span>;</div>
    151 <div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div>
    152 <div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_quaternion.html#a5394aa98e53d17253efd3c5eaca11fb2">  127</a></span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a5394aa98e53d17253efd3c5eaca11fb2">q0</a>;</div>
    153 <div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
    154 <div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_quaternion.html#aaaea36fb6b8a1ae444f879e509cb4db5">  132</a></span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#aaaea36fb6b8a1ae444f879e509cb4db5">q1</a>;</div>
    155 <div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
    156 <div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_quaternion.html#a47c497424771521c976143ef07bc7da1">  137</a></span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a47c497424771521c976143ef07bc7da1">q2</a>;</div>
    157 <div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
    158 <div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_quaternion.html#aabf0e55b55e7c66716494c5d7f343e70">  142</a></span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#aabf0e55b55e7c66716494c5d7f343e70">q3</a>;</div>
    159 <div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div>
    160 <div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;operator+=(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;quaternion);</div>
    161 <div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;operator-=(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;quaternion);</div>
    162 <div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;operator=(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;quaternion);</div>
    163 <div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;};</div>
    164 <div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div>
    165 <div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="namespaceflair_1_1core.html#ab372a1107820a30d6fcbef13c8989caa">operator+</a>(<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaterniontA,</div>
    166 <div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;                     <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaterniontB);</div>
    167 <div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div>
    168 <div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="namespaceflair_1_1core.html#ac696d4111ec3b0241bc094add5666245">operator-</a>(<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaternionA,</div>
    169 <div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;                     <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaterniontB);</div>
    170 <div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div>
    171 <div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="namespaceflair_1_1core.html#ac696d4111ec3b0241bc094add5666245">operator-</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;quaternion);</div>
    172 <div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div>
    173 <div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="namespaceflair_1_1core.html#a7a25a222fe16e05be703de31123a6d11">operator*</a>(<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaternionA,</div>
    174 <div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;                     <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaterniontB);</div>
    175 <div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div>
    176 <div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="namespaceflair_1_1core.html#a7a25a222fe16e05be703de31123a6d11">operator*</a>(<span class="keywordtype">float</span> coeff, <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaternion);</div>
    177 <div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div>
    178 <div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="namespaceflair_1_1core.html#a7a25a222fe16e05be703de31123a6d11">operator*</a>(<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaternion, <span class="keywordtype">float</span> coeff);</div>
    179 <div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;</div>
    180 <div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;} <span class="comment">// end namespace core</span></div>
    181 <div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;} <span class="comment">// end namespace flair</span></div>
    182 <div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div>
    183 <div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="preprocessor">#endif // QUATERNION_H</span></div>
     118<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_vector3_d_8h.html">Vector3D.h</a>&gt;</span></div>
     119<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
     120<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div>
     121<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">namespace </span>core {</div>
     122<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">class </span>Euler;</div>
     123<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">class </span>RotationMatrix;</div>
     124<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div>
     125<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_quaternion.html">   26</a></span>&#160;<span class="keyword">class </span><a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> {</div>
     126<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">public</span>:</div>
     127<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html#a35151d7d2158d0a4714a66d2d426cf9c">Quaternion</a>(<span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a5394aa98e53d17253efd3c5eaca11fb2">q0</a> = 1, <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#aaaea36fb6b8a1ae444f879e509cb4db5">q1</a> = 0, <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a47c497424771521c976143ef07bc7da1">q2</a> = 0, <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#aabf0e55b55e7c66716494c5d7f343e70">q3</a> = 0);</div>
     128<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
     129<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html#a7aa88aa352e17590e0f9b454357fdbfc">~Quaternion</a>();</div>
     130<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
     131<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a6931ec913f61c9708ef5970e63f8b0b5">GetNorm</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
     132<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
     133<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#aa540ffe227bbacd124c77f95d8c720b3">Normalize</a>(<span class="keywordtype">void</span>);</div>
     134<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
     135<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#abbda897244c722294de3812bfe7a595b">GetLogarithm</a>(<a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> &amp;logarithm);</div>
     136<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
     137<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> <a class="code" href="classflair_1_1core_1_1_quaternion.html#abbda897244c722294de3812bfe7a595b">GetLogarithm</a>(<span class="keywordtype">void</span>);</div>
     138<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
     139<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#ae3cf1c1892b4d1c70ca055e42709f9df">Conjugate</a>(<span class="keywordtype">void</span>);</div>
     140<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div>
     141<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="classflair_1_1core_1_1_quaternion.html#ab7b4f5b1f7419f6179f4fccc49e4e173">GetConjugate</a>(<span class="keywordtype">void</span>);</div>
     142<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
     143<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a08b196fb32f87dd62e6a3906e5ecaf2c">GetDerivative</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> &amp;angularSpeed) <span class="keyword">const</span>;</div>
     144<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
     145<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a9be083f02e545535ba9dde0dd2ecbcb7">Derivate</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3Df</a> &amp;angularSpeed);</div>
     146<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div>
     147<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#ad98cdabf355956519d718aac330174ef">ToEuler</a>(<a class="code" href="classflair_1_1core_1_1_euler.html">Euler</a> &amp;euler) <span class="keyword">const</span>;</div>
     148<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div>
     149<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;  <a class="code" href="classflair_1_1core_1_1_euler.html">Euler</a> <a class="code" href="classflair_1_1core_1_1_quaternion.html#ad98cdabf355956519d718aac330174ef">ToEuler</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
     150<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div>
     151<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a29d40f4afe4fa2f79a08a09619a4fc1a">ToRotationMatrix</a>(<a class="code" href="classflair_1_1core_1_1_rotation_matrix.html">RotationMatrix</a> &amp;matrix) <span class="keyword">const</span>;</div>
     152<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div>
     153<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_quaternion.html#a5394aa98e53d17253efd3c5eaca11fb2">  128</a></span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a5394aa98e53d17253efd3c5eaca11fb2">q0</a>;</div>
     154<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div>
     155<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_quaternion.html#aaaea36fb6b8a1ae444f879e509cb4db5">  133</a></span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#aaaea36fb6b8a1ae444f879e509cb4db5">q1</a>;</div>
     156<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div>
     157<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_quaternion.html#a47c497424771521c976143ef07bc7da1">  138</a></span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#a47c497424771521c976143ef07bc7da1">q2</a>;</div>
     158<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div>
     159<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_quaternion.html#aabf0e55b55e7c66716494c5d7f343e70">  143</a></span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html#aabf0e55b55e7c66716494c5d7f343e70">q3</a>;</div>
     160<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div>
     161<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;operator+=(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;quaternion);</div>
     162<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;operator-=(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;quaternion);</div>
     163<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;operator=(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;quaternion);</div>
     164<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;};</div>
     165<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div>
     166<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="namespaceflair_1_1core.html#ab372a1107820a30d6fcbef13c8989caa">operator+</a>(<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaterniontA,</div>
     167<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;                     <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaterniontB);</div>
     168<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div>
     169<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="namespaceflair_1_1core.html#ac696d4111ec3b0241bc094add5666245">operator-</a>(<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaternionA,</div>
     170<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;                     <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaterniontB);</div>
     171<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div>
     172<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="namespaceflair_1_1core.html#ac696d4111ec3b0241bc094add5666245">operator-</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;quaternion);</div>
     173<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div>
     174<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="namespaceflair_1_1core.html#a7a25a222fe16e05be703de31123a6d11">operator*</a>(<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaternionA,</div>
     175<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;                     <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaterniontB);</div>
     176<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div>
     177<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="namespaceflair_1_1core.html#a7a25a222fe16e05be703de31123a6d11">operator*</a>(<span class="keywordtype">float</span> coeff, <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaternion);</div>
     178<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;</div>
     179<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <a class="code" href="namespaceflair_1_1core.html#a7a25a222fe16e05be703de31123a6d11">operator*</a>(<a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &amp;quaternion, <span class="keywordtype">float</span> coeff);</div>
     180<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;</div>
     181<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;} <span class="comment">// end namespace core</span></div>
     182<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;} <span class="comment">// end namespace flair</span></div>
     183<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div>
     184<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="preprocessor">#endif // QUATERNION_H</span></div>
    184185<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_a6931ec913f61c9708ef5970e63f8b0b5"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#a6931ec913f61c9708ef5970e63f8b0b5">flair::core::Quaternion::GetNorm</a></div><div class="ttdeci">float GetNorm(void) const </div><div class="ttdoc">Norm. </div></div>
    185186<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_a35151d7d2158d0a4714a66d2d426cf9c"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#a35151d7d2158d0a4714a66d2d426cf9c">flair::core::Quaternion::Quaternion</a></div><div class="ttdeci">Quaternion(float q0=1, float q1=0, float q2=0, float q3=0)</div><div class="ttdoc">Constructor. </div></div>
     
    187188<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_aa540ffe227bbacd124c77f95d8c720b3"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#aa540ffe227bbacd124c77f95d8c720b3">flair::core::Quaternion::Normalize</a></div><div class="ttdeci">void Normalize(void)</div><div class="ttdoc">Normalize. </div></div>
    188189<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_ae3cf1c1892b4d1c70ca055e42709f9df"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#ae3cf1c1892b4d1c70ca055e42709f9df">flair::core::Quaternion::Conjugate</a></div><div class="ttdeci">void Conjugate(void)</div><div class="ttdoc">Conjugate. </div></div>
    189 <div class="ttc" id="classflair_1_1core_1_1_vector3_d_html"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a></div><div class="ttdoc">Class defining a 3D vector. </div><div class="ttdef"><b>Definition:</b> Vector3D.h:28</div></div>
     190<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D&lt; float &gt;</a></div></div>
    190191<div class="ttc" id="classflair_1_1core_1_1_euler_html"><div class="ttname"><a href="classflair_1_1core_1_1_euler.html">flair::core::Euler</a></div><div class="ttdoc">Class defining euler angles. </div><div class="ttdef"><b>Definition:</b> Euler.h:27</div></div>
    191 <div class="ttc" id="classflair_1_1core_1_1_quaternion_html_aaaea36fb6b8a1ae444f879e509cb4db5"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#aaaea36fb6b8a1ae444f879e509cb4db5">flair::core::Quaternion::q1</a></div><div class="ttdeci">float q1</div><div class="ttdoc">q1 </div><div class="ttdef"><b>Definition:</b> Quaternion.h:132</div></div>
    192 <div class="ttc" id="classflair_1_1core_1_1_quaternion_html_a6daa4315e90e3567ab3cc82346deae86"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#a6daa4315e90e3567ab3cc82346deae86">flair::core::Quaternion::Derivate</a></div><div class="ttdeci">void Derivate(const Vector3D &amp;angularSpeed)</div><div class="ttdoc">Derivate. </div></div>
     192<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_aaaea36fb6b8a1ae444f879e509cb4db5"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#aaaea36fb6b8a1ae444f879e509cb4db5">flair::core::Quaternion::q1</a></div><div class="ttdeci">float q1</div><div class="ttdoc">q1 </div><div class="ttdef"><b>Definition:</b> Quaternion.h:133</div></div>
    193193<div class="ttc" id="classflair_1_1core_1_1_rotation_matrix_html"><div class="ttname"><a href="classflair_1_1core_1_1_rotation_matrix.html">flair::core::RotationMatrix</a></div><div class="ttdoc">Class defining a rotation matrix. </div><div class="ttdef"><b>Definition:</b> RotationMatrix.h:26</div></div>
    194 <div class="ttc" id="classflair_1_1core_1_1_quaternion_html_a6a9b3279a79620aea9a3f9ab67eec245"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#a6a9b3279a79620aea9a3f9ab67eec245">flair::core::Quaternion::GetLogarithm</a></div><div class="ttdeci">Vector3D GetLogarithm(void)</div><div class="ttdoc">Logarithm. </div></div>
     194<div class="ttc" id="_vector3_d_8h_html"><div class="ttname"><a href="_vector3_d_8h.html">Vector3D.h</a></div><div class="ttdoc">Class defining a 3D vector. </div></div>
     195<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_a08b196fb32f87dd62e6a3906e5ecaf2c"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#a08b196fb32f87dd62e6a3906e5ecaf2c">flair::core::Quaternion::GetDerivative</a></div><div class="ttdeci">Quaternion GetDerivative(const Vector3Df &amp;angularSpeed) const </div><div class="ttdoc">Derivative. </div></div>
     196<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_a9be083f02e545535ba9dde0dd2ecbcb7"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#a9be083f02e545535ba9dde0dd2ecbcb7">flair::core::Quaternion::Derivate</a></div><div class="ttdeci">void Derivate(const Vector3Df &amp;angularSpeed)</div><div class="ttdoc">Derivate. </div></div>
    195197<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_a29d40f4afe4fa2f79a08a09619a4fc1a"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#a29d40f4afe4fa2f79a08a09619a4fc1a">flair::core::Quaternion::ToRotationMatrix</a></div><div class="ttdeci">void ToRotationMatrix(RotationMatrix &amp;matrix) const </div><div class="ttdoc">Convert to rotation matrix. </div></div>
    196 <div class="ttc" id="classflair_1_1core_1_1_quaternion_html_ac13bf2f238a45ec6d20f1c1d137f1d39"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#ac13bf2f238a45ec6d20f1c1d137f1d39">flair::core::Quaternion::GetDerivative</a></div><div class="ttdeci">Quaternion GetDerivative(const Vector3D &amp;angularSpeed) const </div><div class="ttdoc">Derivative. </div></div>
    197198<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_ab7b4f5b1f7419f6179f4fccc49e4e173"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#ab7b4f5b1f7419f6179f4fccc49e4e173">flair::core::Quaternion::GetConjugate</a></div><div class="ttdeci">Quaternion GetConjugate(void)</div><div class="ttdoc">Conjugate. </div></div>
    198 <div class="ttc" id="classflair_1_1core_1_1_quaternion_html_a47c497424771521c976143ef07bc7da1"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#a47c497424771521c976143ef07bc7da1">flair::core::Quaternion::q2</a></div><div class="ttdeci">float q2</div><div class="ttdoc">q2 </div><div class="ttdef"><b>Definition:</b> Quaternion.h:137</div></div>
     199<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_a47c497424771521c976143ef07bc7da1"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#a47c497424771521c976143ef07bc7da1">flair::core::Quaternion::q2</a></div><div class="ttdeci">float q2</div><div class="ttdoc">q2 </div><div class="ttdef"><b>Definition:</b> Quaternion.h:138</div></div>
    199200<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_a7aa88aa352e17590e0f9b454357fdbfc"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#a7aa88aa352e17590e0f9b454357fdbfc">flair::core::Quaternion::~Quaternion</a></div><div class="ttdeci">~Quaternion()</div><div class="ttdoc">Destructor. </div></div>
    200201<div class="ttc" id="namespaceflair_1_1core_html_a7a25a222fe16e05be703de31123a6d11"><div class="ttname"><a href="namespaceflair_1_1core.html#a7a25a222fe16e05be703de31123a6d11">flair::core::operator*</a></div><div class="ttdeci">Quaternion operator*(Quaternion const &amp;quaternionA, Quaternion const &amp;quaterniontB)</div><div class="ttdoc">Multiply. </div></div>
    201 <div class="ttc" id="classflair_1_1core_1_1_quaternion_html_a5394aa98e53d17253efd3c5eaca11fb2"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#a5394aa98e53d17253efd3c5eaca11fb2">flair::core::Quaternion::q0</a></div><div class="ttdeci">float q0</div><div class="ttdoc">q0 </div><div class="ttdef"><b>Definition:</b> Quaternion.h:127</div></div>
     202<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_a5394aa98e53d17253efd3c5eaca11fb2"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#a5394aa98e53d17253efd3c5eaca11fb2">flair::core::Quaternion::q0</a></div><div class="ttdeci">float q0</div><div class="ttdoc">q0 </div><div class="ttdef"><b>Definition:</b> Quaternion.h:128</div></div>
    202203<div class="ttc" id="namespaceflair_1_1core_html_ac696d4111ec3b0241bc094add5666245"><div class="ttname"><a href="namespaceflair_1_1core.html#ac696d4111ec3b0241bc094add5666245">flair::core::operator-</a></div><div class="ttdeci">Quaternion operator-(Quaternion const &amp;quaternionA, Quaternion const &amp;quaterniontB)</div><div class="ttdoc">Substract. </div></div>
    203 <div class="ttc" id="classflair_1_1core_1_1_quaternion_html_aabf0e55b55e7c66716494c5d7f343e70"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#aabf0e55b55e7c66716494c5d7f343e70">flair::core::Quaternion::q3</a></div><div class="ttdeci">float q3</div><div class="ttdoc">q3 </div><div class="ttdef"><b>Definition:</b> Quaternion.h:142</div></div>
     204<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_aabf0e55b55e7c66716494c5d7f343e70"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#aabf0e55b55e7c66716494c5d7f343e70">flair::core::Quaternion::q3</a></div><div class="ttdeci">float q3</div><div class="ttdoc">q3 </div><div class="ttdef"><b>Definition:</b> Quaternion.h:143</div></div>
     205<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_abbda897244c722294de3812bfe7a595b"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#abbda897244c722294de3812bfe7a595b">flair::core::Quaternion::GetLogarithm</a></div><div class="ttdeci">Vector3Df GetLogarithm(void)</div><div class="ttdoc">Logarithm. </div></div>
    204206<div class="ttc" id="classflair_1_1core_1_1_quaternion_html_ad98cdabf355956519d718aac330174ef"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html#ad98cdabf355956519d718aac330174ef">flair::core::Quaternion::ToEuler</a></div><div class="ttdeci">Euler ToEuler(void) const </div><div class="ttdoc">Convert to euler angles. </div></div>
    205207<div class="ttc" id="namespaceflair_1_1core_html_ab372a1107820a30d6fcbef13c8989caa"><div class="ttname"><a href="namespaceflair_1_1core.html#ab372a1107820a30d6fcbef13c8989caa">flair::core::operator+</a></div><div class="ttdeci">Quaternion operator+(Quaternion const &amp;quaterniontA, Quaternion const &amp;quaterniontB)</div><div class="ttdoc">Add. </div></div>
    206 <div class="ttc" id="classflair_1_1core_1_1_quaternion_html"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html">flair::core::Quaternion</a></div><div class="ttdoc">Class defining a quaternion. </div><div class="ttdef"><b>Definition:</b> Quaternion.h:25</div></div>
     208<div class="ttc" id="classflair_1_1core_1_1_quaternion_html"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html">flair::core::Quaternion</a></div><div class="ttdoc">Class defining a quaternion. </div><div class="ttdef"><b>Definition:</b> Quaternion.h:26</div></div>
    207209</div><!-- fragment --></div><!-- contents -->
    208210</div><!-- doc-content -->
     
    211213  <ul>
    212214    <li class="navelem"><a class="el" href="dir_33c2ee9b1665499374b4225c427cf176.html">igep</a></li><li class="navelem"><a class="el" href="dir_f1fe274389177bd7e17de7949c4ffada.html">flair-src</a></li><li class="navelem"><a class="el" href="dir_3ef62148cf94871b4b6ee5d6e3a989c1.html">lib</a></li><li class="navelem"><a class="el" href="dir_97265977dbbd48c696782ccac102bad5.html">FlairCore</a></li><li class="navelem"><a class="el" href="dir_6c198461db290ac9abcdd44184573216.html">src</a></li><li class="navelem"><a class="el" href="_quaternion_8h.html">Quaternion.h</a></li>
    213     <li class="footer">Generated on Tue Jan 17 2017 09:52:30 for Flair by
     215    <li class="footer">Generated on Wed May 31 2017 13:50:37 for Flair by
    214216    <a href="http://www.doxygen.org/index.html">
    215217    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
Note: See TracChangeset for help on using the changeset viewer.