Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release > by-pkgid > 58828b263d8f56d90ac336dea07a4586 > files > 1006

irrlicht-doc-1.6.1-1mdv2010.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Irrlicht Engine: irr::scene::SViewFrustum Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table class="irrlicht" >
  <tr valign="middle"> 
    <td><font size="2"><a class="qindex" href="index.html"><font color="#FFFFFF">Home</font></a> 
      | <a class="qindex" href="namespaces.html"><font color="#FFFFFF">Namespaces</font></a> 
      | <a class="qindex" href="hierarchy.html"><font color="#FFFFFF">Hierarchy</font></a> 
      | <a class="qindex" href="classes.html"><font color="#FFFFFF">Alphabetical 
      List</font></a> | <a class="qindex" href="annotated.html"><font color="#FFFFFF"> 
      Class list</font></a> | <a class="qindex" href="files.html"><font color="#FFFFFF">Files</font></a> 
      | <a class="qindex" href="namespacemembers.html"><font color="#FFFFFF"> 
      Namespace&nbsp;Members</font></a> | <a class="qindex" href="functions.html"><font color="#FFFFFF">Class 
      members</font></a> | <a class="qindex" href="globals.html"><font color="#FFFFFF">File 
      members</font></a> | <a class="qindex" href="pages.html"><font color="#FFFFFF">Tutorials</font></a></font> </td>
  </tr>
</table>
<!-- Generated by Doxygen 1.5.6 -->
  <div class="navpath"><a class="el" href="namespaceirr.html">irr</a>::<a class="el" href="namespaceirr_1_1scene.html">scene</a>::<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html">SViewFrustum</a>
  </div>
<div class="contents">
<h1>irr::scene::SViewFrustum Struct Reference</h1><!-- doxytag: class="irr::scene::SViewFrustum" -->Defines the view frustum. That's the space visible by the camera.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>&gt;</code>
<p>

<p>
<a href="structirr_1_1scene_1_1_s_view_frustum-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#e3a96797aec028717f0589e82926b9f0">VFPLANES</a> { <br>
&nbsp;&nbsp;<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#e3a96797aec028717f0589e82926b9f033c11636c0cf3a29df16551fb3222f89">VF_FAR_PLANE</a> =  0, 
<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#e3a96797aec028717f0589e82926b9f0d4e37002c2f3f5c9aa7219ca74ffb48e">VF_NEAR_PLANE</a>, 
<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#e3a96797aec028717f0589e82926b9f04d611f15cd215819287e533b45715d5c">VF_LEFT_PLANE</a>, 
<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#e3a96797aec028717f0589e82926b9f0cc02c8b170e35f1416f1511646b051aa">VF_RIGHT_PLANE</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#e3a96797aec028717f0589e82926b9f0a230be71193da774ddcb735ec7b10dd1">VF_BOTTOM_PLANE</a>, 
<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#e3a96797aec028717f0589e82926b9f0dc6f550cf3890b19837cd8f0d7b1020a">VF_TOP_PLANE</a>, 
<a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#e3a96797aec028717f0589e82926b9f06c3c4cb8060a23a2365cf1df46fcefd7">VF_PLANE_COUNT</a>
<br>
 }</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#ce0b4c93dcd1d4e6ae50615b457f1851">clipLine</a> (<a class="el" href="classirr_1_1core_1_1line3d.html">core::line3d</a>&lt; <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;line) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">clips a line to the view frustum.  <a href="#ce0b4c93dcd1d4e6ae50615b457f1851"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#4328fe06bedd409ae20e9efc64e68706">getBoundingBox</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns a bounding box enclosing the whole view frustum  <a href="#4328fe06bedd409ae20e9efc64e68706"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#9a79eb4430af41031850adc7a0e0e3cf">getFarLeftDown</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the point which is on the far left bottom corner inside the the view frustum.  <a href="#9a79eb4430af41031850adc7a0e0e3cf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#99712510130276f440e2c399dde7e5f3">getFarLeftUp</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the point which is on the far left upper corner inside the the view frustum.  <a href="#99712510130276f440e2c399dde7e5f3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#dd04c29bfa22d94be96c92ecff5420b9">getFarRightDown</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the point which is on the far right bottom corner inside the the view frustum.  <a href="#dd04c29bfa22d94be96c92ecff5420b9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#1b7f3b1cd4da4ea886b77d674e1c17dd">getFarRightUp</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the point which is on the far right top corner inside the the view frustum.  <a href="#1b7f3b1cd4da4ea886b77d674e1c17dd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::matrix4</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#8e253fc5e6ea47531033792b22f28945">getTransform</a> (<a class="el" href="namespaceirr_1_1video.html#15b57657a320243be03ae6f66fcff43d">video::E_TRANSFORMATION_STATE</a> state) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the given state's matrix based on frustum E_TRANSFORMATION_STATE  <a href="#8e253fc5e6ea47531033792b22f28945"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::matrix4</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#cf8edd203e7479d2b444ed548075ffa6">getTransform</a> (<a class="el" href="namespaceirr_1_1video.html#15b57657a320243be03ae6f66fcff43d">video::E_TRANSFORMATION_STATE</a> state)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the given state's matrix based on frustum E_TRANSFORMATION_STATE  <a href="#cf8edd203e7479d2b444ed548075ffa6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#458eb19a23bcad50da0f9d3163e3621b">recalculateBoundingBox</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">recalculates the bounding box member based on the planes  <a href="#458eb19a23bcad50da0f9d3163e3621b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#2517bde9292aa26119d75b9ff0b92833">setFrom</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::matrix4</a> &amp;mat)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This constructor creates a view frustum based on a projection and/or view matrix.  <a href="#2517bde9292aa26119d75b9ff0b92833"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#cfcbb01f1e26f73ee1d9c7695302a508">SViewFrustum</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::matrix4</a> &amp;mat)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This constructor creates a view frustum based on a projection and/or view matrix.  <a href="#cfcbb01f1e26f73ee1d9c7695302a508"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#a7cfed3ee9feee79efe02d26f3b14b0c">SViewFrustum</a> (const <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html">SViewFrustum</a> &amp;other)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy Constructor.  <a href="#a7cfed3ee9feee79efe02d26f3b14b0c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#7052e88c612bd1239115929e94e6210d">SViewFrustum</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default Constructor.  <a href="#7052e88c612bd1239115929e94e6210d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#eabadaf532f08ba3cb98b897ff0619f2">transform</a> (const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::matrix4</a> &amp;mat)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">transforms the frustum by the matrix  <a href="#eabadaf532f08ba3cb98b897ff0619f2"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#d4c8605ad3494093e3e5860e0332fe8a">boundingBox</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">bounding box around the view frustum  <a href="#d4c8605ad3494093e3e5860e0332fe8a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#77726fa084f416d69f058a7b2f887545">cameraPosition</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the position of the camera  <a href="#77726fa084f416d69f058a7b2f887545"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classirr_1_1core_1_1plane3d.html">core::plane3d</a>&lt; <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#fa59258f22c23b6f1dc4bcaff142dba2">planes</a> [VF_PLANE_COUNT]</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">all planes enclosing the view frustum.  <a href="#fa59258f22c23b6f1dc4bcaff142dba2"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Defines the view frustum. That's the space visible by the camera. 
<p>
The view frustum is enclosed by 6 planes. These six planes share four points. A bounding box around these four points is also stored in this structure. 
<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>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="e3a96797aec028717f0589e82926b9f0"></a><!-- doxytag: member="irr::scene::SViewFrustum::VFPLANES" ref="e3a96797aec028717f0589e82926b9f0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#e3a96797aec028717f0589e82926b9f0">irr::scene::SViewFrustum::VFPLANES</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="e3a96797aec028717f0589e82926b9f033c11636c0cf3a29df16551fb3222f89"></a><!-- doxytag: member="VF_FAR_PLANE" ref="e3a96797aec028717f0589e82926b9f033c11636c0cf3a29df16551fb3222f89" args="" -->VF_FAR_PLANE</em>&nbsp;</td><td>
Far plane of the frustum. That is the plane farest away from the eye. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="e3a96797aec028717f0589e82926b9f0d4e37002c2f3f5c9aa7219ca74ffb48e"></a><!-- doxytag: member="VF_NEAR_PLANE" ref="e3a96797aec028717f0589e82926b9f0d4e37002c2f3f5c9aa7219ca74ffb48e" args="" -->VF_NEAR_PLANE</em>&nbsp;</td><td>
Near plane of the frustum. That is the plane nearest to the eye. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="e3a96797aec028717f0589e82926b9f04d611f15cd215819287e533b45715d5c"></a><!-- doxytag: member="VF_LEFT_PLANE" ref="e3a96797aec028717f0589e82926b9f04d611f15cd215819287e533b45715d5c" args="" -->VF_LEFT_PLANE</em>&nbsp;</td><td>
Left plane of the frustum. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="e3a96797aec028717f0589e82926b9f0cc02c8b170e35f1416f1511646b051aa"></a><!-- doxytag: member="VF_RIGHT_PLANE" ref="e3a96797aec028717f0589e82926b9f0cc02c8b170e35f1416f1511646b051aa" args="" -->VF_RIGHT_PLANE</em>&nbsp;</td><td>
Right plane of the frustum. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="e3a96797aec028717f0589e82926b9f0a230be71193da774ddcb735ec7b10dd1"></a><!-- doxytag: member="VF_BOTTOM_PLANE" ref="e3a96797aec028717f0589e82926b9f0a230be71193da774ddcb735ec7b10dd1" args="" -->VF_BOTTOM_PLANE</em>&nbsp;</td><td>
Bottom plane of the frustum. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="e3a96797aec028717f0589e82926b9f0dc6f550cf3890b19837cd8f0d7b1020a"></a><!-- doxytag: member="VF_TOP_PLANE" ref="e3a96797aec028717f0589e82926b9f0dc6f550cf3890b19837cd8f0d7b1020a" args="" -->VF_TOP_PLANE</em>&nbsp;</td><td>
Top plane of the frustum. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="e3a96797aec028717f0589e82926b9f06c3c4cb8060a23a2365cf1df46fcefd7"></a><!-- doxytag: member="VF_PLANE_COUNT" ref="e3a96797aec028717f0589e82926b9f06c3c4cb8060a23a2365cf1df46fcefd7" args="" -->VF_PLANE_COUNT</em>&nbsp;</td><td>
Amount of planes enclosing the view frustum. Should be 6. </td></tr>
</table>
</dl>

<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>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="7052e88c612bd1239115929e94e6210d"></a><!-- doxytag: member="irr::scene::SViewFrustum::SViewFrustum" ref="7052e88c612bd1239115929e94e6210d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::scene::SViewFrustum::SViewFrustum           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Default Constructor. 
<p>

<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>

</div>
</div><p>
<a class="anchor" name="a7cfed3ee9feee79efe02d26f3b14b0c"></a><!-- doxytag: member="irr::scene::SViewFrustum::SViewFrustum" ref="a7cfed3ee9feee79efe02d26f3b14b0c" args="(const SViewFrustum &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::scene::SViewFrustum::SViewFrustum           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html">SViewFrustum</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy Constructor. 
<p>
Copy constructor ViewFrustum 
<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00117">117</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h-source.html#l00098">boundingBox</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00092">cameraPosition</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00110">Matrices</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00095">planes</a>, and <a class="el" href="_s_view_frustum_8h-source.html#l00043">VF_PLANE_COUNT</a>.</p>

</div>
</div><p>
<a class="anchor" name="cfcbb01f1e26f73ee1d9c7695302a508"></a><!-- doxytag: member="irr::scene::SViewFrustum::SViewFrustum" ref="cfcbb01f1e26f73ee1d9c7695302a508" args="(const core::matrix4 &amp;mat)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::scene::SViewFrustum::SViewFrustum           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::matrix4</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>mat</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This constructor creates a view frustum based on a projection and/or view matrix. 
<p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00130">130</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h-source.html#l00203">setFrom()</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="ce0b4c93dcd1d4e6ae50615b457f1851"></a><!-- doxytag: member="irr::scene::SViewFrustum::clipLine" ref="ce0b4c93dcd1d4e6ae50615b457f1851" args="(core::line3d&lt; f32 &gt; &amp;line) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool irr::scene::SViewFrustum::clipLine           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1line3d.html">core::line3d</a>&lt; <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>line</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
clips a line to the view frustum. 
<p>
Clips a line to the frustum.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the line was clipped, false if not </dd></dl>

<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00292">292</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<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#l00019">irr::core::ISREL3D_FRONT</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00095">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>

</div>
</div><p>
<a class="anchor" name="4328fe06bedd409ae20e9efc64e68706"></a><!-- doxytag: member="irr::scene::SViewFrustum::getBoundingBox" ref="4328fe06bedd409ae20e9efc64e68706" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp; irr::scene::SViewFrustum::getBoundingBox           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns a bounding box enclosing the whole view frustum 
<p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00186">186</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h-source.html#l00098">boundingBox</a>.</p>

</div>
</div><p>
<a class="anchor" name="9a79eb4430af41031850adc7a0e0e3cf"></a><!-- doxytag: member="irr::scene::SViewFrustum::getFarLeftDown" ref="9a79eb4430af41031850adc7a0e0e3cf" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> irr::scene::SViewFrustum::getFarLeftDown           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns the point which is on the far left bottom corner inside the the view frustum. 
<p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00156">156</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h-source.html#l00095">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>

<p>Referenced by <a class="el" href="_s_view_frustum_8h-source.html#l00191">recalculateBoundingBox()</a>.</p>

</div>
</div><p>
<a class="anchor" name="99712510130276f440e2c399dde7e5f3"></a><!-- doxytag: member="irr::scene::SViewFrustum::getFarLeftUp" ref="99712510130276f440e2c399dde7e5f3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> irr::scene::SViewFrustum::getFarLeftUp           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns the point which is on the far left upper corner inside the the view frustum. 
<p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00146">146</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h-source.html#l00095">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>

<p>Referenced by <a class="el" href="_s_view_frustum_8h-source.html#l00191">recalculateBoundingBox()</a>.</p>

</div>
</div><p>
<a class="anchor" name="dd04c29bfa22d94be96c92ecff5420b9"></a><!-- doxytag: member="irr::scene::SViewFrustum::getFarRightDown" ref="dd04c29bfa22d94be96c92ecff5420b9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> irr::scene::SViewFrustum::getFarRightDown           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns the point which is on the far right bottom corner inside the the view frustum. 
<p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00176">176</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h-source.html#l00095">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>

<p>Referenced by <a class="el" href="_s_view_frustum_8h-source.html#l00191">recalculateBoundingBox()</a>.</p>

</div>
</div><p>
<a class="anchor" name="1b7f3b1cd4da4ea886b77d674e1c17dd"></a><!-- doxytag: member="irr::scene::SViewFrustum::getFarRightUp" ref="1b7f3b1cd4da4ea886b77d674e1c17dd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> irr::scene::SViewFrustum::getFarRightUp           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns the point which is on the far right top corner inside the the view frustum. 
<p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00166">166</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h-source.html#l00095">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>

<p>Referenced by <a class="el" href="_s_view_frustum_8h-source.html#l00191">recalculateBoundingBox()</a>.</p>

</div>
</div><p>
<a class="anchor" name="8e253fc5e6ea47531033792b22f28945"></a><!-- doxytag: member="irr::scene::SViewFrustum::getTransform" ref="8e253fc5e6ea47531033792b22f28945" args="(video::E_TRANSFORMATION_STATE state) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::matrix4</a> &amp; irr::scene::SViewFrustum::getTransform           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#15b57657a320243be03ae6f66fcff43d">video::E_TRANSFORMATION_STATE</a>&nbsp;</td>
          <td class="paramname"> <em>state</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
get the given state's matrix based on frustum E_TRANSFORMATION_STATE 
<p>
View Frustum depends on Projection &amp; View Matrix 
<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00276">276</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_i_video_driver_8h-source.html#l00056">irr::video::ETS_PROJECTION</a>, and <a class="el" href="_i_video_driver_8h-source.html#l00052">irr::video::ETS_VIEW</a>.</p>

</div>
</div><p>
<a class="anchor" name="cf8edd203e7479d2b444ed548075ffa6"></a><!-- doxytag: member="irr::scene::SViewFrustum::getTransform" ref="cf8edd203e7479d2b444ed548075ffa6" args="(video::E_TRANSFORMATION_STATE state)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::matrix4</a> &amp; irr::scene::SViewFrustum::getTransform           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#15b57657a320243be03ae6f66fcff43d">video::E_TRANSFORMATION_STATE</a>&nbsp;</td>
          <td class="paramname"> <em>state</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
get the given state's matrix based on frustum E_TRANSFORMATION_STATE 
<p>
View Frustum depends on Projection &amp; View Matrix 
<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00258">258</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_i_video_driver_8h-source.html#l00056">irr::video::ETS_PROJECTION</a>, and <a class="el" href="_i_video_driver_8h-source.html#l00052">irr::video::ETS_VIEW</a>.</p>

</div>
</div><p>
<a class="anchor" name="458eb19a23bcad50da0f9d3163e3621b"></a><!-- doxytag: member="irr::scene::SViewFrustum::recalculateBoundingBox" ref="458eb19a23bcad50da0f9d3163e3621b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::scene::SViewFrustum::recalculateBoundingBox           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
recalculates the bounding box member based on the planes 
<p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00191">191</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h-source.html#l00098">boundingBox</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00092">cameraPosition</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00156">getFarLeftDown()</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00146">getFarLeftUp()</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00176">getFarRightDown()</a>, and <a class="el" href="_s_view_frustum_8h-source.html#l00166">getFarRightUp()</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h-source.html#l00203">setFrom()</a>, and <a class="el" href="_s_view_frustum_8h-source.html#l00136">transform()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2517bde9292aa26119d75b9ff0b92833"></a><!-- doxytag: member="irr::scene::SViewFrustum::setFrom" ref="2517bde9292aa26119d75b9ff0b92833" args="(const core::matrix4 &amp;mat)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::scene::SViewFrustum::setFrom           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::matrix4</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>mat</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This constructor creates a view frustum based on a projection and/or view matrix. 
<p>
This constructor creates a view frustum based on a projection and/or view matrix. 
<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00203">203</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h-source.html#l00095">planes</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00191">recalculateBoundingBox()</a>, <a class="el" href="irr_math_8h-source.html#l00445">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>

<p>Referenced by <a class="el" href="_s_view_frustum_8h-source.html#l00130">SViewFrustum()</a>.</p>

</div>
</div><p>
<a class="anchor" name="eabadaf532f08ba3cb98b897ff0619f2"></a><!-- doxytag: member="irr::scene::SViewFrustum::transform" ref="eabadaf532f08ba3cb98b897ff0619f2" args="(const core::matrix4 &amp;mat)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::scene::SViewFrustum::transform           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::matrix4</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>mat</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
transforms the frustum by the matrix 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mat,:</em>&nbsp;</td><td>Matrix by which the view frustum is transformed. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00136">136</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>References <a class="el" href="_s_view_frustum_8h-source.html#l00092">cameraPosition</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00095">planes</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00191">recalculateBoundingBox()</a>, <a class="el" href="matrix4_8h-source.html#l01094">irr::core::CMatrix4&lt; T &gt;::transformPlane()</a>, <a class="el" href="matrix4_8h-source.html#l01060">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>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="d4c8605ad3494093e3e5860e0332fe8a"></a><!-- doxytag: member="irr::scene::SViewFrustum::boundingBox" ref="d4c8605ad3494093e3e5860e0332fe8a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt;<a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a>&gt; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#d4c8605ad3494093e3e5860e0332fe8a">irr::scene::SViewFrustum::boundingBox</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
bounding box around the view frustum 
<p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00098">98</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h-source.html#l00186">getBoundingBox()</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00191">recalculateBoundingBox()</a>, and <a class="el" href="_s_view_frustum_8h-source.html#l00117">SViewFrustum()</a>.</p>

</div>
</div><p>
<a class="anchor" name="77726fa084f416d69f058a7b2f887545"></a><!-- doxytag: member="irr::scene::SViewFrustum::cameraPosition" ref="77726fa084f416d69f058a7b2f887545" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#77726fa084f416d69f058a7b2f887545">irr::scene::SViewFrustum::cameraPosition</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
the position of the camera 
<p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00092">92</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h-source.html#l00191">recalculateBoundingBox()</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00117">SViewFrustum()</a>, and <a class="el" href="_s_view_frustum_8h-source.html#l00136">transform()</a>.</p>

</div>
</div><p>
<a class="anchor" name="fa59258f22c23b6f1dc4bcaff142dba2"></a><!-- doxytag: member="irr::scene::SViewFrustum::planes" ref="fa59258f22c23b6f1dc4bcaff142dba2" args="[VF_PLANE_COUNT]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1plane3d.html">core::plane3d</a>&lt;<a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a>&gt; <a class="el" href="structirr_1_1scene_1_1_s_view_frustum.html#fa59258f22c23b6f1dc4bcaff142dba2">irr::scene::SViewFrustum::planes</a>[VF_PLANE_COUNT]          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
all planes enclosing the view frustum. 
<p>

<p>Definition at line <a class="el" href="_s_view_frustum_8h-source.html#l00095">95</a> of file <a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a>.</p>

<p>Referenced by <a class="el" href="_s_view_frustum_8h-source.html#l00292">clipLine()</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00156">getFarLeftDown()</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00146">getFarLeftUp()</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00176">getFarRightDown()</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00166">getFarRightUp()</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00203">setFrom()</a>, <a class="el" href="_s_view_frustum_8h-source.html#l00117">SViewFrustum()</a>, and <a class="el" href="_s_view_frustum_8h-source.html#l00136">transform()</a>.</p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="_s_view_frustum_8h-source.html">SViewFrustum.h</a></ul>
</div>
<hr size="1">
<address style="align: right;">
<small> </small>
</address>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr> 
    <td width="0"> <div align="left"><small><a href="http://irrlicht.sourceforge.net" target="_blank"><img src="irrlicht.png" alt="The Irrlicht Engine" align="middle" border=0 width=88 height=31></a></small></div></td>
    <td> <div align="left"><small><em><font size="2">The <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht 
        Engine</a> Documentation &copy; 2003-2009 by Nikolaus Gebhardt. Generated 
        on Sun Jan 10 09:24:17 2010 by <a href="http://www.doxygen.org" target="_blank">Doxygen</a> 
        (1.5.6)</font></em></small></div></td>
  </tr>
</table>
<address style="align: right;">
</address>
</body>
</html>