aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/doc/html/structirr_1_1scene_1_1_s_view_frustum.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/doc/html/structirr_1_1scene_1_1_s_view_frustum.html')
-rw-r--r--src/others/irrlicht-1.8.1/doc/html/structirr_1_1scene_1_1_s_view_frustum.html710
1 files changed, 710 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/doc/html/structirr_1_1scene_1_1_s_view_frustum.html b/src/others/irrlicht-1.8.1/doc/html/structirr_1_1scene_1_1_s_view_frustum.html
new file mode 100644
index 0000000..e94b734
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/doc/html/structirr_1_1scene_1_1_s_view_frustum.html
@@ -0,0 +1,710 @@
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: irr::scene::SViewFrustum Struct Reference</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">
69var 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('structirr_1_1scene_1_1_s_view_frustum.html','');
84</script>
85<div id="doc-content">
86<div class="header">
87 <div class="summary">
88<a href="#pub-types">Public Types</a> &#124;
89<a href="#pub-methods">Public Member Functions</a> &#124;
90<a href="#pub-attribs">Public Attributes</a> </div>
91 <div class="headertitle">
92<div class="title">irr::scene::SViewFrustum Struct Reference</div> </div>
93</div>
94<div class="contents">
95<!-- doxytag: class="irr::scene::SViewFrustum" -->
96<p>Defines the view frustum. That's the space visible by the camera.
97 <a href="structirr_1_1scene_1_1_s_view_frustum.html#details">More...</a></p>
98
99<p><code>#include &lt;<a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>&gt;</code></p>
100
101<p><a href="structirr_1_1scene_1_1_s_view_frustum-members.html">List of all members.</a></p>
102<h2><a name="pub-types"></a>
103Public Types</h2>
104<ul>
105<li>enum <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0">VFPLANES</a> { <br/>
106&#160;&#160;<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0a33c11636c0cf3a29df16551fb3222f89">VF_FAR_PLANE</a> = 0,
107<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0ad4e37002c2f3f5c9aa7219ca74ffb48e">VF_NEAR_PLANE</a>,
108<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0a4d611f15cd215819287e533b45715d5c">VF_LEFT_PLANE</a>,
109<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0acc02c8b170e35f1416f1511646b051aa">VF_RIGHT_PLANE</a>,
110<br/>
111&#160;&#160;<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0aa230be71193da774ddcb735ec7b10dd1">VF_BOTTOM_PLANE</a>,
112<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0adc6f550cf3890b19837cd8f0d7b1020a">VF_TOP_PLANE</a>,
113<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0a6c3c4cb8060a23a2365cf1df46fcefd7">VF_PLANE_COUNT</a>
114<br/>
115 }
116</ul>
117<h2><a name="pub-methods"></a>
118Public Member Functions</h2>
119<ul>
120<li><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a7052e88c612bd1239115929e94e6210d">SViewFrustum</a> ()
121<dl class="el"><dd class="mdescRight">Default Constructor. <a href="#a7052e88c612bd1239115929e94e6210d"></a><br/></dl><li><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#aa7cfed3ee9feee79efe02d26f3b14b0c">SViewFrustum</a> (const <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html">SViewFrustum</a> &amp;other)
122<dl class="el"><dd class="mdescRight">Copy Constructor. <a href="#aa7cfed3ee9feee79efe02d26f3b14b0c"></a><br/></dl><li><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#acfcbb01f1e26f73ee1d9c7695302a508">SViewFrustum</a> (const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;mat)
123<dl class="el"><dd class="mdescRight">This constructor creates a view frustum based on a projection and/or view matrix. <a href="#acfcbb01f1e26f73ee1d9c7695302a508"></a><br/></dl><li>bool <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ace0b4c93dcd1d4e6ae50615b457f1851">clipLine</a> (<a class="el" href="classirr_1_1core_1_1line3d.html">core::line3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;line) const
124<dl class="el"><dd class="mdescRight">clips a line to the view frustum. <a href="#ace0b4c93dcd1d4e6ae50615b457f1851"></a><br/></dl><li>const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a4328fe06bedd409ae20e9efc64e68706">getBoundingBox</a> () const
125<dl class="el"><dd class="mdescRight">returns a bounding box enclosing the whole view frustum <a href="#a4328fe06bedd409ae20e9efc64e68706"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a9a79eb4430af41031850adc7a0e0e3cf">getFarLeftDown</a> () const
126<dl class="el"><dd class="mdescRight">returns the point which is on the far left bottom corner inside the the view frustum. <a href="#a9a79eb4430af41031850adc7a0e0e3cf"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a99712510130276f440e2c399dde7e5f3">getFarLeftUp</a> () const
127<dl class="el"><dd class="mdescRight">returns the point which is on the far left upper corner inside the the view frustum. <a href="#a99712510130276f440e2c399dde7e5f3"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#add04c29bfa22d94be96c92ecff5420b9">getFarRightDown</a> () const
128<dl class="el"><dd class="mdescRight">returns the point which is on the far right bottom corner inside the the view frustum. <a href="#add04c29bfa22d94be96c92ecff5420b9"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a1b7f3b1cd4da4ea886b77d674e1c17dd">getFarRightUp</a> () const
129<dl class="el"><dd class="mdescRight">returns the point which is on the far right top corner inside the the view frustum. <a href="#a1b7f3b1cd4da4ea886b77d674e1c17dd"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#addbe9237ea17c93ae60bc4c27e862a76">getNearLeftDown</a> () const
130<dl class="el"><dd class="mdescRight">returns the point which is on the near left bottom corner inside the the view frustum. <a href="#addbe9237ea17c93ae60bc4c27e862a76"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#af240a13958215ce0cbe6ccd75301828a">getNearLeftUp</a> () const
131<dl class="el"><dd class="mdescRight">returns the point which is on the near left upper corner inside the the view frustum. <a href="#af240a13958215ce0cbe6ccd75301828a"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a74e011d85fb41206b5dd0af76635dc00">getNearRightDown</a> () const
132<dl class="el"><dd class="mdescRight">returns the point which is on the near right bottom corner inside the the view frustum. <a href="#a74e011d85fb41206b5dd0af76635dc00"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a4fe9e7b51a3f7f7235ef0f895bf32054">getNearRightUp</a> () const
133<dl class="el"><dd class="mdescRight">returns the point which is on the near right top corner inside the the view frustum. <a href="#a4fe9e7b51a3f7f7235ef0f895bf32054"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#acf8edd203e7479d2b444ed548075ffa6">getTransform</a> (<a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">video::E_TRANSFORMATION_STATE</a> state)
134<dl class="el"><dd class="mdescRight">get the given state's matrix based on frustum E_TRANSFORMATION_STATE <a href="#acf8edd203e7479d2b444ed548075ffa6"></a><br/></dl><li>const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a8e253fc5e6ea47531033792b22f28945">getTransform</a> (<a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">video::E_TRANSFORMATION_STATE</a> state) const
135<dl class="el"><dd class="mdescRight">get the given state's matrix based on frustum E_TRANSFORMATION_STATE <a href="#a8e253fc5e6ea47531033792b22f28945"></a><br/></dl><li>void <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a458eb19a23bcad50da0f9d3163e3621b">recalculateBoundingBox</a> ()
136<dl class="el"><dd class="mdescRight">recalculates the bounding box member based on the planes <a href="#a458eb19a23bcad50da0f9d3163e3621b"></a><br/></dl><li>void <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a2517bde9292aa26119d75b9ff0b92833">setFrom</a> (const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;mat)
137<dl class="el"><dd class="mdescRight">This constructor creates a view frustum based on a projection and/or view matrix. <a href="#a2517bde9292aa26119d75b9ff0b92833"></a><br/></dl><li>void <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#aeabadaf532f08ba3cb98b897ff0619f2">transform</a> (const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;mat)
138<dl class="el"><dd class="mdescRight">transforms the frustum by the matrix <a href="#aeabadaf532f08ba3cb98b897ff0619f2"></a><br/></dl></ul>
139<h2><a name="pub-attribs"></a>
140Public Attributes</h2>
141<ul>
142<li><a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ad4c8605ad3494093e3e5860e0332fe8a">boundingBox</a>
143<dl class="el"><dd class="mdescRight">bounding box around the view frustum <a href="#ad4c8605ad3494093e3e5860e0332fe8a"></a><br/></dl><li><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a77726fa084f416d69f058a7b2f887545">cameraPosition</a>
144<dl class="el"><dd class="mdescRight">the position of the camera <a href="#a77726fa084f416d69f058a7b2f887545"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1plane3d.html">core::plane3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#afa59258f22c23b6f1dc4bcaff142dba2">planes</a> [VF_PLANE_COUNT]
145<dl class="el"><dd class="mdescRight">all planes enclosing the view frustum. <a href="#afa59258f22c23b6f1dc4bcaff142dba2"></a><br/></dl></ul>
146<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
147<div class="textblock"><p>Defines the view frustum. That's the space visible by the camera. </p>
148<p>The view frustum is enclosed by 6 planes. These six planes share eight points. A bounding box around these eight points is also stored in this structure. </p>
149
150<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00025">25</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
151</div><hr/><h2>Member Enumeration Documentation</h2>
152<a class="anchor" id="ae3a96797aec028717f0589e82926b9f0"></a><!-- doxytag: member="irr::scene::SViewFrustum::VFPLANES" ref="ae3a96797aec028717f0589e82926b9f0" args="" -->
153<div class="memitem">
154<div class="memproto">
155 <table class="memname">
156 <tr>
157 <td class="memname">enum <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ae3a96797aec028717f0589e82926b9f0">irr::scene::SViewFrustum::VFPLANES</a></td>
158 </tr>
159 </table>
160</div>
161<div class="memdoc">
162<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
163<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0a33c11636c0cf3a29df16551fb3222f89"></a><!-- doxytag: member="VF_FAR_PLANE" ref="ae3a96797aec028717f0589e82926b9f0a33c11636c0cf3a29df16551fb3222f89" args="" -->VF_FAR_PLANE</em>&nbsp;</td><td>
164<p>Far plane of the frustum. That is the plane farest away from the eye. </p>
165</td></tr>
166<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0ad4e37002c2f3f5c9aa7219ca74ffb48e"></a><!-- doxytag: member="VF_NEAR_PLANE" ref="ae3a96797aec028717f0589e82926b9f0ad4e37002c2f3f5c9aa7219ca74ffb48e" args="" -->VF_NEAR_PLANE</em>&nbsp;</td><td>
167<p>Near plane of the frustum. That is the plane nearest to the eye. </p>
168</td></tr>
169<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0a4d611f15cd215819287e533b45715d5c"></a><!-- doxytag: member="VF_LEFT_PLANE" ref="ae3a96797aec028717f0589e82926b9f0a4d611f15cd215819287e533b45715d5c" args="" -->VF_LEFT_PLANE</em>&nbsp;</td><td>
170<p>Left plane of the frustum. </p>
171</td></tr>
172<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0acc02c8b170e35f1416f1511646b051aa"></a><!-- doxytag: member="VF_RIGHT_PLANE" ref="ae3a96797aec028717f0589e82926b9f0acc02c8b170e35f1416f1511646b051aa" args="" -->VF_RIGHT_PLANE</em>&nbsp;</td><td>
173<p>Right plane of the frustum. </p>
174</td></tr>
175<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0aa230be71193da774ddcb735ec7b10dd1"></a><!-- doxytag: member="VF_BOTTOM_PLANE" ref="ae3a96797aec028717f0589e82926b9f0aa230be71193da774ddcb735ec7b10dd1" args="" -->VF_BOTTOM_PLANE</em>&nbsp;</td><td>
176<p>Bottom plane of the frustum. </p>
177</td></tr>
178<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0adc6f550cf3890b19837cd8f0d7b1020a"></a><!-- doxytag: member="VF_TOP_PLANE" ref="ae3a96797aec028717f0589e82926b9f0adc6f550cf3890b19837cd8f0d7b1020a" args="" -->VF_TOP_PLANE</em>&nbsp;</td><td>
179<p>Top plane of the frustum. </p>
180</td></tr>
181<tr><td valign="top"><em><a class="anchor" id="ae3a96797aec028717f0589e82926b9f0a6c3c4cb8060a23a2365cf1df46fcefd7"></a><!-- doxytag: member="VF_PLANE_COUNT" ref="ae3a96797aec028717f0589e82926b9f0a6c3c4cb8060a23a2365cf1df46fcefd7" args="" -->VF_PLANE_COUNT</em>&nbsp;</td><td>
182<p>Amount of planes enclosing the view frustum. Should be 6. </p>
183</td></tr>
184</table>
185</dd>
186</dl>
187
188<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00027">27</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
189
190</div>
191</div>
192<hr/><h2>Constructor &amp; Destructor Documentation</h2>
193<a class="anchor" id="a7052e88c612bd1239115929e94e6210d"></a><!-- doxytag: member="irr::scene::SViewFrustum::SViewFrustum" ref="a7052e88c612bd1239115929e94e6210d" args="()" -->
194<div class="memitem">
195<div class="memproto">
196 <table class="memname">
197 <tr>
198 <td class="memname">irr::scene::SViewFrustum::SViewFrustum </td>
199 <td>(</td>
200 <td class="paramname"></td><td>)</td>
201 <td><code> [inline]</code></td>
202 </tr>
203 </table>
204</div>
205<div class="memdoc">
206
207<p>Default Constructor. </p>
208
209<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00048">48</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
210
211</div>
212</div>
213<a class="anchor" id="aa7cfed3ee9feee79efe02d26f3b14b0c"></a><!-- doxytag: member="irr::scene::SViewFrustum::SViewFrustum" ref="aa7cfed3ee9feee79efe02d26f3b14b0c" args="(const SViewFrustum &amp;other)" -->
214<div class="memitem">
215<div class="memproto">
216 <table class="memname">
217 <tr>
218 <td class="memname">irr::scene::SViewFrustum::SViewFrustum </td>
219 <td>(</td>
220 <td class="paramtype">const <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html">SViewFrustum</a> &amp;&#160;</td>
221 <td class="paramname"><em>other</em></td><td>)</td>
222 <td><code> [inline]</code></td>
223 </tr>
224 </table>
225</div>
226<div class="memdoc">
227
228<p>Copy Constructor. </p>
229<p>Copy constructor ViewFrustum </p>
230
231<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00129">129</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
232
233<p>References <a class="el" href="_s_view_frustum_8h_source.html#l00110">boundingBox</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00104">cameraPosition</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00043">VF_PLANE_COUNT</a>.</p>
234
235</div>
236</div>
237<a class="anchor" id="acfcbb01f1e26f73ee1d9c7695302a508"></a><!-- doxytag: member="irr::scene::SViewFrustum::SViewFrustum" ref="acfcbb01f1e26f73ee1d9c7695302a508" args="(const core::matrix4 &amp;mat)" -->
238<div class="memitem">
239<div class="memproto">
240 <table class="memname">
241 <tr>
242 <td class="memname">irr::scene::SViewFrustum::SViewFrustum </td>
243 <td>(</td>
244 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;&#160;</td>
245 <td class="paramname"><em>mat</em></td><td>)</td>
246 <td><code> [inline]</code></td>
247 </tr>
248 </table>
249</div>
250<div class="memdoc">
251
252<p>This constructor creates a view frustum based on a projection and/or view matrix. </p>
253
254<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00142">142</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
255
256<p>References <a class="el" href="_s_view_frustum_8h_source.html#l00255">setFrom()</a>.</p>
257
258</div>
259</div>
260<hr/><h2>Member Function Documentation</h2>
261<a class="anchor" id="ace0b4c93dcd1d4e6ae50615b457f1851"></a><!-- doxytag: member="irr::scene::SViewFrustum::clipLine" ref="ace0b4c93dcd1d4e6ae50615b457f1851" args="(core::line3d&lt; f32 &gt; &amp;line) const " -->
262<div class="memitem">
263<div class="memproto">
264 <table class="memname">
265 <tr>
266 <td class="memname">bool irr::scene::SViewFrustum::clipLine </td>
267 <td>(</td>
268 <td class="paramtype"><a class="el" href="classirr_1_1core_1_1line3d.html">core::line3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
269 <td class="paramname"><em>line</em></td><td>)</td>
270 <td> const<code> [inline]</code></td>
271 </tr>
272 </table>
273</div>
274<div class="memdoc">
275
276<p>clips a line to the view frustum. </p>
277<p>Clips a line to the frustum.</p>
278<dl class="return"><dt><b>Returns:</b></dt><dd>True if the line was clipped, false if not </dd></dl>
279
280<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00344">344</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
281
282<p>References <a class="el" href="line3d_8h_source.html#l00132">irr::core::line3d&lt; T &gt;::end</a>, <a class="el" href="plane3d_8h_source.html#l00107">irr::core::plane3d&lt; T &gt;::getKnownIntersectionWithLine()</a>, <a class="el" href="plane3d_8h_source.html#l00019">irr::core::ISREL3D_FRONT</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="line3d_8h_source.html#l00130">irr::core::line3d&lt; T &gt;::start</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00043">VF_PLANE_COUNT</a>.</p>
283
284</div>
285</div>
286<a class="anchor" id="a4328fe06bedd409ae20e9efc64e68706"></a><!-- doxytag: member="irr::scene::SViewFrustum::getBoundingBox" ref="a4328fe06bedd409ae20e9efc64e68706" args="() const " -->
287<div class="memitem">
288<div class="memproto">
289 <table class="memname">
290 <tr>
291 <td class="memname">const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp; irr::scene::SViewFrustum::getBoundingBox </td>
292 <td>(</td>
293 <td class="paramname"></td><td>)</td>
294 <td> const<code> [inline]</code></td>
295 </tr>
296 </table>
297</div>
298<div class="memdoc">
299
300<p>returns a bounding box enclosing the whole view frustum </p>
301
302<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00238">238</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
303
304<p>References <a class="el" href="_s_view_frustum_8h_source.html#l00110">boundingBox</a>.</p>
305
306</div>
307</div>
308<a class="anchor" id="a9a79eb4430af41031850adc7a0e0e3cf"></a><!-- doxytag: member="irr::scene::SViewFrustum::getFarLeftDown" ref="a9a79eb4430af41031850adc7a0e0e3cf" args="() const " -->
309<div class="memitem">
310<div class="memproto">
311 <table class="memname">
312 <tr>
313 <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getFarLeftDown </td>
314 <td>(</td>
315 <td class="paramname"></td><td>)</td>
316 <td> const<code> [inline]</code></td>
317 </tr>
318 </table>
319</div>
320<div class="memdoc">
321
322<p>returns the point which is on the far left bottom corner inside the the view frustum. </p>
323
324<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00168">168</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
325
326<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00038">VF_BOTTOM_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00030">VF_FAR_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00034">VF_LEFT_PLANE</a>.</p>
327
328<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>.</p>
329
330</div>
331</div>
332<a class="anchor" id="a99712510130276f440e2c399dde7e5f3"></a><!-- doxytag: member="irr::scene::SViewFrustum::getFarLeftUp" ref="a99712510130276f440e2c399dde7e5f3" args="() const " -->
333<div class="memitem">
334<div class="memproto">
335 <table class="memname">
336 <tr>
337 <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getFarLeftUp </td>
338 <td>(</td>
339 <td class="paramname"></td><td>)</td>
340 <td> const<code> [inline]</code></td>
341 </tr>
342 </table>
343</div>
344<div class="memdoc">
345
346<p>returns the point which is on the far left upper corner inside the the view frustum. </p>
347
348<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00158">158</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
349
350<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00030">VF_FAR_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00034">VF_LEFT_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00040">VF_TOP_PLANE</a>.</p>
351
352<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>.</p>
353
354</div>
355</div>
356<a class="anchor" id="add04c29bfa22d94be96c92ecff5420b9"></a><!-- doxytag: member="irr::scene::SViewFrustum::getFarRightDown" ref="add04c29bfa22d94be96c92ecff5420b9" args="() const " -->
357<div class="memitem">
358<div class="memproto">
359 <table class="memname">
360 <tr>
361 <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getFarRightDown </td>
362 <td>(</td>
363 <td class="paramname"></td><td>)</td>
364 <td> const<code> [inline]</code></td>
365 </tr>
366 </table>
367</div>
368<div class="memdoc">
369
370<p>returns the point which is on the far right bottom corner inside the the view frustum. </p>
371
372<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00188">188</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
373
374<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00038">VF_BOTTOM_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00030">VF_FAR_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00036">VF_RIGHT_PLANE</a>.</p>
375
376<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>.</p>
377
378</div>
379</div>
380<a class="anchor" id="a1b7f3b1cd4da4ea886b77d674e1c17dd"></a><!-- doxytag: member="irr::scene::SViewFrustum::getFarRightUp" ref="a1b7f3b1cd4da4ea886b77d674e1c17dd" args="() const " -->
381<div class="memitem">
382<div class="memproto">
383 <table class="memname">
384 <tr>
385 <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getFarRightUp </td>
386 <td>(</td>
387 <td class="paramname"></td><td>)</td>
388 <td> const<code> [inline]</code></td>
389 </tr>
390 </table>
391</div>
392<div class="memdoc">
393
394<p>returns the point which is on the far right top corner inside the the view frustum. </p>
395
396<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00178">178</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
397
398<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00030">VF_FAR_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00036">VF_RIGHT_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00040">VF_TOP_PLANE</a>.</p>
399
400<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>.</p>
401
402</div>
403</div>
404<a class="anchor" id="addbe9237ea17c93ae60bc4c27e862a76"></a><!-- doxytag: member="irr::scene::SViewFrustum::getNearLeftDown" ref="addbe9237ea17c93ae60bc4c27e862a76" args="() const " -->
405<div class="memitem">
406<div class="memproto">
407 <table class="memname">
408 <tr>
409 <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getNearLeftDown </td>
410 <td>(</td>
411 <td class="paramname"></td><td>)</td>
412 <td> const<code> [inline]</code></td>
413 </tr>
414 </table>
415</div>
416<div class="memdoc">
417
418<p>returns the point which is on the near left bottom corner inside the the view frustum. </p>
419
420<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00208">208</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
421
422<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00038">VF_BOTTOM_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00034">VF_LEFT_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00032">VF_NEAR_PLANE</a>.</p>
423
424</div>
425</div>
426<a class="anchor" id="af240a13958215ce0cbe6ccd75301828a"></a><!-- doxytag: member="irr::scene::SViewFrustum::getNearLeftUp" ref="af240a13958215ce0cbe6ccd75301828a" args="() const " -->
427<div class="memitem">
428<div class="memproto">
429 <table class="memname">
430 <tr>
431 <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getNearLeftUp </td>
432 <td>(</td>
433 <td class="paramname"></td><td>)</td>
434 <td> const<code> [inline]</code></td>
435 </tr>
436 </table>
437</div>
438<div class="memdoc">
439
440<p>returns the point which is on the near left upper corner inside the the view frustum. </p>
441
442<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00198">198</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
443
444<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00034">VF_LEFT_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00032">VF_NEAR_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00040">VF_TOP_PLANE</a>.</p>
445
446</div>
447</div>
448<a class="anchor" id="a74e011d85fb41206b5dd0af76635dc00"></a><!-- doxytag: member="irr::scene::SViewFrustum::getNearRightDown" ref="a74e011d85fb41206b5dd0af76635dc00" args="() const " -->
449<div class="memitem">
450<div class="memproto">
451 <table class="memname">
452 <tr>
453 <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getNearRightDown </td>
454 <td>(</td>
455 <td class="paramname"></td><td>)</td>
456 <td> const<code> [inline]</code></td>
457 </tr>
458 </table>
459</div>
460<div class="memdoc">
461
462<p>returns the point which is on the near right bottom corner inside the the view frustum. </p>
463
464<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00228">228</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
465
466<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00038">VF_BOTTOM_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00032">VF_NEAR_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00036">VF_RIGHT_PLANE</a>.</p>
467
468</div>
469</div>
470<a class="anchor" id="a4fe9e7b51a3f7f7235ef0f895bf32054"></a><!-- doxytag: member="irr::scene::SViewFrustum::getNearRightUp" ref="a4fe9e7b51a3f7f7235ef0f895bf32054" args="() const " -->
471<div class="memitem">
472<div class="memproto">
473 <table class="memname">
474 <tr>
475 <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> irr::scene::SViewFrustum::getNearRightUp </td>
476 <td>(</td>
477 <td class="paramname"></td><td>)</td>
478 <td> const<code> [inline]</code></td>
479 </tr>
480 </table>
481</div>
482<div class="memdoc">
483
484<p>returns the point which is on the near right top corner inside the the view frustum. </p>
485
486<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00218">218</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
487
488<p>References <a class="el" href="plane3d_8h_source.html#l00195">irr::core::plane3d&lt; T &gt;::getIntersectionWithPlanes()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00032">VF_NEAR_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00036">VF_RIGHT_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00040">VF_TOP_PLANE</a>.</p>
489
490</div>
491</div>
492<a class="anchor" id="acf8edd203e7479d2b444ed548075ffa6"></a><!-- doxytag: member="irr::scene::SViewFrustum::getTransform" ref="acf8edd203e7479d2b444ed548075ffa6" args="(video::E_TRANSFORMATION_STATE state)" -->
493<div class="memitem">
494<div class="memproto">
495 <table class="memname">
496 <tr>
497 <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp; irr::scene::SViewFrustum::getTransform </td>
498 <td>(</td>
499 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">video::E_TRANSFORMATION_STATE</a>&#160;</td>
500 <td class="paramname"><em>state</em></td><td>)</td>
501 <td><code> [inline]</code></td>
502 </tr>
503 </table>
504</div>
505<div class="memdoc">
506
507<p>get the given state's matrix based on frustum E_TRANSFORMATION_STATE </p>
508<p>View Frustum depends on Projection &amp; View Matrix </p>
509
510<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00310">310</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
511
512<p>References <a class="el" href="_i_video_driver_8h_source.html#l00059">irr::video::ETS_PROJECTION</a>, and <a class="el" href="_i_video_driver_8h_source.html#l00055">irr::video::ETS_VIEW</a>.</p>
513
514</div>
515</div>
516<a class="anchor" id="a8e253fc5e6ea47531033792b22f28945"></a><!-- doxytag: member="irr::scene::SViewFrustum::getTransform" ref="a8e253fc5e6ea47531033792b22f28945" args="(video::E_TRANSFORMATION_STATE state) const " -->
517<div class="memitem">
518<div class="memproto">
519 <table class="memname">
520 <tr>
521 <td class="memname">const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp; irr::scene::SViewFrustum::getTransform </td>
522 <td>(</td>
523 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">video::E_TRANSFORMATION_STATE</a>&#160;</td>
524 <td class="paramname"><em>state</em></td><td>)</td>
525 <td> const<code> [inline]</code></td>
526 </tr>
527 </table>
528</div>
529<div class="memdoc">
530
531<p>get the given state's matrix based on frustum E_TRANSFORMATION_STATE </p>
532<p>View Frustum depends on Projection &amp; View Matrix </p>
533
534<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00328">328</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
535
536<p>References <a class="el" href="_i_video_driver_8h_source.html#l00059">irr::video::ETS_PROJECTION</a>, and <a class="el" href="_i_video_driver_8h_source.html#l00055">irr::video::ETS_VIEW</a>.</p>
537
538</div>
539</div>
540<a class="anchor" id="a458eb19a23bcad50da0f9d3163e3621b"></a><!-- doxytag: member="irr::scene::SViewFrustum::recalculateBoundingBox" ref="a458eb19a23bcad50da0f9d3163e3621b" args="()" -->
541<div class="memitem">
542<div class="memproto">
543 <table class="memname">
544 <tr>
545 <td class="memname">void irr::scene::SViewFrustum::recalculateBoundingBox </td>
546 <td>(</td>
547 <td class="paramname"></td><td>)</td>
548 <td><code> [inline]</code></td>
549 </tr>
550 </table>
551</div>
552<div class="memdoc">
553
554<p>recalculates the bounding box member based on the planes </p>
555
556<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00243">243</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
557
558<p>References <a class="el" href="aabbox3d_8h_source.html#l00074">irr::core::aabbox3d&lt; T &gt;::addInternalPoint()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00110">boundingBox</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00104">cameraPosition</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00168">getFarLeftDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00158">getFarLeftUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00188">getFarRightDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00178">getFarRightUp()</a>, and <a class="el" href="aabbox3d_8h_source.html#l00050">irr::core::aabbox3d&lt; T &gt;::reset()</a>.</p>
559
560<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00255">setFrom()</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00148">transform()</a>.</p>
561
562</div>
563</div>
564<a class="anchor" id="a2517bde9292aa26119d75b9ff0b92833"></a><!-- doxytag: member="irr::scene::SViewFrustum::setFrom" ref="a2517bde9292aa26119d75b9ff0b92833" args="(const core::matrix4 &amp;mat)" -->
565<div class="memitem">
566<div class="memproto">
567 <table class="memname">
568 <tr>
569 <td class="memname">void irr::scene::SViewFrustum::setFrom </td>
570 <td>(</td>
571 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;&#160;</td>
572 <td class="paramname"><em>mat</em></td><td>)</td>
573 <td><code> [inline]</code></td>
574 </tr>
575 </table>
576</div>
577<div class="memdoc">
578
579<p>This constructor creates a view frustum based on a projection and/or view matrix. </p>
580
581<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00255">255</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
582
583<p>References <a class="el" href="plane3d_8h_source.html#l00231">irr::core::plane3d&lt; T &gt;::D</a>, <a class="el" href="plane3d_8h_source.html#l00228">irr::core::plane3d&lt; T &gt;::Normal</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>, <a class="el" href="irr_math_8h_source.html#l00497">irr::core::reciprocal_squareroot()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00038">VF_BOTTOM_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00030">VF_FAR_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00034">VF_LEFT_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00032">VF_NEAR_PLANE</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00043">VF_PLANE_COUNT</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00036">VF_RIGHT_PLANE</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00040">VF_TOP_PLANE</a>.</p>
584
585<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00142">SViewFrustum()</a>.</p>
586
587</div>
588</div>
589<a class="anchor" id="aeabadaf532f08ba3cb98b897ff0619f2"></a><!-- doxytag: member="irr::scene::SViewFrustum::transform" ref="aeabadaf532f08ba3cb98b897ff0619f2" args="(const core::matrix4 &amp;mat)" -->
590<div class="memitem">
591<div class="memproto">
592 <table class="memname">
593 <tr>
594 <td class="memname">void irr::scene::SViewFrustum::transform </td>
595 <td>(</td>
596 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;&#160;</td>
597 <td class="paramname"><em>mat</em></td><td>)</td>
598 <td><code> [inline]</code></td>
599 </tr>
600 </table>
601</div>
602<div class="memdoc">
603
604<p>transforms the frustum by the matrix </p>
605<dl><dt><b>Parameters:</b></dt><dd>
606 <table class="params">
607 <tr><td class="paramname">mat,:</td><td>Matrix by which the view frustum is transformed. </td></tr>
608 </table>
609 </dd>
610</dl>
611
612<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00148">148</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
613
614<p>References <a class="el" href="_s_view_frustum_8h_source.html#l00104">cameraPosition</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00107">planes</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>, <a class="el" href="matrix4_8h_source.html#l01179">irr::core::CMatrix4&lt; T &gt;::transformPlane()</a>, <a class="el" href="matrix4_8h_source.html#l01137">irr::core::CMatrix4&lt; T &gt;::transformVect()</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00043">VF_PLANE_COUNT</a>.</p>
615
616</div>
617</div>
618<hr/><h2>Member Data Documentation</h2>
619<a class="anchor" id="ad4c8605ad3494093e3e5860e0332fe8a"></a><!-- doxytag: member="irr::scene::SViewFrustum::boundingBox" ref="ad4c8605ad3494093e3e5860e0332fe8a" args="" -->
620<div class="memitem">
621<div class="memproto">
622 <table class="memname">
623 <tr>
624 <td class="memname"><a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt;<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&gt; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ad4c8605ad3494093e3e5860e0332fe8a">irr::scene::SViewFrustum::boundingBox</a></td>
625 </tr>
626 </table>
627</div>
628<div class="memdoc">
629
630<p>bounding box around the view frustum </p>
631
632<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00110">110</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
633
634<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00238">getBoundingBox()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00129">SViewFrustum()</a>.</p>
635
636</div>
637</div>
638<a class="anchor" id="a77726fa084f416d69f058a7b2f887545"></a><!-- doxytag: member="irr::scene::SViewFrustum::cameraPosition" ref="a77726fa084f416d69f058a7b2f887545" args="" -->
639<div class="memitem">
640<div class="memproto">
641 <table class="memname">
642 <tr>
643 <td class="memname"><a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a77726fa084f416d69f058a7b2f887545">irr::scene::SViewFrustum::cameraPosition</a></td>
644 </tr>
645 </table>
646</div>
647<div class="memdoc">
648
649<p>the position of the camera </p>
650
651<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00104">104</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
652
653<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00243">recalculateBoundingBox()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00129">SViewFrustum()</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00148">transform()</a>.</p>
654
655</div>
656</div>
657<a class="anchor" id="afa59258f22c23b6f1dc4bcaff142dba2"></a><!-- doxytag: member="irr::scene::SViewFrustum::planes" ref="afa59258f22c23b6f1dc4bcaff142dba2" args="[VF_PLANE_COUNT]" -->
658<div class="memitem">
659<div class="memproto">
660 <table class="memname">
661 <tr>
662 <td class="memname"><a class="el" href="classirr_1_1core_1_1plane3d.html">core::plane3d</a>&lt;<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&gt; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#afa59258f22c23b6f1dc4bcaff142dba2">irr::scene::SViewFrustum::planes</a>[VF_PLANE_COUNT]</td>
663 </tr>
664 </table>
665</div>
666<div class="memdoc">
667
668<p>all planes enclosing the view frustum. </p>
669
670<p>Definition at line <a class="el" href="_s_view_frustum_8h_source.html#l00107">107</a> of file <a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a>.</p>
671
672<p>Referenced by <a class="el" href="_s_view_frustum_8h_source.html#l00344">clipLine()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00168">getFarLeftDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00158">getFarLeftUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00188">getFarRightDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00178">getFarRightUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00208">getNearLeftDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00198">getNearLeftUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00228">getNearRightDown()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00218">getNearRightUp()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00255">setFrom()</a>, <a class="el" href="_s_view_frustum_8h_source.html#l00129">SViewFrustum()</a>, and <a class="el" href="_s_view_frustum_8h_source.html#l00148">transform()</a>.</p>
673
674</div>
675</div>
676<hr/>The documentation for this struct was generated from the following file:<ul>
677<li><a class="el" href="_s_view_frustum_8h_source.html">SViewFrustum.h</a></li>
678</ul>
679</div>
680</div>
681 <div id="nav-path" class="navpath">
682 <ul>
683 <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li>
684 <li class="navelem"><a class="el" href="namespaceirr_1_1scene.html">scene</a> </li>
685 <li class="navelem"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html">SViewFrustum</a> </li>
686<!-- window showing the filter options -->
687<div id="MSearchSelectWindow"
688 onmouseover="return searchBox.OnSearchSelectShow()"
689 onmouseout="return searchBox.OnSearchSelectHide()"
690 onkeydown="return searchBox.OnSearchSelectKey(event)">
691<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>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>
692
693<!-- iframe showing the search results (closed by default) -->
694<div id="MSearchResultsWindow">
695<iframe src="javascript:void(0)" frameborder="0"
696 name="MSearchResults" id="MSearchResults">
697</iframe>
698</div>
699
700
701 <li class="footer">
702<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht
703Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:48 for Irrlicht 3D Engine by
704<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
705 </ul>
706 </div>
707
708
709</body>
710</html>