source: flair-dev/trunk/doc/Flair/classflair_1_1core_1_1_vector3_d.html@ 35

Last change on this file since 35 was 35, checked in by Sanahuja Guillaume, 8 years ago

m

File size: 36.5 KB
Line 
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: flair::core::Vector3D Class Reference</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">
46var 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&#160;Page</span></a></li>
51 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
52 <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
53 <li><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="annotated.html"><span>Class&#160;List</span></a></li>
75 <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
76 <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
77 <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
78 </ul>
79 </div>
80</div><!-- top -->
81<div id="side-nav" class="ui-resizable side-nav-resizable">
82 <div id="nav-tree">
83 <div id="nav-tree-contents">
84 <div id="nav-sync" class="sync"></div>
85 </div>
86 </div>
87 <div id="splitbar" style="-moz-user-select:none;"
88 class="ui-resizable-handle">
89 </div>
90</div>
91<script type="text/javascript">
92$(document).ready(function(){initNavTree('classflair_1_1core_1_1_vector3_d.html','');});
93</script>
94<div id="doc-content">
95<!-- window showing the filter options -->
96<div id="MSearchSelectWindow"
97 onmouseover="return searchBox.OnSearchSelectShow()"
98 onmouseout="return searchBox.OnSearchSelectHide()"
99 onkeydown="return searchBox.OnSearchSelectKey(event)">
100</div>
101
102<!-- iframe showing the search results (closed by default) -->
103<div id="MSearchResultsWindow">
104<iframe src="javascript:void(0)" frameborder="0"
105 name="MSearchResults" id="MSearchResults">
106</iframe>
107</div>
108
109<div class="header">
110 <div class="summary">
111<a href="#pub-methods">Public Member Functions</a> &#124;
112<a href="#pub-attribs">Public Attributes</a> &#124;
113<a href="classflair_1_1core_1_1_vector3_d-members.html">List of all members</a> </div>
114 <div class="headertitle">
115<div class="title">flair::core::Vector3D Class Reference</div> </div>
116</div><!--header-->
117<div class="contents">
118
119<p>Class defining a 3D vector.
120 <a href="classflair_1_1core_1_1_vector3_d.html#details">More...</a></p>
121
122<p><code>#include &lt;<a class="el" href="_vector3_d_8h_source.html">Vector3D.h</a>&gt;</code></p>
123<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
124 <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for flair::core::Vector3D:</div>
125<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
126</div>
127<div id="dynsection-0-content" class="dyncontent" style="display:none;">
128 <div class="center">
129 <img src="classflair_1_1core_1_1_vector3_d.png" usemap="#flair::core::Vector3D_map" alt=""/>
130 <map id="flair::core::Vector3D_map" name="flair::core::Vector3D_map">
131<area href="classflair_1_1core_1_1_vector3_ddata.html" title="Class defining a 3D vector and a io_data User must manually use the io_data&#39;s Mutex to access to Vect..." alt="flair::core::Vector3Ddata" shape="rect" coords="0,56,150,80"/>
132</map>
133 </div></div>
134<table class="memberdecls">
135<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
136Public Member Functions</h2></td></tr>
137<tr class="memitem:a665b8d12fefcce0292ff2a64d98cae04"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a665b8d12fefcce0292ff2a64d98cae04">Vector3D</a> (float <a class="el" href="classflair_1_1core_1_1_vector3_d.html#a6762d159674d7a41f7222788f1e22521">x</a>=0, float <a class="el" href="classflair_1_1core_1_1_vector3_d.html#a384aaec66e633291ca72453027f5c7a7">y</a>=0, float <a class="el" href="classflair_1_1core_1_1_vector3_d.html#ab63f9cacf690d26f2ac1669c4dc2fa72">z</a>=0)</td></tr>
138<tr class="memdesc:a665b8d12fefcce0292ff2a64d98cae04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="#a665b8d12fefcce0292ff2a64d98cae04">More...</a><br /></td></tr>
139<tr class="separator:a665b8d12fefcce0292ff2a64d98cae04"><td class="memSeparator" colspan="2">&#160;</td></tr>
140<tr class="memitem:a32d5a51c0d55cb421b8ea03328a116c4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a32d5a51c0d55cb421b8ea03328a116c4">~Vector3D</a> ()</td></tr>
141<tr class="memdesc:a32d5a51c0d55cb421b8ea03328a116c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#a32d5a51c0d55cb421b8ea03328a116c4">More...</a><br /></td></tr>
142<tr class="separator:a32d5a51c0d55cb421b8ea03328a116c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
143<tr class="memitem:ac752f69f6eabcfdcc5a7a87938acca5b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#ac752f69f6eabcfdcc5a7a87938acca5b">RotateX</a> (float value)</td></tr>
144<tr class="memdesc:ac752f69f6eabcfdcc5a7a87938acca5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">x axis rotation <a href="#ac752f69f6eabcfdcc5a7a87938acca5b">More...</a><br /></td></tr>
145<tr class="separator:ac752f69f6eabcfdcc5a7a87938acca5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
146<tr class="memitem:a12718713487838295bbfa7d37a62fe4b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a12718713487838295bbfa7d37a62fe4b">RotateXDeg</a> (float value)</td></tr>
147<tr class="memdesc:a12718713487838295bbfa7d37a62fe4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">x axis rotation <a href="#a12718713487838295bbfa7d37a62fe4b">More...</a><br /></td></tr>
148<tr class="separator:a12718713487838295bbfa7d37a62fe4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
149<tr class="memitem:a6f35427a9d3ceac38b7fd288bb9ddde8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a6f35427a9d3ceac38b7fd288bb9ddde8">RotateY</a> (float value)</td></tr>
150<tr class="memdesc:a6f35427a9d3ceac38b7fd288bb9ddde8"><td class="mdescLeft">&#160;</td><td class="mdescRight">y axis rotation <a href="#a6f35427a9d3ceac38b7fd288bb9ddde8">More...</a><br /></td></tr>
151<tr class="separator:a6f35427a9d3ceac38b7fd288bb9ddde8"><td class="memSeparator" colspan="2">&#160;</td></tr>
152<tr class="memitem:ac0841a063753ae1b3ceb98fe7ae72e60"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#ac0841a063753ae1b3ceb98fe7ae72e60">RotateYDeg</a> (float value)</td></tr>
153<tr class="memdesc:ac0841a063753ae1b3ceb98fe7ae72e60"><td class="mdescLeft">&#160;</td><td class="mdescRight">y axis rotation <a href="#ac0841a063753ae1b3ceb98fe7ae72e60">More...</a><br /></td></tr>
154<tr class="separator:ac0841a063753ae1b3ceb98fe7ae72e60"><td class="memSeparator" colspan="2">&#160;</td></tr>
155<tr class="memitem:a2576c1e8cc0113884d30c6d6b158a0b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a2576c1e8cc0113884d30c6d6b158a0b1">RotateZ</a> (float value)</td></tr>
156<tr class="memdesc:a2576c1e8cc0113884d30c6d6b158a0b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">z axis rotation <a href="#a2576c1e8cc0113884d30c6d6b158a0b1">More...</a><br /></td></tr>
157<tr class="separator:a2576c1e8cc0113884d30c6d6b158a0b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
158<tr class="memitem:abdfb5c26a13ca21ad5674ec5d1f83ec8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#abdfb5c26a13ca21ad5674ec5d1f83ec8">RotateZDeg</a> (float value)</td></tr>
159<tr class="memdesc:abdfb5c26a13ca21ad5674ec5d1f83ec8"><td class="mdescLeft">&#160;</td><td class="mdescRight">z axis rotation <a href="#abdfb5c26a13ca21ad5674ec5d1f83ec8">More...</a><br /></td></tr>
160<tr class="separator:abdfb5c26a13ca21ad5674ec5d1f83ec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
161<tr class="memitem:abf242a58a3126477a930e34a7a9d6097"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#abf242a58a3126477a930e34a7a9d6097">Rotate</a> (const <a class="el" href="classflair_1_1core_1_1_rotation_matrix.html">RotationMatrix</a> &amp;matrix)</td></tr>
162<tr class="memdesc:abf242a58a3126477a930e34a7a9d6097"><td class="mdescLeft">&#160;</td><td class="mdescRight">rotation <a href="#abf242a58a3126477a930e34a7a9d6097">More...</a><br /></td></tr>
163<tr class="separator:abf242a58a3126477a930e34a7a9d6097"><td class="memSeparator" colspan="2">&#160;</td></tr>
164<tr class="memitem:aba5e970bf0b6cdb650bf8b31771fa360"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#aba5e970bf0b6cdb650bf8b31771fa360">Rotate</a> (const <a class="el" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;quaternion)</td></tr>
165<tr class="memdesc:aba5e970bf0b6cdb650bf8b31771fa360"><td class="mdescLeft">&#160;</td><td class="mdescRight">rotation <a href="#aba5e970bf0b6cdb650bf8b31771fa360">More...</a><br /></td></tr>
166<tr class="separator:aba5e970bf0b6cdb650bf8b31771fa360"><td class="memSeparator" colspan="2">&#160;</td></tr>
167<tr class="memitem:a3fd138b1900ecdbde6c769418690f0ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a3fd138b1900ecdbde6c769418690f0ab">To2Dxy</a> (<a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a> &amp;vector) const </td></tr>
168<tr class="memdesc:a3fd138b1900ecdbde6c769418690f0ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert to a <a class="el" href="classflair_1_1core_1_1_vector2_d.html" title="Class defining a 2D vector. ">Vector2D</a>. <a href="#a3fd138b1900ecdbde6c769418690f0ab">More...</a><br /></td></tr>
169<tr class="separator:a3fd138b1900ecdbde6c769418690f0ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
170<tr class="memitem:a2e429622d42ce939ec33d04cf68f6c66"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a2e429622d42ce939ec33d04cf68f6c66">To2Dxy</a> (void) const </td></tr>
171<tr class="memdesc:a2e429622d42ce939ec33d04cf68f6c66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert to a <a class="el" href="classflair_1_1core_1_1_vector2_d.html" title="Class defining a 2D vector. ">Vector2D</a>. <a href="#a2e429622d42ce939ec33d04cf68f6c66">More...</a><br /></td></tr>
172<tr class="separator:a2e429622d42ce939ec33d04cf68f6c66"><td class="memSeparator" colspan="2">&#160;</td></tr>
173<tr class="memitem:a6787f33bc83a7e98f906a65f6add13ab"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a6787f33bc83a7e98f906a65f6add13ab">GetNorm</a> (void) const </td></tr>
174<tr class="memdesc:a6787f33bc83a7e98f906a65f6add13ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Norm. <a href="#a6787f33bc83a7e98f906a65f6add13ab">More...</a><br /></td></tr>
175<tr class="separator:a6787f33bc83a7e98f906a65f6add13ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
176<tr class="memitem:ac366fd091759be0c39ef8d342f5d2007"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#ac366fd091759be0c39ef8d342f5d2007">Normalize</a> (void)</td></tr>
177<tr class="memdesc:ac366fd091759be0c39ef8d342f5d2007"><td class="mdescLeft">&#160;</td><td class="mdescRight">Normalize. <a href="#ac366fd091759be0c39ef8d342f5d2007">More...</a><br /></td></tr>
178<tr class="separator:ac366fd091759be0c39ef8d342f5d2007"><td class="memSeparator" colspan="2">&#160;</td></tr>
179<tr class="memitem:a5cb64b1d1a281549d8ec8ae87ad7ab85"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a5cb64b1d1a281549d8ec8ae87ad7ab85">Saturate</a> (const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;min, const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;max)</td></tr>
180<tr class="memdesc:a5cb64b1d1a281549d8ec8ae87ad7ab85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saturate. <a href="#a5cb64b1d1a281549d8ec8ae87ad7ab85">More...</a><br /></td></tr>
181<tr class="separator:a5cb64b1d1a281549d8ec8ae87ad7ab85"><td class="memSeparator" colspan="2">&#160;</td></tr>
182<tr class="memitem:a84b84ea0d3a45915d5869a04d7641a38"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a84b84ea0d3a45915d5869a04d7641a38">Saturate</a> (float min, float max)</td></tr>
183<tr class="memdesc:a84b84ea0d3a45915d5869a04d7641a38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saturate. <a href="#a84b84ea0d3a45915d5869a04d7641a38">More...</a><br /></td></tr>
184<tr class="separator:a84b84ea0d3a45915d5869a04d7641a38"><td class="memSeparator" colspan="2">&#160;</td></tr>
185<tr class="memitem:aa7d73d1f9cfd2f9a6da275ac92ed215e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#aa7d73d1f9cfd2f9a6da275ac92ed215e">Saturate</a> (const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;value)</td></tr>
186<tr class="memdesc:aa7d73d1f9cfd2f9a6da275ac92ed215e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saturate. <a href="#aa7d73d1f9cfd2f9a6da275ac92ed215e">More...</a><br /></td></tr>
187<tr class="separator:aa7d73d1f9cfd2f9a6da275ac92ed215e"><td class="memSeparator" colspan="2">&#160;</td></tr>
188<tr class="memitem:a3ad4bdcace1ac9bcb5abc85f7d9e5a71"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a3ad4bdcace1ac9bcb5abc85f7d9e5a71">Saturate</a> (float value)</td></tr>
189<tr class="memdesc:a3ad4bdcace1ac9bcb5abc85f7d9e5a71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saturate. <a href="#a3ad4bdcace1ac9bcb5abc85f7d9e5a71">More...</a><br /></td></tr>
190<tr class="separator:a3ad4bdcace1ac9bcb5abc85f7d9e5a71"><td class="memSeparator" colspan="2">&#160;</td></tr>
191<tr class="memitem:a36b91e889f5c1af9f9fdbd3e8767f899"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a36b91e889f5c1af9f9fdbd3e8767f899"></a>
192float &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (size_t idx)</td></tr>
193<tr class="separator:a36b91e889f5c1af9f9fdbd3e8767f899"><td class="memSeparator" colspan="2">&#160;</td></tr>
194<tr class="memitem:ad938aaec265b052b291a62ef43d2684d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad938aaec265b052b291a62ef43d2684d"></a>
195const float &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (size_t idx) const </td></tr>
196<tr class="separator:ad938aaec265b052b291a62ef43d2684d"><td class="memSeparator" colspan="2">&#160;</td></tr>
197<tr class="memitem:a7658adc90742044380b6b5a05a25628e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7658adc90742044380b6b5a05a25628e"></a>
198<a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vector)</td></tr>
199<tr class="separator:a7658adc90742044380b6b5a05a25628e"><td class="memSeparator" colspan="2">&#160;</td></tr>
200<tr class="memitem:a8e9925463e3656fa38f1807b2a8a127a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e9925463e3656fa38f1807b2a8a127a"></a>
201<a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+=</b> (const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vector)</td></tr>
202<tr class="separator:a8e9925463e3656fa38f1807b2a8a127a"><td class="memSeparator" colspan="2">&#160;</td></tr>
203<tr class="memitem:a1034a69a45f0b5703933ad46eb066e51"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1034a69a45f0b5703933ad46eb066e51"></a>
204<a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-=</b> (const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vector)</td></tr>
205<tr class="separator:a1034a69a45f0b5703933ad46eb066e51"><td class="memSeparator" colspan="2">&#160;</td></tr>
206</table><table class="memberdecls">
207<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
208Public Attributes</h2></td></tr>
209<tr class="memitem:a6762d159674d7a41f7222788f1e22521"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a6762d159674d7a41f7222788f1e22521">x</a></td></tr>
210<tr class="memdesc:a6762d159674d7a41f7222788f1e22521"><td class="mdescLeft">&#160;</td><td class="mdescRight">x <a href="#a6762d159674d7a41f7222788f1e22521">More...</a><br /></td></tr>
211<tr class="separator:a6762d159674d7a41f7222788f1e22521"><td class="memSeparator" colspan="2">&#160;</td></tr>
212<tr class="memitem:a384aaec66e633291ca72453027f5c7a7"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a384aaec66e633291ca72453027f5c7a7">y</a></td></tr>
213<tr class="memdesc:a384aaec66e633291ca72453027f5c7a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">y <a href="#a384aaec66e633291ca72453027f5c7a7">More...</a><br /></td></tr>
214<tr class="separator:a384aaec66e633291ca72453027f5c7a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
215<tr class="memitem:ab63f9cacf690d26f2ac1669c4dc2fa72"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#ab63f9cacf690d26f2ac1669c4dc2fa72">z</a></td></tr>
216<tr class="memdesc:ab63f9cacf690d26f2ac1669c4dc2fa72"><td class="mdescLeft">&#160;</td><td class="mdescRight">z <a href="#ab63f9cacf690d26f2ac1669c4dc2fa72">More...</a><br /></td></tr>
217<tr class="separator:ab63f9cacf690d26f2ac1669c4dc2fa72"><td class="memSeparator" colspan="2">&#160;</td></tr>
218</table>
219<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
220<div class="textblock"><p>Class defining a 3D vector. </p>
221</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
222<a class="anchor" id="a665b8d12fefcce0292ff2a64d98cae04"></a>
223<div class="memitem">
224<div class="memproto">
225 <table class="memname">
226 <tr>
227 <td class="memname">flair::core::Vector3D::Vector3D </td>
228 <td>(</td>
229 <td class="paramtype">float&#160;</td>
230 <td class="paramname"><em>x</em> = <code>0</code>, </td>
231 </tr>
232 <tr>
233 <td class="paramkey"></td>
234 <td></td>
235 <td class="paramtype">float&#160;</td>
236 <td class="paramname"><em>y</em> = <code>0</code>, </td>
237 </tr>
238 <tr>
239 <td class="paramkey"></td>
240 <td></td>
241 <td class="paramtype">float&#160;</td>
242 <td class="paramname"><em>z</em> = <code>0</code>&#160;</td>
243 </tr>
244 <tr>
245 <td></td>
246 <td>)</td>
247 <td></td><td></td>
248 </tr>
249 </table>
250</div><div class="memdoc">
251
252<p>Constructor. </p>
253<p>Construct a <a class="el" href="classflair_1_1core_1_1_vector3_d.html" title="Class defining a 3D vector. ">Vector3D</a> using specified values.</p>
254<dl class="params"><dt>Parameters</dt><dd>
255 <table class="params">
256 <tr><td class="paramname">x</td><td></td></tr>
257 <tr><td class="paramname">y</td><td></td></tr>
258 <tr><td class="paramname">z</td><td></td></tr>
259 </table>
260 </dd>
261</dl>
262
263</div>
264</div>
265<a class="anchor" id="a32d5a51c0d55cb421b8ea03328a116c4"></a>
266<div class="memitem">
267<div class="memproto">
268 <table class="memname">
269 <tr>
270 <td class="memname">flair::core::Vector3D::~Vector3D </td>
271 <td>(</td>
272 <td class="paramname"></td><td>)</td>
273 <td></td>
274 </tr>
275 </table>
276</div><div class="memdoc">
277
278<p>Destructor. </p>
279
280</div>
281</div>
282<h2 class="groupheader">Member Function Documentation</h2>
283<a class="anchor" id="ac752f69f6eabcfdcc5a7a87938acca5b"></a>
284<div class="memitem">
285<div class="memproto">
286 <table class="memname">
287 <tr>
288 <td class="memname">void flair::core::Vector3D::RotateX </td>
289 <td>(</td>
290 <td class="paramtype">float&#160;</td>
291 <td class="paramname"><em>value</em></td><td>)</td>
292 <td></td>
293 </tr>
294 </table>
295</div><div class="memdoc">
296
297<p>x axis rotation </p>
298<dl class="params"><dt>Parameters</dt><dd>
299 <table class="params">
300 <tr><td class="paramname">value</td><td>rotation value in radians </td></tr>
301 </table>
302 </dd>
303</dl>
304
305</div>
306</div>
307<a class="anchor" id="a12718713487838295bbfa7d37a62fe4b"></a>
308<div class="memitem">
309<div class="memproto">
310 <table class="memname">
311 <tr>
312 <td class="memname">void flair::core::Vector3D::RotateXDeg </td>
313 <td>(</td>
314 <td class="paramtype">float&#160;</td>
315 <td class="paramname"><em>value</em></td><td>)</td>
316 <td></td>
317 </tr>
318 </table>
319</div><div class="memdoc">
320
321<p>x axis rotation </p>
322<dl class="params"><dt>Parameters</dt><dd>
323 <table class="params">
324 <tr><td class="paramname">value</td><td>rotation value in degrees </td></tr>
325 </table>
326 </dd>
327</dl>
328
329</div>
330</div>
331<a class="anchor" id="a6f35427a9d3ceac38b7fd288bb9ddde8"></a>
332<div class="memitem">
333<div class="memproto">
334 <table class="memname">
335 <tr>
336 <td class="memname">void flair::core::Vector3D::RotateY </td>
337 <td>(</td>
338 <td class="paramtype">float&#160;</td>
339 <td class="paramname"><em>value</em></td><td>)</td>
340 <td></td>
341 </tr>
342 </table>
343</div><div class="memdoc">
344
345<p>y axis rotation </p>
346<dl class="params"><dt>Parameters</dt><dd>
347 <table class="params">
348 <tr><td class="paramname">value</td><td>rotation value in radians </td></tr>
349 </table>
350 </dd>
351</dl>
352
353</div>
354</div>
355<a class="anchor" id="ac0841a063753ae1b3ceb98fe7ae72e60"></a>
356<div class="memitem">
357<div class="memproto">
358 <table class="memname">
359 <tr>
360 <td class="memname">void flair::core::Vector3D::RotateYDeg </td>
361 <td>(</td>
362 <td class="paramtype">float&#160;</td>
363 <td class="paramname"><em>value</em></td><td>)</td>
364 <td></td>
365 </tr>
366 </table>
367</div><div class="memdoc">
368
369<p>y axis rotation </p>
370<dl class="params"><dt>Parameters</dt><dd>
371 <table class="params">
372 <tr><td class="paramname">value</td><td>rotation value in degrees </td></tr>
373 </table>
374 </dd>
375</dl>
376
377</div>
378</div>
379<a class="anchor" id="a2576c1e8cc0113884d30c6d6b158a0b1"></a>
380<div class="memitem">
381<div class="memproto">
382 <table class="memname">
383 <tr>
384 <td class="memname">void flair::core::Vector3D::RotateZ </td>
385 <td>(</td>
386 <td class="paramtype">float&#160;</td>
387 <td class="paramname"><em>value</em></td><td>)</td>
388 <td></td>
389 </tr>
390 </table>
391</div><div class="memdoc">
392
393<p>z axis rotation </p>
394<dl class="params"><dt>Parameters</dt><dd>
395 <table class="params">
396 <tr><td class="paramname">value</td><td>rotation value in radians </td></tr>
397 </table>
398 </dd>
399</dl>
400
401</div>
402</div>
403<a class="anchor" id="abdfb5c26a13ca21ad5674ec5d1f83ec8"></a>
404<div class="memitem">
405<div class="memproto">
406 <table class="memname">
407 <tr>
408 <td class="memname">void flair::core::Vector3D::RotateZDeg </td>
409 <td>(</td>
410 <td class="paramtype">float&#160;</td>
411 <td class="paramname"><em>value</em></td><td>)</td>
412 <td></td>
413 </tr>
414 </table>
415</div><div class="memdoc">
416
417<p>z axis rotation </p>
418<dl class="params"><dt>Parameters</dt><dd>
419 <table class="params">
420 <tr><td class="paramname">value</td><td>rotation value in degrees </td></tr>
421 </table>
422 </dd>
423</dl>
424
425</div>
426</div>
427<a class="anchor" id="abf242a58a3126477a930e34a7a9d6097"></a>
428<div class="memitem">
429<div class="memproto">
430 <table class="memname">
431 <tr>
432 <td class="memname">void flair::core::Vector3D::Rotate </td>
433 <td>(</td>
434 <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_rotation_matrix.html">RotationMatrix</a> &amp;&#160;</td>
435 <td class="paramname"><em>matrix</em></td><td>)</td>
436 <td></td>
437 </tr>
438 </table>
439</div><div class="memdoc">
440
441<p>rotation </p>
442<dl class="params"><dt>Parameters</dt><dd>
443 <table class="params">
444 <tr><td class="paramname">matrix</td><td>rotation matrix </td></tr>
445 </table>
446 </dd>
447</dl>
448
449</div>
450</div>
451<a class="anchor" id="aba5e970bf0b6cdb650bf8b31771fa360"></a>
452<div class="memitem">
453<div class="memproto">
454 <table class="memname">
455 <tr>
456 <td class="memname">void flair::core::Vector3D::Rotate </td>
457 <td>(</td>
458 <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
459 <td class="paramname"><em>quaternion</em></td><td>)</td>
460 <td></td>
461 </tr>
462 </table>
463</div><div class="memdoc">
464
465<p>rotation </p>
466<p>Compute a rotation from a quaternion. This method uses a rotation matrix internaly.</p>
467<dl class="params"><dt>Parameters</dt><dd>
468 <table class="params">
469 <tr><td class="paramname">quaternion</td><td>quaternion </td></tr>
470 </table>
471 </dd>
472</dl>
473
474</div>
475</div>
476<a class="anchor" id="a3fd138b1900ecdbde6c769418690f0ab"></a>
477<div class="memitem">
478<div class="memproto">
479 <table class="memname">
480 <tr>
481 <td class="memname">void flair::core::Vector3D::To2Dxy </td>
482 <td>(</td>
483 <td class="paramtype"><a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a> &amp;&#160;</td>
484 <td class="paramname"><em>vector</em></td><td>)</td>
485 <td> const</td>
486 </tr>
487 </table>
488</div><div class="memdoc">
489
490<p>Convert to a <a class="el" href="classflair_1_1core_1_1_vector2_d.html" title="Class defining a 2D vector. ">Vector2D</a>. </p>
491<p>Uses x and y coordinates.</p>
492<dl class="params"><dt>Parameters</dt><dd>
493 <table class="params">
494 <tr><td class="paramname">vector</td><td>destination </td></tr>
495 </table>
496 </dd>
497</dl>
498
499</div>
500</div>
501<a class="anchor" id="a2e429622d42ce939ec33d04cf68f6c66"></a>
502<div class="memitem">
503<div class="memproto">
504 <table class="memname">
505 <tr>
506 <td class="memname"><a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a> flair::core::Vector3D::To2Dxy </td>
507 <td>(</td>
508 <td class="paramtype">void&#160;</td>
509 <td class="paramname"></td><td>)</td>
510 <td> const</td>
511 </tr>
512 </table>
513</div><div class="memdoc">
514
515<p>Convert to a <a class="el" href="classflair_1_1core_1_1_vector2_d.html" title="Class defining a 2D vector. ">Vector2D</a>. </p>
516<p>Uses x and y coordinates.</p>
517<dl class="section return"><dt>Returns</dt><dd>destination </dd></dl>
518
519</div>
520</div>
521<a class="anchor" id="a6787f33bc83a7e98f906a65f6add13ab"></a>
522<div class="memitem">
523<div class="memproto">
524 <table class="memname">
525 <tr>
526 <td class="memname">float flair::core::Vector3D::GetNorm </td>
527 <td>(</td>
528 <td class="paramtype">void&#160;</td>
529 <td class="paramname"></td><td>)</td>
530 <td> const</td>
531 </tr>
532 </table>
533</div><div class="memdoc">
534
535<p>Norm. </p>
536<dl class="section return"><dt>Returns</dt><dd>value </dd></dl>
537
538</div>
539</div>
540<a class="anchor" id="ac366fd091759be0c39ef8d342f5d2007"></a>
541<div class="memitem">
542<div class="memproto">
543 <table class="memname">
544 <tr>
545 <td class="memname">void flair::core::Vector3D::Normalize </td>
546 <td>(</td>
547 <td class="paramtype">void&#160;</td>
548 <td class="paramname"></td><td>)</td>
549 <td></td>
550 </tr>
551 </table>
552</div><div class="memdoc">
553
554<p>Normalize. </p>
555
556</div>
557</div>
558<a class="anchor" id="a5cb64b1d1a281549d8ec8ae87ad7ab85"></a>
559<div class="memitem">
560<div class="memproto">
561 <table class="memname">
562 <tr>
563 <td class="memname">void flair::core::Vector3D::Saturate </td>
564 <td>(</td>
565 <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;&#160;</td>
566 <td class="paramname"><em>min</em>, </td>
567 </tr>
568 <tr>
569 <td class="paramkey"></td>
570 <td></td>
571 <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;&#160;</td>
572 <td class="paramname"><em>max</em>&#160;</td>
573 </tr>
574 <tr>
575 <td></td>
576 <td>)</td>
577 <td></td><td></td>
578 </tr>
579 </table>
580</div><div class="memdoc">
581
582<p>Saturate. </p>
583<p>Saturate between min and max</p>
584<dl class="params"><dt>Parameters</dt><dd>
585 <table class="params">
586 <tr><td class="paramname">min</td><td>minimum value </td></tr>
587 <tr><td class="paramname">max</td><td>maximum value </td></tr>
588 </table>
589 </dd>
590</dl>
591
592</div>
593</div>
594<a class="anchor" id="a84b84ea0d3a45915d5869a04d7641a38"></a>
595<div class="memitem">
596<div class="memproto">
597 <table class="memname">
598 <tr>
599 <td class="memname">void flair::core::Vector3D::Saturate </td>
600 <td>(</td>
601 <td class="paramtype">float&#160;</td>
602 <td class="paramname"><em>min</em>, </td>
603 </tr>
604 <tr>
605 <td class="paramkey"></td>
606 <td></td>
607 <td class="paramtype">float&#160;</td>
608 <td class="paramname"><em>max</em>&#160;</td>
609 </tr>
610 <tr>
611 <td></td>
612 <td>)</td>
613 <td></td><td></td>
614 </tr>
615 </table>
616</div><div class="memdoc">
617
618<p>Saturate. </p>
619<p>Saturate between min and max</p>
620<dl class="params"><dt>Parameters</dt><dd>
621 <table class="params">
622 <tr><td class="paramname">min</td><td>minimum Vector3D(min,min,min) value </td></tr>
623 <tr><td class="paramname">max</td><td>maximum Vector3D(max,max,max) value </td></tr>
624 </table>
625 </dd>
626</dl>
627
628</div>
629</div>
630<a class="anchor" id="aa7d73d1f9cfd2f9a6da275ac92ed215e"></a>
631<div class="memitem">
632<div class="memproto">
633 <table class="memname">
634 <tr>
635 <td class="memname">void flair::core::Vector3D::Saturate </td>
636 <td>(</td>
637 <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;&#160;</td>
638 <td class="paramname"><em>value</em></td><td>)</td>
639 <td></td>
640 </tr>
641 </table>
642</div><div class="memdoc">
643
644<p>Saturate. </p>
645<p>Saturate between -abs(value) and abs(value)</p>
646<dl class="params"><dt>Parameters</dt><dd>
647 <table class="params">
648 <tr><td class="paramname">value</td><td>saturation <a class="el" href="classflair_1_1core_1_1_vector3_d.html" title="Class defining a 3D vector. ">Vector3D</a> value </td></tr>
649 </table>
650 </dd>
651</dl>
652
653</div>
654</div>
655<a class="anchor" id="a3ad4bdcace1ac9bcb5abc85f7d9e5a71"></a>
656<div class="memitem">
657<div class="memproto">
658 <table class="memname">
659 <tr>
660 <td class="memname">void flair::core::Vector3D::Saturate </td>
661 <td>(</td>
662 <td class="paramtype">float&#160;</td>
663 <td class="paramname"><em>value</em></td><td>)</td>
664 <td></td>
665 </tr>
666 </table>
667</div><div class="memdoc">
668
669<p>Saturate. </p>
670<p>Saturate between -abs(Vector3D(value,value,value)) and abs(Vector3D(value,value,value))</p>
671<dl class="params"><dt>Parameters</dt><dd>
672 <table class="params">
673 <tr><td class="paramname">value</td><td>saturation Vector3D(value,value,value) </td></tr>
674 </table>
675 </dd>
676</dl>
677
678</div>
679</div>
680<h2 class="groupheader">Member Data Documentation</h2>
681<a class="anchor" id="a6762d159674d7a41f7222788f1e22521"></a>
682<div class="memitem">
683<div class="memproto">
684 <table class="memname">
685 <tr>
686 <td class="memname">float flair::core::Vector3D::x</td>
687 </tr>
688 </table>
689</div><div class="memdoc">
690
691<p>x </p>
692
693</div>
694</div>
695<a class="anchor" id="a384aaec66e633291ca72453027f5c7a7"></a>
696<div class="memitem">
697<div class="memproto">
698 <table class="memname">
699 <tr>
700 <td class="memname">float flair::core::Vector3D::y</td>
701 </tr>
702 </table>
703</div><div class="memdoc">
704
705<p>y </p>
706
707</div>
708</div>
709<a class="anchor" id="ab63f9cacf690d26f2ac1669c4dc2fa72"></a>
710<div class="memitem">
711<div class="memproto">
712 <table class="memname">
713 <tr>
714 <td class="memname">float flair::core::Vector3D::z</td>
715 </tr>
716 </table>
717</div><div class="memdoc">
718
719<p>z </p>
720
721</div>
722</div>
723</div><!-- contents -->
724</div><!-- doc-content -->
725<!-- start footer part -->
726<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
727 <ul>
728 <li class="navelem"><a class="el" href="namespaceflair.html">flair</a></li><li class="navelem"><a class="el" href="namespaceflair_1_1core.html">core</a></li><li class="navelem"><a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a></li>
729 <li class="footer">Generated on Wed Sep 28 2016 07:01:52 for Flair by
730 <a href="http://www.doxygen.org/index.html">
731 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
732 </ul>
733</div>
734</body>
735</html>
Note: See TracBrowser for help on using the repository browser.