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

Last change on this file since 15 was 15, checked in by Sanahuja Guillaume, 5 years ago

m

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