diff options
Diffstat (limited to 'libraries/irrlicht-1.8.1/doc/html/plane3d_8h_source.html')
-rw-r--r-- | libraries/irrlicht-1.8.1/doc/html/plane3d_8h_source.html | 318 |
1 files changed, 318 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/doc/html/plane3d_8h_source.html b/libraries/irrlicht-1.8.1/doc/html/plane3d_8h_source.html new file mode 100644 index 0000000..20b033f --- /dev/null +++ b/libraries/irrlicht-1.8.1/doc/html/plane3d_8h_source.html | |||
@@ -0,0 +1,318 @@ | |||
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 | <title>Irrlicht 3D Engine: plane3d.h Source File</title> | ||
6 | |||
7 | <link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
8 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
9 | <link href="navtree.css" rel="stylesheet" type="text/css"/> | ||
10 | <script type="text/javascript" src="jquery.js"></script> | ||
11 | <script type="text/javascript" src="resize.js"></script> | ||
12 | <script type="text/javascript" src="navtree.js"></script> | ||
13 | <script type="text/javascript"> | ||
14 | $(document).ready(initResizable); | ||
15 | </script> | ||
16 | <link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
17 | <script type="text/javascript" src="search/search.js"></script> | ||
18 | <script type="text/javascript"> | ||
19 | $(document).ready(function() { searchBox.OnSelectItem(0); }); | ||
20 | </script> | ||
21 | |||
22 | </head> | ||
23 | <body> | ||
24 | <div id="top"><!-- do not remove this div! --> | ||
25 | |||
26 | |||
27 | <div id="titlearea"> | ||
28 | <table cellspacing="0" cellpadding="0"> | ||
29 | <tbody> | ||
30 | <tr style="height: 56px;"> | ||
31 | |||
32 | <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td> | ||
33 | |||
34 | |||
35 | <td style="padding-left: 0.5em;"> | ||
36 | <div id="projectname">Irrlicht 3D Engine | ||
37 | |||
38 | </div> | ||
39 | |||
40 | </td> | ||
41 | |||
42 | |||
43 | |||
44 | |||
45 | <td> <div id="MSearchBox" class="MSearchBoxInactive"> | ||
46 | <span class="left"> | ||
47 | <img id="MSearchSelect" src="search/mag_sel.png" | ||
48 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
49 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
50 | alt=""/> | ||
51 | <input type="text" id="MSearchField" value="Search" accesskey="S" | ||
52 | onfocus="searchBox.OnSearchFieldFocus(true)" | ||
53 | onblur="searchBox.OnSearchFieldFocus(false)" | ||
54 | onkeyup="searchBox.OnSearchFieldChange(event)"/> | ||
55 | </span><span class="right"> | ||
56 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> | ||
57 | </span> | ||
58 | </div> | ||
59 | </td> | ||
60 | |||
61 | |||
62 | </tr> | ||
63 | </tbody> | ||
64 | </table> | ||
65 | </div> | ||
66 | |||
67 | <!-- Generated by Doxygen 1.7.5.1 --> | ||
68 | <script type="text/javascript"> | ||
69 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); | ||
70 | </script> | ||
71 | <script type="text/javascript" src="dynsections.js"></script> | ||
72 | </div> | ||
73 | <div id="side-nav" class="ui-resizable side-nav-resizable"> | ||
74 | <div id="nav-tree"> | ||
75 | <div id="nav-tree-contents"> | ||
76 | </div> | ||
77 | </div> | ||
78 | <div id="splitbar" style="-moz-user-select:none;" | ||
79 | class="ui-resizable-handle"> | ||
80 | </div> | ||
81 | </div> | ||
82 | <script type="text/javascript"> | ||
83 | initNavTree('plane3d_8h.html',''); | ||
84 | </script> | ||
85 | <div id="doc-content"> | ||
86 | <div class="header"> | ||
87 | <div class="headertitle"> | ||
88 | <div class="title">plane3d.h</div> </div> | ||
89 | </div> | ||
90 | <div class="contents"> | ||
91 | <a href="plane3d_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2002-2012 Nikolaus Gebhardt</span> | ||
92 | <a name="l00002"></a>00002 <span class="comment">// This file is part of the "Irrlicht Engine".</span> | ||
93 | <a name="l00003"></a>00003 <span class="comment">// For conditions of distribution and use, see copyright notice in irrlicht.h</span> | ||
94 | <a name="l00004"></a>00004 | ||
95 | <a name="l00005"></a>00005 <span class="preprocessor">#ifndef __IRR_PLANE_3D_H_INCLUDED__</span> | ||
96 | <a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __IRR_PLANE_3D_H_INCLUDED__</span> | ||
97 | <a name="l00007"></a>00007 <span class="preprocessor"></span> | ||
98 | <a name="l00008"></a>00008 <span class="preprocessor">#include "<a class="code" href="irr_math_8h.html">irrMath.h</a>"</span> | ||
99 | <a name="l00009"></a>00009 <span class="preprocessor">#include "<a class="code" href="vector3d_8h.html">vector3d.h</a>"</span> | ||
100 | <a name="l00010"></a>00010 | ||
101 | <a name="l00011"></a>00011 <span class="keyword">namespace </span>irr | ||
102 | <a name="l00012"></a>00012 { | ||
103 | <a name="l00013"></a>00013 <span class="keyword">namespace </span>core | ||
104 | <a name="l00014"></a>00014 { | ||
105 | <a name="l00015"></a>00015 | ||
106 | <a name="l00017"></a><a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96c">00017</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96c" title="Enumeration for intersection relations of 3d objects.">EIntersectionRelation3D</a> | ||
107 | <a name="l00018"></a>00018 { | ||
108 | <a name="l00019"></a><a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96ca30484977b2480b6d6621114512d0b703">00019</a> <a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96ca30484977b2480b6d6621114512d0b703">ISREL3D_FRONT</a> = 0, | ||
109 | <a name="l00020"></a><a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96cae3f42495b4c63c980c19a82a44b7746b">00020</a> <a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96cae3f42495b4c63c980c19a82a44b7746b">ISREL3D_BACK</a>, | ||
110 | <a name="l00021"></a><a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96ca8a8605f10c124b4aca71783cc7735f0c">00021</a> <a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96ca8a8605f10c124b4aca71783cc7735f0c">ISREL3D_PLANAR</a>, | ||
111 | <a name="l00022"></a><a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96ca26444234d5d37ce75f55249fffe25a61">00022</a> <a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96ca26444234d5d37ce75f55249fffe25a61">ISREL3D_SPANNING</a>, | ||
112 | <a name="l00023"></a><a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96ca4a33464e7b7175c8614c5a6c9f9a3751">00023</a> <a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96ca4a33464e7b7175c8614c5a6c9f9a3751">ISREL3D_CLIPPED</a> | ||
113 | <a name="l00024"></a>00024 }; | ||
114 | <a name="l00025"></a>00025 | ||
115 | <a name="l00027"></a>00027 | ||
116 | <a name="l00032"></a>00032 <span class="keyword">template</span> <<span class="keyword">class</span> T> | ||
117 | <a name="l00033"></a><a class="code" href="classirr_1_1core_1_1plane3d.html">00033</a> <span class="keyword">class </span><a class="code" href="classirr_1_1core_1_1plane3d.html" title="Template plane class with some intersection testing methods.">plane3d</a> | ||
118 | <a name="l00034"></a>00034 { | ||
119 | <a name="l00035"></a>00035 <span class="keyword">public</span>: | ||
120 | <a name="l00036"></a>00036 | ||
121 | <a name="l00037"></a>00037 <span class="comment">// Constructors</span> | ||
122 | <a name="l00038"></a>00038 | ||
123 | <a name="l00039"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a56ab7a294a2ae8570c719321ae356d27">00039</a> <a class="code" href="classirr_1_1core_1_1plane3d.html#a56ab7a294a2ae8570c719321ae356d27">plane3d</a>(): <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>(0,1,0) { <a class="code" href="classirr_1_1core_1_1plane3d.html#a65c1748d516ddc820b6b970f9367f1ff" title="Recalculates the distance from origin by applying a new member point to the plane.">recalculateD</a>(<a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>(0,0,0)); } | ||
124 | <a name="l00040"></a>00040 | ||
125 | <a name="l00041"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a83ddb90b9dd873dbd5ec1d1ae3d1eec2">00041</a> <a class="code" href="classirr_1_1core_1_1plane3d.html#a83ddb90b9dd873dbd5ec1d1ae3d1eec2">plane3d</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& MPoint, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>) : Normal(Normal) { <a class="code" href="classirr_1_1core_1_1plane3d.html#a65c1748d516ddc820b6b970f9367f1ff" title="Recalculates the distance from origin by applying a new member point to the plane.">recalculateD</a>(MPoint); } | ||
126 | <a name="l00042"></a>00042 | ||
127 | <a name="l00043"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#af754b386af5b0296a47d97f1c9e39d55">00043</a> <a class="code" href="classirr_1_1core_1_1plane3d.html#af754b386af5b0296a47d97f1c9e39d55">plane3d</a>(T px, T py, T pz, T nx, T ny, T nz) : <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>(nx, ny, nz) { <a class="code" href="classirr_1_1core_1_1plane3d.html#a65c1748d516ddc820b6b970f9367f1ff" title="Recalculates the distance from origin by applying a new member point to the plane.">recalculateD</a>(<a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>(px, py, pz)); } | ||
128 | <a name="l00044"></a>00044 | ||
129 | <a name="l00045"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a79aa2659564f880e71db761516d91b9e">00045</a> <a class="code" href="classirr_1_1core_1_1plane3d.html#a56ab7a294a2ae8570c719321ae356d27">plane3d</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& point1, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& point2, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& point3) | ||
130 | <a name="l00046"></a>00046 { <a class="code" href="classirr_1_1core_1_1plane3d.html#a74c75911a10cc048c546ca5ea3646232">setPlane</a>(point1, point2, point3); } | ||
131 | <a name="l00047"></a>00047 | ||
132 | <a name="l00048"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a3f3171c926e019c47e56e2eb0ba9a9bf">00048</a> <a class="code" href="classirr_1_1core_1_1plane3d.html#a3f3171c926e019c47e56e2eb0ba9a9bf">plane3d</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a> & normal, <span class="keyword">const</span> T d) : <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>(normal), <a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a>(d) { } | ||
133 | <a name="l00049"></a>00049 | ||
134 | <a name="l00050"></a>00050 <span class="comment">// operators</span> | ||
135 | <a name="l00051"></a>00051 | ||
136 | <a name="l00052"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a4ea013907b2e44c91cc9defacb7a8d53">00052</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#a4ea013907b2e44c91cc9defacb7a8d53">operator==</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1plane3d.html" title="Template plane class with some intersection testing methods.">plane3d<T></a>& other)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<a class="code" href="namespaceirr_1_1core.html#abf9b9b140cc365908ea4c8c47451e4e3" title="returns if a equals b, taking possible rounding errors into account">equals</a>(<a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a>, other.<a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a>) && <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>==other.<a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>);} | ||
137 | <a name="l00053"></a>00053 | ||
138 | <a name="l00054"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a1ef3ad54e652a02f3ea8c97884332f06">00054</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#a1ef3ad54e652a02f3ea8c97884332f06">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1plane3d.html" title="Template plane class with some intersection testing methods.">plane3d<T></a>& other)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !(*<span class="keyword">this</span> == other);} | ||
139 | <a name="l00055"></a>00055 | ||
140 | <a name="l00056"></a>00056 <span class="comment">// functions</span> | ||
141 | <a name="l00057"></a>00057 | ||
142 | <a name="l00058"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a74c75911a10cc048c546ca5ea3646232">00058</a> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#a74c75911a10cc048c546ca5ea3646232">setPlane</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& point, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& nvector) | ||
143 | <a name="l00059"></a>00059 { | ||
144 | <a name="l00060"></a>00060 <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a> = nvector; | ||
145 | <a name="l00061"></a>00061 <a class="code" href="classirr_1_1core_1_1plane3d.html#a65c1748d516ddc820b6b970f9367f1ff" title="Recalculates the distance from origin by applying a new member point to the plane.">recalculateD</a>(point); | ||
146 | <a name="l00062"></a>00062 } | ||
147 | <a name="l00063"></a>00063 | ||
148 | <a name="l00064"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a1f68018de37d6bc904c33192816b899b">00064</a> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#a74c75911a10cc048c546ca5ea3646232">setPlane</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& nvect, T d) | ||
149 | <a name="l00065"></a>00065 { | ||
150 | <a name="l00066"></a>00066 <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a> = nvect; | ||
151 | <a name="l00067"></a>00067 <a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a> = d; | ||
152 | <a name="l00068"></a>00068 } | ||
153 | <a name="l00069"></a>00069 | ||
154 | <a name="l00070"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a32ca1fd89b65630b4d77641005ffa94d">00070</a> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#a74c75911a10cc048c546ca5ea3646232">setPlane</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& point1, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& point2, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& point3) | ||
155 | <a name="l00071"></a>00071 { | ||
156 | <a name="l00072"></a>00072 <span class="comment">// creates the plane from 3 memberpoints</span> | ||
157 | <a name="l00073"></a>00073 <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a> = (point2 - point1).crossProduct(point3 - point1); | ||
158 | <a name="l00074"></a>00074 <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>.normalize(); | ||
159 | <a name="l00075"></a>00075 | ||
160 | <a name="l00076"></a>00076 <a class="code" href="classirr_1_1core_1_1plane3d.html#a65c1748d516ddc820b6b970f9367f1ff" title="Recalculates the distance from origin by applying a new member point to the plane.">recalculateD</a>(point1); | ||
161 | <a name="l00077"></a>00077 } | ||
162 | <a name="l00078"></a>00078 | ||
163 | <a name="l00079"></a>00079 | ||
164 | <a name="l00081"></a>00081 | ||
165 | <a name="l00086"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a81c6fd667e7018805f9fb388721e2f30">00086</a> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#a81c6fd667e7018805f9fb388721e2f30" title="Get an intersection with a 3d line.">getIntersectionWithLine</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& linePoint, | ||
166 | <a name="l00087"></a>00087 <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& lineVect, | ||
167 | <a name="l00088"></a>00088 <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& outIntersection)<span class="keyword"> const</span> | ||
168 | <a name="l00089"></a>00089 <span class="keyword"> </span>{ | ||
169 | <a name="l00090"></a>00090 T t2 = <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>.dotProduct(lineVect); | ||
170 | <a name="l00091"></a>00091 | ||
171 | <a name="l00092"></a>00092 <span class="keywordflow">if</span> (t2 == 0) | ||
172 | <a name="l00093"></a>00093 <span class="keywordflow">return</span> <span class="keyword">false</span>; | ||
173 | <a name="l00094"></a>00094 | ||
174 | <a name="l00095"></a>00095 T t =- (<a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>.dotProduct(linePoint) + <a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a>) / t2; | ||
175 | <a name="l00096"></a>00096 outIntersection = linePoint + (lineVect * t); | ||
176 | <a name="l00097"></a>00097 <span class="keywordflow">return</span> <span class="keyword">true</span>; | ||
177 | <a name="l00098"></a>00098 } | ||
178 | <a name="l00099"></a>00099 | ||
179 | <a name="l00101"></a>00101 | ||
180 | <a name="l00107"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a572803fab72c142ad186b364da3193cb">00107</a> <a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> <a class="code" href="classirr_1_1core_1_1plane3d.html#a572803fab72c142ad186b364da3193cb" title="Get percentage of line between two points where an intersection with this plane happens.">getKnownIntersectionWithLine</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& linePoint1, | ||
181 | <a name="l00108"></a>00108 <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& linePoint2)<span class="keyword"> const</span> | ||
182 | <a name="l00109"></a>00109 <span class="keyword"> </span>{ | ||
183 | <a name="l00110"></a>00110 <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a> vect = linePoint2 - linePoint1; | ||
184 | <a name="l00111"></a>00111 T t2 = (<a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a>)<a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>.dotProduct(vect); | ||
185 | <a name="l00112"></a>00112 <span class="keywordflow">return</span> (<a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a>)-((<a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>.dotProduct(linePoint1) + <a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a>) / t2); | ||
186 | <a name="l00113"></a>00113 } | ||
187 | <a name="l00114"></a>00114 | ||
188 | <a name="l00116"></a>00116 | ||
189 | <a name="l00121"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a9da6378730742e46bd1e73624b048641">00121</a> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#a9da6378730742e46bd1e73624b048641" title="Get an intersection with a 3d line, limited between two 3d points.">getIntersectionWithLimitedLine</a>( | ||
190 | <a name="l00122"></a>00122 <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& linePoint1, | ||
191 | <a name="l00123"></a>00123 <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& linePoint2, | ||
192 | <a name="l00124"></a>00124 <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& outIntersection)<span class="keyword"> const</span> | ||
193 | <a name="l00125"></a>00125 <span class="keyword"> </span>{ | ||
194 | <a name="l00126"></a>00126 <span class="keywordflow">return</span> (<a class="code" href="classirr_1_1core_1_1plane3d.html#a81c6fd667e7018805f9fb388721e2f30" title="Get an intersection with a 3d line.">getIntersectionWithLine</a>(linePoint1, linePoint2 - linePoint1, outIntersection) && | ||
195 | <a name="l00127"></a>00127 outIntersection.<a class="code" href="classirr_1_1core_1_1vector3d.html#ace05ee3b68b47c2ec6baff0d9d64de98" title="Returns if this vector interpreted as a point is on a line between two other points.">isBetweenPoints</a>(linePoint1, linePoint2)); | ||
196 | <a name="l00128"></a>00128 } | ||
197 | <a name="l00129"></a>00129 | ||
198 | <a name="l00131"></a>00131 | ||
199 | <a name="l00135"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a0ef82b15cefb92fc8a1a93f2465c95cb">00135</a> <a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96c" title="Enumeration for intersection relations of 3d objects.">EIntersectionRelation3D</a> <a class="code" href="classirr_1_1core_1_1plane3d.html#a0ef82b15cefb92fc8a1a93f2465c95cb" title="Classifies the relation of a point to this plane.">classifyPointRelation</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& point)<span class="keyword"> const</span> | ||
200 | <a name="l00136"></a>00136 <span class="keyword"> </span>{ | ||
201 | <a name="l00137"></a>00137 <span class="keyword">const</span> T d = <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>.dotProduct(point) + <a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a>; | ||
202 | <a name="l00138"></a>00138 | ||
203 | <a name="l00139"></a>00139 <span class="keywordflow">if</span> (d < -<a class="code" href="namespaceirr_1_1core.html#a9514dd34463a30102ef8836915cf9c4c">ROUNDING_ERROR_f32</a>) | ||
204 | <a name="l00140"></a>00140 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96cae3f42495b4c63c980c19a82a44b7746b">ISREL3D_BACK</a>; | ||
205 | <a name="l00141"></a>00141 | ||
206 | <a name="l00142"></a>00142 <span class="keywordflow">if</span> (d > <a class="code" href="namespaceirr_1_1core.html#a9514dd34463a30102ef8836915cf9c4c">ROUNDING_ERROR_f32</a>) | ||
207 | <a name="l00143"></a>00143 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96ca30484977b2480b6d6621114512d0b703">ISREL3D_FRONT</a>; | ||
208 | <a name="l00144"></a>00144 | ||
209 | <a name="l00145"></a>00145 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1core.html#a8a9999eb0d151083f48afe5f7d17a96ca8a8605f10c124b4aca71783cc7735f0c">ISREL3D_PLANAR</a>; | ||
210 | <a name="l00146"></a>00146 } | ||
211 | <a name="l00147"></a>00147 | ||
212 | <a name="l00149"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a65c1748d516ddc820b6b970f9367f1ff">00149</a> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#a65c1748d516ddc820b6b970f9367f1ff" title="Recalculates the distance from origin by applying a new member point to the plane.">recalculateD</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& MPoint) | ||
213 | <a name="l00150"></a>00150 { | ||
214 | <a name="l00151"></a>00151 <a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a> = - MPoint.<a class="code" href="classirr_1_1core_1_1vector3d.html#a0b247d39047c0e51ff16d0118bb396ab" title="Get the dot product with another vector.">dotProduct</a>(<a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>); | ||
215 | <a name="l00152"></a>00152 } | ||
216 | <a name="l00153"></a>00153 | ||
217 | <a name="l00155"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#ae95084f1f1d942d2416aeaef247882fd">00155</a> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a> <a class="code" href="classirr_1_1core_1_1plane3d.html#ae95084f1f1d942d2416aeaef247882fd" title="Gets a member point of the plane.">getMemberPoint</a>()<span class="keyword"> const</span> | ||
218 | <a name="l00156"></a>00156 <span class="keyword"> </span>{ | ||
219 | <a name="l00157"></a>00157 <span class="keywordflow">return</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a> * -<a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a>; | ||
220 | <a name="l00158"></a>00158 } | ||
221 | <a name="l00159"></a>00159 | ||
222 | <a name="l00161"></a>00161 | ||
223 | <a name="l00162"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#aa238ddaac4eb9d2781ccac678d594a78">00162</a> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#aa238ddaac4eb9d2781ccac678d594a78" title="Tests if there is an intersection with the other plane.">existsIntersection</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1plane3d.html" title="Template plane class with some intersection testing methods.">plane3d<T></a>& other)<span class="keyword"> const</span> | ||
224 | <a name="l00163"></a>00163 <span class="keyword"> </span>{ | ||
225 | <a name="l00164"></a>00164 <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a> cross = other.<a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>.crossProduct(<a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>); | ||
226 | <a name="l00165"></a>00165 <span class="keywordflow">return</span> cross.<a class="code" href="classirr_1_1core_1_1vector3d.html#ab0f95138bd31d82b5486237c8e49a2d5" title="Get length of the vector.">getLength</a>() > <a class="code" href="namespaceirr_1_1core.html#a9514dd34463a30102ef8836915cf9c4c">core::ROUNDING_ERROR_f32</a>; | ||
227 | <a name="l00166"></a>00166 } | ||
228 | <a name="l00167"></a>00167 | ||
229 | <a name="l00169"></a>00169 | ||
230 | <a name="l00173"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a8c611fd6346a361bbf34eb0e4fbd3fe0">00173</a> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#a8c611fd6346a361bbf34eb0e4fbd3fe0" title="Intersects this plane with another.">getIntersectionWithPlane</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1plane3d.html" title="Template plane class with some intersection testing methods.">plane3d<T></a>& other, | ||
231 | <a name="l00174"></a>00174 <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& outLinePoint, | ||
232 | <a name="l00175"></a>00175 <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& outLineVect)<span class="keyword"> const</span> | ||
233 | <a name="l00176"></a>00176 <span class="keyword"> </span>{ | ||
234 | <a name="l00177"></a>00177 <span class="keyword">const</span> T fn00 = <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>.getLength(); | ||
235 | <a name="l00178"></a>00178 <span class="keyword">const</span> T fn01 = <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>.dotProduct(other.<a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>); | ||
236 | <a name="l00179"></a>00179 <span class="keyword">const</span> T fn11 = other.<a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>.getLength(); | ||
237 | <a name="l00180"></a>00180 <span class="keyword">const</span> <a class="code" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28" title="64 bit floating point variable.">f64</a> det = fn00*fn11 - fn01*fn01; | ||
238 | <a name="l00181"></a>00181 | ||
239 | <a name="l00182"></a>00182 <span class="keywordflow">if</span> (fabs(det) < <a class="code" href="namespaceirr_1_1core.html#a7b314c22d6804639cbcbce5231724f0b">ROUNDING_ERROR_f64</a> ) | ||
240 | <a name="l00183"></a>00183 <span class="keywordflow">return</span> <span class="keyword">false</span>; | ||
241 | <a name="l00184"></a>00184 | ||
242 | <a name="l00185"></a>00185 <span class="keyword">const</span> <a class="code" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28" title="64 bit floating point variable.">f64</a> invdet = 1.0 / det; | ||
243 | <a name="l00186"></a>00186 <span class="keyword">const</span> <a class="code" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28" title="64 bit floating point variable.">f64</a> fc0 = (fn11*-<a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a> + fn01*other.<a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a>) * invdet; | ||
244 | <a name="l00187"></a>00187 <span class="keyword">const</span> <a class="code" href="namespaceirr.html#a1325b02603ad449f92c68fc640af9b28" title="64 bit floating point variable.">f64</a> fc1 = (fn00*-other.<a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a> + fn01*<a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a>) * invdet; | ||
245 | <a name="l00188"></a>00188 | ||
246 | <a name="l00189"></a>00189 outLineVect = <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>.crossProduct(other.<a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>); | ||
247 | <a name="l00190"></a>00190 outLinePoint = <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>*(T)fc0 + other.<a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>*(T)fc1; | ||
248 | <a name="l00191"></a>00191 <span class="keywordflow">return</span> <span class="keyword">true</span>; | ||
249 | <a name="l00192"></a>00192 } | ||
250 | <a name="l00193"></a>00193 | ||
251 | <a name="l00195"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a42591d9bdd8dd03bb6b14836b6e5af7b">00195</a> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#a42591d9bdd8dd03bb6b14836b6e5af7b" title="Get the intersection point with two other planes if there is one.">getIntersectionWithPlanes</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1plane3d.html" title="Template plane class with some intersection testing methods.">plane3d<T></a>& o1, | ||
252 | <a name="l00196"></a>00196 <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1plane3d.html" title="Template plane class with some intersection testing methods.">plane3d<T></a>& o2, <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& outPoint)<span class="keyword"> const</span> | ||
253 | <a name="l00197"></a>00197 <span class="keyword"> </span>{ | ||
254 | <a name="l00198"></a>00198 <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a> linePoint, lineVect; | ||
255 | <a name="l00199"></a>00199 <span class="keywordflow">if</span> (<a class="code" href="classirr_1_1core_1_1plane3d.html#a8c611fd6346a361bbf34eb0e4fbd3fe0" title="Intersects this plane with another.">getIntersectionWithPlane</a>(o1, linePoint, lineVect)) | ||
256 | <a name="l00200"></a>00200 <span class="keywordflow">return</span> o2.<a class="code" href="classirr_1_1core_1_1plane3d.html#a81c6fd667e7018805f9fb388721e2f30" title="Get an intersection with a 3d line.">getIntersectionWithLine</a>(linePoint, lineVect, outPoint); | ||
257 | <a name="l00201"></a>00201 | ||
258 | <a name="l00202"></a>00202 <span class="keywordflow">return</span> <span class="keyword">false</span>; | ||
259 | <a name="l00203"></a>00203 } | ||
260 | <a name="l00204"></a>00204 | ||
261 | <a name="l00206"></a>00206 | ||
262 | <a name="l00214"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a5b769b842600d377415d594f0db09a3e">00214</a> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1core_1_1plane3d.html#a5b769b842600d377415d594f0db09a3e" title="Test if the triangle would be front or backfacing from any point.">isFrontFacing</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& lookDirection)<span class="keyword"> const</span> | ||
263 | <a name="l00215"></a>00215 <span class="keyword"> </span>{ | ||
264 | <a name="l00216"></a>00216 <span class="keyword">const</span> <a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> d = <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>.dotProduct(lookDirection); | ||
265 | <a name="l00217"></a>00217 <span class="keywordflow">return</span> <a class="code" href="irr_math_8h.html#a26bc42a9cc1fc775bc588052c32ff9a0">F32_LOWER_EQUAL_0</a> ( d ); | ||
266 | <a name="l00218"></a>00218 } | ||
267 | <a name="l00219"></a>00219 | ||
268 | <a name="l00221"></a>00221 | ||
269 | <a name="l00222"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a1877d6c25a437f2f00a664a1ac3d247f">00222</a> T <a class="code" href="classirr_1_1core_1_1plane3d.html#a1877d6c25a437f2f00a664a1ac3d247f" title="Get the distance to a point.">getDistanceTo</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a>& point)<span class="keyword"> const</span> | ||
270 | <a name="l00223"></a>00223 <span class="keyword"> </span>{ | ||
271 | <a name="l00224"></a>00224 <span class="keywordflow">return</span> point.<a class="code" href="classirr_1_1core_1_1vector3d.html#a0b247d39047c0e51ff16d0118bb396ab" title="Get the dot product with another vector.">dotProduct</a>(<a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>) + <a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a>; | ||
272 | <a name="l00225"></a>00225 } | ||
273 | <a name="l00226"></a>00226 | ||
274 | <a name="l00228"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719">00228</a> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">vector3d<T></a> <a class="code" href="classirr_1_1core_1_1plane3d.html#a932ca6e90e55cdceedb4f15ab706b719" title="Normal vector of the plane.">Normal</a>; | ||
275 | <a name="l00229"></a>00229 | ||
276 | <a name="l00231"></a><a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8">00231</a> T <a class="code" href="classirr_1_1core_1_1plane3d.html#afa304cf77cf1a3aae2351d5add5606a8" title="Distance from origin.">D</a>; | ||
277 | <a name="l00232"></a>00232 }; | ||
278 | <a name="l00233"></a>00233 | ||
279 | <a name="l00234"></a>00234 | ||
280 | <a name="l00236"></a><a class="code" href="namespaceirr_1_1core.html#ae7491b7985dcb74b840bfcd9c054b232">00236</a> <span class="keyword">typedef</span> <a class="code" href="classirr_1_1core_1_1plane3d.html">plane3d<f32></a> <a class="code" href="namespaceirr_1_1core.html#ae7491b7985dcb74b840bfcd9c054b232" title="Typedef for a f32 3d plane.">plane3df</a>; | ||
281 | <a name="l00237"></a>00237 | ||
282 | <a name="l00239"></a><a class="code" href="namespaceirr_1_1core.html#af977958e3f4578d8ef16178badb89f2d">00239</a> <span class="keyword">typedef</span> <a class="code" href="classirr_1_1core_1_1plane3d.html" title="Template plane class with some intersection testing methods.">plane3d<s32></a> <a class="code" href="namespaceirr_1_1core.html#af977958e3f4578d8ef16178badb89f2d" title="Typedef for an integer 3d plane.">plane3di</a>; | ||
283 | <a name="l00240"></a>00240 | ||
284 | <a name="l00241"></a>00241 } <span class="comment">// end namespace core</span> | ||
285 | <a name="l00242"></a>00242 } <span class="comment">// end namespace irr</span> | ||
286 | <a name="l00243"></a>00243 | ||
287 | <a name="l00244"></a>00244 <span class="preprocessor">#endif</span> | ||
288 | <a name="l00245"></a>00245 <span class="preprocessor"></span> | ||
289 | </pre></div></div> | ||
290 | </div> | ||
291 | <div id="nav-path" class="navpath"> | ||
292 | <ul> | ||
293 | <li class="navelem"><a class="el" href="plane3d_8h.html">plane3d.h</a> </li> | ||
294 | <!-- window showing the filter options --> | ||
295 | <div id="MSearchSelectWindow" | ||
296 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
297 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
298 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
299 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Defines</a></div> | ||
300 | |||
301 | <!-- iframe showing the search results (closed by default) --> | ||
302 | <div id="MSearchResultsWindow"> | ||
303 | <iframe src="javascript:void(0)" frameborder="0" | ||
304 | name="MSearchResults" id="MSearchResults"> | ||
305 | </iframe> | ||
306 | </div> | ||
307 | |||
308 | |||
309 | <li class="footer"> | ||
310 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
311 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:40 for Irrlicht 3D Engine by | ||
312 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
313 | </ul> | ||
314 | </div> | ||
315 | |||
316 | |||
317 | </body> | ||
318 | </html> | ||