aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/class_NL3D__CCamera.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/class_NL3D__CCamera.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/class_NL3D__CCamera.html')
-rw-r--r--docs/doxygen/nel/class_NL3D__CCamera.html1397
1 files changed, 1397 insertions, 0 deletions
diff --git a/docs/doxygen/nel/class_NL3D__CCamera.html b/docs/doxygen/nel/class_NL3D__CCamera.html
new file mode 100644
index 00000000..92ecdb85
--- /dev/null
+++ b/docs/doxygen/nel/class_NL3D__CCamera.html
@@ -0,0 +1,1397 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.2 on Fri May 4 22:26:03 2001 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NL3D::CCamera Class Reference</h1>A Camera node, based on a <a class="el" href="class_NL3D__CTransform.html">CTransform</a> node.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="camera_h-source.html">camera.h</a>&gt;</code>
+<p>
+Inheritance diagram for NL3D::CCamera<p><center><img src="class_NL3D__CCamera_inherit_graph.gif" border="0" usemap="#NL3D::CCamera_inherit_map" alt="Inheritance graph"></center>
+<map name="NL3D::CCamera_inherit_map">
+<area href="class_NL3D__CTransform.html" shape="rect" coords="80,134,200,152">
+<area href="class_NL3D__IModel.html" shape="rect" coords="21,67,115,86">
+<area href="class_NLMISC__CRefCount.html" shape="rect" coords="0,0,131,19">
+<area href="class_NL3D__ITransformable.html" shape="rect" coords="144,67,280,86">
+<area href="class_NL3D__IAnimatable.html" shape="rect" coords="155,0,275,19">
+</map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for NL3D::CCamera:<p><center><img src="class_NL3D__CCamera_coll_graph.gif" border="0" usemap="#NL3D::CCamera_coll_map" alt="Collaboration graph"></center>
+<map name="NL3D::CCamera_coll_map">
+<area href="class_NL3D__CTransform.html" shape="rect" coords="341,65,461,84">
+<area href="class_NL3D__CTrackDefaultVector.html" shape="rect" coords="0,57,171,76">
+<area href="class_NL3D__CFrustum.html" shape="rect" coords="348,115,455,133">
+<area href="class_NL3D__CTrackDefaultFloat.html" shape="rect" coords="320,195,483,213">
+</map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_NL3D__CCamera-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#s5">TAnimValues</a> { <br>
+&nbsp;&nbsp;<a class="el" href="class_NL3D__CCamera.html#s5s0">OwnerBit</a> = CTransform::AnimValueLast,
+<br>
+&nbsp;&nbsp;<a class="el" href="class_NL3D__CCamera.html#s5s1">FovValue</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="class_NL3D__CCamera.html#s5s2">TargetValue</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="class_NL3D__CCamera.html#s5s3">RollValue</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="class_NL3D__CCamera.html#s5s4">AnimValueLast</a>
+<br>
+ }</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Added values.</em> <a href="#s5">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a0">setFrustum</a> (const <a class="el" href="class_NL3D__CFrustum.html">CFrustum</a> &amp;f)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the frustum of the camera.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="class_NL3D__CFrustum.html">CFrustum</a>&amp;&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a1">getFrustum</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the frustum of the camera.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a2">setFrustum</a> (float left, float right, float bottom, float top, float znear, float zfar, bool perspective= true)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Setup the camera mode as a perspective/ortho camera. NB: znear and zfar must be &gt;0 (if perspective).</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a3">setFrustum</a> (float width, float height, float znear, float zfar, bool perspective= true)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Setup the camera mode as a perspective/ortho camera. NB: znear and zfar must be &gt;0 (if perspective).</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a4">getFrustum</a> (float &amp;left, float &amp;right, float &amp;bottom, float &amp;top, float &amp;znear, float &amp;zfar) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the camera frustum.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a5">isOrtho</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Is a ortho camera?</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a6">isPerspective</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Is a perspective camera?</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a7">setPerspective</a> (float fov, float aspectRatio, float znear, float zfar)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Setup a perspective camera, giving a fov in radians.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a8">enableFovAnimation</a> (bool en, float aspectRatio= 4.0f / 3.0f)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>enable FOV animation.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a9">enableTargetAnimation</a> (bool en)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>enable Target/Roll animation.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual <a class="el" href="class_NL3D__IAnimatedValue.html">IAnimatedValue</a>*&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a10">getValue</a> (<a class="el" href="types_nl_h.html#a13">uint</a> valueId)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>From <a class="el" href="class_NL3D__IAnimatable.html">IAnimatable</a>.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual const char*&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a11">getValueName</a> (<a class="el" href="types_nl_h.html#a13">uint</a> valueId) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>From <a class="el" href="class_NL3D__IAnimatable.html">IAnimatable</a>.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual <a class="el" href="class_NL3D__ITrack.html">ITrack</a>*&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a12">getDefaultTrack</a> (<a class="el" href="types_nl_h.html#a13">uint</a> valueId)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Default Track Values for are identity (roll= 0, target= CVector::Null, fov=Pi/2).</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#a13">registerToChannelMixer</a> (<a class="el" href="class_NL3D__CChannelMixer.html">CChannelMixer</a> *chanMixer, const std::string &amp;prefix)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>register camera channels (in global anim mode).</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#d0">registerBasic</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Call at the begining of the program, to register the model, and the basic observers.</em> <a href="#d0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#d1">getFovValueName</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the name of the fov track.</em> <a href="#d1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#d2">getTargetValueName</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the name of the target track. This target is in the parent space of camera.</em> <a href="#d2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#d3">getRollValueName</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the name of the roll track.</em> <a href="#d3">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#b0">CCamera</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#b0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#b1">~CCamera</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#b1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#b2">update</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Implement the update method.</em> <a href="#b2">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CFrustum.html">CFrustum</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#n0">_Frustum</a></td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#o0">_FovAnimationEnabled</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#o1">_TargetAnimationEnabled</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#o2">_FovAnimationAspectRatio</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="namespace_NL3D.html#a3">CAnimatedValueFloat</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#o3">_Fov</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="namespace_NL3D.html#a4">CAnimatedValueVector</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#o4">_Target</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="namespace_NL3D.html#a3">CAnimatedValueFloat</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#o5">_Roll</a></td></tr>
+<tr><td colspan=2><br><h2>Static Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__IModel.html">IModel</a>*&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#f0">creator</a> ()</td></tr>
+<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CTrackDefaultFloat.html">CTrackDefaultFloat</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#r0">DefaultFov</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CTrackDefaultVector.html">CTrackDefaultVector</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#r1">DefaultTarget</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CTrackDefaultFloat.html">CTrackDefaultFloat</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CCamera.html#r2">DefaultRoll</a></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A Camera node, based on a <a class="el" href="class_NL3D__CTransform.html">CTransform</a> node.
+<p>
+The camera look in his local Y direction (see <a class="el" href="class_NL3D__CScene.html">CScene</a>).
+<p>
+No observer is provided, since a camera:<ul>
+<li>has default behavior of a transform.<li>can't be clipped (well... :) ).<li>is not lightable<li>is not renderable <dl compact><dt>
+<b>Author(s): </b><dd>
+ Lionel Berenguier , Nevrax France </dl><dl compact><dt>
+<b>Date: </b><dd>
+ 2000 </ul>
+</dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00056">56</a> of file <a class="el" href="camera_h-source.html">camera.h</a>.<hr><h2>Member Enumeration Documentation</h2>
+<a name="s5" doxytag="NL3D::CCamera::TAnimValues"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+enum NL3D::CCamera::TAnimValues
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Added values.
+<p>
+<dl compact><dt>
+<b>Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><a name="s5s0" doxytag="OwnerBit"></a><em>OwnerBit</em>
+&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><a name="s5s1" doxytag="FovValue"></a><em>FovValue</em>
+&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><a name="s5s2" doxytag="TargetValue"></a><em>TargetValue</em>
+&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><a name="s5s3" doxytag="RollValue"></a><em>RollValue</em>
+&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><a name="s5s4" doxytag="AnimValueLast"></a><em>AnimValueLast</em>
+&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Reimplemented from <a class="el" href="class_NL3D__ITransformable.html#s12">NL3D::ITransformable</a>.
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00123">123</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="b0" doxytag="NL3D::CCamera::CCamera"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+NL3D::CCamera::CCamera (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [protected]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00041">41</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<a name="b1" doxytag="NL3D::CCamera::~CCamera"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+NL3D::CCamera::~CCamera (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [inline, protected, virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Destructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00149">149</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="f0" doxytag="NL3D::CCamera::creator"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="class_NL3D__IModel.html">IModel</a> * NL3D::CCamera::creator (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [inline, static, private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Reimplemented from <a class="el" href="class_NL3D__CTransform.html#f0">NL3D::CTransform</a>.
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00160">160</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NL3D::CCamera::enableFovAnimation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NL3D::CCamera::enableFovAnimation (
+ </b></td>
+ <td valign="bottom"><b>
+bool <em>en</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>aspectRatio</em> = 4.0f / 3.0f&nbsp;)<code> [inline]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+enable FOV animation.
+<p>
+(default is false). see <a class="el" href="class_NL3D__CCamera.html#a7">setPerspective</a>(). znear and zfar are kept from previous setup. NB: as <a class="el" href="class_NL3D__CCamera.html#a7">setPerspective</a>(), fov is the full horizontal angle of camera (in radians).
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00091">91</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="NL3D::CCamera::enableTargetAnimation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NL3D::CCamera::enableTargetAnimation (
+ </b></td>
+ <td valign="bottom"><b>
+bool <em>en</em>&nbsp;)<code> [inline]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+enable Target/Roll animation.
+<p>
+(default is false). TTransform mode is forced to RotQuatMode. Roll is forced to 0. The camera builds the rot matrix from the animated target/roll.
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00100">100</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="a12" doxytag="NL3D::CCamera::getDefaultTrack"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="class_NL3D__ITrack.html">ITrack</a> * NL3D::CCamera::getDefaultTrack (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="types_nl_h.html#a13">uint</a> <em>valueId</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Default Track Values for are identity (roll= 0, target= CVector::Null, fov=Pi/2).
+<p>
+
+<p>
+Reimplemented from <a class="el" href="class_NL3D__CTransform.html#a5">NL3D::CTransform</a>.
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00135">135</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<a name="d1" doxytag="NL3D::CCamera::getFovValueName"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+const char * NL3D::CCamera::getFovValueName (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [inline, static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the name of the fov track.
+<p>
+NB: as <a class="el" href="class_NL3D__CCamera.html#a7">setPerspective</a>(), fov is the full horizontal angle of camera (in radians).
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00113">113</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NL3D::CCamera::getFrustum"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NL3D::CCamera::getFrustum (
+ </b></td>
+ <td valign="bottom"><b>
+float &amp; <em>left</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float &amp; <em>right</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float &amp; <em>bottom</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float &amp; <em>top</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float &amp; <em>znear</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float &amp; <em>zfar</em>&nbsp;) const
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the camera frustum.
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00073">73</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NL3D::CCamera::getFrustum"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+const <a class="el" href="class_NL3D__CFrustum.html">CFrustum</a> &amp; NL3D::CCamera::getFrustum (
+ </b></td>
+ <td valign="bottom"><b>
+) const<code> [inline]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the frustum of the camera.
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00068">68</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="d3" doxytag="NL3D::CCamera::getRollValueName"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+const char * NL3D::CCamera::getRollValueName (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [inline, static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the name of the roll track.
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00117">117</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="d2" doxytag="NL3D::CCamera::getTargetValueName"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+const char * NL3D::CCamera::getTargetValueName (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [inline, static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the name of the target track. This target is in the parent space of camera.
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00115">115</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="a10" doxytag="NL3D::CCamera::getValue"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="class_NL3D__IAnimatedValue.html">IAnimatedValue</a> * NL3D::CCamera::getValue (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="types_nl_h.html#a13">uint</a> <em>valueId</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+From <a class="el" href="class_NL3D__IAnimatable.html">IAnimatable</a>.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="class_NL3D__ITransformable.html#a29">NL3D::ITransformable</a>.
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00103">103</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a11" doxytag="NL3D::CCamera::getValueName"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+const char * NL3D::CCamera::getValueName (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="types_nl_h.html#a13">uint</a> <em>valueId</em>&nbsp;) const<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+From <a class="el" href="class_NL3D__IAnimatable.html">IAnimatable</a>.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="class_NL3D__ITransformable.html#a30">NL3D::ITransformable</a>.
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00116">116</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NL3D::CCamera::isOrtho"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NL3D::CCamera::isOrtho (
+ </b></td>
+ <td valign="bottom"><b>
+) const
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Is a ortho camera?
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00083">83</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NL3D::CCamera::isPerspective"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NL3D::CCamera::isPerspective (
+ </b></td>
+ <td valign="bottom"><b>
+) const
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Is a perspective camera?
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00088">88</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<a name="d0" doxytag="NL3D::CCamera::registerBasic"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NL3D::CCamera::registerBasic (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Call at the begining of the program, to register the model, and the basic observers.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="class_NL3D__CTransform.html#d0">NL3D::CTransform</a>.
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00034">34</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a13" doxytag="NL3D::CCamera::registerToChannelMixer"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NL3D::CCamera::registerToChannelMixer (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="class_NL3D__CChannelMixer.html">CChannelMixer</a> * <em>chanMixer</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+const std::string &amp; <em>prefix</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+register camera channels (in global anim mode).
+<p>
+
+<p>
+Reimplemented from <a class="el" href="class_NL3D__CTransform.html#a6">NL3D::CTransform</a>.
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00148">148</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NL3D::CCamera::setFrustum"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NL3D::CCamera::setFrustum (
+ </b></td>
+ <td valign="bottom"><b>
+float <em>width</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>height</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>znear</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>zfar</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+bool <em>perspective</em> = true&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Setup the camera mode as a perspective/ortho camera. NB: znear and zfar must be &gt;0 (if perspective).
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00063">63</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NL3D::CCamera::setFrustum"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NL3D::CCamera::setFrustum (
+ </b></td>
+ <td valign="bottom"><b>
+float <em>left</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>right</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>bottom</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>top</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>znear</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>zfar</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+bool <em>perspective</em> = true&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Setup the camera mode as a perspective/ortho camera. NB: znear and zfar must be &gt;0 (if perspective).
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00058">58</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a0" doxytag="NL3D::CCamera::setFrustum"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NL3D::CCamera::setFrustum (
+ </b></td>
+ <td valign="bottom"><b>
+const <a class="el" href="class_NL3D__CFrustum.html">CFrustum</a> &amp; <em>f</em>&nbsp;)<code> [inline]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the frustum of the camera.
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00066">66</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NL3D::CCamera::setPerspective"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NL3D::CCamera::setPerspective (
+ </b></td>
+ <td valign="bottom"><b>
+float <em>fov</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>aspectRatio</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>znear</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float <em>zfar</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Setup a perspective camera, giving a fov in radians.
+<p>
+<dl compact><dt>
+<b>Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>fov</em>
+&nbsp;</td><td>
+ the horizontal angle of view, in radians. (Pi/2 as example) </td></tr>
+<tr><td valign=top><em>aspectRatio</em>
+&nbsp;</td><td>
+ the ratio horizontal/vertical (1.33 as example). </td></tr>
+<tr><td valign=top><em>znear</em>
+&nbsp;</td><td>
+ the front clipping plane distance. </td></tr>
+<tr><td valign=top><em>zfar</em>
+&nbsp;</td><td>
+ the back clipping plane distance. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00068">68</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<a name="b2" doxytag="NL3D::CCamera::update"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NL3D::CCamera::update (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [protected, virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Implement the update method.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="class_NL3D__CTransform.html#b2">NL3D::CTransform</a>.
+<p>
+Definition at line <a class="el" href="camera_cpp-source.html#l00161">161</a> of file <a class="el" href="camera_cpp-source.html">camera.cpp</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="r0" doxytag="NL3D::CCamera::DefaultFov"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="class_NL3D__CTrackDefaultFloat.html">CTrackDefaultFloat</a> NL3D::CCamera::DefaultFov<code> [static, private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00175">175</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="r2" doxytag="NL3D::CCamera::DefaultRoll"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="class_NL3D__CTrackDefaultFloat.html">CTrackDefaultFloat</a> NL3D::CCamera::DefaultRoll<code> [static, private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00177">177</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="r1" doxytag="NL3D::CCamera::DefaultTarget"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="class_NL3D__CTrackDefaultVector.html">CTrackDefaultVector</a> NL3D::CCamera::DefaultTarget<code> [static, private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00176">176</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="o3" doxytag="NL3D::CCamera::_Fov"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="namespace_NL3D.html#a3">CAnimatedValueFloat</a> NL3D::CCamera::_Fov<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00169">169</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="o2" doxytag="NL3D::CCamera::_FovAnimationAspectRatio"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+float NL3D::CCamera::_FovAnimationAspectRatio<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00166">166</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NL3D::CCamera::_FovAnimationEnabled"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NL3D::CCamera::_FovAnimationEnabled<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00164">164</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="n0" doxytag="NL3D::CCamera::_Frustum"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="class_NL3D__CFrustum.html">CFrustum</a> NL3D::CCamera::_Frustum<code> [protected]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00152">152</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="o5" doxytag="NL3D::CCamera::_Roll"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="namespace_NL3D.html#a3">CAnimatedValueFloat</a> NL3D::CCamera::_Roll<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00171">171</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="o4" doxytag="NL3D::CCamera::_Target"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="namespace_NL3D.html#a4">CAnimatedValueVector</a> NL3D::CCamera::_Target<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00170">170</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NL3D::CCamera::_TargetAnimationEnabled"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NL3D::CCamera::_TargetAnimationEnabled<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="camera_h-source.html#l00165">165</a> of file <a class="el" href="camera_h-source.html">camera.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="camera_h-source.html">camera.h</a><li><a class="el" href="camera_cpp-source.html">camera.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>