1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
2 | <html xmlns="http://www.w3.org/1999/xhtml">
|
---|
3 | <head>
|
---|
4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
---|
5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
---|
6 | <meta name="generator" content="Doxygen 1.8.9.1"/>
|
---|
7 | <title>Flair: Quaternion.h Source File</title>
|
---|
8 | <link href="tabs.css" rel="stylesheet" type="text/css"/>
|
---|
9 | <script type="text/javascript" src="jquery.js"></script>
|
---|
10 | <script type="text/javascript" src="dynsections.js"></script>
|
---|
11 | <link href="navtree.css" rel="stylesheet" type="text/css"/>
|
---|
12 | <script type="text/javascript" src="resize.js"></script>
|
---|
13 | <script type="text/javascript" src="navtreedata.js"></script>
|
---|
14 | <script type="text/javascript" src="navtree.js"></script>
|
---|
15 | <script type="text/javascript">
|
---|
16 | $(document).ready(initResizable);
|
---|
17 | $(window).load(resizeHeight);
|
---|
18 | </script>
|
---|
19 | <link href="search/search.css" rel="stylesheet" type="text/css"/>
|
---|
20 | <script type="text/javascript" src="search/searchdata.js"></script>
|
---|
21 | <script type="text/javascript" src="search/search.js"></script>
|
---|
22 | <script type="text/javascript">
|
---|
23 | $(document).ready(function() { init_search(); });
|
---|
24 | </script>
|
---|
25 | <link href="doxygen.css" rel="stylesheet" type="text/css" />
|
---|
26 | </head>
|
---|
27 | <body>
|
---|
28 | <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
---|
29 | <div id="titlearea">
|
---|
30 | <table cellspacing="0" cellpadding="0">
|
---|
31 | <tbody>
|
---|
32 | <tr style="height: 56px;">
|
---|
33 | <td id="projectlogo"><img alt="Logo" src="logo_hds.png"/></td>
|
---|
34 | <td style="padding-left: 0.5em;">
|
---|
35 | <div id="projectname">Flair
|
---|
36 | </div>
|
---|
37 | <div id="projectbrief">Framework Libre Air</div>
|
---|
38 | </td>
|
---|
39 | </tr>
|
---|
40 | </tbody>
|
---|
41 | </table>
|
---|
42 | </div>
|
---|
43 | <!-- end header part -->
|
---|
44 | <!-- Generated by Doxygen 1.8.9.1 -->
|
---|
45 | <script type="text/javascript">
|
---|
46 | var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
---|
47 | </script>
|
---|
48 | <div id="navrow1" class="tabs">
|
---|
49 | <ul class="tablist">
|
---|
50 | <li><a href="index.html"><span>Main Page</span></a></li>
|
---|
51 | <li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
---|
52 | <li><a href="annotated.html"><span>Classes</span></a></li>
|
---|
53 | <li class="current"><a href="files.html"><span>Files</span></a></li>
|
---|
54 | <li>
|
---|
55 | <div id="MSearchBox" class="MSearchBoxInactive">
|
---|
56 | <span class="left">
|
---|
57 | <img id="MSearchSelect" src="search/mag_sel.png"
|
---|
58 | onmouseover="return searchBox.OnSearchSelectShow()"
|
---|
59 | onmouseout="return searchBox.OnSearchSelectHide()"
|
---|
60 | alt=""/>
|
---|
61 | <input type="text" id="MSearchField" value="Search" accesskey="S"
|
---|
62 | onfocus="searchBox.OnSearchFieldFocus(true)"
|
---|
63 | onblur="searchBox.OnSearchFieldFocus(false)"
|
---|
64 | onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
---|
65 | </span><span class="right">
|
---|
66 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
---|
67 | </span>
|
---|
68 | </div>
|
---|
69 | </li>
|
---|
70 | </ul>
|
---|
71 | </div>
|
---|
72 | <div id="navrow2" class="tabs2">
|
---|
73 | <ul class="tablist">
|
---|
74 | <li><a href="files.html"><span>File List</span></a></li>
|
---|
75 | </ul>
|
---|
76 | </div>
|
---|
77 | </div><!-- top -->
|
---|
78 | <div id="side-nav" class="ui-resizable side-nav-resizable">
|
---|
79 | <div id="nav-tree">
|
---|
80 | <div id="nav-tree-contents">
|
---|
81 | <div id="nav-sync" class="sync"></div>
|
---|
82 | </div>
|
---|
83 | </div>
|
---|
84 | <div id="splitbar" style="-moz-user-select:none;"
|
---|
85 | class="ui-resizable-handle">
|
---|
86 | </div>
|
---|
87 | </div>
|
---|
88 | <script type="text/javascript">
|
---|
89 | $(document).ready(function(){initNavTree('_quaternion_8h_source.html','');});
|
---|
90 | </script>
|
---|
91 | <div id="doc-content">
|
---|
92 | <!-- window showing the filter options -->
|
---|
93 | <div id="MSearchSelectWindow"
|
---|
94 | onmouseover="return searchBox.OnSearchSelectShow()"
|
---|
95 | onmouseout="return searchBox.OnSearchSelectHide()"
|
---|
96 | onkeydown="return searchBox.OnSearchSelectKey(event)">
|
---|
97 | </div>
|
---|
98 |
|
---|
99 | <!-- iframe showing the search results (closed by default) -->
|
---|
100 | <div id="MSearchResultsWindow">
|
---|
101 | <iframe src="javascript:void(0)" frameborder="0"
|
---|
102 | name="MSearchResults" id="MSearchResults">
|
---|
103 | </iframe>
|
---|
104 | </div>
|
---|
105 |
|
---|
106 | <div class="header">
|
---|
107 | <div class="headertitle">
|
---|
108 | <div class="title">Quaternion.h</div> </div>
|
---|
109 | </div><!--header-->
|
---|
110 | <div class="contents">
|
---|
111 | <a href="_quaternion_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// %flair:license{</span></div>
|
---|
112 | <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// This file is part of the Flair framework distributed under the</span></div>
|
---|
113 | <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// CECILL-C License, Version 1.0.</span></div>
|
---|
114 | <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// %flair:license}</span></div>
|
---|
115 | <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"></span><span class="preprocessor">#ifndef QUATERNION_H</span></div>
|
---|
116 | <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#define QUATERNION_H</span></div>
|
---|
117 | <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div>
|
---|
118 | <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <<a class="code" href="_vector3_d_8h.html">Vector3D.h</a>></span></div>
|
---|
119 | <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div>
|
---|
120 | <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <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> <span class="keyword">namespace </span>core {</div>
|
---|
122 | <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">class </span>Euler;</div>
|
---|
123 | <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">class </span>RotationMatrix;</div>
|
---|
124 | <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </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> <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> <span class="keyword">public</span>:</div>
|
---|
127 | <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <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> </div>
|
---|
129 | <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <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> </div>
|
---|
131 | <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <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> </div>
|
---|
133 | <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <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> </div>
|
---|
135 | <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <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> &logarithm);</div>
|
---|
136 | <div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div>
|
---|
137 | <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <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> </div>
|
---|
139 | <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <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> </div>
|
---|
141 | <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <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> </div>
|
---|
143 | <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <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> &angularSpeed) <span class="keyword">const</span>;</div>
|
---|
144 | <div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div>
|
---|
145 | <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <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> &angularSpeed);</div>
|
---|
146 | <div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div>
|
---|
147 | <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <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> &euler) <span class="keyword">const</span>;</div>
|
---|
148 | <div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div>
|
---|
149 | <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <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> </div>
|
---|
151 | <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <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> &matrix) <span class="keyword">const</span>;</div>
|
---|
152 | <div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </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>  <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> </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>  <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> </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>  <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> </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>  <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> </div>
|
---|
161 | <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &operator+=(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &quaternion);</div>
|
---|
162 | <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &operator-=(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &quaternion);</div>
|
---|
163 | <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &operator=(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &quaternion);</div>
|
---|
164 | <div class="line"><a name="l00148"></a><span class="lineno"> 148</span> };</div>
|
---|
165 | <div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div>
|
---|
166 | <div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <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> &quaterniontA,</div>
|
---|
167 | <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &quaterniontB);</div>
|
---|
168 | <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div>
|
---|
169 | <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <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> &quaternionA,</div>
|
---|
170 | <div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &quaterniontB);</div>
|
---|
171 | <div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div>
|
---|
172 | <div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <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> &quaternion);</div>
|
---|
173 | <div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div>
|
---|
174 | <div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <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> &quaternionA,</div>
|
---|
175 | <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> <span class="keyword">const</span> &quaterniontB);</div>
|
---|
176 | <div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div>
|
---|
177 | <div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <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> &quaternion);</div>
|
---|
178 | <div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div>
|
---|
179 | <div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <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> &quaternion, <span class="keywordtype">float</span> coeff);</div>
|
---|
180 | <div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div>
|
---|
181 | <div class="line"><a name="l00218"></a><span class="lineno"> 218</span> } <span class="comment">// end namespace core</span></div>
|
---|
182 | <div class="line"><a name="l00219"></a><span class="lineno"> 219</span> } <span class="comment">// end namespace flair</span></div>
|
---|
183 | <div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div>
|
---|
184 | <div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="preprocessor">#endif // QUATERNION_H</span></div>
|
---|
185 | <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>
|
---|
186 | <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>
|
---|
187 | <div class="ttc" id="namespaceflair_html"><div class="ttname"><a href="namespaceflair.html">flair</a></div><div class="ttdoc">namespace of the flair Framework </div><div class="ttdef"><b>Definition:</b> Ahrs.h:19</div></div>
|
---|
188 | <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>
|
---|
189 | <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>
|
---|
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< float ></a></div></div>
|
---|
191 | <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>
|
---|
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>
|
---|
193 | <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="_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 &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 &angularSpeed)</div><div class="ttdoc">Derivate. </div></div>
|
---|
197 | <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 &matrix) const </div><div class="ttdoc">Convert to rotation matrix. </div></div>
|
---|
198 | <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>
|
---|
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>
|
---|
200 | <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>
|
---|
201 | <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 &quaternionA, Quaternion const &quaterniontB)</div><div class="ttdoc">Multiply. </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>
|
---|
203 | <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 &quaternionA, Quaternion const &quaterniontB)</div><div class="ttdoc">Substract. </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>
|
---|
206 | <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>
|
---|
207 | <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 &quaterniontA, Quaternion const &quaterniontB)</div><div class="ttdoc">Add. </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>
|
---|
209 | </div><!-- fragment --></div><!-- contents -->
|
---|
210 | </div><!-- doc-content -->
|
---|
211 | <!-- start footer part -->
|
---|
212 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
---|
213 | <ul>
|
---|
214 | <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>
|
---|
215 | <li class="footer">Generated on Fri Nov 30 2018 16:40:51 for Flair by
|
---|
216 | <a href="http://www.doxygen.org/index.html">
|
---|
217 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
|
---|
218 | </ul>
|
---|
219 | </div>
|
---|
220 | </body>
|
---|
221 | </html>
|
---|